No DMA for IDE DVD drive?
Stephen Durham
smd271 at psu.edu
Wed Nov 17 14:57:34 UTC 2004
(I sent this to Vram originally and now to the list, always forget about selecting reply-to list)
I have the same ide chipset and you need to change the order of how your
modules are loaded in /etc/modules put via82cxxx as the first module,
well above ide-cd, ide-disk and ide-generic and you will have dma. Not
sure why I read about this somewhere, I believe on this list, for a
different chipset and I tried it on mine and it worked great.
-Stephen
Vram wrote:
>On Tue, 2004-11-16 at 23:49 -0800, Mike White wrote:
>
>
>>Hello all,
>>
>>I'm trying to get DMA going for my IDE DVD drive, /dev/hda (my HD is SATA)
>>
>>
>>$ sudo hdparm /dev/hda
>>
>>/dev/hda:
>> HDIO_GET_MULTCOUNT failed: Invalid argument
>> IO_support = 0 (default 16-bit)
>> unmaskirq = 0 (off)
>> using_dma = 0 (off)
>> keepsettings = 0 (off)
>> readonly = 0 (off)
>> readahead = 256 (on)
>> HDIO_GETGEO failed: Invalid argument
>>
>>
>>$ sudo hdparm -d1 /dev/hda
>>
>>/dev/hda:
>> setting using_dma to 1 (on)
>> HDIO_SET_DMA failed: Operation not permitted
>> using_dma = 0 (off)
>>
>>$ lspci
>>0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP]
>>Host Bridge (rev 01)
>>0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
>>[K8T800 South]0000:00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc.
>>IEEE 1394 Host Controller (rev 80)
>>0000:00:0a.0 Ethernet controller: Marvell Yukon Gigabit Ethernet
>>10/100/1000Base-T Adapter (rev 13)
>>0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA
>>RAID Controller (rev 80)
>>0000:00:0f.1 IDE interface: VIA Technologies, Inc.
>>VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
>>0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
>>1.1 Controller (rev 81)
>>0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
>>1.1 Controller (rev 81)
>>0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
>>1.1 Controller (rev 81)
>>0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
>>1.1 Controller (rev 81)
>>0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
>>0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
>>[K8T800 South]0000:00:11.5 Multimedia audio controller: VIA
>>Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
>>0000:00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
>>0000:00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
>>0000:00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
>>0000:00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 NorthBridge
>>0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce
>>FX 5200] (rev a1)
>>
>>
>>$ lsmod | grep via
>>snd_via82xx 30436 3
>>snd_ac97_codec 70276 1 snd_via82xx
>>snd_pcm 97828 2 snd_via82xx,snd_pcm_oss
>>snd_page_alloc 12816 2 snd_via82xx,snd_pcm
>>gameport 5120 1 snd_via82xx
>>snd_mpu401_uart 8064 1 snd_via82xx
>>snd 55912 11
>>snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
>>via82cxxx 14256 1
>>ide_core 150496 4 via82cxxx,ide_generic,ide_disk,ide_cd
>>sata_via 8580 3
>>libata 42632 2 sata_via,sata_promise
>>
>>
>>$ uname -a
>>Linux (me) 2.6.8.1-3-amd64-generic #1 Tue Oct 12 11:40:38 UTC 2004
>>x86_64 GNU/Linux
>>
>>
>>Does anyone have any suggestions?
>>
>>Thanks,
>>
>>
>
>
>
>
>
>
>Can you post /etc/fstab??
>
>TIA
>
>Vram
>
>
>
>
>
>>mike
>>
>>
>>
>>
>>
>>
>
>
>
>
More information about the ubuntu-users
mailing list