Re: 2.6.11.7 kernel panic on boot on AMD64
From: Randy.Dunlap
Date: Thu Apr 28 2005 - 11:50:47 EST
On Fri, 29 Apr 2005 00:38:24 +0800
Coywolf Qi Hunt <coywolf@xxxxxxxxx> wrote:
> On 4/28/05, Randy.Dunlap <rddunlap@xxxxxxxx> wrote:
> > On Thu, 28 Apr 2005 11:05:40 +0200
> > Ruben Puettmann <ruben@xxxxxxxxxxxxx> wrote:
> >
> > > On Wed, Apr 27, 2005 at 03:27:04PM -0700, Randy.Dunlap wrote:
> > > Looks like this code in init/main.c:
> > > >
> > > > if (late_time_init)
> > > > late_time_init();
> > > >
> > > > sees a garbage value in late_time_init (garbage being
> > > > %eax == 0x00307974.743d656c, which is "le=tty0\n",
> > > > as in "console=tty0").
> > > >
> > > > How long is your kernel boot/command line?
> > > > Please post it.
> > >
> > > It was boot over pxe here is the append line from the
> > > pxelinux.cfg/default
> > >
> > > APPEND vga=normal rw load_ramdisk=0 root=/dev/nfs nfsroot=192.168.112.1:/store/rescue/sarge-amd64,rsize=8192,wsize=8192,timo=12,retrans=3,mountvers=3,nfsvers=3
> >
> > Hm, no "console=tty...." at all. That didn't help (me) much.
>
> Could that boot loader pxe append console=tty implicitly?
It could... I don't know anything about pxe boot.
> >From the vmlinux Ruben gave me,
> ffffffff807980d8 A __bss_start
> ffffffff807980d8 A _edata
> ffffffff80798100 B boot_cpu_stack
> ffffffff8079c100 B boot_exception_stacks
> ffffffff807a1100 B system_state
> ffffffff807a1120 B saved_command_line
> ffffffff807a1220 B late_time_init
> ffffffff807a1228 b execute_command
> ffffffff807a1230 b panic_later
> ffffffff807a1238 b panic_param
> ...
>
> It seems possible to luckily skip the garbage. Comment out the two
> lines and see if it works.
>
> /* if (late_time_init)
> late_time_init(); */
Yes, that would help verify that the command line is the problem.
I also recall Andi having a few problems with large command lines
on x86-64... so it still smells like that to me. (ak added to cc:)
---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/