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 08:19:32 am M Graff wrote:
> Just tried with today's kernel:
>
> # install /local/os-build/i386/dest/usr/share/man/man3/strsuftoll.3
> /local/os-build/i386/obj/tooldir.NetBSD-4.99.64-i386/bin/i386--netbsdelf-install
> ~ -N /u0/netbsd-src/src/etc -c -p -r -o root -g wheel -m 444
> /u0/netbsd-src/src/lib/libc/stdlib/strsuftoll.3
> /local/os-build/i386/dest/usr/share/man/man3/strsuftoll.3
> --- /local/os-build/i386/dest/usr/share/man/man3/strtod.3 ---
> # install /local/os-build/i386/dest/usr/share/man/man3/strtod.3
> /local/os-build/i386/obj/tooldir.NetBSD-4.99.64-i386/bin/i386--netbsdelf-install
> ~ -N /u0/netbsd-src/src/etc -c -p -r -o root -g wheel -m 444
> /u0/netbsd-src/src/lib/libc/stdlib/strtod.3
> /local/os-build/i386/dest/usr/share/man/man3/strtod.3
> --- /local/os-build/i386/dest/usr/share/man/man3/strtok.3 ---
> ^C
>
> speedy# ps axl
> ~ UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND
> ~ 0 0 0 3072 0 0 0 18364 - DKl ? 0:02.00 [system]
> ~ 0 1 0 1024 85 0 748 932 wait Ss ? 0:00.23 init
> ~ 0 100 1 0 85 0 784 924 select Is ? 0:00.01
> /sbin/dhclient
> ~ 0 135 1 0 85 0 756 988 kqueue Ss ? 0:00.01
> /usr/sbin/syslogd -s
> ~ 0 165 1 0 85 0 2784 20052 sigwait Isl ? 0:00.18
> /usr/sbin/named
> ~ 0 273 1 0 85 0 1780 5528 pause Ss ? 0:00.11
> /usr/sbin/ntpd
> ~ 0 279 1 0 85 0 764 1720 select Is ? 0:00.01
> /usr/sbin/sshd
> ~ 0 281 1 0 85 0 1060 1728 select Ss ? 0:00.05
> /usr/pkg/sbin/nmbd -D
> ~ 0 296 1 0 85 0 4132 2772 select Is ? 0:00.03
> /usr/pkg/sbin/smbd -D
> ~ 0 308 296 4096 84 0 4132 1404 pause I ? 0:00.00
> /usr/pkg/sbin/smbd -D
> ~ 12 363 419 0 85 0 752 1168 kqueue I ? 0:00.02
> pickup -l -t unix -u
> 1006 415 1 0 85 0 2784 924 select Is ? 0:00.01
> /usr/pkg/bin/dbus-daemon --system
> ~ 0 419 1 0 85 0 752 1128 kqueue Is ? 0:00.02
> /usr/libexec/postfix/master
> ~ 12 432 419 0 85 0 752 1200 kqueue I ? 0:00.01 qmgr
> -l -t unix -u
> ~ 0 463 1 32768 85 0 748 888 kqueue Is ? 0:00.00
> /usr/sbin/inetd -l
> ~ 0 475 1 0 85 0 752 916 nanoslp Is ? 0:00.01
> /usr/sbin/cron
> ~ 0 522 279 0 85 0 764 3472 netio Is ? 0:00.04 sshd:
> explorer [priv]
> 1004 526 522 0 85 0 764 2960 select S ? 0:09.41 sshd:
> explorer@ttyp0
> ~ 0 239 1 36864 127 0 24 584 tstile D ttyp0 0:00.00 cmp
> -s /u0/netbsd-src/src/lib/libc/string/strtok.3 /local/os-bu
> 1004 510 526 0 85 0 1028 1924 pause Is ttyp0 0:00.04 -tcsh
> ~ 0 553 510 0 85 0 1088 1948 pause S ttyp0 0:00.07 -tcsh
> ~ 0 21815 553 0 43 0 748 784 - R+ ttyp0 0:00.00 ps -axl
> ~ 0 24866 1 36864 110 0 752 992 biowait D ttyp0 0:00.00
> /local/os-build/i386/obj/tooldir.NetBSD-4.99.64-i386/bin/i386--
> ~ 0 25540 1 36864 127 0 752 956 tstile D ttyp0 0:00.00
> /local/os-build/i386/obj/tooldir.NetBSD-4.99.64-i386/bin/i386--
> ~ 0 501 1 0 85 0 748 976 ttyraw Is+ ttyE0 0:00.00
> /usr/libexec/getty Pc console
> ~ 0 492 1 0 85 0 748 976 ttyraw Is+ ttyE1 0:00.00
> /usr/libexec/getty Pc ttyE1
> ~ 0 493 1 0 85 0 748 976 ttyraw Is+ ttyE2 0:00.00
> /usr/libexec/getty Pc ttyE2
> ~ 0 477 1 0 85 0 748 976 ttyraw Is+ ttyE3 0:00.01
> /usr/libexec/getty Pc ttyE3
>
> Note the process stuck in biowait. Could be an interrupt issue, could
> be a threading issue, don't know. "dmesg" is clean. The disk works,
> but attempting to remove files from that directory
>
> --Michael
>
>
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
Sarton
Home |
Main Index |
Thread Index |
Old Index