Re: ARM on qemu: running kernel 2.6.20 or newer?

Previous thread: [PATCH] : Fix unused variable 'loops' warning in arch/x86/boot/a20.c by Manish Katiyar on Thursday, June 5, 2008 - 6:44 am. (2 messages)

Next thread: Account Update by Umu Support Team on Thursday, June 5, 2008 - 5:14 am. (1 message)
From: Thomas Bleher
Date: Thursday, June 5, 2008 - 6:53 am

Is anyone testing ARM kernels on qemu?

I'm trying to run an ARM kernel on qemu (0.9.1-5) on a Debian AMD64
system. 2.6.19 worked fine, but all newer kernel releases[1] result in
qemu consuming 100% of the CPU without ever outputting anything to the
console.

I did a bisect, and the failing commit is
    1c69d921ed9cc6593ad4f60c0f9951cb0d62b0b4 (v2.6.19-1675-g1c69d92)
    [PATCH] rcu: add a prefetch() in rcu_do_batch()
but I have no idea what could make the boot fail there.

The kernel is cross-compiled using gcc 4.3.1 from Emdebian.org.

Does anyone have any idea what might be wrong here? I have a hard time
imagining that I'm the only one running newer ARM kernels on qemu. Any
pointers to working configs or patches to make it work would be very
much appreciated.

Regards,
Thomas Bleher

PS: Please CC me on replys. Thanks!

[1] I tested 2.6.2{0..5} and 2.6.26-rc5.

$ grep ^C ...
From: Frans Pop
Date: Thursday, June 5, 2008 - 7:44 am

The daily built armel versatile D-I images [1] worked fine for me in qemu 
just a few days ago. They use 2.6.24. There's one issue [2] related to 
serial console, but graphics mode works fine.

Cheers,
FJP

[1] http://wiki.debian.org/ArmEabiHowto
[2] http://bugs.debian.org/484366
--

From: Thomas Bleher
Date: Thursday, June 12, 2008 - 12:35 am

Thank you for the fast response!
I did some further tests, and it looks like the Emdebian cross-compiler
miscompiles newer kernels, at least for the configs I tested. Using the
ELDK cross-compiler instead, the kernel boots fine under qemu.

I don't think I'll have time to further debug this issue, but I've cc'ed
debian-embedded@l.d.o, in case anyone is interested in tracking this
down. I'll provide .configs + vmlinux files on request.

Regards,
Thomas Bleher

--

Previous thread: [PATCH] : Fix unused variable 'loops' warning in arch/x86/boot/a20.c by Manish Katiyar on Thursday, June 5, 2008 - 6:44 am. (2 messages)

Next thread: Account Update by Umu Support Team on Thursday, June 5, 2008 - 5:14 am. (1 message)