From: Allan Duncan <allan.d@bigpond.com>
To: linux-kernel@vger.kernel.org
Subject: Re: IDE todo list
Date: Sun, 23 Mar 2003 23:14:47 +1100 [thread overview]
Message-ID: <3E7DA537.7080608@bigpond.com> (raw)
In-Reply-To: <20030322180018$5114@gated-at.bofh.it>
Alan Cox wrote:
> On Sat, 2003-03-22 at 17:24, Petr Vandrovec wrote:
>
>> any hope that promise 20265 driver could detect non-udma66 cable
>>and run at udma2 only? BIOS properly detect this, but Linux driver
>>wants to use udma100, and usually dies hard with CRC errors during
>>reading of PTBL extended chain (it also should not lockup when
>>CRC error happens 5 times in a row, but ...).
>
>
> The five CRC in a row is what causes the DMA->PIO changedown. That
> implies there is a real bug in the error handling locking, or in
> the driver handling of that.
>
> Can you throw some printks into the ide code and see what kind of
> a death you get when it tries to change back to PIO.
>
> As to the cable stuff, I'll take a look at it in time, but both
> need fixing
I've got a slightly different take on cables.
First an outline of the hardware:
Epox 8KHA+ with VIA KT266A
Promise Ultra100 TX2 (PDC20268)
Working ATA100 drive on Promise. 80 conductor cable, kernel has OFFBOARD set.
40 conductor cables on VIA IDE primary and secondary. Each has cdrom (slave).
Cable is correctly flagged by BIOS on boot screen as 40 conductor.
Second ATA100 HD in cradle MAY be plugged into VIA primary IDE.
Kernel 2.4.21-pre5-ac3
W/o second HD all operates correctly.
With second HD I get:
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63, UDMA(100)
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=79780/16/63, UDMA(100)
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
hde:hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
hde: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hde: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdf: DMA disabled
ide2: reset: success
hde1 hde2 hde3 hde4 < hde5 hde6 hde7 hde8 hde9 hde10 >
Checking with "hdparm -d" I find that the HD has DMA on,
and the blameless cdrom has it disabled!
The HD then runs w/o error at UDMA2.
I had expected that by using a 40 conductor cable it would be sensed
and UDMA2 then used as the top setting, matching the cdrom capability.
next parent reply other threads:[~2003-03-23 12:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030322160012$0f05@gated-at.bofh.it>
[not found] ` <20030322173016$24a8@gated-at.bofh.it>
[not found] ` <20030322180018$5114@gated-at.bofh.it>
2003-03-23 12:14 ` Allan Duncan [this message]
2003-03-22 17:01 IDE todo list Alan Cox
2003-03-22 17:24 ` Petr Vandrovec
2003-03-22 19:07 ` Alan Cox
2003-03-22 18:03 ` Nicholas Wourms
2003-03-22 20:36 ` Alan Cox
2003-03-22 20:33 ` Nicholas Wourms
2003-03-22 23:32 ` Alan Cox
2003-03-23 3:49 ` Petr Vandrovec
2003-03-23 15:41 ` Alan Cox
2003-03-23 9:27 ` Matthias Andree
2003-03-23 11:19 ` Jens Axboe
2003-03-23 11:20 ` Jens Axboe
2003-03-23 12:33 ` Matthias Andree
2003-03-23 10:49 ` Jens Axboe
2003-03-23 15:23 ` Alan Cox
2003-03-23 14:13 ` Jens Axboe
2003-03-23 21:07 ` Andre Hedrick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E7DA537.7080608@bigpond.com \
--to=allan.d@bigpond.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox