Subject: system freeze while building software
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 08/06/2005 12:57:32
Hi,
on a NetBSD/i386 system running a GENERIC 3.99.7 kernel I was building
software in two separate chroot environments, when suddenly both make
commands (or their children) seemed to hang (ps state `D'). After a
while I shut the system down to single user. Some commands later (I
tried to unmount some file systems etc.) the system completely froze,
the only thing I was still able to do was to drop into ddb:
db> ps
PID PPID PGRP UID S FLAGS LWPS COMMAND WAIT
17784 12460 12460 0 2 0x4002 1 umount vnlock
12460 23164 12460 0 2 0x5002 1 sh wait
1321 2792 2792 0 2 0x4002 1 umount vnlock
2792 23164 2792 0 2 0x5002 1 sh wait
23164 1 23164 0 2 0x4002 1 ksh vnlock
10882 1 13480 1003 2 0x2 1 sh vnlock
17219 1 17219 1002 2 0x4002 1 make vnlock
3380 1 11886 0 2 0x4002 1 make vnlock
12208 1 23612 1002 2 0x4002 1 make vnlock
17 0 0 0 2 0x20200 1 aiodoned aiodone
16 0 0 0 2 0x20200 1 ioflush syncer
15 0 0 0 2 0x20200 1 pagedaemon pgdaemo
14 0 0 0 2 0x20200 1 raidio0 raidiow
13 0 0 0 2 0x20200 1 raid0 rfwcond
12 0 0 0 2 0x20200 1 atapibus1 sccomp
11 0 0 0 2 0x20200 1 atapibus0 sccomp
10 0 0 0 2 0x20200 1 pms0 pmsrese
9 0 0 0 2 0x20200 1 atabus1 atath
8 0 0 0 2 0x20200 1 atabuS0 atath
7 0 0 0 2 0x20200 1 usb3 usbevt
6 0 0 0 2 0x20200 1 usb2 usbevt
5 0 0 0 2 0x20200 1 usb1 usbevt
4 0 0 0 2 0x20200 1 usbtask usbtsk
3 0 0 0 2 0x20200 1 usb0 usbevt
2 0 0 0 2 0x20200 1 cryptoret crypto_
1 0 1 0 2 0x4000 1 init wait
0 -1 0 0 2 0x20200 1 swapper schedul
db>
`continue' worked, but there was still no response from the shell...
Hmm, noticing this probably not being very helpful, what should I try
next time this happens?
TIA, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~