mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: James Finnie <jf1@IMERGE.co.uk>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
	"'andre@linux-ide.org'" <andre@linux-ide.org>
Subject: Re: [PATCH]:  Sanity checking for drives that claim to be LBA-48, but aren't!
Date: 17 Oct 2002 03:35:12 -0600	[thread overview]
Message-ID: <m1vg411k8f.fsf@frodo.biederman.org> (raw)
In-Reply-To: <C0D45ABB3F45D5118BBC00508BC292DB9D4264@imgserv04>

James Finnie <jf1@IMERGE.co.uk> writes:

> The kernel sees this bit set, tries to use LBA-48 commands, and the drive
> errors, complaining that it doesn't understand!  Meaning this drive is
> unusable with the >=2.4.19 kernels.  I think at least one other person has
> reported something very similar, IIRC with a very old Maxtor IDE drive.
> 
> Here is a patch that does some basic sanity checking.  If the drive has an
> lba_capacity_2==0, and has the bit set claiming to be LBA-48, it ignores
> this claim.
> 
There are also a set of bits that reports which revs of the ATA standard
a drive complies with.  Should we check that one as well?  

Eric
 

  reply	other threads:[~2002-10-17  9:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-17  9:02 James Finnie
2002-10-17  9:35 ` Eric W. Biederman [this message]
2002-10-17 10:26 ` Andries Brouwer
2002-10-17 10:02 James Finnie

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=m1vg411k8f.fsf@frodo.biederman.org \
    --to=ebiederm@xmission.com \
    --cc=andre@linux-ide.org \
    --cc=jf1@IMERGE.co.uk \
    --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

all inboxes | Powered by JetHome®