From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q0Vc3-0001QN-9b for mharc-grub-devel@gnu.org; Fri, 18 Mar 2011 05:04:51 -0400 Received: from [140.186.70.92] (port=58852 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0Vc0-0001MA-I9 for grub-devel@gnu.org; Fri, 18 Mar 2011 05:04:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0Vbz-0000ol-AH for grub-devel@gnu.org; Fri, 18 Mar 2011 05:04:48 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:47810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0Vbz-0000oY-4E for grub-devel@gnu.org; Fri, 18 Mar 2011 05:04:47 -0400 Received: by bwz17 with SMTP id 17so3545367bwz.0 for ; Fri, 18 Mar 2011 02:04:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=D1HWA9TELvsKB8iBBWixmkDVLAIu6EMK8yPG1DLjoNs=; b=TeTyxpa0AwYpX0UaZWWY1uP/kmXzfR3z+7YWMELogWqBZCnbm186N0gadfPZAKIcn6 VJVPSSy7Yzo2B9Iq6766Dhk/biLAxjT6RIk9pTMIK8TtwP3wNLHTNdGyUYqz6XbwrJqW 4/Y/VKcbKsjuWrNGRXsTIGelKe1xe7zjrCC3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=qX9ATMrPS+gM63wipEQNuSR1LkJ8QY+ApoeG+RBfq0K3kJBGmL7XW9wtpeqF9YSsME mV8Zxt9J2ZVq2vwF2x62AIcSGkWok7XUm9cb4P1cluEEWl5dNA/EwIKQ5kQB8Cf3xheF UKdcTBmnpRX6FrTkXT7McybQdB0zX74B44ulE= Received: by 10.204.233.14 with SMTP id jw14mr726371bkb.40.1300439085550; Fri, 18 Mar 2011 02:04:45 -0700 (PDT) Received: from [147.210.129.245] (laptop-147-210-129-245.labri.fr [147.210.129.245]) by mx.google.com with ESMTPS id z18sm1964733bkf.20.2011.03.18.02.04.43 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Mar 2011 02:04:44 -0700 (PDT) Message-ID: <4D83202A.9060900@gmail.com> Date: Fri, 18 Mar 2011 10:04:42 +0100 From: =?UTF-8?B?R3LDqWdvaXJlIFN1dHJl?= User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.9.2.13) Gecko/20110128 Lightning/1.0b3pre Lanikai/3.1.7 MIME-Version: 1.0 To: The development of GNU GRUB References: <20110316151332.GC343@caffeine.csclub.uwaterloo.ca> <4D80D75C.9080007@gmail.com> <20110316173216.GE343@caffeine.csclub.uwaterloo.ca> <4D810D54.1020008@cfl.rr.com> In-Reply-To: <4D810D54.1020008@cfl.rr.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 Subject: Re: How to debug 'out of disk' error. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Mar 2011 09:04:49 -0000 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