Date: Wed, 17 Mar 2004 23:20:02 -0800 (PST) From: "Ronald F. Guilmette" <rfg@monkeys.com> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/64250: 5.2.1 kernel panics on ifconfig when kernel has no INET6 stuff Message-ID: <200403180720.i2I7K2cX041695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/64250; it has been noted by GNATS. From: "Ronald F. Guilmette" <rfg@monkeys.com> To: Kris Kennaway <kris@obsecurity.org> Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/64250: 5.2.1 kernel panics on ifconfig when kernel has no INET6 stuff Date: Wed, 17 Mar 2004 23:19:36 -0800 In message <20040317231114.GC70724@xor.obsecurity.org>, you wrote: >Please obtain a debugging traceback as described in > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html OK. I have done my best to comply with your request, but I am not entirely familiar with the proper procedure here. I hope that I haven't left anything out. Here is the info that gdb gave me when I re-compiled the crashing kernel with -g and when I ran `gdb -k' on the kernel (with symbols) and the generated kernel dump file, after it had crashed again. Please let me know if you need anything else. I am eager to assist in resolving this kernel crash. ===================================================================== gdb -k /usr/src/sys/i386/compile/rfg20040313-3/kernel.debug vmcore.0 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-unknown-freebsd"... panic: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0xffffffff fault code = supervisor read, page not present instruction pointer = 0x8:0xc0557769 stack pointer = 0x10:0xce570b04 frame pointer = 0x10:0xce570b28 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 = 195 (ifconfig) trap number = 12 panic: page fault syncing disks, buffers remaining... 219 219 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 218 giving up on 203 buffers Uptime: 35s Dumping 255 MB 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 --- Reading symbols from /usr/src/sys/i386/compile/rfg20040313-3/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done. Loaded symbols for /usr/src/sys/i386/compile/rfg20040313-3/modules/usr/src/sys/modules/acpi/acpi.ko.debug #0 doadump () at ../../../kern/kern_shutdown.c:240 240 dumping++; (kgdb) where #0 doadump () at ../../../kern/kern_shutdown.c:240 #1 0xc04e6848 in boot (howto=256) at ../../../kern/kern_shutdown.c:372 #2 0xc04e6b38 in panic () at ../../../kern/kern_shutdown.c:550 #3 0xc062dd8c in trap_fatal (frame=0xce570ac4, eva=0) at ../../../i386/i386/trap.c:821 #4 0xc062da52 in trap_pfault (frame=0xce570ac4, usermode=0, eva=4294967295) at ../../../i386/i386/trap.c:735 #5 0xc062d67d in trap (frame= {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = 0, tf_esi = 4, tf_ebp = -833156312, tf_isp = -833156368, tf_ebx = -1030130688, tf_edx = -1, tf_ecx = -833156280, tf_eax = 16, tf_trapno = 12, tf_err = 0, tf_eip = -1068140695, tf_cs = 8, tf_eflags = 66050, tf_esp = -1060916652, tf_ss = 0}) at ../../../i386/i386/trap.c:420 #6 0xc061d448 in calltrap () at {standard input}:94 #7 0xc0557e06 in sysctl_iflist (af=2, w=0xce570b9c) at ../../../net/rtsock.c:981 #8 0xc055825e in sysctl_rtsock (oidp=0xc069eaa0, arg1=0xce570cb4, arg2=4, req=0xce570c10) at ../../../net/rtsock.c:1132 #9 0xc04efbca in sysctl_root (oidp=0x0, arg1=0x16, arg2=-833156080, req=0xce570cb8) at ../../../kern/kern_sysctl.c:1179 #10 0xc04efe7d in userland_sysctl (td=0x0, name=0xce570cac, namelen=6, old=0xce570c10, oldlenp=0xce570cb8, inkernel=0, new=0x16, newlen=0, retval=0xce570ca8) at ../../../kern/kern_sysctl.c:1286 #11 0xc04efcb0 in __sysctl (td=0x0, uap=0xce570d14) at ../../../kern/kern_sysctl.c:1216 #12 0xc062e0a0 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = -1077940692, tf_ebp = -1077940776, tf_isp = -833155724, tf_ebx = 672416032, tf_edx = 0, tf_ecx = -1077940688, tf_eax = 202, tf_trapno = 12, tf_err = 2, tf_eip = 671908719, tf_cs = 31, tf_eflags = 663, tf_esp = -1077940820, tf_ss = 47}) at ../../../i386/i386/trap.c:1010 #13 0xc061d49d in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- (kgdb)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403180720.i2I7K2cX041695>