Subject: LFS Hang (seg_iocount), ddb issues
To: None <current-users@netbsd.org>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 06/03/2007 17:02:20
I recently switched my amd64/current box to a new disk and set
it up with an LFS root file system. Since then I've had the system
hang occasionally and become mostly non-responsive. If not in X,
I can switch consoles and get into the debugger, but that's about
it.
I can reliably recreate the problem by trying to rebuild firefox:
###########################################################################
% cd /usr/pkgsrc/www/firefox ; make clean && make && make update
###########################################################################
It finishes cleaning and building, but hangs in pkg_delete when
updating, as seen in the debugger's process listing, included below.
Unfortunately, I can't seem to get a stack trace for anything in
the debugger; it only prints something like "trace: pid 249 lid 1
at 0xffff80004b06a300".)
Any ideas? This isn't a critical box, or I wouldn't be running
current on it, but I'd like to help stabilize things if possible,
and I'd be happy to help debug it.
Gary Duzan
PID PPID PGRP UID S FLAGS LWPS COMMAND WAIT
4379 12519 621 0 2 0x4000 1 pkg_delete seg_ioc
12519 17095 621 0 2 0x4000 1 sh wait
17095 285 621 0 2 0x4000 1 make wait
285 13662 621 0 2 0x4000 1 sh wait
13662 24170 621 0 2 0x4000 1 make wait
24170 621 621 0 2 0x4000 1 sh wait
621 10879 621 0 2 0x4000 1 make wait
10879 431 10879 0 2 0x4000 1 tcsh pause
210 196 210 100 2 0x4000 1 tcsh ttyin
209 194 209 100 2 0x4100 1 systat ttyin
208 193 208 100 2 0x4000 1 tcsh ttyin
207 198 207 100 2 0x4000 1 tcsh ttyin
206 197 206 100 2 0x4000 1 tcsh ttyin
205 195 205 0 2 0x4000 1 tcsh ttyin
202 1 202 100 2 0 1 ssh select
201 555 555 100 2 0x4000 1 FvwmPager select
198 555 555 100 2 0x4000 1 xterm select
197 555 555 100 2 0x4000 1 xterm select
196 555 555 100 2 0x4000 1 xterm select
195 555 555 100 2 0x4000 1 xterm select
194 555 555 100 2 0x4000 1 xterm select
193 555 555 100 2 0x4000 1 xterm select
192 1 555 100 2 0 1 xconsole
629 555 555 100 2 0x4000 1 xload poll
678 555 555 100 2 0x4000 1 xclock poll
617 1 617 100 2 0 1 pland pause
555 956 555 100 2 0x4000 1 fvwm select
831 1 831 0 2 0x4000 1 getty ttyin
1182 1 1182 0 2 0x4000 1 getty ttyin
483 1 483 0 2 0x4000 1 getty ttyin
431 1 431 0 2 0x4100 1 login wait
989 1 989 0 2 0 1 cron nanoslp
426 1 22 0 2 0 1 estd nanoslp
1050 1 1050 0 2 0 1 inetd kqread
369 1 22 1004 2 0x4000 1 logger pipe
370 1 22 1004 2 0x4000 1 nullmailer-send select
1086 1 1086 0 2 0 1 sshd select
956 1080 956 0 2 0 1 xdm wait
957 1080 957 0 2 0x4000 1 XFree86 select
1080 1 1080 0 2 0x1 1 xdm pause
293 1 293 0 2 0 1 ntpd pause
791 1 791 0 2 0 1 lpd poll
251 1 251 0 2 0 1 rpc.lockd select
182 1 182 0 2 0xa0000 1 rpc.statd select
174 173 173 0 2 0 1 nfsd nfsd
176 173 173 0 2 0 1 nfsd nfsd
180 173 173 0 2 0 1 nfsd nfsd
179 173 173 0 2 0 1 nfsd nfsd
173 1 173 0 2 0 1 nfsd poll
168 1 168 0 2 0 1 mountd select
98 0 0 0 2 0x20002 1 nfsio nfsiod
97 0 0 0 2 0x20002 1 nfsio nfsiod
96 0 0 0 2 0x20002 1 nfsio nfsiod
792 0 0 0 2 0x20002 1 nfsio nfsiod
762 1 762 0 2 0 1 rpcbind poll
415 1 415 0 2 0 1 syslogd
249 1 249 0 2 0 1 lfs_cleanerd segment
91 0 0 0 2 0x20002 1 physiod physiod
>21 0 0 0 2 0x20002 1 aiodoned
20 0 0 0 2 0x20002 1 ioflush syncer
19 0 0 0 2 0x20002 1 pagedaemon pgdaemo
18 0 0 0 2 0x20002 1 lfs_writer lfswrit
17 0 0 0 2 0x20002 1 atapibus0 sccomp
16 0 0 0 2 0x20002 1 cryptoret crypto_
15 0 0 0 2 0x20002 1 usb3 usbevt
14 0 0 0 2 0x20002 1 usb2 usbevt
13 0 0 0 2 0x20002 1 usb1 usbevt
12 0 0 0 2 0x20002 1 usbtask-dr usbtsk
11 0 0 0 2 0x20002 1 usbtask-hc usbtsk
10 0 0 0 2 0x20002 1 usb0 usbevt
9 0 0 0 2 0x20002 1 atabus5 atath
8 0 0 0 2 0x20002 1 atabus4 atath
7 0 0 0 2 0x20002 1 atabus3 atath
6 0 0 0 2 0x20002 1 atabus2 atath
5 0 0 0 2 0x20002 1 atabus1 atath
4 0 0 0 2 0x20002 1 atabus0 atath
3 0 0 0 2 0x20002 1 pms0 pmsrese
2 0 0 0 2 0x20002 1 sysmon smtaskq
1 0 1 0 2 0x4001 1 init wait
0 -1 0 0 2 0x20002 3 system *