Skip to contentSkip to conversation

Recent ide patches and DMA

DISCUSSION Kafu Nagai 2 participants 2 messages Nov 23, 2000 – Nov 24, 2000

lore
Share & tools
lore

Kafu Nagai

author
#0 lore raw

With recent ide patches, the ide driver seems to try to use DMA mode even for a drive which dosen't support it. CONFIG_IDEDMA_PCI_AUTO is enabled but even so with the stock kernel this dosen't happen. older patches didn't have this behavior either. Is this change intentional ?

hdc: 333630 sectors (171 MB) w/32KiB Cache, CHS=1011/15/22, DMA Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 > hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: DMA disabled
ide1: reset: success
hdc1

~ $ hdparm -i /dev/hdc

/dev/hdc:

Model=QUANTUM ELS170A, FwRev=4.20, SerialNo=166304085456 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs RotSpdTol>.5% } RawCHS=1011/15/22, TrkSize=11264, SectSize=512, ECCbytes=4 BuffType=3(DualPortCache), BuffSize=32kB, MaxMultSect=8, MultSect=off DblWordIO=no, OldPIO=2, DMA=no
CurCHS=1011/15/22, CurSects=333629, LBA=no

This may not be a major problem, as nobody probably uses such an obsolete drive nowadays.

The following patches have been tried:

ide.2.2.18-22.all.20001120
ide.2.4.0-t11.1120.patch

------------------------------------------------------------
Free Web space and web based email @EASYNEWS.COM

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#1 lore raw
Quoted 19 lines · Kafu Nagai

With recent ide patches, the ide driver seems to try to use DMA mode even for a drive which dosen't support it. CONFIG_IDEDMA_PCI_AUTO is enabled but even so with the stock kernel this dosen't happen. older patches didn't have this behavior either. Is this change intentional ?

hdc: 333630 sectors (171 MB) w/32KiB Cache, CHS=1011/15/22, DMA Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 > hdc:hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x04 { DriveStatusError }
hdc: DMA disabled
ide1: reset: success
hdc1

~ $ hdparm -i /dev/hdc

Quoted 8 lines

/dev/hdc:

Model=QUANTUM ELS170A, FwRev=4.20, SerialNo=166304085456 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>5Mbs RotSpdTol>.5% } RawCHS=1011/15/22, TrkSize=11264, SectSize=512, ECCbytes=4 BuffType=3(DualPortCache), BuffSize=32kB, MaxMultSect=8, MultSect=off DblWordIO=no, OldPIO=2, DMA=no
CurCHS=1011/15/22, CurSects=333629, LBA=no

Which chipset are you using?

Signature · 6 lines
Vojtech Pavlik
SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/