Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 1999 09:41:29 -0500
From:      Adam McDougall <bsdx@looksharp.net>
To:        dillon@freebsd.org, current@freebsd.org
Subject:   reproducable panic?
Message-ID:  <36F3B399.59DB25A7@looksharp.net>

next in thread | raw e-mail | index | archive | help
I seem to be able to reproduce a panic on my 4.0 machine (updated
yesterday, kernel and world, also could crash with a somewhat older
build)

I have pseudo-device vn  and nfs  in my kernel, not as a module.

When I vnconfig -c /dev/vn0c /nfsmountpoint/somefile,  the system panics
reliably.

If there is more useful info I could give, or shell accounts, etc,
please let me know.

IdlePTD 3133440
initial pcb at 2701d8
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xffffff68
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01af522
stack pointer           = 0x10:0xc0252770
frame pointer           = 0x10:0xc0252770
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         = Idle
interrupt mask          = 
trap number             = 12
panic: page fault

syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01d99b0
stack pointer           = 0x10:0xc02524cc
frame pointer           = 0x10:0xc02524d0
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         = Idle
interrupt mask          = bio 
trap number             = 12
panic: page fault

dumping to dev 20401, offset 393216
dump 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43
42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19
18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 
---
#0  boot (howto=260) at ../../kern/kern_shutdown.c:287
287                     dumppcb.pcb_cr3 = rcr3();
(kgdb) bt
#0  boot (howto=260) at ../../kern/kern_shutdown.c:287
#1  0xc01486ed in panic (fmt=0xc024aad7 "page fault")
    at ../../kern/kern_shutdown.c:448
#2  0xc0210016 in trap_fatal (frame=0xc0252490, eva=48)
    at ../../i386/i386/trap.c:943
#3  0xc020fccf in trap_pfault (frame=0xc0252490, usermode=0, eva=48)
    at ../../i386/i386/trap.c:836
#4  0xc020f902 in trap (frame={tf_es = -1071316976, tf_ds = -1071710192, 
      tf_edi = -1062680960, tf_esi = 0, tf_ebp = -1071307568, 
      tf_isp = -1071307592, tf_ebx = -1071245808, tf_edx = -1073217472, 
      tf_ecx = 0, tf_eax = 0, tf_trapno = 12, tf_err = 0, 
      tf_eip = -1071801936, tf_cs = 8, tf_eflags = 66178, 
      tf_esp = -1036656256, tf_ss = -1071307536}) at
../../i386/i386/trap.c:438
#5  0xc01d99b0 in acquire_lock (lk=0xc0261610)
    at ../../ufs/ffs/ffs_softdep.c:267
#6  0xc01dc827 in initiate_write_inodeblock (inodedep=0xc0a8c680, 
    bp=0xc1e8f398) at ../../ufs/ffs/ffs_softdep.c:2827
#7  0xc01dc5cf in softdep_disk_io_initiation (bp=0xc1e8f398)
    at ../../ufs/ffs/ffs_softdep.c:2686
#8  0xc017992a in spec_strategy (ap=0xc0252550)
    at ../../miscfs/specfs/spec_vnops.c:555
#9  0xc01790bd in spec_vnoperate (ap=0xc0252550)
    at ../../miscfs/specfs/spec_vnops.c:129
#10 0xc01e7af5 in ufs_vnoperatespec (ap=0xc0252550)
    at ../../ufs/ufs/ufs_vnops.c:2327
#11 0xc0166a67 in bwrite (bp=0xc1e8f398) at vnode_if.h:891
#12 0xc016b1f6 in vop_stdbwrite (ap=0xc02525b8) at
../../kern/vfs_default.c:297
#13 0xc016b041 in vop_defaultop (ap=0xc02525b8) at
../../kern/vfs_default.c:131
#14 0xc01790bd in spec_vnoperate (ap=0xc02525b8)
    at ../../miscfs/specfs/spec_vnops.c:129
#15 0xc01e7af5 in ufs_vnoperatespec (ap=0xc02525b8)
    at ../../ufs/ufs/ufs_vnops.c:2327
#16 0xc01674c7 in vfs_bio_awrite (bp=0xc1e8f398) at vnode_if.h:1145
#17 0xc01e1b46 in ffs_fsync (ap=0xc0252640) at
../../ufs/ffs/ffs_vnops.c:205
#18 0xc01dffe7 in ffs_sync (mp=0xc0a04a00, waitfor=2, cred=0xc0a1ff00, 
    p=0xc028c8e0) at vnode_if.h:499
#19 0xc016fc2b in sync (p=0xc028c8e0, uap=0x0) at
../../kern/vfs_syscalls.c:542
#20 0xc0148299 in boot (howto=256) at ../../kern/kern_shutdown.c:205
#21 0xc01486ed in panic (fmt=0xc024aad7 "page fault")
    at ../../kern/kern_shutdown.c:448
#22 0xc0210016 in trap_fatal (frame=0xc0252734, eva=4294967144)
    at ../../i386/i386/trap.c:943
#23 0xc020fccf in trap_pfault (frame=0xc0252734, usermode=0,
eva=4294967144)
    at ../../i386/i386/trap.c:836
#24 0xc020f902 in trap (frame={tf_es = -989003760, tf_ds = 528089104, 
      tf_edi = -1073741824, tf_esi = -982050144, tf_ebp = -1071306896, 
      tf_isp = -1071306916, tf_ebx = -1062665024, tf_edx = -152, 
      tf_ecx = -982050144, tf_eax = -2147483648, tf_trapno = 12, tf_err
= 0, 
      tf_eip = -1071975134, tf_cs = 8, tf_eflags = 66182, 
      tf_esp = -1071306860, tf_ss = -1071975907}) at
../../i386/i386/trap.c:438
#25 0xc01af522 in nfs_sigintr (nmp=0xc5771aa0, rep=0xc0a904c0,
p=0xc0133634)
    at ../../nfs/nfs_socket.c:1479
#26 0xc01af21d in nfs_timer (arg=0x0) at ../../nfs/nfs_socket.c:1355
#27 0xc014cb8e in softclock () at ../../kern/kern_timeout.c:132
(kgdb)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36F3B399.59DB25A7>