* Recent ide patches and DMA
@ 2000-11-23 21:09 Kafu Nagai
2000-11-24 10:57 ` Vojtech Pavlik
0 siblings, 1 reply; 3+ messages in thread
From: Kafu Nagai @ 2000-11-23 21:09 UTC (permalink / raw
To: linux-kernel
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Recent ide patches and DMA
2000-11-23 21:09 Recent ide patches and DMA Kafu Nagai
@ 2000-11-24 10:57 ` Vojtech Pavlik
0 siblings, 0 replies; 3+ messages in thread
From: Vojtech Pavlik @ 2000-11-24 10:57 UTC (permalink / raw
To: Kafu Nagai; +Cc: linux-kernel
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Recent ide patches and DMA
@ 2000-11-24 23:08 Kafu Nagai
0 siblings, 0 replies; 3+ messages in thread
From: Kafu Nagai @ 2000-11-24 23:08 UTC (permalink / raw
To: vojtech; +Cc: linux-kernel
440BX with PIIX4 on BP6
>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
------------------------------------------------------------
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-11-24 23:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-23 21:09 Recent ide patches and DMA Kafu Nagai
2000-11-24 10:57 ` Vojtech Pavlik
-- strict thread matches above, loose matches on Subject: below --
2000-11-24 23:08 Kafu Nagai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.