Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Jun 2005 18:03:55 +0200
From:      Kay Abendroth <kay.abendroth@raxion.net>
To:        freebsd-stable@freebsd.org
Subject:   PANIC in RELENG_5
Message-ID:  <42A5C56B.6030009@raxion.net>

next in thread | raw e-mail | index | archive | help

	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   =3D 0x162
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc0651713
stack pointer           =3D 0x10:0xe5ba3bc4
frame pointer           =3D 0x10:0xe5ba3c00
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                         =3D DPL 0, pres 1, def32 1, gran 1
processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
current process         =3D 42 (syncer)
trap number             =3D 12
panic: page fault
Uptime: 4d4h41m12s
[...]


root@susi# kgdb kernel.debug /usr/crash/vmcore.4
[GDB will not be able to debug user-mode threads:=20
/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=20
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
This GDB was configured as "i386-marcel-freebsd".
#0  doadump () at pcpu.h:160
160             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
(kgdb) l *0xc0651713
0xc0651713 is in ffs_fsync (/usr/src/sys/ufs/ffs/ffs_vnops.c:219).
214                     skipmeta =3D 1;
215             s =3D splbio();
216             VI_LOCK(vp);
217     loop:
218             TAILQ_FOREACH(bp, &vp->v_dirtyblkhd, b_vnbufs)
219                     bp->b_vflags &=3D ~BV_SCANNED;
220             for (bp =3D TAILQ_FIRST(&vp->v_dirtyblkhd); bp; bp =3D nb=
p) {
221                     nbp =3D TAILQ_NEXT(bp, b_vnbufs);
222                     /*
223                      * Reasons to skip this buffer: it has already=20
been considered
(kgdb)


root@susi# kgdb kernel.debug /usr/crash/vmcore.4
[GDB will not be able to debug user-mode threads:=20
/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=20
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for detail=
s.
This GDB was configured as "i386-marcel-freebsd".
#0  doadump () at pcpu.h:160
160             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
(kgdb) bt f
#0  doadump () at pcpu.h:160
No locals.
#1  0xc0514e7e in boot (howto=3D260) at /usr/src/sys/kern/kern_shutdown.c=
:410
         first_buf_printf =3D 1
#2  0xc05151a6 in panic (fmt=3D0xc06deab9 "%s") at=20
/usr/src/sys/kern/kern_shutdown.c:566
         td =3D (struct thread *) 0xc2c4ac00
         bootopt =3D 260
         newpanic =3D 0
         ap =3D 0xc2c4ac00 "=C4\221=C4=C2p=B0=C4=C2"
         buf =3D "page fault", '\0' <repeats 245 times>
#3  0xc06b5960 in trap_fatal (frame=3D0xe5ba3b84, eva=3D0) at=20
/usr/src/sys/i386/i386/trap.c:817
         code =3D 16
         type =3D 12
         ss =3D 16
         esp =3D 0
         softseg =3D {ssd_base =3D 0, ssd_limit =3D 1048575, ssd_type =3D=
 27,=20
ssd_dpl =3D 0, ssd_p =3D 1, ssd_xx =3D 9, ssd_xx1 =3D 1, ssd_def32 =3D 1,=
 ssd_gran=20
=3D 1}
#4  0xc06b5673 in trap_pfault (frame=3D0xe5ba3b84, usermode=3D0, eva=3D35=
4) at=20
/usr/src/sys/i386/i386/trap.c:735
         va =3D 0
         vm =3D (struct vmspace *) 0x0
         map =3D 0xc0731aa0
         rv =3D 1
         ftype =3D 1 '\001'
         td =3D (struct thread *) 0xc2c4ac00
         p =3D (struct proc *) 0xc2c491c4
#5  0xc06b5252 in trap (frame=3D
       {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -956778696, =
tf_esi=20
=3D 0, tf_ebp =3D -440779776, tf_isp =3D -440779856, tf_ebx =3D 178, tf_e=
dx =3D=20
-1027298304, tf_ecx =3D 14, tf_eax =3D 1, tf_trapno =3D 12, tf_err =3D 2,=
 tf_eip=20
=3D -1067116781, tf_cs =3D 8, tf_eflags =3D 66054, tf_esp =3D -956778696,=
 tf_ss=20
=3D 0})
     at /usr/src/sys/i386/i386/trap.c:425
         td =3D (struct thread *) 0xc2c4ac00
         p =3D (struct proc *) 0xc2c491c4
         sticks =3D 3267668992
         i =3D 0
         ucode =3D 0
         type =3D 12
         code =3D 2
         eva =3D 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=3D0xe5ba3c34) at=20
/usr/src/sys/ufs/ffs/ffs_vnops.c:218
         vp =3D (struct vnode *) 0xc6f8b738
         ip =3D (struct inode *) 0xb2
         bp =3D (struct buf *) 0xb2
         nbp =3D (struct buf *) 0xc3e5dec4
         error =3D 0
         wait =3D 0
         passes =3D 4
         skipmeta =3D 0
         lbn =3D 1
#21 0xc065092d in ffs_sync (mp=3D0xc2f5b400, waitfor=3D3, cred=3D0xc2b6bd=
80,=20
td=3D0xc2c4ac00) at vnode_if.h:627
         nvp =3D (struct vnode *) 0xc430a948
         vp =3D (struct vnode *) 0xc6f8b738
         devvp =3D (struct vnode *) 0xc6f8b738
         ip =3D (struct inode *) 0x0
         ump =3D (struct ufsmount *) 0xc2ea0600
         fs =3D (struct fs *) 0xc2ecd000
         error =3D 0
         count =3D 0
         lockreq =3D 65554
         allerror =3D 0
#22 0xc057d09a in sync_fsync (ap=3D0xe5ba3cc8) at=20
/usr/src/sys/kern/vfs_subr.c:3473
         syncvp =3D (struct vnode *) 0x0
         mp =3D (struct mount *) 0xc2f5b400
         td =3D (struct thread *) 0xc2c4ac00
         error =3D -440779576
         asyncflag =3D 0
#23 0xc05790d1 in sched_sync () at vnode_if.h:627
         next =3D (struct synclist *) 0xc2c8fe58
         slp =3D (struct synclist *) 0xc2c8fe54
         vp =3D (struct vnode *) 0xc2f56528
         mp =3D (struct mount *) 0x0
         starttime =3D 1118152275
         td =3D (struct thread *) 0xc2c4ac00
         dummychan =3D 0
         last_work_seen =3D 22
         net_worklist_len =3D -1024105176
         syncer_final_iter =3D 0
         first_printf =3D 1
#24 0xc04fbcff in fork_exit (callout=3D0xc0578c70 <sched_sync>, arg=3D0x0=
,=20
frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:791
         p =3D (struct proc *) 0xc2c491c4
         td =3D (struct thread *) 0x0
#25 0xc06a334c in fork_trampoline () at=20
/usr/src/sys/i386/i386/exception.s:209
No locals.
(kgdb)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A5C56B.6030009>