From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D1Tgg-0000yu-Az for mharc-grub-devel@gnu.org; Wed, 16 Feb 2005 13:14:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1Tgf-0000yg-Dn for grub-devel@gnu.org; Wed, 16 Feb 2005 13:14:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1Tgd-0000y0-Sj for grub-devel@gnu.org; Wed, 16 Feb 2005 13:14:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1Tgd-0000xq-RE for grub-devel@gnu.org; Wed, 16 Feb 2005 13:14:07 -0500 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D1TTD-0005Qz-Lx for grub-devel@gnu.org; Wed, 16 Feb 2005 13:00:15 -0500 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 9D19494ED for ; Wed, 16 Feb 2005 19:00:14 +0100 (CET) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 01380-08 for ; Wed, 16 Feb 2005 19:00:12 +0100 (CET) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 7FBD892A7 for ; Wed, 16 Feb 2005 19:00:12 +0100 (CET) Received: from marco.marco-g.com (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id 4DCA3C045 for ; Wed, 16 Feb 2005 19:00:12 +0100 (CET) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <1108518271.32268.215175116@webmail.messagingengine.com> From: Marco Gerards Date: Wed, 16 Feb 2005 18:00:29 +0000 In-Reply-To: <1108518271.32268.215175116@webmail.messagingengine.com> (richard juckes's message of "Wed, 16 Feb 2005 09:44:31 +0800") Message-ID: <87psz04c76.fsf@marco.marco-g.com> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: out of range pointer with ext2 filesystem 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 Feb 2005 18:14:09 -0000 "richard juckes" writes: > Hi, this is the problem I'm having with Grub2-cvs and ext2 filesystems. > I get a successful boot from a kernel on floppy with a fat filesystem, > but no luck when the same floppy is formatted with ext2. [...] > --> make > --> ./grub-mkimage -v -d . -o core.img _chain boot cat cmp ext2 fat > fshelp halt help linux ls normal pc reboot terminal > --> su mkdosfs /dev/fd0 > --> dd if=boot.img of=/devfd0 bs=512 count=1 > --> dd if=core.img of=/devfd0 bs=512 seek=1 First you create a filesystem and after that you overwrite it. I doubt that it will work. > reboot > > GNU GRUB version 1.90 > > grub> ls > (fd0) (hd0) (hd0,0) (hd0,4) ..... (hd0,11) > grub> ls -l > Disk: fd0 > Disk: hd0 > unaligned pointer 0xfaa4 In this example you use mkdosfs, or did you mean mkfe2fs? > make another kernel floppy > > --# mke2fs /dev/fd0 > mke2fs 1.36 (05-Feb-2005) > Filesystem label= > OS type: Linux > Block size=1024 (log=0) > Fragment size=1024 (log=0) > 184 inodes, 1440 blocks > 72 blocks (5.00%) reserved for the super user > First data block=1 > 1 block group > 8192 blocks per group, 8192 fragments per group > 184 inodes per group > > Writing inode tables: done > Writing superblocks and filesystem accounting information: done > > This filesystem will be automatically checked every 31 mounts or > 180 days, whichever comes first. Use tune2fs -c or -i to override. > > reboot You don't put GRUB on it? > grub> linux (fd0)/bzImage root=/dev/hda6 > out of range pointer 0x7fca0 This is weird and should not happen. A broken filesystem should never cause a crash. I will have a look at next weekend. Thanks, Marco