From: Brad Campbell <brad@wasp.net.au>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: Libata VIA woes continue. Worked around - *wrong*
Date: Sun, 29 Aug 2004 12:17:15 +0400 [thread overview]
Message-ID: <4131910B.6020000@wasp.net.au> (raw)
In-Reply-To: <41318C87.9010806@pobox.com>
Jeff Garzik wrote:
>
> Well, there are some cases on a few controllers (SiI is one that comes
> to mind) where -- IIRC -- bridges dictate the max is UDMA/100, not
> UDMA/133, even if the underlying device is UDMA/133.
>
> In sata_promise.c or sata_via.c, what happens if you change udma_mask
> from 0x7f to 0x3f? Do the failures go away?
These drives are UDMA/100. On the VIA controller I changed the udma_mask to 0x1f and the failures
"appeared" to go away but that was before I realised the exact nature of the failure mode. (That
being it will either fail on bootup, or very soon after or it will work perfectly until the next boot)
I can always hook the drives up and hammer them if you'd like me to do further testing but I'm not
sure how we can then let libata know that the drives connected need to be slowed down as we can't
identify we have a bridge connected really.
I'm still not convinced that it's not something else.
Sure transfers > 200 sectors killed it on the VIA controller at UDMA/100 while they appeared to work
ok at UDMA/66. I guess I need to run a defined array of tests.
- Large transfers (> 200) at UDMA/100 and UDMA/66
- Small transfers (<=200) at UDMA/100 and UDMA/66
- Something like 10 reboot cycles of each.
It's very hard to hit on the Promise controller (Perhaps < 10% of reboots) while on the VIA
controller it happens maybe 60% of the time.
And of course 2.6.5 never hits it at all. (And given I patched the VIA driver in 2.6.9-rc1 to keep
transfers < 200 sectors and still hit the bug it's not that!)
>> Cross that bridge if we come to it I guess.
>
>
> Guffaw ;-)
Oh bugger.. I had not even realised what I said! :p) (Slow news day obviously)
Regards,
Brad
next prev parent reply other threads:[~2004-08-29 8:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-27 13:58 Libata VIA woes continue. Worked around Brad Campbell
2004-08-29 7:32 ` Libata VIA woes continue. Worked around - *wrong* Brad Campbell
2004-08-29 7:57 ` Jeff Garzik
2004-08-29 8:17 ` Brad Campbell [this message]
2004-08-29 9:04 ` Jeff Garzik
2004-08-29 9:24 ` Brad Campbell
2004-08-29 9:38 ` Jeff Garzik
2004-08-30 14:45 ` Larry McVoy
2004-08-29 9:26 ` Brad Campbell
-- strict thread matches above, loose matches on Subject: below --
2004-08-30 14:48 Larry McVoy
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=4131910B.6020000@wasp.net.au \
--to=brad@wasp.net.au \
--cc=jgarzik@pobox.com \
--cc=linux-ide@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 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.