Subject: vnlock problem
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 04/15/2000 16:34:14
Just booted a new i386 kernel from today's source. While building userland,
I had a problem with libg2c, but while trying to fix it, everything to do
with /usr/obj hangs:

USER       PID %CPU %MEM   VSZ  RSS TT  STAT STARTED       TIME COMMAND            UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
root      3820  0.0  1.5  1656 1904 p1  D+    4:07PM    0:00.35 make cleandir        0  3820  3590   0  -2  0  1656 1904 vnlock D+   p1    0:00.35 make cleandir 
root      3827  0.0  0.2   388  232 p1  I+    4:07PM    0:00.00 /bin/sh -ec rm -     0  3827  3820   0  10  0   388  232 wait   I+   p1    0:00.00 /bin/sh -ec rm -f libg2c_pic.a libg2c.so
root      3828  0.0  0.1   224  128 p1  D+    4:07PM    0:00.02 rm -f libg2c_pic     0  3828  3827  25  -5  0   224  128 vinval D+   p1    0:00.02 rm -f libg2c_pic.a libg2c.so.* libg2c.so
root      3856  0.0  0.1   228  144 p2  D+    4:11PM    0:00.00 ls obj               0  3856  2073   0  -2  0   228  144 vnlock D+   p2    0:00.00 ls obj 

which is mounted

/dev/sd1e /usr/obj ffs rw,async,noatime 1 2

I used to run 1.4U(pre rc.d) on said machine with no problems, and the disk
happens to be
ahc0: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs
ahc0: target 2 synchronous at 20.0MHz, offset = 0xf
ahc0: target 2 using tagged queuing
sd1 at scsibus0 target 2 lun 0: <QUANTUM, XP34550S, LXY4> SCSI2 0/direct fixed
sd1: 4341 MB, 5899 cyl, 10 head, 150 sec, 512 bytes/sect x 8890760 sectors

All the other partitions mounted just rw, and nfs seem fine and carry on to
be useable. Unfortunately I didn't define DEBUG in the kernel..

Any ideas?

Cheers,

Patrick