linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@pobox.com>
To: Brad Campbell <brad@wasp.net.au>
Cc: linux-ide@vger.kernel.org
Subject: Re: libata dev_config call order wrong.
Date: Sun, 29 Aug 2004 13:59:39 -0400	[thread overview]
Message-ID: <4132198B.8000504@pobox.com> (raw)
In-Reply-To: <413216CC.5080100@wasp.net.au>

Brad Campbell wrote:
> Jeff Garzik wrote:
> 
>>
>> Take a look at what ATA_DFLAG_LOCK_SECTORS does ;-)  Here's hoping 
>> that's the last piece of the puzzle...
> 
> 
> HAHA! He says. That was not in 2.6.8.1! That solves that one.
> 
> Frankly, now I'm running a WD2500BB on one of those converters on a 
> RAID-5 I'm just going to leave the 200 sector hack in my kernel until we 
> figure out a way to detect the bridges. I can't see any other clean way 
> of doing it.

me either, unless I can figure out a way to detect that a disk is PATA 
not SATA.  Nothing is obvious from the specs on www.t13.org, but who knows.

Honestly I would prefer to apply some "if it's PATA-over-SATA bridge" 
rules, namely,
* limit to udma5 (udma/100)
* limit to 256 sectors [actually 200 in libata]


>> BTW I just sent email to SiI to see if there is a way to detect a 
>> PATA->SATA bridge.
> 
> 
> Man I hope so.. I don't want to resort to having to throw these board 
> away or constantly patch my kernel! I could just go and buy some more 
> SATA drives I guess, but where would the fun be in that!

hehe

Another option is to have a "no large transfers" module option that 
users could specify; that way you wouldn't have to patch the kernel, and 
it would work for all drivers without having to maintain a blacklist.

	Jeff



  reply	other threads:[~2004-08-29 17:59 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-29 17:09 libata dev_config call order wrong Brad Campbell
2004-08-29 17:29 ` Jeff Garzik
2004-08-29 17:47   ` Brad Campbell
2004-08-29 17:59     ` Jeff Garzik [this message]
2004-08-29 18:25       ` Jeff Garzik
2004-08-29 18:59         ` Alan Cox
2004-08-30  9:12           ` Brad Campbell
2004-08-30 13:22             ` Alan Cox
2004-08-30 14:38               ` Brad Campbell
2004-08-30 14:42         ` [PATCH] libata ATA vs SATA detection and workaround Brad Campbell
2004-08-30 14:57           ` Brad Campbell
2004-08-30 16:06             ` Jeff Garzik
2004-08-30 16:34               ` Brad Campbell
2004-08-30 16:37                 ` Jeff Garzik
2004-08-30 17:17                   ` Brad Campbell
2004-08-30 17:59                     ` Jeff Garzik
2004-08-31  7:47                       ` Brad Campbell

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=4132198B.8000504@pobox.com \
    --to=jgarzik@pobox.com \
    --cc=brad@wasp.net.au \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).