Problem Booting x86_64 kernel in qemu
adam at os.inf.tu-dresden.de
Fri Aug 10 23:16:07 CEST 2012
On Thu Aug 09, 2012 at 13:50:25 +0000, Markus Pfeiffer wrote:
> Dear Adam,
> On Thu, Aug 09, 2012 at 03:33:16PM +0200, Adam Lackorzynski wrote:
> > Hi,
> > On Wed Aug 08, 2012 at 11:35:20 +0000, Markus Pfeiffer wrote:
> > > I tried building the Fiasco kernel (x86_64, from svn) together with the hello demo
> > > inside a qemu as it is shown on the website under "Getting started".
> > >
> > > Unfortunately the kernel traps while booting (Unexpected trap while booting
> > > Fiasco). The trap number seems to be invalid (-8029759185026510704). Any
> > > pointers towards where to look for a fix?
> > Works for me. The website uses 32 bit Qemu ('qemu'), did you use
> > qemu-system-x86_64?
> Yes, I am running on archlinux 64 bit, I also tried qemu alone and different
> options for -cpu and -machine.
> GCC version is 4.7.1 and qemu version is 1.1.1.
> I tried narrowing the problem down and found that the problem seems to be that
> Cpu::boot_cpu() returns NULL in kernel_main in main-ia32-64.cpp,
> So I would suspect that this is due to some weird thing in the build
> toolchain going wrong and not calling the constructors of Cpu or Per_cpu
I just tried it with a recent post 4.7.1 build (4.7.2) and it worked.
Could you try a different gcc to check this possiblity (e.g. some other
distribution in a chroot)?
Adam adam at os.inf.tu-dresden.de
More information about the l4-hackers