Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jun 2006 17:53:47 +0800
From:      "Jui-Nan Lin" <ericlin.jnlin@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   panic: Fatal trap 12: page fault while in kernel mode (current process = 4254 (perl5.8.8))
Message-ID:  <3d21193a0606080253u5bfe9451h808c9a5ba6fb5b0b@mail.gmail.com>
In-Reply-To: <3d21193a0606072333y573328aeu461c135c81836759@mail.gmail.com>
References:  <3d21193a0606072333y573328aeu461c135c81836759@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I experienced lots of kernel panic after I installed openwebmail on my
mail server.
The environment is :

    [Mail Server] <=> [Mail Spool Server]
                       nfs
Mail Server: 6.1-RELEASE (panic 3 times a day)
Mail Spool Server: 6.0-RELEASE

I also installed www/apache20, mail/postfix.
The mount options is rw, quota (Yes, I used quota)

I have tried to replace my kernel, but GENERIC and custom kernels panic, too.

Please give me some advice :)
==
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x34
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc050f162
stack pointer           = 0x28:0xd12519b8
frame pointer           = 0x28:0xd12519c4
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         = 4254 (perl5.8.8)
trap number             = 12
panic: page fault
KDB: stack backtrace:
kdb_backtrace(100,c24b4600,28,d1251978,c) at kdb_backtrace+0x29
panic(c0620009,c06413f8,0,fffff,c24aea9b) at panic+0xa8
trap_fatal(d1251978,34,c24b4600,c2330ce4,c) at trap_fatal+0x2a6
trap_pfault(d1251978,0,34) at trap_pfault+0x1d3
trap(d1250008,d1250028,c2060028,c708afb8,c708afb8) at trap+0x2fd
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc050f162, esp = 0xd12519b8, ebp = 0xd12519c4 ---
vfs_vmio_release(c708afb8) at vfs_vmio_release+0x12
getnewbuf(0,0,8000,8000,c8000) at getnewbuf+0x2b0
getblk(c29b4770,19,0,8000,0) at getblk+0x35c
nfs_getcacheblk(19,0,8000,c24b4600,80000000) at nfs_getcacheblk+0x81
nfs_bioread(c29b4770,d1251cbc,2f,c2353b00,d1251bcc) at nfs_bioread+0x983
nfs_read(d1251bf4) at nfs_read+0x33
VOP_READ_APV(c2084d20,d1251bf4) at VOP_READ_APV+0x38
vn_read(c224fea0,d1251cbc,c2353b00,0,c24b4600) at vn_read+0x196
dofileread(c24b4600,3,c224fea0,d1251cbc,ffffffff) at dofileread+0x85
kern_readv(c24b4600,3,d1251cbc,9013000,1000) at kern_readv+0x36
read(c24b4600,d1251d04,3,27,202) at read+0x45
syscall(c05f003b,3b,3b,806c200,3) at syscall+0x2b7
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (3, FreeBSD ELF32, read), eip = 0x282637df, esp =
0xbfbfe28c, ebp = 0xbfbfe2c8 ---
Uptime: 14h32m59s
Dumping 255 MB (2 chunks)
  chunk 0: 1MB (160 pages) ... ok
  chunk 1: 255MB (65280 pages) 240 224 208 192 176 160 144 128 112 96
80 64 48 32 16

#0  doadump () at pcpu.h:165
165     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:165
#1  0xc04c8cfd in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:402
#2  0xc04c8fc4 in panic (fmt=0xc0620009 "%s") at
/usr/src/sys/kern/kern_shutdown.c:558
#3  0xc06028b6 in trap_fatal (frame=0xd1251978, eva=52) at
/usr/src/sys/i386/i386/trap.c:836
#4  0xc06025e7 in trap_pfault (frame=0xd1251978, usermode=0, eva=52)
    at /usr/src/sys/i386/i386/trap.c:744
#5  0xc0602201 in trap (frame=
      {tf_fs = -786104312, tf_es = -786104280, tf_ds = -1039794136,
tf_edi = -955732040, tf_esi = -955732040, tf_ebp = -786097724, tf_isp
= -786097756, tf_ebx = -955732040, tf_edx = 4, tf_ecx = -1035254272,
tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068437150, tf_cs =
32, tf_eflags = 590338, tf_esp = -955732040, tf_ss = -955732040}) at
/usr/src/sys/i386/i386/trap.c:434
#6  0xc05f1c5a in calltrap () at /usr/src/sys/i386/i386/exception.s:139
#7  0xc050f162 in vfs_vmio_release (bp=0xc708afb8) at atomic.h:146
#8  0xc050f974 in getnewbuf (slpflag=0, slptimeo=0, size=32768, maxsize=32768)
    at /usr/src/sys/kern/vfs_bio.c:1779
#9  0xc0510eb0 in getblk (vp=0xc29b4770, blkno=25, size=32768,
slpflag=0, slptimeo=0, flags=0)
    at /usr/src/sys/kern/vfs_bio.c:2486
#10 0xc206631d in ?? ()
#11 0xc29b4770 in ?? ()
#12 0x00000019 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00008000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0xc7025860 in ?? ()
#20 0xc29b4830 in ?? ()
#21 0x00000000 in ?? ()
#22 0xc1e28400 in ?? ()
#23 0xd1251a94 in ?? ()
#24 0xc05106dc in incore (bo=0x19, blkno=140737488355328) at
/usr/src/sys/kern/vfs_bio.c:2141
#25 0xc20685ff in ?? ()
#26 0x00000019 in ?? ()
#27 0x00000000 in ?? ()
#28 0x00008000 in ?? ()
#29 0xc24b4600 in ?? ()
#30 0x80000000 in ?? ()
#31 0x1dba5906 in ?? ()
#32 0x00000000 in ?? ()
#33 0x8853088c in ?? ()
#34 0x00000019 in ?? ()
#35 0x00000000 in ?? ()
#36 0x004ba000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00008000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x000c8000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000000 in ?? ()
#46 0x0000005e in ?? ()
#47 0x00008000 in ?? ()
#48 0x00000018 in ?? ()
#49 0x00000000 in ?? ()
#50 0xc24295a0 in ?? ()
#51 0xc24b4600 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00008000 in ?? ()
#54 0xc22e58fc in ?? ()
#55 0xc0674d80 in vop_getattr_vp_offsets ()
#56 0xc29b4770 in ?? ()
#57 0xd1251b2c in ?? ()
#58 0xc2353b00 in ?? ()
#59 0xc24b4600 in ?? ()
#60 0xc24b4600 in ?? ()
#61 0xd1251b30 in ?? ()
#62 0x00003002 in ?? ()
#63 0x00000001 in ?? ()
#64 0x00010180 in ?? ()
#65 0x000035de in ?? ()
#66 0x00000190 in ?? ()
#67 0x0500ff07 in ?? ()
#68 0x00318089 in ?? ()
#69 0x004ba000 in ?? ()
#70 0x00000000 in ?? ()
#71 0x00000200 in ?? ()
#72 0x44874965 in ?? ()
#73 0x00000000 in ?? ()
#74 0x44866d90 in ?? ()
#75 0x00000000 in ?? ()
#76 0x44866d90 in ?? ()
#77 0x00000000 in ?? ()
#78 0x00000000 in ?? ()
#79 0x00000000 in ?? ()
#80 0x00000000 in ?? ()
#81 0x00000000 in ?? ()
#82 0x00c845e0 in ?? ()
#83 0x0040c000 in ?? ()
#84 0x00000000 in ?? ()
#85 0x00000000 in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x00000000 in ?? ()
#89 0xd1251bac in ?? ()
#90 0xc29b47ec in ?? ()
#91 0xc224fea0 in ?? ()
#92 0xc29b4770 in ?? ()
#93 0xd1251cbc in ?? ()
#94 0xd1251bc0 in ?? ()
#95 0xc207015f in ?? ()
#96 0xc29b4770 in ?? ()
#97 0xd1251cbc in ?? ()
#98 0x0000002f in ?? ()
#99 0xc2353b00 in ?? ()
#100 0xd1251bcc in ?? ()
#101 0xc06136c8 in VOP_READ_APV (vop=0x0, a=0x4) at vnode_if.c:643
Previous frame inner to this frame (corrupt stack?)



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