From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ozo0Y-00077t-Ty for mharc-grub-devel@gnu.org; Sun, 26 Sep 2010 05:58:58 -0400 Received: from [140.186.70.92] (port=32926 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ozo0V-00077j-0w for grub-devel@gnu.org; Sun, 26 Sep 2010 05:58:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ozo0T-0002Qs-Pv for grub-devel@gnu.org; Sun, 26 Sep 2010 05:58:54 -0400 Received: from smtp-out3.iol.cz ([194.228.2.91]:58612) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozo0T-0002QJ-E3 for grub-devel@gnu.org; Sun, 26 Sep 2010 05:58:53 -0400 Received: from antivir5.iol.cz (unknown [192.168.30.212]) by smtp-out3.iol.cz (Postfix) with ESMTP id D90C2BC81BB for ; Sun, 26 Sep 2010 09:58:50 +0000 (UTC) Received: from localhost (antivir5.iol.cz [127.0.0.1]) by antivir5.iol.cz (Postfix) with ESMTP id 1CCC71E8032 for ; Sun, 26 Sep 2010 11:58:50 +0200 (CEST) X-Virus-Scanned: amavisd-new at iol.cz Received: from antivir5.iol.cz ([127.0.0.1]) by localhost (antivir5.iol.cz [127.0.0.1]) (amavisd-new, port 10224) with LMTP id hg63AimreYvh for ; Sun, 26 Sep 2010 11:58:50 +0200 (CEST) Received: from port8.iol.cz (unknown [192.168.30.90]) by antivir5.iol.cz (Postfix) with ESMTP id 81BCE1E8031 for ; Sun, 26 Sep 2010 11:58:49 +0200 (CEST) X-SBRS: None X-SBRS-none: None X-RECVLIST: MTA-OUT-IOL X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq0MAEO2nkxVRnXk/2dsb2JhbAAHgxSBAc8DkS2BIoMudASJTg Received: from 228.117.broadband3.iol.cz (HELO [192.168.6.160]) ([85.70.117.228]) by port8.iol.cz with ESMTP; 26 Sep 2010 11:58:49 +0200 From: =?UTF-8?Q?Ale=C5=A1?= Nesrsta To: The development of GNU GRUB In-Reply-To: <1285276406.4964.9.camel@pracovna> References: <4C7519E8.90907@gmail.com> <20100826230527.GA26246@pina.cat> <4C76F58D.6020304@gmail.com> <1282995082.14285.4.camel@pracovna> <4C7AF2BB.2040606@gmail.com> <4C7AF7E1.7020204@gmail.com> <1283551348.27688.89.camel@pracovna> <1283621655.4824.25.camel@pracovna> <1284312512.5714.83.camel@pracovna> <1284378479.13334.53.camel@pracovna> <1284401606.5929.3.camel@pracovna> <1284530296.6578.24.camel@pracovna> <4C95F825.9050603@gmail.com> <1285100318.2112.13.camel@pracovna> <1285276406.4964.9.camel@pracovna> Content-Type: text/plain; charset=utf-8 Date: Sun, 26 Sep 2010 11:58:47 +0200 Message-Id: <1285495128.6833.9.camel@pracovna> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: Trunk: boot problem - unaligned pointer 0x... X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2010 09:58:56 -0000 Hi, I discovered something. It looks like problem is caused by empty line in booting command list: ... script/lexer.c:305: token 290 text [Debian GNU/Linux, linux 2.6.32-bpo.5-686 /dev/sdb1] script/script.c:50: malloc 0x3ffac100 script/script.c:50: malloc 0x3feddab0 script/lexer.c:305: token 290 text [] script/script.c:50: malloc 0x3ff11360 script/script.c:50: malloc 0x3ff14ee0 script/script.c:163: arglist script/script.c:50: malloc 0x3ff1e4a0 script/lexer.c:305: token 259 text [ ] script/script.c:50: malloc 0x3ff24e90 script/script.c:50: malloc 0x3ff25010 script/script.c:198: cmdline script/script.c:50: malloc 0x3ff2d2c0 script/lexer.c:305: token 0 text [] script/script.c:50: malloc 0x3fee1d10 script/script.c:50: malloc 0x3ff11340 script/script.c:294: append command script/script.c:50: malloc 0x3ff1b130 unaligned pointer 0x692a6373 But I don't know where the empty line is generated - it is not in grub.cfg Regards Ales Ale=C5=A1 Nesrsta wrote: > Hi, >=20 > there is some bug in trunk last versions: >=20 > I am not able to boot with normal configuration stored in grub.cfg - if > I select any item from menu (or wait for timeout for default item), > booting is aborted with messages: >=20 >=20 > " > Booting 'xyz...' >=20 > unaligned pointer 0x... > Aborted. Press any key to exit. > " >=20 > If I edit menu item, delete "search" command and specify Linux root > device directly ("linux ... root=3D/dev/sdb1..."), Linux is booted > normally. >=20 >=20 > Some initial information: >=20 > GRUB was autoconfigured for compilation in this way: > ******************************************************* > GRUB2 will be compiled with following components: > Platform: i386-pc > With devmapper support: No (need devmapper library) > With memory debugging: No > efiemu runtime: Yes > grub-mkfont: Yes > ******************************************************* >=20 > Menuentry looks for example like that: > set root=3D(hd0,1) > search --fs-uuid --set 02ba8dca-885d-4acd-9730-eee482f3305b > linux /boot/vmlinuz-2.6.32-bpo.5-686 > root=3DUUID=3D02ba8dca-885d-4acd-9730-eee482f3305b ro =20 > initrd /boot/initrd.img-2.6.32-bpo.5-686 >=20 >=20 > Unfortunately, I cannot simply debug this problem, because when I set > for example "all" into debug variable, problem does not happen and boot > is processed normally... :-( >=20 > Regards > Ales >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >=20