Subject: kern/29782: procfs can not unmount when some process has its current directory in curproc
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 03/24/2005 09:00:06
>Number: 29782
>Category: kern
>Synopsis: procfs can not unmount when some process has its current directory in curproc
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 24 09:00:04 +0000 2005
>Originator: Martin Husemann
>Release: NetBSD 2.99.16
>Organization:
>Environment:
System: NetBSD sunny-weather.duskware.de 2.99.16 NetBSD 2.99.16 (SUNNY) #3: Sat Mar 5 10:22:18 CET 2005 martin@sunny-weather.duskware.de:/usr/src/sys/arch/sparc64/compile/SUNNY sparc64
Architecture: sparc64
Machine: sparc64
>Description:
As noted my Hidekazu Kuroki on netbsd-bugs (I can reproduce this):
Boot single user, then do this:
# mount -t procfs procfs /proc
# cd /proc/curproc/
# ls
cmdline fd fpregs maps note regs
ctl file map mem notepg status
# sync
# sync
# sync
# reboot
Mar 24 09:51:36 reboot: rebooted by root
syncing disks... done
unmounting file systems...
The unmount never completes.
>How-To-Repeat:
s.a.
>Fix:
n/a