PANIC in RELENG_5

Kay Abendroth kay.abendroth at raxion.net
Tue Jun 7 16:03:59 GMT 2005


	Hello,

today I had another panic on my FreeBSD-Box. The last one occured 4 days 
ago.

Please reply if sth. is missing.

Kind regards,
Kay


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x162
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc0651713
stack pointer           = 0x10:0xe5ba3bc4
frame pointer           = 0x10:0xe5ba3c00
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         = 42 (syncer)
trap number             = 12
panic: page fault
Uptime: 4d4h41m12s
[...]


root at susi# kgdb kernel.debug /usr/crash/vmcore.4
[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".
#0  doadump () at pcpu.h:160
160             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) l *0xc0651713
0xc0651713 is in ffs_fsync (/usr/src/sys/ufs/ffs/ffs_vnops.c:219).
214                     skipmeta = 1;
215             s = splbio();
216             VI_LOCK(vp);
217     loop:
218             TAILQ_FOREACH(bp, &vp->v_dirtyblkhd, b_vnbufs)
219                     bp->b_vflags &= ~BV_SCANNED;
220             for (bp = TAILQ_FIRST(&vp->v_dirtyblkhd); bp; bp = nbp) {
221                     nbp = TAILQ_NEXT(bp, b_vnbufs);
222                     /*
223                      * Reasons to skip this buffer: it has already 
been considered
(kgdb)


root at susi# kgdb kernel.debug /usr/crash/vmcore.4
[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".
#0  doadump () at pcpu.h:160
160             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt f
#0  doadump () at pcpu.h:160
No locals.
#1  0xc0514e7e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:410
         first_buf_printf = 1
#2  0xc05151a6 in panic (fmt=0xc06deab9 "%s") at 
/usr/src/sys/kern/kern_shutdown.c:566
         td = (struct thread *) 0xc2c4ac00
         bootopt = 260
         newpanic = 0
         ap = 0xc2c4ac00 "Ä\221ÄÂp°ÄÂ"
         buf = "page fault", '\0' <repeats 245 times>
#3  0xc06b5960 in trap_fatal (frame=0xe5ba3b84, eva=0) at 
/usr/src/sys/i386/i386/trap.c:817
         code = 16
         type = 12
         ss = 16
         esp = 0
         softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27, 
ssd_dpl = 0, ssd_p = 1, ssd_xx = 9, ssd_xx1 = 1, ssd_def32 = 1, ssd_gran 
= 1}
#4  0xc06b5673 in trap_pfault (frame=0xe5ba3b84, usermode=0, eva=354) at 
/usr/src/sys/i386/i386/trap.c:735
         va = 0
         vm = (struct vmspace *) 0x0
         map = 0xc0731aa0
         rv = 1
         ftype = 1 '\001'
         td = (struct thread *) 0xc2c4ac00
         p = (struct proc *) 0xc2c491c4
#5  0xc06b5252 in trap (frame=
       {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -956778696, tf_esi 
= 0, tf_ebp = -440779776, tf_isp = -440779856, tf_ebx = 178, tf_edx = 
-1027298304, tf_ecx = 14, tf_eax = 1, tf_trapno = 12, tf_err = 2, tf_eip 
= -1067116781, tf_cs = 8, tf_eflags = 66054, tf_esp = -956778696, tf_ss 
= 0})
     at /usr/src/sys/i386/i386/trap.c:425
         td = (struct thread *) 0xc2c4ac00
         p = (struct proc *) 0xc2c491c4
         sticks = 3267668992
         i = 0
         ucode = 0
         type = 12
         code = 2
         eva = 354
#6  0xc06a32ea in calltrap () at /usr/src/sys/i386/i386/exception.s:140
No locals.
#7  0x00000018 in ?? ()
No symbol table info available.
#8  0x00000010 in ?? ()
No symbol table info available.
#9  0x00000010 in ?? ()
No symbol table info available.
#10 0xc6f8b738 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
#12 0xe5ba3c00 in ?? ()
No symbol table info available.
#13 0xe5ba3bb0 in ?? ()
No symbol table info available.
#14 0x000000b2 in ?? ()
No symbol table info available.
#15 0xc2c4ac00 in ?? ()
No symbol table info available.
#16 0x0000000e in ?? ()
No symbol table info available.
#17 0x00000001 in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#18 0x0000000c in ?? ()
No symbol table info available.
#19 0x00000002 in ?? ()
No symbol table info available.
#20 0xc0651713 in ffs_fsync (ap=0xe5ba3c34) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:218
         vp = (struct vnode *) 0xc6f8b738
         ip = (struct inode *) 0xb2
         bp = (struct buf *) 0xb2
         nbp = (struct buf *) 0xc3e5dec4
         error = 0
         wait = 0
         passes = 4
         skipmeta = 0
         lbn = 1
#21 0xc065092d in ffs_sync (mp=0xc2f5b400, waitfor=3, cred=0xc2b6bd80, 
td=0xc2c4ac00) at vnode_if.h:627
         nvp = (struct vnode *) 0xc430a948
         vp = (struct vnode *) 0xc6f8b738
         devvp = (struct vnode *) 0xc6f8b738
         ip = (struct inode *) 0x0
         ump = (struct ufsmount *) 0xc2ea0600
         fs = (struct fs *) 0xc2ecd000
         error = 0
         count = 0
         lockreq = 65554
         allerror = 0
#22 0xc057d09a in sync_fsync (ap=0xe5ba3cc8) at 
/usr/src/sys/kern/vfs_subr.c:3473
         syncvp = (struct vnode *) 0x0
         mp = (struct mount *) 0xc2f5b400
         td = (struct thread *) 0xc2c4ac00
         error = -440779576
         asyncflag = 0
#23 0xc05790d1 in sched_sync () at vnode_if.h:627
         next = (struct synclist *) 0xc2c8fe58
         slp = (struct synclist *) 0xc2c8fe54
         vp = (struct vnode *) 0xc2f56528
         mp = (struct mount *) 0x0
         starttime = 1118152275
         td = (struct thread *) 0xc2c4ac00
         dummychan = 0
         last_work_seen = 22
         net_worklist_len = -1024105176
         syncer_final_iter = 0
         first_printf = 1
#24 0xc04fbcff in fork_exit (callout=0xc0578c70 <sched_sync>, arg=0x0, 
frame=0x0) at /usr/src/sys/kern/kern_fork.c:791
         p = (struct proc *) 0xc2c491c4
         td = (struct thread *) 0x0
#25 0xc06a334c in fork_trampoline () at 
/usr/src/sys/i386/i386/exception.s:209
No locals.
(kgdb)



More information about the freebsd-stable mailing list