--On Monday, April 07, 2003 00:08:02 -0600 "M. Warner Losh" <imp_at_bsdimp.com> wrote: > Can you add options DDB to your kernel and see if the traceback > changes at all? > > Warner Here ya go: Script started on Mon Apr 7 05:34:55 2003 lerlaptop# gdb -k kernel.3 vmcore.3 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: from debugger panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0239568 stack pointer = 0x10:0xd63c4ce8 frame pointer = 0x10:0xd63c4d0c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) panic: from debugger Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc03923a4 stack pointer = 0x10:0xd63c4aa0 frame pointer = 0x10:0xd63c4aac code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = IOPL = 0 current process = 23 (irq11: cbb0 cbb1+++) panic: from debugger Uptime: 2m9s Dumping 503 MB ata0: resetting devices .. done 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 336 352 368 384 400 416 432 448 464 480 496 --- Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb ug Reading symbols from /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug...done. Loaded symbols for /usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d ebug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 239 dumping++; (kgdb) bt #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:239 #1 0xc024af18 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:371 #2 0xc024b1c3 in panic () at /usr/src/sys/kern/kern_shutdown.c:542 #3 0xc014b5b2 in db_panic () at /usr/src/sys/ddb/db_command.c:448 #4 0xc014b532 in db_command (last_cmdp=0xc0407ac0, cmd_table=0x0, aux_cmd_tablep=0xc0401b18, aux_cmd_tablep_end=0xc0401b1c) at /usr/src/sys/ddb/db_command.c:346 #5 0xc014b646 in db_command_loop () at /usr/src/sys/ddb/db_command.c:470 #6 0xc014e3da in db_trap (type=18, code=0) at /usr/src/sys/ddb/db_trap.c:72 #7 0xc0392105 in kdb_trap (type=18, code=0, regs=0xd63c4ca8) at /usr/src/sys/i386/i386/db_interface.c:170 #8 0xc03a33f2 in trap_fatal (frame=0xd63c4ca8, eva=0) at /usr/src/sys/i386/i386/trap.c:838 #9 0xc03a2ee2 in trap (frame= {tf_fs = -1051852776, tf_es = -1007157232, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1007113728, tf_ebp = -700691188, tf_isp = -700691244, tf_ebx = -1007013248, tf_edx = 4, tf_ecx = -1069337536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1071409816, tf_cs = 8, tf_eflags = 582, tf_esp = -1069337536, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:640 #10 0xc0393a58 in calltrap () at {standard input}:96 #11 0xc0238852 in fork_exit (callout=0xc02394c0 <ithread_loop>, arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 (kgdb) fr ? ? 11 #11 0xc0238852 in fork_exit (callout=0xc02394c0 <ithread_loop>, arg=0x0, frame=0x0) at /usr/src/sys/kern/kern_fork.c:796 796 callout(arg, frame); (kgdb) print ? ?/x frame $1 = 0x0 (kgdb) print ? ?? ?? ?? ?? ?? ??????l 791 * cpu_set_fork_handler intercepts this function call to 792 * have this call a non-return function to stay in kernel mode. 793 * initproc has its own fork handler, but it does return. 794 */ 795 KASSERT(callout != NULL, ("NULL callout in fork_exit")); 796 callout(arg, frame); 797 798 /* 799 * Check if a kernel thread misbehaved and returned from its main 800 * function. (kgdb) fr 10 #10 0xc0393a58 in calltrap () at {standard input}:96 96 {standard input}: No such file or directory. in {standard input} Current language: auto; currently asm (kgdb) fr? ?? ???fr 9 #9 0xc03a2ee2 in trap (frame= {tf_fs = -1051852776, tf_es = -1007157232, tf_ds = -700710896, tf_edi = -1051807440, tf_esi = -1007113728, tf_ebp = -700691188, tf_isp = -700691244, tf_ebx = -1007013248, tf_edx = 4, tf_ecx = -1069337536, tf_eax = 0, tf_trapno = 18, tf_err = 0, tf_eip = -1071409816, tf_cs = 8, tf_eflags = 582, tf_esp = -1069337536, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:640 640 trap_fatal(&frame, eva); Current language: auto; currently c (kgdb) print ? ?/x frame $2 = {tf_fs = 0xc14e0018, tf_es = 0xc3f80010, tf_ds = 0xd63c0010, tf_edi = 0xc14eb130, tf_esi = 0xc3f8aa00, tf_ebp = 0xd63c4d0c, tf_isp = 0xd63c4cd4, tf_ebx = 0xc3fa3280, tf_edx = 0x4, tf_ecx = 0xc0433440, tf_eax = 0x0, tf_trapno = 0x12, tf_err = 0x0, tf_eip = 0xc0239568, tf_cs = 0x8, tf_eflags = 0x246, tf_esp = 0xc0433440, tf_ss = 0x0} (kgdb) print eva $3 = 0 (kgdb) lerlaptop# ^D??exit Script done on Mon Apr 7 05:37:06 2003 -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler_at_lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749Received on Mon Apr 07 2003 - 01:47:53 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC