syncer page fault

Pietro Cerutti pietro.cerutti at gmail.com
Fri Feb 16 11:56:58 UTC 2007


Hello list,
this morning my laptop had a kernel fault:

# uname -a
FreeBSD gahrtop.localhost 6.2-STABLE FreeBSD 6.2-STABLE #8: Tue Feb 13
11:23:37 CET 2007
root at gahrtop.localhost:/usr/obj/usr/src/sys/GAHRTOP  i386

# kgdb kernel.debug /var/crash/vmcore.0
[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".

Unread portion of the kernel message buffer:
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0x478b4d31
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc06402af
stack pointer           = 0x28:0xe69b4b90
frame pointer           = 0x28:0xe69b4bcc
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         = 41 (syncer)
trap number             = 12

panic: page fault
cpuid = 1
Uptime: 9h36m3s
Dumping 2039 MB (2 chunks)
  chunk 0: 1MB (159 pages) ... ok
  chunk 1: 2039MB (521936 pages) 2023 2007 1991 1975 1959 1943 1927
1911 1895 1879 1863 1847 1831 1815 1799 1783
1767 1751 1735 1719 1703 1687 1671 1655 1639 1623 1607 1591 1575 1559
1543 1527 1511 1495 1479 1463 1447 1431 141
5 1399 1383 1367 1351 1335 1319 1303 1287 1271 1255 1239 1223 1207
1191 1175 1159 1143 1127 1111 1095 1079 1063 1
047 1031 1015 999 983 967 951 935 919 903 887 871 855 839 823 807 791
775 759 743 727 711 695 679 663 647 631 615
 599 583 567 551 535 519 503 487 471 455 439 423 407 391 375 359 343
327 311 295 279 263 247 231 215 199 183 167
151 135 119 103 87 71 55 39 23 7

#0  doadump () at pcpu.h:165
165             __asm __volatile("movl %%fs:0,%0" : "=r" (td));
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc0531e31 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#2  0xc0532224 in panic (fmt=0xc06f07d3 "%s") at
/usr/src/sys/kern/kern_shutdown.c:565
#3  0xc06c252c in trap_fatal (frame=0xe69b4b50, eva=0) at
/usr/src/sys/i386/i386/trap.c:837
#4  0xc06c21d2 in trap_pfault (frame=0xe69b4b50, usermode=0, eva=1200311601)
    at /usr/src/sys/i386/i386/trap.c:745
#5  0xc06c1d8f in trap (frame=
      {tf_fs = -1065943032, tf_es = -966000600, tf_ds = -426049496,
tf_edi = 0, tf_esi = 4, tf_ebp = -426030132,
tf_isp = -426030212, tf_ebx = -924676096, tf_edx = 3, tf_ecx =
1200311553, tf_eax = 0, tf_trapno = 12, tf_err = 0
, tf_eip = -1067187537, tf_cs = 32, tf_eflags = 66050, tf_esp =
-1067831784, tf_ss = -934932208})
    at /usr/src/sys/i386/i386/trap.c:435
#6  0xc06ab40a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc06402af in ffs_syncvnode (vp=0xc8461110, waitfor=3) at
/usr/src/sys/ufs/ffs/ffs_vnops.c:198
#8  0xc063ed28 in ffs_sync (mp=0xc66c6a60, waitfor=3, td=0xc647fc00)
at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1173
#9  0xc05a562c in sync_fsync (ap=0x3) at /usr/src/sys/kern/vfs_subr.c:3120
#10 0xc06deb0e in VOP_FSYNC_APV (vop=0x0, a=0x3) at vnode_if.c:1020
#11 0xc05a2184 in sync_vnode (bo=0xc6714e90, td=0xc647fc00) at vnode_if.h:537
#12 0xc05a256f in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1698
#13 0xc0514c30 in fork_exit (callout=0xc05a2280 <sched_sync>, arg=0x0,
frame=0x0)
    at /usr/src/sys/kern/kern_fork.c:821
#14 0xc06ab46c in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:208
(kgdb)

-- 

What info

Pietro Cerutti

- ASCII Ribbon Campaign -
 against HTML e-mail and
 proprietary attachments
   www.asciiribbon.org


More information about the freebsd-hackers mailing list