* general protection error:0
@ 2010-04-27 18:38 David Newall
2010-04-29 22:04 ` Michael Neuling
0 siblings, 1 reply; 2+ messages in thread
From: David Newall @ 2010-04-27 18:38 UTC (permalink / raw)
To: kexec
Hi all,
I'm running Ubuntu Hardy with a 2.6.28 kernel on VirtualBox, and want to
simply restart the current kernel (because I'm a kexec noob and that
seems a sensible first step.) I've put "break=init" on the command line
so it gives me a shell just before pivoting root from the initrd to the
hard-disk. I do the kexec -l and kexec -e, the kernel (re)starts, does
all of the usual startup things, and drops me back in a shell when it's
about to start init (break=init, remember?) At this point, when I try
to run almost any command, for example "chroot /root bash", I get
"Segmentation fault" with general protection logged in dmesg, for
example: "bash[1058] general protection ip:b7f0c425 sb:bfb282f4
error:0" No doubt I'm making a basic mistake, but Google failed to show
me what, hence I'm asking here for suggestions.
Has anyone any suggestion?
Thanks,
David
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: general protection error:0
2010-04-27 18:38 general protection error:0 David Newall
@ 2010-04-29 22:04 ` Michael Neuling
0 siblings, 0 replies; 2+ messages in thread
From: Michael Neuling @ 2010-04-29 22:04 UTC (permalink / raw)
To: David Newall; +Cc: kexec
David.
> I'm running Ubuntu Hardy with a 2.6.28 kernel on VirtualBox, and want to
> simply restart the current kernel (because I'm a kexec noob and that
> seems a sensible first step.) I've put "break=init" on the command line
> so it gives me a shell just before pivoting root from the initrd to the
> hard-disk. I do the kexec -l and kexec -e, the kernel (re)starts, does
> all of the usual startup things, and drops me back in a shell when it's
> about to start init (break=init, remember?) At this point, when I try
> to run almost any command, for example "chroot /root bash", I get
> "Segmentation fault" with general protection logged in dmesg, for
> example: "bash[1058] general protection ip:b7f0c425 sb:bfb282f4
> error:0" No doubt I'm making a basic mistake, but Google failed to show
> me what, hence I'm asking here for suggestions.
>
> Has anyone any suggestion?
2.6.28 is pretty old these days. It's unlikely someone here is going to
help you debug a kernel that ancient.
Can you retry with current mainline and kexec-tools user space? Also
post your full boot log and kexec -l and -e outputs when you hit this
problem.
Mikey
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-29 22:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 18:38 general protection error:0 David Newall
2010-04-29 22:04 ` Michael Neuling
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox