From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 12:38:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF3C3106564A for ; Fri, 7 Aug 2009 12:38:48 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.24]) by mx1.freebsd.org (Postfix) with ESMTP id 043A38FC23 for ; Fri, 7 Aug 2009 12:38:47 +0000 (UTC) Received: from [62.143.132.243] (helo=localhost) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1MZOR1-0002yu-CZ for freebsd-current@freebsd.org; Fri, 07 Aug 2009 14:20:36 +0200 Date: Fri, 7 Aug 2009 14:20:27 +0200 From: Fabian Keil To: freebsd-current@freebsd.org Message-ID: <20090807142027.1a30e8ba@fabiankeil.de> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/BUUp2EMZi7S4n80wP5kPaYj"; protocol="application/pgp-signature" X-Df-Sender: 775067 Subject: Fatal trap 12: page fault while in kernel mode - current process: flowcleaner X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2009 12:38:49 -0000 --Sig_/BUUp2EMZi7S4n80wP5kPaYj Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Using: FreeBSD TP51.local 8.0-BETA2 FreeBSD 8.0-BETA2 #36: Sat Aug 1 00:07:09 CES= T 2009 fk@TP51.local:/usr/obj/usr/src/sys/THINKPAD i386 I got the following panic: fk@TP51 /usr/crash $kgdb /boot/kernel/kernel.symbols vmcore.6 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 condition= s. 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 =3D 0; apic id =3D 00 fault virtual address =3D 0x0 fault code =3D supervisor read, page not present instruction pointer =3D 0x20:0x0 stack pointer =3D 0x28:0xf1a2fc94 frame pointer =3D 0x28:0xf1a2fcd8 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 40 (flowcleaner) panic: from debugger cpuid =3D 0 Uptime: 2m1s Physical memory: 998 MB Dumping 144 MB: 129 113 97 81 65 49 33 17 1 Reading symbols from /boot/kernel/unionfs.ko...Reading symbols from /boot/k= ernel/unionfs.ko.symbols...done. done. [...] Loaded symbols for /boot/kernel/fdescfs.ko #0 doadump () at pcpu.h:246 246 pcpu.h: No such file or directory. in pcpu.h (kgdb) where #0 doadump () at pcpu.h:246 #1 0xc0678e66 in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c:4= 19 #2 0xc06790a2 in panic (fmt=3DVariable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:575 #3 0xc04f2e57 in db_panic (addr=3DCould not find the frame base for "db_pa= nic". ) at /usr/src/sys/ddb/db_command.c:478 #4 0xc04f33e1 in db_command (last_cmdp=3D0xc0a1f31c, cmd_table=3D0x0, dopa= ger=3D1) at /usr/src/sys/ddb/db_command.c:445 #5 0xc04f353a in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #6 0xc04f532d in db_trap (type=3D12, code=3D0) at /usr/src/sys/ddb/db_main= .c:229 #7 0xc06a33c6 in kdb_trap (type=3D12, code=3D0, tf=3D0xf1a2fc54) at /usr/s= rc/sys/kern/subr_kdb.c:534 #8 0xc0913a8f in trap_fatal (frame=3D0xf1a2fc54, eva=3D0) at /usr/src/sys/= i386/i386/trap.c:924 #9 0xc0913cc3 in trap_pfault (frame=3D0xf1a2fc54, usermode=3D0, eva=3D0) a= t /usr/src/sys/i386/i386/trap.c:846 #10 0xc091469a in trap (frame=3D0xf1a2fc54) at /usr/src/sys/i386/i386/trap.= c:528 #11 0xc08f83bb in calltrap () at /usr/src/sys/i386/i386/exception.s:165 #12 0x00000000 in ?? () Previous frame inner to this frame (corrupt stack?) The backtrace in ddb mentioned several flow* functions, but unfortunately it doesn't seem to have survived the dump. The problem occurred after booting the system with the rc.conf line: ifconfig_wlan0=3D"inet 192.168.178.49 -wme" changing it to: ifconfig_wlan0=3D"inet 192.168.178.49 ssid [...] wepkey 1:[0x...] deftxke= y 1 wepmode on chanlist 7 -wme" running: /etc/rc.d/netif restart followed by: ifconfig wlan0 which showed that wlan0 got associated. The panic happened less than a second later. The system is an IBM ThinkPad R51 with iwi0 as wlandev. em0 was configured and up but unconnected. Fabian --Sig_/BUUp2EMZi7S4n80wP5kPaYj Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkp8HA8ACgkQBYqIVf93VJ3wNgCgxEZztdibSCLJGWOUWyondxqP pdsAniBUACjCYhMIoLG8Cmet4z08YEKJ =EflV -----END PGP SIGNATURE----- --Sig_/BUUp2EMZi7S4n80wP5kPaYj--