Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2011 14:26:49 +0200
From:      Bernt Hansson <bah@bananmonarki.se>
To:        Andrea Venturoli <ml@netfence.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help with crash dump
Message-ID:  <4E6A0609.4010409@bananmonarki.se>
In-Reply-To: <4E69217C.5000306@netfence.it>
References:  <4E69217C.5000306@netfence.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <vm_pageout>, 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"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E6A0609.4010409>