From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1II5dl-0000YM-UL for mharc-grub-devel@gnu.org; Mon, 06 Aug 2007 12:41:09 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1II5dk-0000Y6-LP for grub-devel@gnu.org; Mon, 06 Aug 2007 12:41:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1II5dg-0000XE-KR for grub-devel@gnu.org; Mon, 06 Aug 2007 12:41:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II5dg-0000XB-HD for grub-devel@gnu.org; Mon, 06 Aug 2007 12:41:04 -0400 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1II5de-0008TM-Rs for grub-devel@gnu.org; Mon, 06 Aug 2007 12:41:03 -0400 Received: from [192.168.10.6] (helo=aragorn) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1II5d6-0006SU-Fj for grub-devel@gnu.org; Mon, 06 Aug 2007 18:40:28 +0200 Received: from rmh by aragorn with local (Exim 4.63) (envelope-from ) id 1II5gi-0002Ow-8t for grub-devel@gnu.org; Mon, 06 Aug 2007 18:44:12 +0200 Date: Mon, 6 Aug 2007 18:44:12 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20070806164412.GA9171@aragorn> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-Detected-Kernel: Genre and OS details not recognized. Subject: Re: grub-setup Segmentation fault 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: Mon, 06 Aug 2007 16:41:08 -0000 On Sun, Aug 05, 2007 at 02:14:28PM +0200, Magnus Granberg wrote: > >>>Could you try the attached patch? > >>> > >>>-- > >>>Robert Millan > >>> > >>It did't fix the Segmentation fault :( > > > >It wasn't supposed to. Did you see what the patch is doing? > > > >-- > >Robert Millan > > grub-setup: info: prefix = /grub > grub-setup: info: changing current directory to /dev/mapper > grub-setup: info: 2 root_dev = vg-boot > grub-setup: info: getting the size of /boot/grub/boot.img > grub-setup: info: reading /boot/grub/boot.img > grub-setup: info: getting the size of /boot/grub/boot.img > grub-setup: info: getting the size of /boot/grub/core.img > grub-setup: info: reading /boot/grub/core.img > grub-setup: info: getting the size of /boot/grub/core.img > Segmentation fault Sounds like I made the wrong guess, then. You need to figure out where's that null pointer coming from. Doesn't seem to be root_dev.. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)