[MPlayer-users] Optimization for a slow CPU
Peter Gavin
pgavin at gmail.com
Thu Sep 7 21:37:25 CEST 2006
On 9/7/06, Grant <emailgrant at gmail.com> wrote:
> I'm actually getting this error when hdparm tries to set DMA on
> /dev/hdc at boot:
>
> HDIO_SET_DMA failed: Operation not permitted
>
This error occurs when hdparm is run from the boot scripts? That's
definitely strange.
Try doing sudo hdparm -d 1 /dev/hdc from a shell. If it works
correctly, something is wrong with the boot scripts. Otherwise,
something else is wrong. Make sure that you've got the correct device
file for your drive. You can check this with hdparm -i /dev/hdc or
dmesg. Also, check that the correct kernel module(s) for your IDE
interface and/or motherboard chipset are loaded. You might want to
try hdparm -d 1 /dev/hda (or another IDE drive) to see if you get the
same or similar error. Also, make sure your motherboard actually
supports DMA (which it should, as should anything made in the last 10
or so years).
If none of this works, try asking someone from your Linux
distribution's mailing list or IRC channel.
Pete
More information about the MPlayer-users
mailing list