On 10/19/2007 05:39 PM, Jeff Garzik wrote:On my main devel box, vanilla 2.6.23 on x86-64/Fedora-7, I'm seeing a
certain behavior at least once a day. I'll start a kernel build (make
-sj5 on this box), and it will "hang" in the following way:
Can you try to strace the hanging task?
[sits there, chewing up CPU grepping a 47-line header file]
8482 pts/0 S+ 0:00 \_ /bin/sh /garz/repo/misc-2.6/scripts/hdrcheck.sh /garz/repo/misc-2.6/usr/include /garz/repo/misc-2.6/usr/include/linux/kernelcapi.h /garz/repo/misc-2.6/usr/include/linux/.check.kernelcapi.h
8484 pts/0 R+ 3:10 \_ grep ^[ \t]*#[ \t]*include[ \t]*< /garz/repo/misc-2.6/usr/include/linux/kernelcapi.h
8486 pts/0 S+ 0:00 \_ cut -f2 -d<
8487 pts/0 S+ 0:00 \_ cut -f1 -d>
8488 pts/0 S+ 0:00 \_ egrep ^linux|^asm
[jgarzik@pretzel misc-2.6]$ strace -p8484
Process 8484 attached - interrupt to quit