Bug 5929
Summary: | DMA not working on ATAPI HL-DT-ST GMA-4080N dvd drive | ||
---|---|---|---|
Product: | IO/Storage | Reporter: | Paul Lauria (black.hole.sun16) |
Component: | IDE | Assignee: | Bartlomiej Zolnierkiewicz (bzolnier) |
Status: | RESOLVED PATCH_ALREADY_AVAILABLE | ||
Severity: | normal | ||
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.15 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: | dmesg |
Description
Paul Lauria
2006-01-20 14:32:10 UTC
Oh, silly me. Here is the output of hdparm -i and -I /dev/hdc: Model=HL-DT-ST DVDRAM GMA-4080N, FwRev=0H35, SerialNo=K01575B5949 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic } RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=0kB, MaxMultSect=0 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 *udma2 AdvancedPM=no Drive conforms to: ATA/ATAPI-5 T13 1321D revision 3: * signifies the current active mode ATAPI CD-ROM, with removable media Model Number: HL-DT-ST DVDRAM GMA-4080N Serial Number: K01575B5949 Firmware Revision: 0H35 Standards: Likely used CD-ROM ATAPI-1 Configuration: DRQ response: 50us. Packet size: 12 bytes Capabilities: LBA, IORDY(can be disabled) DMA: mdma0 mdma1 *mdma2 udma0 udma1 udma2 Cycle time: min=120ns recommended=120ns PIO: pio0 pio1 pio2 pio3 pio4 Cycle time: no flow control=120ns IORDY flow control=120ns HW reset results: CBLID- below Vih Device num = 0 Also : hdparm /dev/hdc unmaskirq = 0 (/dev/hdc: IO_support = 0 (default 16-bit) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) Need any more info just ask.. please send dmesg output (it is the most useful data) Created attachment 7087 [details]
dmesg
Ignore the "ipw2200 not found", as I had just recompiled the kernel and hadn't
yet recompiled the wireless driver
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> ide0: I/O resource 0x1F0-0x1F7 not free.
> ide0: ports already in use, skipping probe
> Probing IDE interface ide1...
> hdc: HL-DT-ST DVDRAM GMA-4080N, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
You don't seem to be using IDE piix driver et all (=> no DMA).
You may also need to use "combined_mode=" kernel parameter
(see Documentation/kernel-parameters.txt).
Please let me know if this helps.
I have that and "Use Multimode by default" compiled in the kernel (not as modules. though I dont think this'll make a difference) I tried setting /dev/hdc -X mdma2 before changing to DMA, but no dice. The same behavior is also exhibited on Knoppix, which has compiled pretty much everything as a module. Actually, I was incorrect -- I mistook combined mode for "multimode"...(it's been a long day)... Adding combined_mode=libata and libata.atapi_enabled=1 from http://lkml.org/lkml/2005/11/29/186 to my kernel grub line fixes things!! Apparently this is very new...it's in 2.6.16-rc1 but I'm a little wary of the rc test kernels (further I doubt fglrx could handle it...) Where might I find this patch split out? Or is it even split out somewhere? Thank you so very much "Bart" (I won't even try to pronounce your name :P I hav a hard enough time in my spanish class! )! I dont think I'd of got this fixed without your help! > Where might I find this patch split out? Or is it even split
> out somewhere?
Um, didn't I just link to the patch?
Geeze...time to lie down for a while...sorry for the bugzilla spam :P
Thanks for reporting that it fixes the problem. |