reproducible ffs panic

Wesley Morgan morganw at chemikals.org
Thu May 13 17:18:25 PDT 2004


When I try to cvsup my ports tree, I get this panic every time. The tree
is on it's own partition, and cvsup will chew on it for a few minutes with
little disk activity before the panic. Kernel is latest sources.

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x4bc
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc01fa760
stack pointer           = 0x10:0xcdcd4c08
frame pointer           = 0x10:0xcdcd4c68
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         = 409 (cvsup)
interrupt mask          = none
trap number             = 12
panic: page fault

Here is the GDB backtrace:

#0  dumpsys () at ../../kern/kern_shutdown.c:487
#1  0xc016fbf7 in boot (howto=256) at ../../kern/kern_shutdown.c:316
#2  0xc017001c in poweroff_wait (junk=0xc029600c, howto=-1071031537)
    at ../../kern/kern_shutdown.c:595
#3  0xc024a98e in trap_fatal (frame=0xcdcd4bc8, eva=1212)
    at ../../i386/i386/trap.c:974
#4  0xc024a661 in trap_pfault (frame=0xcdcd4bc8, usermode=0, eva=1212)
    at ../../i386/i386/trap.c:867
#5  0xc024a1e3 in trap (frame={tf_fs = 16, tf_es = 16, tf_ds = 16, tf_edi
= 6,
      tf_esi = 1168, tf_ebp = -842183576, tf_isp = -842183692,
      tf_ebx = -1015000608, tf_edx = 3010, tf_ecx = -1015000608, tf_eax =
30,
      tf_trapno = 12, tf_err = 0, tf_eip = -1071667360, tf_cs = 8,
      tf_eflags = 66054, tf_esp = -1011918848, tf_ss = -1014999040})
    at ../../i386/i386/trap.c:466
#6  0xc01fa760 in ffs_dirpref (pip=0xc3af5800) at
../../ufs/ffs/ffs_alloc.c:723
#7  0xc01f9f65 in ffs_valloc (pvp=0xcdd0a740, mode=16877, cred=0xc3814500,
    vpp=0xcdcd4cbc) at ../../ufs/ffs/ffs_alloc.c:590
#8  0xc020d9a7 in ufs_mkdir (ap=0xcdcd4e74) at
../../ufs/ufs/ufs_vnops.c:1275
#9  0xc020ecad in ufs_vnoperate (ap=0xcdcd4e74)
    at ../../ufs/ufs/ufs_vnops.c:2376
#10 0xc01a653a in mkdir (p=0xcdbb7700, uap=0xcdcd4f80) at vnode_if.h:674
#11 0xc024ac19 in syscall2 (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
      tf_edi = -1077937872, tf_esi = -1077937896, tf_ebp = 136313308,
---Type <return> to continue, or q <return> to quit---
      tf_isp = -842182700, tf_ebx = 5, tf_edx = 136839944, tf_ecx = 0,
      tf_eax = 136, tf_trapno = 7, tf_err = 2, tf_eip = 672585956, tf_cs =
31, tf_eflags = 534, tf_esp = 136313232, tf_ss = 47})
    at ../../i386/i386/trap.c:1175

I'm not subscribed so please keep me CC'd.


-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!


More information about the freebsd-stable mailing list