Skip to content

Instantly share code, notes, and snippets.

@dileks
Created April 18, 2011 14:02
Show Gist options
  • Select an option

  • Save dileks/925403 to your computer and use it in GitHub Desktop.

Select an option

Save dileks/925403 to your computer and use it in GitHub Desktop.
gdb output
$ LANG=C gdb vmlinux
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/sd/src/lll-project/test-qemu/vmlinux...done.
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
0xc1037489 in panic (fmt=<value optimized out>) at kernel/panic.c:152
152 mdelay(PANIC_TIMER_STEP);
(gdb) backtrace full
#0 0xc1037489 in panic (fmt=<value optimized out>) at kernel/panic.c:152
args = 0xc143fc08 "F"
buf = "Attempted to kill the idle task!", '\000' <repeats 991 times>
#1 0xc103a0f7 in do_exit (code=<value optimized out>) at kernel/exit.c:915
tsk = 0xc146b140
#2 0xc132c43b in oops_end (flags=<value optimized out>, regs=<value optimized out>, signr=<value optimized out>)
at arch/x86/kernel/dumpstack.c:260
No locals.
#3 0xc10215a4 in no_context (regs=<value optimized out>, error_code=<value optimized out>) at arch/x86/mm/fault.c:672
tsk = <value optimized out>
flags = 70
sig = <value optimized out>
#4 0xc102195e in __bad_area_nosemaphore (regs=Unhandled dwarf expression opcode 0xc1
) at arch/x86/mm/fault.c:738
tsk = <value optimized out>
#5 0xc1021229 in bad_area_nosemaphore (regs=Unhandled dwarf expression opcode 0xc1
) at arch/x86/mm/fault.c:745
No locals.
#6 0xc132dddd in do_page_fault (regs=<value optimized out>, error_code=Unhandled dwarf expression opcode 0xc1
) at arch/x86/mm/fault.c:1020
mm = 0x0
flags = 1
tsk = 0xc146b140
vma = <value optimized out>
fault = <value optimized out>
#7 <signal handler called>
No symbol table info available.
#8 0xc11bee47 in __memcpy (to=0xc143fef1, from=0xffc37000, n=15)
at /home/sd/src/lll-project/kernel/arch/x86/include/asm/string_32.h:35
No locals.
#9 memcpy (to=0xc143fef1, from=0xffc37000, n=15) at arch/x86/lib/memcpy_32.c:12
No locals.
#10 0xc14d1403 in memcpy_fromio (p=<value optimized out>) at /home/sd/src/lll-project/kernel/arch/x86/include/asm/io.h:233
No locals.
#11 dmi_present (p=<value optimized out>) at drivers/firmware/dmi_scan.c:403
No locals.
#12 0xc14d1399 in dmi_scan_machine () at drivers/firmware/dmi_scan.c:462
No locals.
#13 0xc14a5e21 in setup_arch (cmdline_p=<value optimized out>) at arch/x86/kernel/setup.c:857
No locals.
#14 0xc14a342e in start_kernel () at init/main.c:576
command_line = 0xc14da5e0 ""
---Type <return> to continue, or q <return> to quit---
#15 0x00000000 in ?? ()
No symbol table info available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment