automount(?) hang with NetBSD 11.0_RC6

Lloyd Parkes <[email protected]> Tue, 21 Jul 2026 09:55:33 +1200
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
Hi all,
I put 11.0_RC5 and then RC6 on a Xeon I had lying around to test things.

It started out as a clean install of RC5 with enough extras installed to 
allow Ansible to configure it as a pkgsrc build system for me. This 
means that I access my pkgsrc distfiles via an automount and I have bob 
creating sandboxes with all the usual loopback mounts.

The first symptom I see is the following in bob

   [ 0:  12h 11m 11s ] rust-1.96.1 (install)
   [ 1:  15h 34m 46s ] gcc13-13.3.0nb1 (install)
   [ 2:  18h 24m 28s ] nodejs-24.18.0 (install)
   [ 3:         idle ]
   [ 4:  12h 11m 11s ] lld-21.1.8 (install)
   [ 5:         idle ]
   [ 6:  12h 11m 54s ] clang-21.1.8 (install)
   [ 7:  12h 57m 23s ] wesnoth-1.18.7nb2 (install)
     Building [========>] 1452/1521 19h 44m 23s (press 'v' to toggle 
panel view)

Everything is stuck in the install phase and it is in fact make(1) stuck 
in disk wait (state "D"). The overnight daily script has also hung. 
"mount" and "df -h" both hang and I cannot ssh into the system.

"find $HOME -print" runs to completion.

"find /vol -print" hangs.

At the end of this email is list of all the processes so you can see 
what it the "D" state.

When this happened with RC5 I reset the system and couldn't reproduce 
the problem. After upgrading to RC6 and rebooting the problem happened 
again.

Does anyone have any debugging suggestions? I have access to the console 
and I should be able to access DDB. I nolonger have any working ssh 
sessions on the system though.

Ngā mihi,
Lloyd

--------------------8<----------------
$ ps axww
   PID TTY   STAT     TIME COMMAND
     0 ?     DKl  11:35.15 [system]
     1 ?     Is    0:00.65 init
   287 ?     I     0:00.05 dhcpcd: [manager] [ip4] [ip6]
   550 ?     I     0:00.01 cron: running job
   911 ?     I     0:00.00 dhcpcd: [control proxy]
   914 ?     I     0:00.01 dhcpcd: [network proxy]
   916 ?     I     0:00.03 dhcpcd: [privileged proxy]
  1279 ?     Is    0:00.00 /usr/X11R7/bin/xdm
  2108 ?     I     0:00.00 sshd-session: lloyd@pts/5 (sshd-session)
  2471 ?     Ds    0:00.10 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/devel/lld stage-install BATCH=1 
DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313
  2640 ?     Is    0:00.49 /usr/sbin/mdnsd
  2801 ?     Is    0:00.09 /usr/sbin/syslogd -s
  3065 ?     Is    0:00.00 /usr/sbin/powerd
  3134 ?     Isl   0:00.72 /usr/X11R7/bin/X :0 -noretro vt05 -auth 
/var/db/xdm/authdir/authfiles/A:0-LHP8jm
  3400 ?     Ss    0:03.05 /usr/sbin/ntpd -p /var/run/ntpd.pid
  3412 ?     Is    0:00.01 sshd: /usr/sbin/sshd [listener] 0 of 10-100 
startups (sshd)
  3711 ?     Is    0:00.00 /usr/sbin/inetd -l
  3922 ?     Is    0:00.00 /usr/sbin/automountd
  4086 ?     Ss    1:51.89 tmux: server (/tmp/tmux-1000/default) (tmux)
  4091 ?     Is    0:00.16 /usr/libexec/postfix/master -w
  4092 ?     I     0:00.04 qmgr -l -t unix -u
  4331 ?     Is    0:00.11 /usr/sbin/autounmountd
  4335 ?     S     0:26.60 sshd-session: lloyd@pts/1 (sshd-session)
  4343 ?     Is    0:00.10 /usr/sbin/cron
  4497 ?     Is    0:00.03 xdm: :0
  4553 ?     Is    0:00.02 sshd-session: lloyd [priv]
  4575 ?     I     0:00.00 xconsole
  4578 ?     Is    0:00.02 sshd-session: lloyd [priv]
  5765 ?     I     0:00.01 postdrop -r
  7098 ?     S     0:01.02 sshd-session: lloyd@pts/4 (sshd-session)
  9053 ?     Ds    0:00.17 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/lang/gcc13 stage-install 
BATCH=1 DEPENDS_TARGET=/nonexistent
10623 ?     I     0:00.01 pickup -l -t unix -u
14287 ?     Ds    0:00.16 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/lang/nodejs24 stage-install 
BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313
15814 ?     Ds    0:00.13 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/lang/rust stage-install BATCH=1 
DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313
17761 ?     I     0:00.00 /bin/sh /etc/daily
18585 ?     I     0:00.00 sshd-session: lloyd@pts/6 (sshd-session)
18897 ?     Is    0:00.03 sshd-session: lloyd [priv]
19036 ?     D     0:19.62 find / ( ! -fstype local -o -fstype rdonly -o 
-fstype fdesc -o -fstype null -o -fstype kernfs -o -fstype procfs -o 
-fstype ptyfs ) -prune -o -name lost+found -prune -o ( -name *.core -o 
-name core ) -type f -print
19184 ?     Ds    0:00.14 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/lang/clang stage-install 
BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313
20327 ?     Is    0:00.02 sshd-session: lloyd [priv]
21057 ?     I     0:00.01 sendmail -t
21982 ?     I     0:00.00 tee /var/log/daily.out
25539 ?     Ds    0:00.20 /usr/bin/make -C 
/home/lloyd/NetBSD/cvs/2026-07-02/pkgsrc/games/wesnoth stage-install 
BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=313 
LUA_VERSION_REQD=54
27928 ?     Is    0:00.00 /bin/sh -c /bin/sh /etc/daily 2>&1 | tee 
/var/log/daily.out | sendmail -t
  4240 pts/1 Is    0:00.01 -zsh
  4594 pts/1 I+    0:00.01 tmux: client (/tmp/tmux-1000/default) (tmux)
  3675 pts/2 Is    0:00.01 -zsh
  4581 pts/2 S+    1:08.36 sudo bob -c config.lua build
   768 pts/3 Il+   7:49.74 bob -c config.lua build
  4349 pts/3 Is    0:00.00 sudo bob -c config.lua build
  1164 pts/4 Ss    0:00.01 -zsh
  7599 pts/4 O+    0:00.00 ps -axww
10484 pts/5 Is+   0:00.01 -zsh
16325 pts/6 Is+   0:00.01 -zsh
  3817 ttyE0 Is+   0:00.00 /usr/libexec/getty Pc constty
  3562 ttyE1 Is+   0:00.00 /usr/libexec/getty Pc ttyE1
  3901 ttyE2 Is+   0:00.00 /usr/libexec/getty Pc ttyE2
  4185 ttyE3 Is+   0:00.00 /usr/libexec/getty Pc ttyE3