Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M5Nkp-0004AJ-7B for mharc-grub-devel@gnu.org; Sat, 16 May 2009 13:32:59 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M5Nkn-00048Z-TM for grub-devel@gnu.org; Sat, 16 May 2009 13:32:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M5Nkj-000432-K4 for grub-devel@gnu.org; Sat, 16 May 2009 13:32:57 -0400 Received: from [199.232.76.173] (port=38427 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M5Nkj-00042c-EH for grub-devel@gnu.org; Sat, 16 May 2009 13:32:53 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:42797) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M5Nkj-0006E6-2h for grub-devel@gnu.org; Sat, 16 May 2009 13:32:53 -0400 Received: by ewy6 with SMTP id 6so3263227ewy.42 for ; Sat, 16 May 2009 10:32:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cDRKSjGEtje6j42MOr1Ij8VaZ+B20HR7/7takVu5e3Y=; b=jrDb8i7haO/iV/FRxcIrBeEVBEJ8QXUBjh3UDXWnNyuf4343zYZpqa9U/ZYz2dSaMk FzFxk4H3yu9sv2ZuViQ6gmn+ofCABGst4jkuF8TCicGruM0URJo9e9wKq6pNgnDqyJHr xuir27XSHhgg1cTdRYlNqKGdaZNCQGLOzuI5E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kohzE3Z3GVOkHsnw8fGgk+7F1rYX7pHsQlN6paXeVNutXMbivudd2BwXEdFD6HxzXd RTKaSAH+vh3rt4KpG1BrJkQ+GX4pvIx62S9HbRbLhOpn63YpY5ZkaeGejt3NQBstM3QG zgWJunQEyFSL0U17CnaJ0KOo1z7W+Qj/hj4qY= MIME-Version: 1.0 Received: by 10.216.47.201 with SMTP id t51mr1572916web.198.1242495170096; Sat, 16 May 2009 10:32:50 -0700 (PDT) In-Reply-To: <1242491212.3701.5.camel@fz.local> References: <4A0EE0E9.2070702@earthlink.net> <1242491212.3701.5.camel@fz.local> Date: Sat, 16 May 2009 19:32:50 +0200 Message-ID: From: Daniel Nebdal To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Is this bad? :-) X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 May 2009 17:32:58 -0000 On Sat, May 16, 2009 at 6:26 PM, Felix Zielcke wrote: > Am Samstag, den 16.05.2009, 11:51 -0400 schrieb BandiPat: >> Just built svn2220 to try, but it seems there might be a problem. =A0Can >> you guys enlighten or confirm? =A0Here is the resulting error when runni= ng >> grub-install. >> >> # grub-install /dev/sda >> /usr/sbin/grub-install: =A0line 307: =A0679 Segmentation fault =A0$grub_= setup >> ${setup_verbose} ${setup_force} --directory=3D${grubdir} >> --device-map=3D${device_map} ${install_device} >> >> This happened between svn2141 & svn2220 > > Compile with `CFLAGS=3D"-O0 -g3" ./configure' > then run `ulimit -c unlimited' before running grub-install and you > should get a core dump > Then `gdb /usr/sbin/grub-setup core' and inside of gdb type `bt' to get > a backtrace. > This should tell where exactly it crashed. I have the same problem, in ubuntu/x86, using a SVN checkout form a few hours ago. The backtrace looks like this: Program terminated with signal 11, Segmentation fault. [New process 14357] #0 0x08049ecc in identify_partmap (disk=3D0xbfb62248, p=3D0x8e374c0) at util/i386/pc/grub-setup.c:330 330 dest_partmap =3D p->partmap->name; (gdb) bt #0 0x08049ecc in identify_partmap (disk=3D0xbfb62248, p=3D0x8e374c0) at util/i386/pc/grub-setup.c:330 #1 0x0806bd00 in pc_partition_map_iterate (disk=3D0x8e374c0, hook=3D0xbfb62248) at partmap/pc.c:151 #2 0x08050dc3 in grub_partition_iterate (hook=3D0xbfb62248) at kern/partition.c:124 #3 0x080496d9 in setup (dir=3D0x8e35008 "/boot/grub", boot_file=3D0x807043c "boot.img", core_file=3D0x8070433 "core.img", root=3D0x8e35110 "hd0,6", dest=3D0x8e350a8 "hd0", must_embed=3D0, force=3D0) at util/i386/pc/grub-setup.c:333 #4 0x0804a85f in main (argc=3D4, argv=3D0xbfb623b4) at util/i386/pc/grub-setup.c:771 (gdb) I hope that can be of some use? --=20 Daniel Nebdal