From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HoEQK-0003q9-Hf for mharc-grub-devel@gnu.org; Wed, 16 May 2007 03:59:52 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoEQI-0003on-3D for grub-devel@gnu.org; Wed, 16 May 2007 03:59:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoEQG-0003nP-4l for grub-devel@gnu.org; Wed, 16 May 2007 03:59:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoEQF-0003n8-9Z for grub-devel@gnu.org; Wed, 16 May 2007 03:59:47 -0400 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HoE74-000753-9k for grub-devel@gnu.org; Wed, 16 May 2007 03:39:59 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id l4G7dnS8008984 for ; Wed, 16 May 2007 09:39:50 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <8c0c43de0705151747i243e0detd42c2367523b5058@mail.gmail.com> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 16 May 2007 09:40:24 +0200 In-Reply-To: <8c0c43de0705151747i243e0detd42c2367523b5058@mail.gmail.com> (Alex Roman's message of "Tue, 15 May 2007 20:47:03 -0400") Message-ID: <87r6ph2p3r.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: FreeBSD 4.6-4.9 Subject: Re: ls and xfs = unhandled exception / reset 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: Wed, 16 May 2007 07:59:50 -0000 "Alex Roman" writes: Hi Alex, > I've got a linux system with the / partition as xfs (and no /boot > partition, blame kUbuntu's installer for that :)). I wanted to try to > boot the system from a grub2 floppy I made (so I can still boot my > system, no worries). > > I do: > insmod ls > insmod pc > insmod xfs One problem is that XFS support is not finished yet... > Then if I do: > ls (hd0,1) -- my xfs partition > > ... the system just resets. Urgh, that is not supposed to happen :-). > I verified that if I insmod ext2 and ls on an ext3 partition, it will > work as expected and not reset my PC. Also, if I ls on the xfs > partition, without the xfs module loaded, GRUB will just print > Filesystem type unknown, but won't reset. right, this sounds like a bug in XFS. > Given that I'll also be working on adding CD-ROM boot support to GRUB > as part of GSoC, I figure this would be a great opportunity to start > fixing some bugs to get familiar with the code. Agreed :-) > Now, I've no idea how to debug this issue, how to get a debugging log, > etc... Could anyone please point me at the right document to read or > give me some advice how I could start working on this? what I would do is trying to reproduce this bug in grub-emu. You can start grub-emu and attach gdb (or start from gdb). When (if...) the crash occur here, you can request a backtrace. This is a more comfortable way of debugging compared to doing this in qemu or so. -- Marco