From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1D1ESS-0006me-VX for mharc-grub-devel@gnu.org; Tue, 15 Feb 2005 20:58:29 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D1ESR-0006mY-M6 for grub-devel@gnu.org; Tue, 15 Feb 2005 20:58:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D1ESQ-0006lu-13 for grub-devel@gnu.org; Tue, 15 Feb 2005 20:58:27 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D1ESP-0006lp-Sz for grub-devel@gnu.org; Tue, 15 Feb 2005 20:58:25 -0500 Received: from [66.111.4.26] (helo=out2.smtp.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D1EEz-0005Od-FQ for grub-devel@gnu.org; Tue, 15 Feb 2005 20:44:33 -0500 Received: from web3.messagingengine.com (web3.internal [10.202.2.212]) by frontend1.messagingengine.com (Postfix) with ESMTP id CF3D9C583C5 for ; Tue, 15 Feb 2005 20:44:29 -0500 (EST) Received: by web3.messagingengine.com (Postfix, from userid 99) id 1A4087350; Tue, 15 Feb 2005 20:44:31 -0500 (EST) Message-Id: <1108518271.32268.215175116@webmail.messagingengine.com> X-Sasl-Enc: pmlYtFnEVZt9E4wS1claadG9WtbQRvMLPAIo1xFYT1kP 1108518271 From: "richard juckes" To: grub-devel@gnu.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) Date: Wed, 16 Feb 2005 09:44:31 +0800 Subject: 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 01:58:27 -0000 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. Wed Feb 16 08:19:42 HKT 2005 --> cvs update --> make clean --> gcc --version gcc (GCC) 4.0.0 20050213 (experimental) Copyright (C) 2005 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. --> ./configure --> 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 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 and hangs crtl-alt-delete change floppy to one formatted with mkdosfs grub> linux (fd0)/bzImage root=/dev/hda6 [Linux-bzImage, setup=0xc00, size=0x10a925] grub> boot success! 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 grub> linux (fd0)/bzImage root=/dev/hda6 out of range pointer 0x7fca0 I had the same problem with yesterday's cvs, and also repeated the steps with gcc-3.4.3 with similar results. I hope this is useful, Richard. -- richard juckes richardjuckes@fastmail.cn