I think this is my fault. Will commit a fix some time today. -Kip On Thu, Apr 23, 2009 at 10:30 AM, Mike Tancsa <mike_at_sentex.net> wrote: > At 12:20 PM 4/23/2009, Eygene Ryabinkin wrote: > >> Any chance to get backtrace from kgdb? > > Hi, > Not sure if its saving all the core file > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0x0 > stack pointer = 0x28:0xe6ae3ca8 > frame pointer = 0x28:0xe6ae3cd4 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (em0 taskq) > [thread pid 0 tid 100037 ] > Stopped at 0: *** error reading from address 0 *** > db> bt full > Symbol not found > db> trace > Tracing pid 0 tid 100037 td 0xc683d000 > taskqueue_run(3330884160,3330884188,3233963774,0,3233995830,...) at > taskqueue_run+267 > taskqueue_thread_loop(3330913636,3870178616,3233985346,813,3235354336,...) > at taskqueue_thread_loop+104 > fork_exit(3230203408,3330913636,3870178616) at fork_exit+184 > fork_trampoline() at fork_trampoline+8 > --- trap 0, eip = 0, esp = 3870178672, ebp = 0 --- > db> panic > panic: from debugger > cpuid = 0 > Uptime: 8s > Physical memory: 3046 MB > Dumping 92 MB: 77 61 45 29 13 > Dump complete > Automatic reboot in 15 seconds - press a key on the console to abort > --> Press a key on the console to reboot, > --> or switch off the system now. > Rebooting... > > > > 0[i7]# kgdb /usr/obj/usr/src/sys/GENERIC/kernel.debug vmcore.4 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for details. > This GDB was configured as "i386-marcel-freebsd"... > > Unread portion of the kernel message buffer: > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x0 > fault code = supervisor read, page not present > instruction pointer = 0x20:0x0 > stack pointer = 0x28:0xe6ae3ca8 > frame pointer = 0x28:0xe6ae3cd4 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (em0 taskq) > panic: from debugger > cpuid = 0 > Uptime: 8s > Physical memory: 3046 MB > Dumping 92 MB: 77 61 45 29 13 > > #0 doadump () at pcpu.h:246 > 246 pcpu.h: No such file or directory. > in pcpu.h > (kgdb) bt > #0 doadump () at pcpu.h:246 > #1 0xc085749e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:420 > #2 0xc0857772 in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:576 > #3 0xc04bea47 in db_panic (addr=Could not find the frame base for > "db_panic". > ) at /usr/src/sys/ddb/db_command.c:478 > #4 0xc04bf071 in db_command (last_cmdp=0xc0d4985c, cmd_table=0x0, > dopager=1) at /usr/src/sys/ddb/db_command.c:445 > #5 0xc04bf1ca in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 > #6 0xc04c102d in db_trap (type=12, code=0) at > /usr/src/sys/ddb/db_main.c:229 > #7 0xc08852c6 in kdb_trap (type=12, code=0, tf=0xe6ae3c68) at > /usr/src/sys/kern/subr_kdb.c:534 > #8 0xc0b6699f in trap_fatal (frame=0xe6ae3c68, eva=0) at > /usr/src/sys/i386/i386/trap.c:917 > #9 0xc0b66bd3 in trap_pfault (frame=0xe6ae3c68, usermode=0, eva=0) at > /usr/src/sys/i386/i386/trap.c:839 > #10 0xc0b675c8 in trap (frame=0xe6ae3c68) at > /usr/src/sys/i386/i386/trap.c:521 > #11 0xc0b4b21b in calltrap () at /usr/src/sys/i386/i386/exception.s:165 > #12 0x00000000 in ?? () > Previous frame inner to this frame (corrupt stack?) > (kgdb) > > > > > > > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" > -- All that is necessary for the triumph of evil is that good men do nothing. Edmund BurkeReceived on Thu Apr 23 2009 - 18:15:16 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC