grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Aleš Nesrsta" <starous@volny.cz>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Trunk: boot problem - unaligned pointer 0x...
Date: Sun, 26 Sep 2010 11:58:47 +0200	[thread overview]
Message-ID: <1285495128.6833.9.camel@pracovna> (raw)
In-Reply-To: <1285276406.4964.9.camel@pracovna>

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š Nesrsta wrote:
> Hi,
> 
> there is some bug in trunk last versions:
> 
> 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:
> 
> 
> "
> Booting 'xyz...'
> 
> unaligned pointer 0x...
> Aborted. Press any key to exit.
> "
> 
> If I edit menu item, delete "search" command and specify Linux root
> device directly ("linux ... root=/dev/sdb1..."), Linux is booted
> normally.
> 
> 
> Some initial information:
> 
> 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
> *******************************************************
> 
> Menuentry looks for example like that:
>         set root=(hd0,1)
>         search --fs-uuid --set 02ba8dca-885d-4acd-9730-eee482f3305b
>         linux   /boot/vmlinuz-2.6.32-bpo.5-686
> root=UUID=02ba8dca-885d-4acd-9730-eee482f3305b ro  
>         initrd  /boot/initrd.img-2.6.32-bpo.5-686
> 
> 
> 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... :-(
> 
> Regards
> Ales
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/grub-devel
> 



  reply	other threads:[~2010-09-26  9:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25 13:26 Plans on 1.99 release Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-26 23:05 ` Carles Pina i Estany
2010-08-26 23:15   ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-28 11:31     ` Aleš Nesrsta
2010-08-29 23:52       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-08-30  0:14         ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-03 22:02           ` Plans on 1.99 release - USB issues Aleš Nesrsta
2010-09-04 17:34             ` Aleš Nesrsta
2010-09-12 17:28               ` [PATCH] USB issues - kbdlayouts branch Aleš Nesrsta
2010-09-13 10:43                 ` [PATCH] usb_keyboard.c problems (USB issues - kbdlayouts branch) Aleš Nesrsta
2010-09-13 11:47                 ` [PATCH] USB issues - kbdlayouts branch Aleš Nesrsta
2010-09-13 18:13                   ` Aleš Nesrsta
2010-09-15  5:58                     ` [PATCH] USB serial - missing configuration Aleš Nesrsta
2010-09-19 11:46                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-21 20:18                         ` Aleš Nesrsta
2010-09-23 21:13                           ` Trunk: boot problem - unaligned pointer 0x Aleš Nesrsta
2010-09-26  9:58                             ` Aleš Nesrsta [this message]
2010-09-30 19:37                             ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-30 20:45                               ` Aleš Nesrsta
2010-09-15  5:58                     ` Question: USB serial - device driver debugging Aleš Nesrsta
2010-09-30 17:53                       ` [RFC - Vladimir ?] USB/RS232 converter PL2303 small problem Aleš Nesrsta
2010-10-17 11:54                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-18 10:08             ` Plans on 1.99 release - USB issues Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1285495128.6833.9.camel@pracovna \
    --to=starous@volny.cz \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).