From owner-freebsd-questions@FreeBSD.ORG Sun Feb 15 19:37:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 369B91065690 for ; Sun, 15 Feb 2009 19:37:31 +0000 (UTC) (envelope-from charlie.h.turner@googlemail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id 8CF9B8FC1D for ; Sun, 15 Feb 2009 19:37:30 +0000 (UTC) (envelope-from charlie.h.turner@googlemail.com) Received: by bwz18 with SMTP id 18so3385869bwz.19 for ; Sun, 15 Feb 2009 11:37:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=joQ5CEqULeEm6q1VTOVwBpPK95ZLxrkvOah/0BP/RFU=; b=Bxf4AoKYaDACtddHIYLXE3zPS6ACLzH7DH//VE0Vg3OToAM6QSnhOnCs37vjx3c96c P8O0ewaDWyQKIQ4Tc+Tg4APAcGiu64xOiuVlqU34vYCwcuqAu90obf5ex9baGKwyf8tS sL9vvlD05zwPb1s9mk7SlN5HCt9rW/Au+HMD4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ogQXVXGEnjLx0oPmoIs73+fzSQd4r+7P73+nCvkDR5/ODFLz374nQafoORA6z+7+9Q 8/HsE1qywO48AtCoYT85AwwLpEUeIRAQRcO1bnj0aQE0P787YXFtP39toVXuWAXTP1mo FvvMGFZXFKAmfpFbCnRjp+UPYkJuzD3JvMgyE= MIME-Version: 1.0 Received: by 10.181.134.12 with SMTP id l12mr951687bkn.26.1234725085195; Sun, 15 Feb 2009 11:11:25 -0800 (PST) Date: Sun, 15 Feb 2009 19:11:25 +0000 Message-ID: <626cb7970902151111h11d4a4c8m6819a1dc885c3eaa@mail.gmail.com> From: Charlie Turner To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Kernel panic. Unsure of cause. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 19:37:31 -0000 I had just closed Firefox 3 and went to open the Thunar file manager from XFCE and my machine locked up. After ~20 seconds, it rebooted, leaving a 310MB vmcore.0 in /var/crash along with a bounds and info.0 file. I have no idea how to investigate these problems, so please excuse the ignorance that may follow: I followed a section in the FreeBSD Developers Handbook on debugging the kernel, the following means absolutely nothing to me: newton# kgdb /boot/kernel/kernel /var/crash/vmcore.0 [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] 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 cpuid = 1; apic id = 01 fault virtual address = 0x18 fault code = supervisor read, page not present instruction pointer = 0x20:0xc0785825 stack pointer = 0x28:0xe929ba58 frame pointer = 0x28:0xe929ba74 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 1072 (Thunar) trap number = 12 panic: page fault cpuid = 1 Uptime: 7h35m34s Physical memory: 3058 MB Dumping 310 MB: 295 279 263 247 231 215 199 183 167 151 135 119 103 87 71 55 39 23 7 #0 doadump () at pcpu.h:195 195 pcpu.h: No such file or directory. in pcpu.h (kgdb) backtrace #0 doadump () at pcpu.h:195 #1 0xc0754457 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc0754719 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc0a4905c in trap_fatal (frame=0xe929ba18, eva=24) at /usr/src/sys/i386/i386/trap.c:899 #4 0xc0a499df in trap (frame=0xe929ba18) at /usr/src/sys/i386/i386/trap.c:280 #5 0xc0a2fc0b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #6 0xc0785825 in turnstile_broadcast (ts=0x0, queue=0) at /usr/src/sys/kern/subr_turnstile.c:835 #7 0xc0747da2 in _mtx_unlock_sleep (m=0xc81c60a0, opts=0, file=0x0, line=0) at /usr/src/sys/kern/kern_mutex.c:605 #8 0xc06fdbd1 in pfs_getextattr (va=0xe929bafc) at pseudofs_internal.h:110 #9 0xc0a5e667 in VOP_GETEXTATTR_APV (vop=0xc0b723e0, a=0xe929bafc) at vnode_if.c:2398 #10 0xc07c047e in extattr_get_vp (vp=0xc8fbdaa0, attrnamespace=1, attrname=0xe929bb71 "mime_type", data=0x0, nbytes=0, td=0xccc81c60) at vnode_if.h:1289 #11 0xc07c0916 in extattr_get_fd (td=0xccc81c60, uap=0xe929bcfc) at /usr/src/sys/kern/vfs_extattr.c:408 #12 0xc0a49635 in syscall (frame=0xe929bd38) at /usr/src/sys/i386/i386/trap.c:1035 #13 0xc0a2fc70 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #14 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) Contents of bound and info,0 files in /var/crash (vmcore.0 is too big for me to put on the Internet) bounds: newton# cat bounds 1 info.0: newton# cat info.0 Dump header from device /dev/ad6s2b Architecture: i386 Architecture Version: 2 Dump Length: 326086656B (310 MB) Blocksize: 512 Dumptime: Sun Feb 15 18:14:51 2009 Hostname: newton.turnerfrontier.net Magic: FreeBSD Kernel Dump Version String: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Panic String: page fault Dump Parity: 3822966285 Bounds: 0 Dump Status: good Some information from the output of dmesg: FreeBSD 7.0-RELEASE #0 CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (2999.96-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 2 real memory = 3220701184 (3071 MB) avail memory = 3146219520 (3000 MB) I'm also using an nVidia 9500GT with 512MB of on-board memory: vgapci0: port 0xac00-0xac7f mem 0xfd000000-0xfdffffff,0xc0000000-0xdfffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1 Thank you for reading this. If there is anything further I can do to investigate this I would appreciate you telling me so. I haven't noticed any problems with the hardware recently, and the computer is fairly new. -- Charlie Turner.