Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Qrr7b-0002Tz-GV for mharc-grub-devel@gnu.org; Fri, 12 Aug 2011 08:45:55 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrZ2S-0001wI-HD for grub-devel@gnu.org; Thu, 11 Aug 2011 13:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QrZ2O-0000Kf-RU for grub-devel@gnu.org; Thu, 11 Aug 2011 13:27:24 -0400 Received: from alius.ayous.org ([78.46.213.165]:38869) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QrZ2O-0008W3-9o for grub-devel@gnu.org; Thu, 11 Aug 2011 13:27:20 -0400 Received: from eos.turmzimmer.net ([2001:a60:f006:aba::1]) by alius.turmzimmer.net with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1QrZ22-0007Ma-L7 for grub-devel@gnu.org; Thu, 11 Aug 2011 17:26:58 +0000 Received: from aba by eos.turmzimmer.net with local (Exim 4.69) (envelope-from ) id 1QrZ1w-0007Rn-LP for grub-devel@gnu.org; Thu, 11 Aug 2011 19:26:52 +0200 Date: Thu, 11 Aug 2011 19:26:52 +0200 From: Andreas Barth To: The development of GNU GRUB Subject: Re: Loongson 2E boot failure Message-ID: <20110811172652.GN2657@mails.so.argh.org> References: <20110726131229.GA30427@riva.dynamic.greenend.org.uk> <20110726152502.GA3028@riva.dynamic.greenend.org.uk> <4E2EE59C.8080305@gmail.com> <20110726161932.GB3028@riva.dynamic.greenend.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Editor: Vim http://www.vim.org/ User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 78.46.213.165 X-Mailman-Approved-At: Fri, 12 Aug 2011 08:45:54 -0400 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Thu, 11 Aug 2011 17:27:28 -0000 * Robert Millan (rmh@gnu.org) [110811 19:10]: > 2011/7/26 Colin Watson : > >> Looks like memory allocations are wrong. Try hardcoding heap at e.g. > >> 81000000-82000000 > > > > Sorry, I've not had to mess with this before.  Can you point me to what > > I'd need to change to hardcode a specific heap region? > > Try replacing grub_machine_mmap_iterate() with something like: > > grub_err_t > grub_machine_mmap_iterate (grub_memory_hook_t hook) > { > hook (0x81000000, 82000000, GRUB_MEMORY_AVAILABLE); > return GRUB_ERR_NONE; > } done so, but the failure is still the same. (I'm happy to try different variants, but please tell me how I should produce them.) Andi