From owner-freebsd-questions@FreeBSD.ORG Wed Jun 18 23:12:47 2008 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 311131065672 for ; Wed, 18 Jun 2008 23:12:47 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from ns2.bafirst.com (72-12-2-19.static.networktel.net [72.12.2.19]) by mx1.freebsd.org (Postfix) with ESMTP id D8B938FC0A for ; Wed, 18 Jun 2008 23:12:46 +0000 (UTC) (envelope-from eculp@casasponti.net) Received: from casasponti.net ([201.155.7.3]) by ns2.bafirst.com with esmtp; Wed, 18 Jun 2008 18:12:39 -0500 id 000D538A.48599667.0000D6BA Received: from localhost (localhost [127.0.0.1]) (uid 80) by casasponti.net with local; Wed, 18 Jun 2008 18:12:33 -0500 id 00130DAD.48599661.00000885 Received: from dsl-189-190-8-164.prod-infinitum.com.mx (dsl-189-190-8-164.prod-infinitum.com.mx [189.190.8.164]) by intranet.casasponti.net (Horde Framework) with HTTP; Wed, 18 Jun 2008 18:12:33 -0500 Message-ID: <20080618181233.80176fck3bdyi680@intranet.casasponti.net> Date: Wed, 18 Jun 2008 18:12:33 -0500 From: "Edwin L. Culp" To: freebsd-questions@freebsd.org References: <20080611133220.198644ite5u5r778@intranet.casasponti.net> <4850203A.5080805@FreeBSD.org> In-Reply-To: <4850203A.5080805@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (5.0-cvs) X-Remote-Browser: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8.1.14) Gecko/20080608 Firefox/2.0.0.14 X-IMP-Server: 201.155.7.3 X-Originating-IP: 189.190.8.164 X-Originating-User: eculp@casasponti.net Subject: Re: reboot after panic : page fault for two consecutive days now with FreeBSD stable 7.0 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: Wed, 18 Jun 2008 23:12:47 -0000 Kris Kennaway escribi=F3: > eculp wrote: >> This is on a relatively new Dell dualcore with 4G of ram running up =20 >> to date stable. I'm not on site so I have no idea what might be =20 >> provoking these crashes. In fact in many years of running FreeBSD =20 >> I've not seen something just happen like this. It is a =20 >> simi-production machine that cvsups daily and builds and installs a =20 >> new world and kernel. Ports are updated about once a week and =20 >> haven't seen any issues previously. It has been running 24/7 since =20 >> new, about 8 months. >> >> 3 files were generated info, bounds and vmcore. The info file follows: >> >> Dump header from device /dev/mfid0s1b >> Architecture: i386 >> Architecture Version: 2 >> Dump Length: 341225472B (325 MB) >> Blocksize: 512 >> Dumptime: Wed Jun 11 12:34:24 2008 >> Hostname: casasponti.net >> Magic: FreeBSD Kernel Dump >> Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 05:54:42 CDT 2008 >> root@casasponti.net:/usr/obj/usr/src/sys/ENCONTACTO >> Panic String: page fault >> Dump Parity: 2395754794 >> Bounds: 2 >> Dump Status: good >> >> the vmcore is about 300M so I'm not attaching it;) I could put it =20 >> on line at a moments notice. I think that what I need is probably =20 >> a crash course on debugging a crash and I really don't know where =20 >> to start since after over 10 years with freebsd I've never needed =20 >> it. Any help, suggestions, etc. would be greatly appreciated. > > See the developers' handbook chapter on kernel debugging. > > However, panics that "suddenly" start happening frequently on a =20 > system that has been stable for a while with no OS or workload =20 > changes made, are usually due to the hardware starting to fail. > > Kris I got as far as I could. I recompiled the kernel with debuging and =20 waited for a new panic. I got the fourth one a few minutes ago and =20 went as far as I could with the handbook. # kgdb kernel.debug /var/crash/vmcore.4 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: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address=09=3D 0x0 fault code=09=09=3D supervisor write, page not present instruction pointer=09=3D 0x20:0xc0716ba9 stack pointer=09 =3D 0x28:0xe6d2bc4c frame pointer=09 =3D 0x28:0xe6d2bc4c code segment=09=09=3D base 0x0, limit 0xfffff, type 0x1b =09=09=09=3D DPL 0, pres 1, def32 1, gran 1 processor eflags=09=3D interrupt enabled, resume, IOPL =3D 0 current process=09=09=3D 13 (swi4: clock sio) trap number=09=09=3D 12 panic: page fault cpuid =3D 0 Uptime: 1d4h34m22s Physical memory: 3315 MB Dumping 273 MB: 258 242 226 210 194 178 162 146 130 114 98 82 66 50 34 18 2 Reading symbols from /boot/kernel/mfi_linux.ko...Reading symbols from =20 /boot/kernel/mfi_linux.ko.symbols...done. done. Loaded symbols for /boot/kernel/mfi_linux.ko Reading symbols from /boot/kernel/acpi.ko...Reading symbols from =20 /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /boot/kernel/fdescfs.ko...Reading symbols from =20 /boot/kernel/fdescfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/fdescfs.ko #0 doadump () at pcpu.h:195 195=09=09__asm __volatile("movl %%fs:0,%0" : "=3Dr" (td)); -------------------------------------------------------------------- That is as far as I got, any suggestions appreciated. I'm going to =20 check the others and see if the get further. ed