From owner-freebsd-current@FreeBSD.ORG Sun Apr 5 11:41:56 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 D24ED106568F; Sun, 5 Apr 2009 11:41:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.terabit.net.ua (mail.terabit.net.ua [195.137.202.147]) by mx1.freebsd.org (Postfix) with ESMTP id 72E008FC21; Sun, 5 Apr 2009 11:41:56 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from skuns.zoral.com.ua ([91.193.166.194] helo=mail.zoral.com.ua) by mail.terabit.net.ua with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1LqQjZ-000AL4-R9; Sun, 05 Apr 2009 14:41:53 +0300 Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id n35Bfo0t072964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Apr 2009 14:41:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3) with ESMTP id n35Bfow2074283; Sun, 5 Apr 2009 14:41:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.3/8.14.3/Submit) id n35BfoDw074282; Sun, 5 Apr 2009 14:41:50 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 5 Apr 2009 14:41:50 +0300 From: Kostik Belousov To: "O. Hartmann" Message-ID: <20090405114150.GM31897@deviant.kiev.zoral.com.ua> References: <200904041050.28932.thierry.herbelot@free.fr> <200904041151.18209.thierry.herbelot@free.fr> <10969763@bb.ipt.ru> <49D88435.30900@mail.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NdViJVLzUqXuFe8d" Content-Disposition: inline In-Reply-To: <49D88435.30900@mail.zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua X-Virus-Scanned: mail.terabit.net.ua 1LqQjZ-000AL4-R9 57483dd2776e5d111778e250c04aaf2a X-Terabit: YES Cc: Boris Samorodov , Thierry Herbelot , freebsd-current@freebsd.org, peter@freebsd.org 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: Sun, 05 Apr 2009 11:41:57 -0000 --NdViJVLzUqXuFe8d Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 05, 2009 at 12:13:09PM +0200, O. Hartmann wrote: > Boris Samorodov wrote: > > On Sat, 4 Apr 2009 11:51:17 +0200 Thierry Herbelot wrote: > > =20 > >> Le Saturday 04 April 2009, Thierry Herbelot a ?=BFcrit : > >> =20 > >>> Hello, > >>> > >>> On recent -current machines, I have seen a common pattern, with the m= achine > >>> being frozen (still responsive to pings, though) in the initial phase= s of > >>> the buildworld procedure : > >>> > >>> example freeze : > >>> -------------------------------------------------------------- > >>> > >>> =20 > >>>>>> stage 2.1: cleaning up the object tree > >>>>>> =20 > >>> -------------------------------------------------------------- > >>> cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj MACHINE_ARCH=3Di386 MACHIN= E=3Di386 > >>> CPUTYPE=3D GROFF_BIN_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/bin > >>> GROFF_FONT_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/groff_font > >>> GROFF_TMAC_PATH=3D/usr/obj/usr/src/tmp/legacy/usr/share/tmac > >>> _SHLIBDIRPREFIX=3D/usr/obj/usr/src/tmp VERSION=3D"FreeBSD 8.0-CURREN= T i386 > >>> 800074" INSTALL=3D"sh /usr/src/tools/install.sh" > >>> PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/lega= cy/usr/b > >>> in:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbi= n:/usr/ > >>> obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/us= r/sbin: > >>> /usr/bin NO_CTF=3D1 make -f Makefile.inc1 DESTDIR=3D/usr/obj/usr/src/= tmp > >>> par-cleandir =3D=3D=3D> share/info (cleandir) > >>> =3D=3D=3D> lib (cleandir) > >>> =3D=3D=3D> 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 s= tack > >>> backtrace to aid in pinpointing the cause of this freeze. > >>> > >>> Cheers > >>> > >>> TfH > >>> =20 > > > > =20 > >> With a bit more investigation : > >> =20 > > > > =20 > >> 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 > >> =20 > > > > =20 > >> on still another machine, running Witnesses (all other machines run wi= th a=20 > >> 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 =3D 0 (0xc0ee7e1c) locked=20 > >> @ /usr/src/sys/kerne/vfs_cache.c:974 > >> =20 > > > > This is definitely related to: > > SVN rev 190655 on 2009-04-02 21:16:20Z by peter > > (peter@ CCed) > > > > =20 > >> panic: witness_warn > >> cpuid =3D 0 > >> KDB: enter: panic > >> =20 > > > > > > WBR > > =20 > Is there a fix in sight soon? I do have this error/fault/lockup now on > ALL FreeBSD 8.0-CURRENT/amd64 machines I have. The commit was reverted yesterday. --NdViJVLzUqXuFe8d Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAknYmP0ACgkQC3+MBN1Mb4iZgACfcvqMxXNj0ewXaOysOSLeC2bb KsgAn2I8aLlVahFYuqZsQAG3Mcr16gAN =qJDD -----END PGP SIGNATURE----- --NdViJVLzUqXuFe8d--