From owner-freebsd-current@FreeBSD.ORG Sat Apr 4 09:51:34 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3AC491065673 for ; Sat, 4 Apr 2009 09:51:34 +0000 (UTC) (envelope-from thierry.herbelot@free.fr) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by mx1.freebsd.org (Postfix) with ESMTP id 730E28FC12 for ; Sat, 4 Apr 2009 09:51:31 +0000 (UTC) (envelope-from thierry.herbelot@free.fr) Received: from smtp4-g21.free.fr (localhost [127.0.0.1]) by smtp4-g21.free.fr (Postfix) with ESMTP id 7EED74C80D7 for ; Sat, 4 Apr 2009 11:51:27 +0200 (CEST) Received: from mail.herbelot.nom (bne75-4-82-227-159-103.fbx.proxad.net [82.227.159.103]) by smtp4-g21.free.fr (Postfix) with ESMTP id 71FF34C8118 for ; Sat, 4 Apr 2009 11:51:25 +0200 (CEST) Received: from tulipe.herbelot.nom (tulipe.herbelot.nom [192.168.2.5]) by mail.herbelot.nom (8.14.1/8.14.1) with ESMTP id n349pNie010426 for ; Sat, 4 Apr 2009 11:51:24 +0200 (CEST) From: Thierry Herbelot To: freebsd-current@freebsd.org Date: Sat, 4 Apr 2009 11:51:17 +0200 User-Agent: KMail/1.9.10 References: <200904041050.28932.thierry.herbelot@free.fr> In-Reply-To: <200904041050.28932.thierry.herbelot@free.fr> X-Warning: Windows can lose your files X-Op-Sys: Le FriBi de la mort qui tue X-Org: TfH&Co X-MailScanner: Found to be clean MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200904041151.18209.thierry.herbelot@free.fr> Subject: Re: Stuck kernel while cleaning up the object tree X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2009 09:51:34 -0000 Le Saturday 04 April 2009, Thierry Herbelot a écrit : > Hello, > > On recent -current machines, I have seen a common pattern, with the machine > being frozen (still responsive to pings, though) in the initial phases of > the buildworld procedure : > > example freeze : > -------------------------------------------------------------- > > >>> stage 2.1: cleaning up the object tree > > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 > CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin > GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac > _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION="FreeBSD 8.0-CURRENT i386 > 800074" INSTALL="sh /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/b >in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/ >obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin: >/usr/bin NO_CTF=1 make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp > par-cleandir ===> share/info (cleandir) > ===> lib (cleandir) > ===> lib/csu/i386-elf (cleandir) > [type ^T in the console] > load: 0.00 cmd: sh 24587 [*Name Cache] 0.01u 0.00s 0% 1584k > > The other machines also froze while "cleaning up the object tree". > > The machines are configured with serial consoles : I have no kernel stack > backtrace to aid in pinpointing the cause of this freeze. > > Cheers > > TfH With a bit more investigation : on a separate ssh session, top is still live and shows processes stuck as : 24523 root 1 76 0 1888K 764K *Name 1 0:00 0.00% make on still another machine, running Witnesses (all other machines run with a lean GENERIC, with most of the debuging features commented out) : System call __getcwd returning with the following locks held: shared rw Name Cache (Name Cache) r = 0 (0xc0ee7e1c) locked @ /usr/src/sys/kerne/vfs_cache.c:974 panic: witness_warn cpuid = 0 KDB: enter: panic TfH > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"