Re: Recent ide patches and DMA

Vojtech Pavlik
2000-11-24T15:25:51Z

On Thu, Nov 23, 2000 at 01:09:35PM -0800, Kafu Nagai wrote:
> 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

Which chipset are you using?

--
Vojtech Pavlik
SuSE Labs