linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Lord <liml@rtr.ca>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Mike <michael_six@users.sourceforge.net>,
	B.Zolnierkiewicz@elka.pw.edu.pl,
	list linux-ide <linux-ide@vger.kernel.org>
Subject: Re: Kernel 2.6.18 and above
Date: Sat, 21 Apr 2007 11:28:25 -0400	[thread overview]
Message-ID: <462A2D99.9090201@rtr.ca> (raw)
In-Reply-To: <200704202241.13223.bzolnier@gmail.com>

Bartlomiej Zolnierkiewicz wrote:
> On Friday 20 April 2007, Benjamin Herrenschmidt wrote:
>> I'm CC'ing linux-ide... looks like the disk which you say is 20GB is
>> misdetected by the IDE layer as being 2GB.
..
>> And here you can see that the partition map tries to use about 20GB...
>> so there is a discrepancy between what the partition map says and what
>> the IDE driver says. I suspect old kernel just ignores the later, while
>> newer kernels enforce the limit which causes your problem.
>>
>> Bart, I'm a bit at lost as to why the device size would be misdetected,
>> do you have an idea ? Might be worth getting a dump of the ID block...
>> Mike, can you send us a dump of the binary file /proc/ide/hdb/identify ?
> 
> Since this is a 2.6.17->2.6.18 regression narrowing the problem down to
> the specific changeset (or at least -git or even -rc) seems like a most
> promising way in discovering the source of the issue.

Oddly enough, the IDENTIFY data that was posted shows this:

        CHS current addressable sectors:    4128768
        LBA    user addressable sectors:   40188960

So, using CHS it appears as a 2GB drive, but using LBA we get a 20GB drive.
Is something mistakenly using CHS instead of LBA ??

-ml

      parent reply	other threads:[~2007-04-21 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4626AEF7.9010804@users.sourceforge.net>
     [not found] ` <1177022657.7286.3.camel@localhost.localdomain>
     [not found]   ` <462811D6.9000304@users.sourceforge.net>
     [not found]     ` <1177051098.17978.4.camel@localhost.localdomain>
     [not found]       ` <46286D36.5090609@users.sourceforge.net>
2007-04-20  8:30         ` Kernel 2.6.18 and above Benjamin Herrenschmidt
2007-04-20  9:55           ` Mike
2007-04-20 20:41           ` Bartlomiej Zolnierkiewicz
2007-04-21  0:15             ` Benjamin Herrenschmidt
2007-04-21 15:28             ` Mark Lord [this message]

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=462A2D99.9090201@rtr.ca \
    --to=liml@rtr.ca \
    --cc=B.Zolnierkiewicz@elka.pw.edu.pl \
    --cc=benh@kernel.crashing.org \
    --cc=bzolnier@gmail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=michael_six@users.sourceforge.net \
    /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).