Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 1998 13:16:53 -0700
From:      John Polstra <jdp@polstra.com>
To:        current@FreeBSD.ORG
Subject:   softupdates panic
Message-ID:  <199808302016.NAA09085@austin.polstra.com>

next in thread | raw e-mail | index | archive | help
This is from a soft-updates -current kernel from August 26.  All
filesystems were mounted with soft updates.  The system that crashed
was doing NFS server activity at the time.  A remote machine was
building a port in a directory mounted (nfsv2) from the server that
crashed.  I have the -g kernel and core dump in case anybody is
interested.

Also, we still seem to have the bug in which fsck turns off the
soft-updates bit when it recovers the FS (root in this case).
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

GDB 4.16 (i386-unknown-freebsd), 
Copyright 1996 Free Software Foundation, Inc...
IdlePTD 2519040
initial pcb at 214e84
panicstr: newdirrem: inum %d should be %d
panic messages:
---
panic: newdirrem: inum 33085 should be 33033
panic: from debugger

dumping to dev 20401, offset 737714
dump 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:286
286                                     dumppcb.pcb_cr3 = rcr3();
(kgdb) where
#0  boot (howto=260) at ../../kern/kern_shutdown.c:286
#1  0xf0119417 in panic (fmt=0xf01013f8 "from debugger")
    at ../../kern/kern_shutdown.c:425
#2  0xf0101415 in db_panic (addr=-266547499, have_addr=0, count=-1, 
    modif=0xf2fb5734 "") at ../../ddb/db_command.c:432
#3  0xf01012f5 in db_command (last_cmdp=0xf0203ae4, cmd_table=0xf0203944, 
    aux_cmd_tablep=0xf02121f0) at ../../ddb/db_command.c:332
#4  0xf0101482 in db_command_loop () at ../../ddb/db_command.c:454
#5  0xf0103b93 in db_trap (type=3, code=0) at ../../ddb/db_trap.c:71
#6  0xf01ccca1 in kdb_trap (type=3, code=0, regs=0xf2fb5820)
    at ../../i386/i386/db_interface.c:157
#7  0xf01d6d90 in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = -258329376, 
      tf_esi = -266686954, tf_ebp = -218408860, tf_isp = -218408888, 
      tf_ebx = 256, tf_edx = -266547555, tf_ecx = 0, tf_eax = 18, 
      tf_trapno = 3, tf_err = 0, tf_eip = -266547499, tf_cs = 8, 
      tf_eflags = 598, tf_esp = -266547571, tf_ss = -267283540})
    at ../../i386/i386/trap.c:507
#8  0xf01cced5 in Debugger (msg=0xf01193ac "panic")
    at ../../i386/i386/db_interface.c:316
#9  0xf011940e in panic (fmt=0xf01aae16 "newdirrem: inum %d should be %d")
    at ../../kern/kern_shutdown.c:423
#10 0xf01aaf69 in newdirrem (bp=0xf1372068, dp=0xf0808a00, ip=0xf0cfc600, 
    isrmdir=0) at ../../ufs/ffs/ffs_softdep.c:2383
#11 0xf01aad94 in softdep_setup_remove (bp=0xf1372068, dp=0xf0808a00, 
    ip=0xf0cfc600, isrmdir=0) at ../../ufs/ffs/ffs_softdep.c:2312
#12 0xf01b3407 in ufs_dirremove (dvp=0xf30e0b60, ip=0xf0cfc600, flags=38156, 
    isrmdir=0) at ../../ufs/ufs/ufs_lookup.c:895
#13 0xf01b63fd in ufs_rename (ap=0xf2fb5af4) at ../../ufs/ufs/ufs_vnops.c:1230
#14 0xf01b75a9 in ufs_vnoperate (ap=0xf2fb5af4)
    at ../../ufs/ufs/ufs_vnops.c:2285
#15 0xf01714c8 in nfsrv_rename (nfsd=0xf07c8100, slp=0xf0776b00, 
    procp=0xf2f79100, mrq=0xf2fb5e34) at vnode_if.h:583
#16 0xf0181fe6 in nfssvc_nfsd (nsd=0xf2fb5e94, 
    argp=0x80717b4 <Address 0x80717b4 out of bounds>, p=0xf2f79100)
    at ../../nfs/nfs_syscalls.c:657
#17 0xf01818b1 in nfssvc (p=0xf2f79100, uap=0xf2fb5f94)
    at ../../nfs/nfs_syscalls.c:342
#18 0xf01d7833 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 4, 
      tf_esi = 0, tf_ebp = -272638524, tf_isp = -218406940, tf_ebx = 0, 
      tf_edx = -272638916, tf_ecx = 0, tf_eax = 155, tf_trapno = 12, 
      tf_err = 2, tf_eip = 134518892, tf_cs = 31, tf_eflags = 642, 
      tf_esp = -272638912, tf_ss = 39}) at ../../i386/i386/trap.c:1031
#19 0xf01cd5fc in Xint0x80_syscall ()
Cannot access memory at address 0xefbfddc4.
(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?199808302016.NAA09085>