[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] MIPS kernel hanging when loaded through U-Boot in qemu

From: Thomas Petazzoni
Subject: Re: [Qemu-devel] MIPS kernel hanging when loaded through U-Boot in qemu
Date: Wed, 3 Sep 2008 09:25:11 +0200

Le Thu, 28 Aug 2008 11:00:42 +0200,
Thomas Petazzoni <address@hidden> a écrit :

> It always hangs around the same place, but not exactly. Sometimes
> after "PID hash table entries", sometimes after "Console: colour dummy
> devices", sometimes one or two messages later, or before.

It seems to hang when the first interrupt occurs, which might explain
why it hangs at a random place, but always around the same point.

I've added a small debug message in target-mips/helper.c:do_interrupt()
to see what's happening:

With just the kernel (booted with -kernel), everything is fine, we see
a couple of interrupt of type "interrupt", and the boot proceeds:

But with U-Boot, once the first interrupt of type "interrupt" is fired,
it is followed by an interrupt of type "syscall", and then of type
"interrupt" again, and so on and so on, indefinitely:

As I'm not a MIPS expert, I don't know what's happening here. Is it a
bug in U-Boot that leaves an incorrect CPU state ? Is it a Qemu
emulation problem ?


Thomas Petazzoni, address@hidden, http://thomas.enix.org
Jabber, address@hidden
Toulibre, http://www.toulibre.org - APRIL, http://www.april.org
Fingerprint : 0BE1 4CF3 CEA4 AC9D CC6E  1624 F653 CB30 98D3 F7A7

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]