Multiple panics with 7.1-PRERELEASE amd64/i386 and varnish

Herve Boulouis amon at aelita.org
Fri Nov 14 07:14:50 PST 2008


Le 06/11/2008  16:05, Herve Boulouis a écrit:
> Le 06/11/2008  11:29, Herve Boulouis a écrit:
> 
> I just tried to reboot one of the boxes without kern.ipc.maxpipekva=104857600 to check for kva problems
> but crashes persists, though the stack is completely different now. This time I included all the corrupt
> parts of the stack that I had stripped in my original email but they are similar (from frame 18 to end).
> 
> Any ideas ?

We just found the same kind of crash with a 7.0-STABLE i386 from August so there is a serious bug in the kernel making
varnish with file backend totaly unusable on FreeBSD 7.

Backtrace :

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x52
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc093b90a
stack pointer           = 0x28:0xe4475ad0
frame pointer           = 0x28:0xe4475ad0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 34 (syncer)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 28m52s
Physical memory: 1011 MB
Dumping 148 MB: 133 117 101 85 69 53 37 21 5

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:195
195     pcpu.h: No such file or directory.
        in pcpu.h

(kgdb) bt
#0  doadump () at pcpu.h:195
#1  0xc071b3a6 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc071b67e in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:572
#3  0xc09ec2dc in trap_fatal (frame=0xe4475a90, eva=82) at /usr/src/sys/i386/i386/trap.c:899
#4  0xc09ec54b in trap_pfault (frame=0xe4475a90, usermode=0, eva=82) at /usr/src/sys/i386/i386/trap.c:812
#5  0xc09ecf32 in trap (frame=0xe4475a90) at /usr/src/sys/i386/i386/trap.c:490
#6  0xc09d31cb in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc093b90a in vm_object_pip_add (object=0x0, i=1) at /usr/src/sys/vm/vm_object.c:273
#8  0xc078c207 in cluster_wbuild (vp=0xc4616564, size=16384, start_lbn=3, len=3) at /usr/src/sys/kern/vfs_cluster.c:925
#9  0xc07829a6 in vfs_bio_awrite (bp=0xd7fde3bc) at /usr/src/sys/kern/vfs_bio.c:1668
#10 0xc091593e in ffs_syncvnode (vp=0xc4616564, waitfor=3) at /usr/src/sys/ufs/ffs/ffs_vnops.c:283
#11 0xc0910e8d in ffs_sync (mp=0xc4209b30, waitfor=3, td=0xc4044660) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1234
#12 0xc079d4ef in sync_fsync (ap=0xe4475cd4) at /usr/src/sys/kern/vfs_subr.c:3217
#13 0xc0a01392 in VOP_FSYNC_APV (vop=0xc0affa60, a=0xe4475cd4) at vnode_if.c:1007
#14 0xc079dcd5 in sched_sync () at vnode_if.h:538
#15 0xc06f77f4 in fork_exit (callout=0xc079d5d0 <sched_sync>, arg=0x0, frame=0xe4475d38) at /usr/src/sys/kern/kern_fork.c:781
#16 0xc09d3240 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:205
(kgdb)

I kept the vmcores (i386 and amd64) if someone needs them.

Regards,

-- 
Herve Boulouis


More information about the freebsd-stable mailing list