NetBSD Problem Report #9167

Received: (qmail 24233 invoked from network); 11 Jan 2000 18:13:26 -0000
Message-Id: <200001111813.MAA05401@yerfable.metonymy.com>
Date: Tue, 11 Jan 2000 12:13:23 -0600 (CST)
From: Dave Huang <khym@bga.com>
Reply-To: khym@bga.com
To: gnats-bugs@gnats.netbsd.org
Subject: panic: insmntque into dying filesystem
X-Send-Pr-Version: 3.95

>Number:         9167
>Category:       kern
>Synopsis:       panic: insmntque into dying filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 11 10:15:01 +0000 2000
>Closed-Date:    Fri Jan 06 09:03:56 +0000 2006
>Last-Modified:  Fri Jan 06 09:03:56 +0000 2006
>Originator:     Dave Huang
>Release:        NetBSD-current as of Jan 5, 2000
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:

System: NetBSD yerfable.metonymy.com 1.4P NetBSD 1.4P (YERFABLE) #61: Sat Jan 8 12:04:30 CST 2000 khym@yerfable.metonymy.com:/usr/src.local/sys/arch/alpha/compile/YERFABLE alpha


>Description:
	I was upgrading the kernel on my alpha the other day (mv
/netbsd /onetbsd; cp netbsd /), and when I rebooted, the kernel
panicked while shutting down: panic: insmntque into dying filesystem

Stack trace shows:
panic+0xe8
insmntque+0x4
getnewvnode+0x334
union_allocvp+0x454
union_root+0xf4
union_unmount+0x38
dounmount+0x15c
vfs_unmountall+0x7c
vfs_shutdown+0x240
cpu_reboot+0x68
sys_reboot+0x7c
syscall+0x140

The relevant filesystems seem to be:
/dev/sd0d on /usr type ffs (NFS exported, local, soft dependencies)
<below>:/usr/src on /usr/src.local type union

>How-To-Repeat:
	Unknown; it doesn't seem to happen every time.
>Fix:

>Release-Note:
>Audit-Trail:

From: Leo Weppelman <leo@wau.mis.ah.nl>
To: gnats-bugs@netbsd.org
Cc:  Subject: kern/9167
Date: Tue, 29 Feb 2000 09:06:36 +0100

 This problem is union_fs related and I seem to be able to reproduce it on
 the NetBSD/Atari 1.4R snapshot (source date: Feb. 5 2000). This is the
 stack trace:

 Feb 28 22:02:22 lwp_hades /netbsd: syncing disks... done
 Feb 28 22:02:22 lwp_hades /netbsd: unmounting /mnt/sys (<below>:/usr/src/sys.org
 )...
 Feb 28 22:02:22 lwp_hades /netbsd: panic: insmntque into dying filesystem
 Feb 28 22:02:22 lwp_hades /netbsd: Stopped in reboot at _cpu_Debugger+0x6:
 unlk    a6
 Feb 28 22:02:22 lwp_hades /netbsd: db> _cpu_Debugger(2004,b,2f0c00,2f0c00,2b95d0
 0) + 6
 Feb 28 22:02:22 lwp_hades /netbsd: _panic(49db6,2ac0684,2b95d48,2b95d50,49d88) +
  52
 Feb 28 22:02:22 lwp_hades /netbsd: _insmntque(2ac0684,2f0c00,2ac0684,2ac0720,14)
  + 32
 Feb 28 22:02:22 lwp_hades /netbsd: _getnewvnode(f,2f0c00,25ce00,2b95e0c) + 216
 Feb 28 22:02:22 lwp_hades /netbsd: _union_allocvp(2b95e0c,2f0c00,0,0,0,2a99a58,2
 a99b24,1) + 2c
 Feb 28 22:02:22 lwp_hades /netbsd: _union_root(2f0c00,2b95e0c) + 86
 Feb 28 22:02:22 lwp_hades /netbsd: _union_unmount(2f0c00,80000,2b36504) + 16
 Feb 28 22:02:22 lwp_hades /netbsd: _dounmount(2f0c00,80000,2b36504) + d4
 Feb 28 22:02:22 lwp_hades /netbsd: _vfs_unmountall(0,d0,0,8,537a) + 64
 Feb 28 22:02:22 lwp_hades /netbsd: _vfs_shutdown(2b95eac,e7846,2b95f44,302de,0)
 + 180
 Feb 28 22:02:22 lwp_hades /netbsd: _bootsync(2b95f44,302de,0,0,dfff9b4) + 12
 Feb 28 22:02:22 lwp_hades /netbsd: _cpu_reboot(0,0,dfff9b4,2b36504,1) + 2e
 Feb 28 22:02:22 lwp_hades /netbsd: _sys_reboot(2b36504,2b95f88,2b95f80) + 52
 Feb 28 22:02:22 lwp_hades /netbsd: _syscall(d0) + 11a
 Feb 28 22:02:22 lwp_hades /netbsd: _trap0() + e

From: "Aaron J. Grier" <agrier@poofygoof.com>
To: gnats-bugs@netbsd.org
Cc:  
Subject: kern/9167 panic: insmntque into dying filesystem
Date: Tue, 28 Nov 2000 21:22:59 -0800

 another data point for this panic on my alpha (3000/400):

 NetBSD 1.5_ALPHA (aragorn) #0: Wed Jun 28 23:51:42 PDT 2000
     agrier@aragorn:/amd/goldberry/suckym/NetBSD/src/sys/arch/alpha/compile/aragorn

 db> trace
 cpu_Debugger() at cpu_Debugger+0x4
 panic() at panic+0xfc
 insmntque() at insmntque+0x44
 getnewvnode() at getnewvnode+0x34c
 nfs_nget() at nfs_nget+0x124
 nfs_lookup() at nfs_lookup+0x1124
 lookup() at lookup+0x40c
 namei() at namei+0x424
 vn_open() at vn_open+0x228
 sys_open() at sys_open+0xf0
 syscall() at syscall+0x1dc
 XentSys() at XentSys+0x50
 --- syscall (5, netbsd.sys_open) ---
 --- user mode ---
 db>

 savecore: reboot after panic: insmntque into dying filesystem

 -- 
   Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
     "[N]ow would be a great time for record companies to start releasing
        everything on vinyl."  --  David Wolf, regarding mp3 pirating
State-Changed-From-To: open->closed
State-Changed-By: martin@netbsd.org
State-Changed-When: Fri, 06 Jan 2006 09:03:56 +0000
State-Changed-Why:
Closed on submitters request (rev 1.32 of sys/fs/union/union_vfsops.c
fixed it)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.