Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PnAMX-000887-KG for mharc-grub-devel@gnu.org; Wed, 09 Feb 2011 08:45:41 -0500 Received: from [140.186.70.92] (port=50728 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PnAMU-00086S-3D for grub-devel@gnu.org; Wed, 09 Feb 2011 08:45:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PnAMS-00042f-11 for grub-devel@gnu.org; Wed, 09 Feb 2011 08:45:37 -0500 Received: from smarthost03.mail.zen.net.uk ([212.23.3.142]:43860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PnAMR-000426-SI for grub-devel@gnu.org; Wed, 09 Feb 2011 08:45:35 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost03.mail.zen.net.uk with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1PnAMO-0004NU-KA for grub-devel@gnu.org; Wed, 09 Feb 2011 13:45:32 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 4.72) (envelope-from ) id 1PnAMN-0006NV-7v for grub-devel@gnu.org; Wed, 09 Feb 2011 13:45:31 +0000 Date: Wed, 9 Feb 2011 13:45:30 +0000 From: Colin Watson To: grub-devel@gnu.org Message-ID: <20110209134530.GB8349@riva.ucam.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Originating-Smarthost03-IP: [82.69.40.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.23.3.142 Subject: FreeBSD relocator crash 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, 09 Feb 2011 13:45:39 -0000 While working on Debian bug #612128 in a KVM instance, I found that any call to kfreebsd_module_elf seems to crash GRUB (1.99~rc1). I reproduced this with both FreeBSD 7.2 + acpi.ko and FreeBSD 8.1 + ufs.ko. This sequence of commands: kfreebsd /boot/kfreebsd-8.1-1-686.gz set debug=all kfreebsd_module_elf /lib/modules/8.1-1-686/ufs.ko ... results in this sequence of debug messages just before hanging: kern/disk.c:245: Opening `hd0,msdos1'... partmap/msdos.c:140: partition 0: flag 0x80, type 0xa5, start 0x3f, len 0x13fff71 kern/fs.c:54: Detecting ufs2... lib/relocator.c:1211: min_addr = 0xec6fec, max_addr = 0xffffffff, target = 0xec7000 lib/relocator.c:424: trying to allocate in 0xec7000-0xffffffff aligned 0x1 size 0x43ab8 Does anyone know what's wrong here, or my best strategy for gathering more information if it isn't obvious? Thanks, -- Colin Watson [cjwatson@ubuntu.com]