Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Hangs while building the tree in -current



On Thu, 12 Jun 2008 03:11:12 pm Sarton O'Brien wrote:
> I'm seeing this too under amd64 dom0 with a simple 'build.sh tools' 
> invocation:
> 
> # ps axsl
>  UID   PID  PPID   CPU PRI NI  VSZ   RSS WCHAN    STAT TTY         TIME 
> COMMAND
>    0     0     0  5120  96  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 vndbp    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 nfsiod   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 nfsiod   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 nfsiod   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 nfsiod   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 vndbp    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 vndbp    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 vndbp    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 123  0    0 27408 physiod  DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 125  0    0 27408 vmem_reh DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 125  0    0 27408 aiodoned DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 124  0    0 27408 syncer   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 126  0    0 27408 pgdaemon DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 raidiow  DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 rfwcond  DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 crypto_w DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 sccomp   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 sccomp   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 sccomp   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbevt   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbevt   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbevt   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbevt   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbtsk   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbtsk   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 usbevt   DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 rdst     DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 evtsq    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 atath    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 atath    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 atath    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 smtaskq  DKl  ?       60:58.08 
> [system]
>    0     0     0  5120  96  0    0 27408 pmfevent DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 125  0    0 27408 cachegc  DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 125  0    0 27408 vrele    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 127  0    0 27408 xcall    DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 223  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 220  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 221  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 222  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120   0  0    0 27408 -        DKl  ?       60:58.08 
> [system]
>    0     0     0  5120 125  0    0 27408 schedule DKl  ?       60:58.08 
> [system]
>    0     1     0  1281  85  0   44     4 wait     IWs  ?        0:00.54 init
>    0    75     1     0  85  0   72   168 kqueue   Ss   ?        
> 0:00.46 /usr/sbin/syslogd -s
>    0   174     1 28420  79  0 2056     4 wait     IW   ?        
> 0:00.01 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   175     1     0  85  0 2068   232 netio    Sl   ?        0:32.49 
> xenconsoled
>    0   175     1     0  85  0 2068   232 select   Sl   ?        0:32.49 
> xenconsoled
>    0   176     1     0  85  0 2124     4 select   IW   ?        0:02.09 
> xenstored --pid-file /var/run/xenstore.pid
>    0   179   174 60936  43  0 2056     4 -        IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  85  0 2056     4 socket   IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  78  0 2056     4 socket   IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  85  0 2056     4 netio    IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  43  0 2056     4 parked   IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  78  0 2056     4 socket   IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   179   174 60936  85  0 2056     4 select   IWl  ?        
> 2:31.51 /usr/pkg/bin/python2.4 /usr/pkg/sbin/xend start
>    0   186     1  3072  85  0 2064     4 netio    IWsl ?        
> 0:00.03 /usr/pkg/sbin/xenbackendd
>    0   186     1  3072  43  0 2064     4 parked   IWsl ?        
> 0:00.03 /usr/pkg/sbin/xenbackendd
>    0   409     1  6144  84  0   28     4 kqueue   IWs  ?        
> 0:00.00 /usr/sbin/powerd
>    0   440     1     0  85  0  904  5396 pause    Ss   ?        
> 0:10.63 /usr/sbin/ntpd
>    0   490     1     0  85  0  284     4 select   IWs  ?        
> 0:00.02 /usr/sbin/sshd
>    0   503     1     0  85  0   56     4 nanoslp  IWs  ?        
> 0:00.50 /usr/sbin/cron
>    0   584     1     0  85  0  144     4 kqueue   IWs  ?        
> 0:01.10 /usr/libexec/postfix/master
>   12   685   584     0  85  0  256     4 kqueue   IW   ?        0:00.76 
> qmgr -l -t unix -u
>    0  1118 11625 32454  85  0  168     4 wait     IW   ?        
> 0:00.00 /bin/sh -c (cd build && /usr/bin/env -i gcc_cv_libc_provides_ssp=yes 
> CC=cc  CFLAGS=-O  CPPFLAGS=  CXX=c++  C
>    0  1267  9944 36864  85  0  156     4 wait     IW   ?        0:00.00 
> 
cc -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -
>    0  7651 16756 32328  78  0  168     4 wait     IW   ?        
> 0:00.01 /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbmake _THISDIR_ 
> dependall
>    0  8719  1267  2094  42  0 6012 47352 -        R    ?        
> 
0:24.24 /usr/libexec/cc1 -quiet -I. -I. 
-I/usr/src/tools/gcc/../../gnu/dist/gcc4/gcc -I/usr/src/tools/gcc/../../gnu/
>    0  8903   490     0  85  0  292     4 netio    IWs  ?        0:00.05 
sshd: 
> roguetr [priv]
>    0  9944 13188 36864  85  0  204     4 wait     IW   ?        
> 0:00.43 /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbgmake DESTDIR= 
> RPATH_ENVVAR=LD_LIBRARY_PATH TARGET_SUBDIR=x
>    0 10600  7651 32328  78  0  164     4 wait     IW   ?        
> 0:00.00 /bin/sh -c 
> cd /usr/src/tools/gcc; /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbmake 
> realall
>    0 11625 10600 32454  85  0  172     4 wait     IW   ?        
> 0:00.06 /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbmake realall
>    0 12173  1118 36864  76  0  180     4 wait     IW   ?        
> 0:00.08 /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbgmake -e MACHINE= 
> MAKEINFO=/usr/src/obj/tooldir.NetBSD-4.99
>    0 13188 12173 36864  76  0  168     4 wait     IW   ?        
> 0:00.00 /bin/sh -c test -f stage_last && exit 0;  r=`${PWDCMD-pwd}`; export 
> r;  s=`cd /usr/src/tools/gcc/../../gnu/d
>   12 13827   584     0  85  0  204     4 kqueue   IW   ?        0:00.02 
> pickup -l -t fifo -u
>    0 16756 19852 30280  85  0  160     4 wait     IW   ?        
> 0:00.00 /bin/sh -c _makedirtarget() {  dir="$1"; shift;  target="$1"; shift;  
> case "${dir}" in  /*)\tthis="${dir}/";
> 1000 17185  8903     0  85  0  292   788 select   S    ?        0:00.04 
sshd: 
> roguetr@pts/1 (sshd)
>    0 19852  2855 30280  85  0  168     4 wait     IW   ?        
> 0:00.06 /usr/src/obj/tooldir.NetBSD-4.99.64-x86_64/bin/nbmake dependall
> 1000 21027 17185     0  85  0  232     4 pause    IWs  ttyp1    0:00.02 -ksh
>    0 22661 21027     0  86 -2   44     4 wait     IW<  ttyp1    0:00.02 su -
>    0 23447 26310     0  43  0   64   988 -        R+   ttyp1    0:00.01 
> ps -axsl
>    0 26310 22661     0  85  0  232   744 pause    S    ttyp1    0:00.03 -ksh
>    0  2855     1 35707  85  0  164     4 wait     IW   ttyp4 -  0:00.04 
> sh ./build.sh tools
>    0   731     1     0  85  0   52     4 ttyraw   IWs+ xencons  
> 0:00.01 /usr/libexec/getty Pc console
> 
> gogeta# uname -a
> NetBSD gogeta.internal 4.99.64 NetBSD 4.99.64 (XEN3_DOM0) #1: Mon Jun  9 
> 00:17:59 EST 2008  
> root%spike.internal@localhost:/usr/obj/sys/arch/amd64/compile/XEN3_DOM0 amd64


I just realised the 'biowait' status was missing from 'ps axsl', yet was there 
with 'ps axl'.

Also the difference in the stat column between the different ps invocations 
confuses me. As I've mentioned on this list before, 'ps axs' shows 'DW' for 
every process under the stat column, which I think is wrong.

I'm unsure as to why cc1 was in state 'biowait' with 'ps axl' and in 
state 'netio' with 'ps axls'.

Either way, it still doesn't progress. Are either of you on nfs mounted src?

Sarton


Home | Main Index | Thread Index | Old Index