On Mon, 2009-06-29 at 12:08 +0300, Avi Kivity wrote: > >> You can see where it hangs using the monitor 'info registers' and 'x/30i > >> $eip' commands. > >> > > > > not much luck since it doesn't hang at a specific instruction: > > > > You can try mapping these with gdb (in fact, you can have gdb connect to > qemu and do source level debugging).
It's actually panic'ed because it ran out of memory, but didn't print
that to my vga/console/curses/...
(gdb) bt full
#0 touch_softlockup_watchdog ()
at /home/johannes/sys/wireless-testing/kernel/softlockup.c:77
No locals.
#1 0xffffffff805d6373 in panic (fmt=0x0)
at /home/johannes/sys/wireless-testing/kernel/panic.c:134
args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area =
0xffffffff80a69ea8, reg_save_area = 0xffffffff80a69dd8}}
i = 1810713685
buf = "Out of memory", '\0' <repeats 1010 times>
#2 0xffffffff80a889c4 in ___alloc_bootmem (size=512,
align=<value optimized out>, goal=<value optimized out>,
limit=<value optimized out>)
at /home/johannes/sys/wireless-testing/mm/bootmem.c:607
mem = <value optimized out>
#3 0xffffffff80a88a49 in __alloc_bootmem (size=1, align=1, goal=0)
at /home/johannes/sys/wireless-testing/mm/bootmem.c:627
No locals.
#4 0xffffffff80a8daa3 in alloc_bootmem_cpumask_var (mask=0xffffffff8097dda8)
at /home/johannes/sys/wireless-testing/lib/cpumask.c:161
No locals.
#5 0xffffffff80a87804 in early_irq_init ()
at /home/johannes/sys/wireless-testing/include/linux/irq.h:442
i = 2978
#6 0xffffffff80a71bda in start_kernel ()
at /home/johannes/sys/wireless-testing/init/main.c:604
command_line = 0xffffffff80a9ed00 "root=/dev/hda"
#7 0xffffffff80a71299 in x86_64_start_reservations (
real_mode_data=<value optimized out>)
at /home/johannes/sys/wireless-testing/arch/x86/kernel/head64.c:123
No locals.
#8 0xffffffff80a713be in x86_64_start_kernel (real_mode_data=
0x13050 <Address 0x13050 out of bounds>)
at /home/johannes/sys/wireless-testing/arch/x86/kernel/head64.c:94
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.
johannes
signature.asc
Description: This is a digitally signed message part
