Subject: Processes hanging
To: None <port-sparc@NetBSD.ORG>
From: Neil J. McRae <neil@domino.org>
List: port-sparc
Date: 09/17/1995 12:31:03
I'm currently trying to rebuild X11R6, which I've done before on my sparc
at home with out any problems. The make just keeps hanging:

I've got about 20 stuck processes, when I attach to them I get nothing from
kdump:

I've killed alot of the hung processes but here is a listing of the proceses
currently running, I have indicated the hung ones:

USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND
neil     28115  1.2  0.4  7704  232 co  RN   Sat11AM  243:25.22 X :0 (Xsun)
root         0  0.0  0.0     0    0 ??  DLs   6Sep95    0:05.03 (swapper)
root         1  0.0  0.3   272  196 ??  Is    6Sep95    0:00.78 /sbin/init 
root         2  0.0  0.0     0    0 ??  DL    6Sep95    0:00.00 (pagedaemon)
daemon      43  0.0  0.2    88  116 ??  Is    6Sep95    0:00.25 portmap 
root        48  0.0  0.2   332  128 ??  Is    6Sep95    0:00.03 mountd 
root        50  0.0  0.1   116   80 ??  Is    6Sep95    0:00.03 nfsd: master (nfsd)
root        52  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        53  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        54  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        55  0.0  0.1   104   40 ??  I     6Sep95    0:00.01 nfsd: server (nfsd)
root        59  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        60  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        61  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        62  0.0  0.0    92    8 ??  I     6Sep95    0:00.00 nfsiod -n 4 
root        66  0.0  0.4   432  224 ??  Is    6Sep95   36:42.15 syslogd 
root        69  0.0  0.1   368   84 ??  Is    6Sep95    0:10.90 timed 
root        84  0.0  0.1    20   52 ??  Is    6Sep95    2:41.55 update 
root        86  0.0  0.2   180  144 ??  Is    6Sep95    0:40.60 cron 
root        91  0.0  0.4  1232  264 ??  Is    6Sep95    1:26.63 named 
root        97  0.0  0.2    88   92 ??  Is    6Sep95    0:00.06 lpd 
root       100  0.0  0.2   340  100 ??  Is    6Sep95    0:32.25 sendmail: accepting connections (sendmail)
root       103  0.0  0.2   108  140 ??  Is    6Sep95    0:05.65 inetd 
root       116  0.0  0.4   284  244 ??  S<s   6Sep95    7:00.06 /usr/sbin/xntpd 
root       122  0.0  0.2    28  108 ??  I     6Sep95    0:00.07 /usr/libexec/getty std.9600 ttya 
neil     28060  0.0  0.3   672  216 co  Is   Sat11AM    0:01.85 -bash (bash)
neil     28109  0.0  0.2   396  116 co  I+   Sat11AM    0:00.08 /bin/sh /usr/X11R6/bin/startx 
neil     28114  0.0  0.3    64  160 co  I+   Sat11AM    0:00.26 xinit /home/neil/.xinitrc -- 
neil     28116  0.0  0.2   380  116 co  I    Sat11AM    0:00.07 sh /home/neil/.xinitrc 
neil     28117  0.0  0.6   924  400 co  I    Sat11AM    0:26.73 xconsole 
neil     28120  0.0  0.5   296  316 co  S    Sat11AM    0:19.26 fvwm 
neil     28123  0.0  0.4   308  264 co  S    Sat11AM    5:01.09 /usr/X11R6/bin/xscreensaver 
neil     28124  0.0  0.4   132  232 co  I    Sat11AM    0:00.84 /usr/X11R6/lib/X11/fvwm/GoodStuff 9 4 /home/neil/.fvwmrc 0 8 
neil     28125  0.0  0.4   168  276 co  I    Sat11AM    0:02.18 /usr/X11R6/lib/X11/fvwm/FvwmIconBox 11 4 /home/neil/.fvwmrc 0 8 
neil     28126  0.0  0.1    20   88 co  S    Sat11AM    0:00.68 /usr/X11R6/lib/X11/fvwm/FvwmAuto 13 4 /home/neil/.fvwmrc 0 8 200 En
neil     28132  0.0  0.2   384  108 co  I    Sat11AM    0:00.04 /bin/sh -c xclock -bg \\#908090 -geometry -1500-1500 -padding 0 
neil     28133  0.0  0.4   152  220 co  I    Sat11AM    0:03.61 xclock 
neil     28134  0.0  0.3   120  212 co  S    Sat11AM    0:01.97 /usr/X11R6/lib/X11/fvwm/FvwmPager 13 4 /home/neil/.fvwmrc 0 8 0 3 
neil     28135  0.0  0.3   172  184 co  SN   Sat11AM    1:06.41 /usr/X11R6/bin/xbuffy 
root     28156  0.0  0.5   348  304 co  I    Sat11AM    0:36.67 xterm -e bash 
neil     28157  0.0  0.3   680  180 p0  Is+  Sat11AM    0:00.39 bash 
root     28182  0.0  0.5   328  304 co  I    Sat11AM    0:32.53 xterm -e bash 
neil     28183  0.0  0.3   680  192 p4  Is   Sat11AM    0:01.15 bash 
neil     17890  0.0  0.3   112  176 p4  D     7:01PM    0:00.13 gcc -c -O2 -ansi -Dasm=__asm -I. -I../include -I../../../../../../X
HUNG
neil     17895  0.0  0.5   416  296 p4  D     7:02PM    0:00.38 as 
HUNG
root     19929  0.0  0.1   180   76 ??  I     2:00AM    0:00.02 CRON (cron)
root     19933  0.0  0.2   384  104 ??  Is    2:00AM    0:00.08 /bin/sh -c /bin/sh /etc/daily 2>&1 | tee /var/log/daily.out | mail 
HUNG
root     19937  0.0  0.2   400  120 ??  I     2:00AM    0:00.16 /bin/sh /etc/daily 
HUNG
root     19938  0.0  0.2    32  100 ??  I     2:00AM    0:00.08 tee /var/log/daily.out 
root     19939  0.0  0.3   156  200 ??  I     2:00AM    0:00.10 mail -s daily output root 
HUNG
root     19960  0.0  0.5   444  316 ??  D     2:00AM    0:16.74 / (find)
HUNG
neil     21685  0.0  0.2   408  116 p4  D     4:24AM    0:00.22 /bin/sh -c case ' ' in *[ik]*) set +e;; esac;  case ' ' in *n*) exe
HUNG
root     22908  0.0  0.3   100  180 ??  I    12:05PM    0:01.14 telnetd -k 
paulc    22909  0.0  0.3   672  208 p5  Is   12:05PM    0:00.45 -bash (bash)
paulc    22916  0.0  0.2   676  148 p5  I+   12:06PM    0:00.07 -bash (bash)
paulc    22917  0.0  0.4   520  228 p5  I+   12:06PM    0:02.43 irc-2.8 Civ irc.demon.co.uk 
root     22924  0.0  0.3   680  168 p4  I+   12:06PM    0:00.30 bash 
root     23886  0.0  0.2   408  116 p4  D    12:09PM    0:00.22 /bin/sh -c case ' ' in *[ik]*) set +e;; esac;  case ' ' in *n*) exe
HUNG
root     23928  0.0  0.5   328  304 co  S    12:13PM    0:02.19 xterm -e bash 
neil     23929  0.0  0.3   680  180 p7  Is   12:13PM    0:00.48 bash 
root     23958  0.0  0.3   684  176 p7  S+   12:15PM    0:00.89 bash 
root     24029  0.0  0.5   328  304 co  S    12:19PM    0:02.06 xterm -e bash 
neil     24030  0.0  0.3   680  180 p2  Is   12:19PM    0:00.25 bash 
neil     24033  0.0  0.2   500  128 p2  I+   12:19PM    0:00.20 elm port-sparc@netbsd.org 
neil     24034  0.0  0.2   384  108 p2  I+   12:19PM    0:00.04 sh -c vi /tmp/snd.24033 
neil     24035  0.5  0.4   504  220 p2  S+   12:19PM    0:01.86 vi /tmp/snd.24033 
neil     24065  0.0  0.2   328  152 p2  R+   12:23PM    0:00.03 ps -auwx 
neil     17889  0.0  0.0     0    0 p4  Z    -          0:00.00 (sh)
neil     24066  0.0  0.0   504    0 p2  R+   -          0:00.00 (vi)

Any ideas? if I attact to the hung processes I get nothing from kdump...
I suspect most of the above are waiting for other proceses to return.
Note that this is not the same hanging I was experiencing before, this time
the disk is still running ok and I can do things, like send this email :-)

I'm going to leave this machine in this state in the hope that someone 
can give me instructions on what to do next to see if we can find out
what is causing this. It is damn annoying I can tell you.

Neil.
--  neil@domino.org                     Domino: In the glow of the night.  --