From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 12:26:54 2011 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 AB1EF106566B for ; Fri, 9 Sep 2011 12:26:54 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 19A768FC0C for ; Fri, 9 Sep 2011 12:26:53 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p89CQoaK034520; Fri, 9 Sep 2011 14:26:51 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <4E6A0609.4010409@bananmonarki.se> Date: Fri, 09 Sep 2011 14:26:49 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:6.0) Gecko/20110821 Thunderbird/6.0 MIME-Version: 1.0 To: Andrea Venturoli References: <4E69217C.5000306@netfence.it> In-Reply-To: <4E69217C.5000306@netfence.it> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Help with crash dump 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: Fri, 09 Sep 2011 12:26:54 -0000 2011-09-08 22:11, Andrea Venturoli skrev: > Hello. > > Anyone can give any hint on this? Guessing! You have run out of swapspace, based on these 2 lines panic: ffs_write: dir write current process = 0 (swapper) Or you have a hardware error. Does the "current process" change between panics or is it always the same? I'm in no sense a kernel debugger, but it's a hint. > I really have no clue. > > bye & Thanks > av. > > >> # uname -a >> FreeBSD xxxxx.xxxxxxxx.it 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #1: >> Wed Dec 15 11:53:13 CET 2010 >> root@xxxxx.xxxxxxxx.it:/usr/obj/usr/src/sys/xxxxx i386 >> # kgdb kernel.debug /var/crash/vmcore.17 >> 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: >> panic: ffs_write: dir write >> cpuid = 3 >> Uptime: 26d9h4m27s >> Physical memory: 2033 MB >> Dumping 300 MB: 285 269 253 237 221 205 189 173 157 141 125 109 93 >> 77kernel trap 12 with interrupts disabled >> >> >> Fatal trap 12: page fault while in kernel mode >> cpuid = 3; apic id = 03 >> fault virtual address = 0x14 >> fault code = supervisor read, page not present >> instruction pointer = 0x20:0xc059accb >> stack pointer = 0x28:0xc0c20ccc >> frame pointer = 0x28:0xc0c20cec >> code segment = base 0x0, limit 0xfffff, type 0x1b >> = DPL 0, pres 1, def32 1, gran 1 >> processor eflags = resume, IOPL = 0 >> current process = 0 (swapper) >> trap number = 12 >> panic: page fault >> cpuid = 3 >> 61 45 29 13 >> >> Reading symbols from /boot/kernel/splash_bmp.ko...Reading symbols from >> /boot/kernel/splash_bmp.ko.symbols...done. >> done. >> Loaded symbols for /boot/kernel/splash_bmp.ko >> Reading symbols from /boot/kernel/geom_stripe.ko...Reading symbols >> from /boot/kernel/geom_stripe.ko.symbols...done. >> done. >> Loaded symbols for /boot/kernel/geom_stripe.ko >> Reading symbols from /boot/kernel/acpi.ko...Reading symbols from >> /boot/kernel/acpi.ko.symbols...done. >> done. >> Loaded symbols for /boot/kernel/acpi.ko >> #0 doadump () at pcpu.h:196 >> 196 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); >> (kgdb) bt >> #0 doadump () at pcpu.h:196 >> #1 0xc0563d48 in boot (howto=260) at >> /usr/src/sys/kern/kern_shutdown.c:418 >> #2 0xc0564025 in panic (fmt=Variable "fmt" is not available. >> ) at /usr/src/sys/kern/kern_shutdown.c:574 >> #3 0xc06cd16d in ffs_write (ap=0xe6912a44) at >> /usr/src/sys/ufs/ffs/ffs_vnops.c:667 >> #4 0xc0740640 in VOP_WRITE_APV (vop=0xc07ba4e0, a=0xe6912a44) at >> vnode_if.c:691 >> #5 0xc06fd8d6 in vnode_pager_generic_putpages (vp=0xc672f678, >> m=0xe6912bb0, bytecount=Variable "bytecount" is not available. >> ) at vnode_if.h:373 >> #6 0xc05d4a5f in vop_stdputpages (ap=0xe6912ad4) at >> /usr/src/sys/kern/vfs_default.c:540 >> #7 0xc073faf3 in VOP_PUTPAGES_APV (vop=0xc07ba4e0, a=0xe6912ad4) at >> vnode_if.c:2189 >> #8 0xc06fda5f in vnode_pager_putpages (object=0xcb14ac80, >> m=0xe6912bb0, count=1, sync=0, rtvals=0xe6912b20) at vnode_if.h:1164 >> #9 0xc06f730b in vm_pageout_flush (mc=0xe6912bb0, count=1, flags=0) at >> vm_pager.h:148 >> #10 0xc06f7661 in vm_pageout_clean (m=Variable "m" is not available. >> ) at /usr/src/sys/vm/vm_pageout.c:403 >> #11 0xc06f92a2 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:1017 >> #12 0xc053e9a1 in fork_exit (callout=0xc06f82d6 , arg=0x0, >> frame=0xe6912d38) at /usr/src/sys/kern/kern_fork.c:811 >> #13 0xc0718b30 in fork_trampoline () at >> /usr/src/sys/i386/i386/exception.s:271 >> (kgdb) > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >