All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Grégoire Sutre" <gregoire.sutre@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: How to debug 'out of disk' error.
Date: Fri, 18 Mar 2011 10:04:42 +0100	[thread overview]
Message-ID: <4D83202A.9060900@gmail.com> (raw)
In-Reply-To: <4D810D54.1020008@cfl.rr.com>

On 03/16/2011 20:19, Phillip Susi wrote:
> On 3/16/2011 1:32 PM, Lennart Sorensen wrote:
>> So I now have some debug info:
>>
>> version=48
>> total_sectors=156312576 C=16383 H=16 S=63
>> error: hd0,msdos1 out of disk.
>> Entering rescue mode...
>> grub rescue>
>>
>> So version is returning something, and it is actually getting the disk
>> size properly.  I wonder what else could cause the out of disk message
>> then.
>
> What does the partition table look like?  It doesn't extend beyond
> sector 156312575 does it?
>
> Also I wonder about why H=16.  It should be 255.

I didn't look at the code, but this is probably the ATA geometry of
the disk, which is returned by the INT-13h (Extended) function 48h
(Read Drive Parameters).  If I remember correctly, this geometry is
always 16383/16/63 for disks larger than 8.4GB.

Grégoire



  parent reply	other threads:[~2011-03-18  9:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-16 15:13 How to debug 'out of disk' error Lennart Sorensen
2011-03-16 15:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-16 16:58   ` Lennart Sorensen
2011-03-16 17:21     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-16 17:32   ` Lennart Sorensen
2011-03-16 17:58     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-16 18:14       ` Lennart Sorensen
2011-03-16 19:19     ` Phillip Susi
2011-03-16 19:23       ` Lennart Sorensen
2011-03-16 20:09         ` Lennart Sorensen
2011-03-16 20:19           ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-16 22:00             ` Lennart Sorensen
2011-03-16 22:16               ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-17 14:06                 ` Lennart Sorensen
2011-03-17 14:18                   ` Lennart Sorensen
2011-03-17 16:09                 ` Lennart Sorensen
2011-03-17 16:29                   ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-17 18:40                     ` Lennart Sorensen
2011-03-17 19:01                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-03-17 19:22                         ` Lennart Sorensen
2011-03-18  9:04       ` Grégoire Sutre [this message]
2011-03-18 14:22         ` Lennart Sorensen
2011-03-18 14:56           ` Grégoire Sutre
2011-03-18 15:26             ` Lennart Sorensen
2011-03-16 19:51     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-06 12:50 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-06 14:38   ` Lennart Sorensen

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=4D83202A.9060900@gmail.com \
    --to=gregoire.sutre@gmail.com \
    --cc=grub-devel@gnu.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.