From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PzsfS-0000pO-M7 for mharc-grub-devel@gnu.org; Wed, 16 Mar 2011 11:29:46 -0400 Received: from [140.186.70.92] (port=36720 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzsfQ-0000lj-3q for grub-devel@gnu.org; Wed, 16 Mar 2011 11:29:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PzsfL-0006C0-AO for grub-devel@gnu.org; Wed, 16 Mar 2011 11:29:43 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:58191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PzsfK-0006BY-Vj for grub-devel@gnu.org; Wed, 16 Mar 2011 11:29:39 -0400 Received: by wwc33 with SMTP id 33so1983294wwc.30 for ; Wed, 16 Mar 2011 08:29:37 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=4em8PFYqFAYo3Yiz+KAU1juDvhzWmmTbkOnRR86Vu/w=; b=WSn+dhhCpVX4qQX2lzN+rd3iBD3tfDVbpnxWhiH92a301Py6/Sha+tPrMy1yseVWMw VTB48oL0m+2mDeFRzyVJtxID12RsR5m6fDkKP4mfB8rx3vHPgUprzrruW6H89QdkPjt8 s8Uf3Qt2oWBBwL93qaQo8jekUJbqNpI6R8MO8= 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:x-enigmail-version:content-type :content-transfer-encoding; b=TUcNekb2ymTZCicwowF6H91/ElOAeWRtJi6kWBDuIfcOPLT1SL4BCRvtFIgAgsv+hp xIWIe/iiz8DFzb9N+oybeAahU0TILb6B1aRg49TznxG6zi0VdCvRpKc17FKxhSjfuFNX 5Ed+FM2pg4nBX2S4Mt02MFhtij1YM3UKZgirY= Received: by 10.227.139.143 with SMTP id e15mr146721wbu.5.1300289377321; Wed, 16 Mar 2011 08:29:37 -0700 (PDT) Received: from debian.x201.phnet (hg-public-dock-150-dhcp.ethz.ch [82.130.80.150]) by mx.google.com with ESMTPS id h19sm25976wbc.7.2011.03.16.08.29.33 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 16 Mar 2011 08:29:34 -0700 (PDT) Message-ID: <4D80D75C.9080007@gmail.com> Date: Wed, 16 Mar 2011 16:29:32 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20110303 Icedove/3.0.11 MIME-Version: 1.0 To: grub-devel@gnu.org References: <20110316151332.GC343@caffeine.csclub.uwaterloo.ca> In-Reply-To: <20110316151332.GC343@caffeine.csclub.uwaterloo.ca> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 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: Wed, 16 Mar 2011 15:29:45 -0000 On 16.03.2011 16:13, Lennart Sorensen wrote: > I am trying to figure out why grub2 (from Debian Squeeze) gives an 'out > of disk' error when trying to boot from the HD after doing an install. > It ends up at a grub rescue prompt, given it can't even read the disk > well enough to load the full grub. Doing ls shows the disks, and I can > show the root directory of a partition, but anything further seems to > hit the same 'out of disk' error. > > ls -l should show how big it thinks the disk is. Compare it with its real size > The system is a Compulab CM-iTC which uses an intel tunnelcreek atom > (the new one) with a phoenix bios. So far Compulab's response when told > it won't boot grub2 was "We know, but syslinux works fine.", which to > me is not a solution at all. The same system also hangs the Linux 2.6.32 > kernel unless 'edd=off' is added to the kernel command line. > > Looks like int13 is borked. Perhaps it's borked in a way which prevents GRUB from detecting 13/42 function. You can try to force int13/42 by: === modified file 'grub-core/disk/i386/pc/biosdisk.c' --- grub-core/disk/i386/pc/biosdisk.c 2011-01-04 14:42:47 +0000 +++ grub-core/disk/i386/pc/biosdisk.c 2011-03-16 15:28:26 +0000 @@ -145,6 +145,8 @@ { struct grub_bios_int_registers regs; + return 1; + regs.edx = drive & 0xff; regs.eax = 0x4100; regs.ebx = 0x55aa; > So any suggestions on how to go about debuagging this? Or even any > ideas why grub would give such an error. > > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko