David Wolfskill
2009-Sep-27 17:35 UTC
6.4-STABLE @r197533: iwi(4) implicated in page fault while in kernel mode
See <http://www.catwhisker.org/~david/FreeBSD/core.txt.9> for more details. Here's the first part of it: g1-89.catwhisker.org dumped core - see ./vmcore.9 Sun Sep 27 10:24:20 PDT 2009 FreeBSD g1-89.catwhisker.org 6.4-STABLE FreeBSD 6.4-STABLE #695 r197533: Sun Sep 27 04:22:07 PDT 2009 root@g1-88.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 panic: page fault 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: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x78 fault code = supervisor read, page not present instruction pointer = 0x20:0xc06ad115 stack pointer = 0x28:0xe4528aa0 frame pointer = 0x28:0xe4528aa4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 8027 (ifconfig) trap number = 12 panic: page fault Uptime: 3h11m29s Dumping 767 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 767MB (196322 pages) 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 Reading symbols from /boot/kernel/linux.ko...done. Loaded symbols for /boot/kernel/linux.ko Reading symbols from /boot/kernel/if_iwi.ko...done. Loaded symbols for /boot/kernel/if_iwi.ko Reading symbols from /boot/kernel/firmware.ko...done. Loaded symbols for /boot/kernel/firmware.ko Reading symbols from /boot/kernel/acpi.ko...done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/linprocfs.ko...done. Loaded symbols for /boot/kernel/linprocfs.ko Reading symbols from /boot/modules/iwi_bss.ko...done. Loaded symbols for /boot/modules/iwi_bss.ko Reading symbols from /usr/local/modules/rtc.ko...done. Loaded symbols for /usr/local/modules/rtc.ko Reading symbols from /boot/kernel/radeon.ko...done. Loaded symbols for /boot/kernel/radeon.ko Reading symbols from /boot/kernel/drm.ko...done. Loaded symbols for /boot/kernel/drm.ko #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:165 #1 0xc068c1e6 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410 #2 0xc068c47c in panic (fmt=0xc0957dd5 "%s") at /usr/src/sys/kern/kern_shutdown.c:566 #3 0xc08fd5a4 in trap_fatal (frame=0xe4528a60, eva=120) at /usr/src/sys/i386/i386/trap.c:838 #4 0xc08fcd42 in trap (frame {tf_fs = 333447176, tf_es = 40, tf_ds = 780009512, tf_edi = -992778212, tf_esi = -985385088, tf_ebp = -464352604, tf_isp = -464352628, tf_ebx = -994579200, tf_edx = 0, tf_ecx = 4, tf_eax = -985385056, tf_trapno = 12, tf_err = 0, tf_eip = -1066741483, tf_cs = 32, tf_eflags = 65538, tf_esp = -985385088, tf_ss = -464352568}) at /usr/src/sys/i386/i386/trap.c:270 #5 0xc08ea1da in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc06ad115 in turnstile_setowner (ts=0xc4b7ed00, owner=0x4) at /usr/src/sys/kern/subr_turnstile.c:456 #7 0xc06ad472 in turnstile_wait (lock=0xc554557c, owner=0x4, queue=0) at /usr/src/sys/kern/subr_turnstile.c:661 #8 0xc0683082 in _mtx_lock_sleep (m=0xc554557c, tid=3309582208, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:579 #9 0xc070a618 in rtrequest1 (req=1, info=0xe4528b60, ret_nrt=0xe4528b54) at /usr/src/sys/net/route.c:792 #10 0xc070b0ff in rtinit (ifa=0xc5545500, cmd=1, flags=1) at /usr/src/sys/net/route.c:1201 #11 0xc0727b41 in in_addprefix (target=0xc5545500, flags=1) at /usr/src/sys/netinet/in.c:851 #12 0xc0727a6d in in_ifinit (ifp=0xc4922000, ia=0xc5545500, sin=0x4, scrub=0) at /usr/src/sys/netinet/in.c:778 #13 0xc0726d68 in in_control (so=0xc543bde8, cmd=1, data=0xc54911c0 "iwi0", ifp=0xc4922000, td=0xc5443780) at /usr/src/sys/netinet/in.c:440 #14 0xc06fb2b8 in ifioctl (so=0xc543bde8, cmd=2151704858, data=0xc54911c0 "iwi0", td=0xc5443780) at /usr/src/sys/net/if.c:1612 #15 0xc06b4e7b in soo_ioctl (fp=0xc54437a0, cmd=2151704858, data=0xc54911c0, active_cred=0xc47d8d80, td=0xc5443780) at /usr/src/sys/kern/sys_socket.c:214 #16 0xc06af31d in ioctl (td=0xc5443780, uap=0xe4528d04) at file.h:265 #17 0xc08fd8bb in syscall (frame {tf_fs = 59, tf_es = 59, tf_ds = 59, tf_edi = 134570944, tf_esi = 134580448, tf_ebp = -1077941288, tf_isp = -464351900, tf_ebx = -2143262438, tf_edx = 134583233, tf_ecx = 134570944, tf_eax = 54, tf_trapno = 12, tf_err = 2, tf_eip = 869574699, tf_cs = 51, tf_eflags = 646, tf_esp = -1077943412, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:984 #18 0xc08ea22f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #19 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) The access point was a little less than a meter away from the laptop when that happened. I'm preserving a copy of that environment on slice 2. I'll be happy to test things, but note that this is not a common occurrence; I have no confidence that I can re-create it. Peace, david -- David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090927/e40aa7be/attachment.pgp