From: Rich W. <rj...@he...> - 2003-03-30 01:20:30
|
Peter Kirk wrote: > Hiho, Hi > The problem: > When I play a DVD the playback is very laggy, I strongly suspect this being > due to DMA not enabled on this device. > > The question: > Many of you guys wrote to simply tell hdparm to enable dma on the /dev/hdX, > even if the scsi emulation was active. This worked for me in the *old* days > where i had no devfs. But now, there simply is no /dev/hdc when I kick in the > scsi emulation. Also hdparm refuses to work on the scsi devices. > How on earth do I get DMA running on my box ? I've got /dev/hdd setup as a ide-scsi device. I'm also using Gentoo: root@hades hdd # ls /dev/hd[a-z] /dev/hda /dev/hdc /dev/hde root@hades hdd # ls /dev/sg[0-9] /dev/sg0 The key is to use the proc filesystem and write some magic to a special file: root@hades hdd # pwd /proc/ide/hdd root@hades hdd # grep using_dma settings using_dma 0 0 1 rw root@hades hdd # echo 'using_dma:1' >settings root@hades hdd # grep using_dma settings using_dma 1 0 1 rw HTH -- Rich "The only three things which can survive immersion in Guinness are ratchet screwdrivers, the ebola virus and Rutger Hauer." -- c.d...@du... |