NetBSD Problem Report #10441
Received: (qmail 23297 invoked from network); 25 Jun 2000 18:37:43 -0000
Message-Id: <200006251837.e5PIbAE00380@rumolt.teuto.de>
Date: Sun, 25 Jun 2000 20:37:10 +0200 (MEST)
From: Martin Husemann <martin@rumolt.teuto.de>
Reply-To: martin@rumolt.teuto.de
To: gnats-bugs@gnats.netbsd.org
Subject: softdeps panics (again)
X-Send-Pr-Version: 3.95
>Number: 10441
>Category: kern
>Synopsis: new softdep code under BSD license panics again
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 25 18:38:00 +0000 2000
>Closed-Date: Mon Jul 03 06:29:42 +0000 2000
>Last-Modified: Mon Jul 03 06:29:42 +0000 2000
>Originator: Martin Husemann
>Release: 1.5A cvs updated a few hours ago
>Organization:
>Environment:
System: NetBSD rumolt.teuto.de 1.5A NetBSD 1.5A (RUMOLT) #0: Sun Jun 25 16:52:42 MEST 2000 martin@rumolt.teuto.de:/usr/src/sys-i4b/arch/i386/compile/RUMOLT i386
>Description:
After switching to a new kernel with the ffs_softdep.c not in gnu/sys anymore,
I had a panic when doing a "make cleandir" in /usr/src.
Backtrace from the saved dump is:
(gdb) target kcore netsd.11.core
panic: softdep_disk_write_complete: lock is held
#0 0xc026e980 in vga_accessops ()
(gdb) bt
#0 0xc026e980 in vga_accessops ()
#1 0xee26000 in ?? ()
#2 0xc01f4e2b in cpu_reboot ()
#3 0xc01378f0 in log ()
#4 0xc0128bd6 in lockmgr ()
#5 0xc015b6fc in genfs_lock ()
#6 0xc015a587 in vn_lock ()
#7 0xc0153062 in vget ()
#8 0xc01d8d01 in ffs_sync ()
#9 0xc0158f81 in sys_sync ()
#10 0xc0153ef3 in vfs_shutdown ()
#11 0xc01f4e03 in cpu_reboot ()
#12 0xc01378f0 in log ()
#13 0xc01d3474 in softdep_disk_write_complete ()
#14 0xc014e7ef in biodone ()
#15 0xc0201b6e in wddone ()
#16 0xc0204967 in wdc_ata_bio_done ()
#17 0xc02041f4 in wdc_ata_bio_intr ()
#18 0xc0109919 in wdcintr ()
#19 0xc021044a in pciide_compat_intr ()
#20 0xc01018c4 in Xintr14 ()
#21 0xc01cfac2 in softdep_setup_allocindir_page ()
#22 0xc01ccaac in ffs_balloc ()
#23 0xc01d9f14 in ffs_write ()
#24 0xc015a1f2 in vn_write ()
#25 0xc013b4b3 in dofilewrite ()
#26 0xc013b716 in sys_write ()
#27 0xc01f8e2c in syscall ()
#28 0xc0100d49 in syscall1 ()
can not access 0xbfbfd898, invalid translation (invalid PDE)
can not access 0xbfbfd898, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbfd898.
I'm not sure about the quality of this dump: while savecore wrote it
another panic happend: "lockmgr: locking against myself", and it dumped.
So maybe this is from the second panic, but had the first panic message
preserved?
>How-To-Repeat:
Sorry, don't know.
>Fix:
n/a
>Release-Note:
>Audit-Trail:
From: Martin Husemann <martin@rumolt.teuto.de>
To: gnats-bugs@NetBSD.ORG
Cc:
Subject: Re: kern/10441
Date: Mon, 26 Jun 2000 13:31:34 +0200 (MEST)
I could reproduce the panic, this times with symbol information and a good
dump:
panic: softdep_disk_write_complete: lock is held
#0 0xc026e960 in vga_accessops ()
(gdb) bt
#0 0xc026e960 in vga_accessops ()
#1 0xa6dd000 in ?? ()
#2 0xc01f4e1b in cpu_reboot (howto=260, bootstr=0x0)
at ../../../../arch/i386/i386/machdep.c:1119
#3 0xc01378f0 in log (can not access 0x10012, invalid translation (invalid PTE)
can not access 0x10012, invalid translation (invalid PTE)
can not access 0x10012, invalid translation (invalid PTE)
can not access 0x10012, invalid translation (invalid PTE)
level=-1071191712,
fmt=0x10012 <Address 0x10012 out of bounds>)
at ../../../../kern/subr_prf.c:237
#4 0xc0128bd6 in lockmgr (lkp=0xd23ba660, flags=65554, interlkp=0xd23ba65c)
at ../../../../kern/kern_lock.c:542
#5 0xc015b6fc in genfs_lock (v=0xd240c97c)
at ../../../../miscfs/genfs/genfs_vnops.c:317
#6 0xc015a587 in vn_lock (vp=0xd23ba5c0, flags=65554)
at ../../../../sys/vnode_if.h:755
#7 0xc0153062 in vget (vp=0xd23ba5c0, flags=65554)
at ../../../../kern/vfs_subr.c:1077
#8 0xc01d8cf1 in ffs_sync (mp=0xc0780a00, waitfor=2, cred=0xc083c800,
p=0xd23f4e2c) at ../../../../ufs/ffs/ffs_vfsops.c:947
#9 0xc0158f81 in sys_sync (p=0xd23f4e2c, v=0x0, retval=0x0)
at ../../../../kern/vfs_syscalls.c:574
#10 0xc0153ef3 in vfs_shutdown () at ../../../../kern/vfs_subr.c:2340
#11 0xc01f4df3 in cpu_reboot (howto=256, bootstr=0x0)
at ../../../../arch/i386/i386/machdep.c:1106
#12 0xc01378f0 in log (level=-1071148864,
fmt=0xc4cc4448 "ôÉÎÄ$>wÀT\eÏÄ\034·ÌÄ\214\221ËÄT{ËÄ\024·ÌÄ\224\030vÀ")
at ../../../../kern/subr_prf.c:237
#13 0xc01d3464 in softdep_disk_write_complete (bp=0xc4cc4448)
at ../../../../ufs/ffs/ffs_softdep.c:3046
#14 0xc014e7ef in biodone (bp=0xc4cc4448) at ../../../../kern/vfs_bio.c:954
#15 0xc0201b5e in wddone (v=0xc0761800) at ../../../../dev/ata/wd.c:622
#16 0xc0204957 in wdc_ata_bio_done (chp=0xc075f4b0, xfer=0xc0760000)
at ../../../../dev/ata/ata_wdc.c:657
#17 0xc02041e4 in wdc_ata_bio_intr (chp=0xc075f4b0, xfer=0xc0760000, irq=1)
at ../../../../dev/ata/ata_wdc.c:598
#18 0xc0109919 in wdcintr (arg=0xc075f4b0) at ../../../../dev/ic/wdc.c:692
#19 0xc021043a in pciide_compat_intr (arg=0xc075f4b0)
at ../../../../dev/pci/pciide.c:711
#20 0xc01018c4 in Xintr14 ()
#21 0xc01dc461 in ufs_dirrewrite (dp=0xd23d6ac8, oip=0xd23d6920,
newinum=313496, newtype=8, isrmdir=0)
at ../../../../ufs/ufs/ufs_lookup.c:1023
#22 0xc01dd920 in ufs_rename (v=0xd240ce7c)
at ../../../../ufs/ufs/ufs_vnops.c:1045
can not access 0x806f040, invalid translation (invalid PDE)
can not access 0x806f040, invalid translation (invalid PDE)
can not access 0x806f040, invalid translation (invalid PDE)
can not access 0x806f040, invalid translation (invalid PDE)
#23 0xc0158505 in rename_files (
from=0x806f040 <Address 0x806f040 out of bounds>can not access 0xbfbfd7c2, invalid translation (invalid PDE)
can not access 0xbfbfd7c2, invalid translation (invalid PDE)
can not access 0xbfbfd7c2, invalid translation (invalid PDE)
can not access 0xbfbfd7c2, invalid translation (invalid PDE)
,
to=0xbfbfd7c2 <Address 0xbfbfd7c2 out of bounds>, p=0xd23f4e2c, retain=0)
at ../../../../sys/vnode_if.h:550
#24 0xc015917c in sys_rename (p=0xd23f4e2c, v=0xd240cf88, retval=0xd240cf80)
at ../../../../kern/vfs_syscalls.c:2780
#25 0xc01f8e1c in syscall (frame={tf_es = 31, tf_ds = 31, tf_edi = 0,
tf_esi = -1077946430, tf_ebp = -1077946900, tf_ebx = 134672448,
tf_edx = 134672448, tf_ecx = -1077946644, tf_eax = 128, tf_trapno = 3,
tf_err = 2, tf_eip = 1209194699, tf_cs = 23, tf_eflags = 582,
tf_esp = -1077947020, tf_ss = 31, tf_vm86_es = 0, tf_vm86_ds = 0,
tf_vm86_fs = 0, tf_vm86_gs = 0}) at ../../../../arch/i386/i386/trap.c:767
#26 0xc0100d49 in syscall1 ()
can not access 0xbfbfd5ec, invalid translation (invalid PDE)
can not access 0xbfbfd5ec, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbfd5ec.
State-Changed-From-To: open->closed
State-Changed-By: martin
State-Changed-When: Sun Jul 2 23:27:55 PDT 2000
State-Changed-Why:
Turns out to be a compiler problem (I used to compile kernels with -O6),
with default compilation options it works fine.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.