From owner-freebsd-stable@FreeBSD.ORG Fri Dec 6 20:13:37 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A05BC524 for ; Fri, 6 Dec 2013 20:13:37 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EADE31CE1 for ; Fri, 6 Dec 2013 20:13:36 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.7/8.14.7) with ESMTP id rB6KDTub016260; Fri, 6 Dec 2013 22:13:29 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua rB6KDTub016260 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id rB6KDTwW016259; Fri, 6 Dec 2013 22:13:29 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 6 Dec 2013 22:13:29 +0200 From: Konstantin Belousov To: ?zkan KIRIK Subject: Re: stable/10 r258317 - UFS lock problem Message-ID: <20131206201329.GK59496@kib.kiev.ua> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XZ2dPNQBju4m2KVN" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Dec 2013 20:13:37 -0000 --XZ2dPNQBju4m2KVN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 06, 2013 at 08:10:55PM +0200, ?zkan KIRIK wrote: > Hi, >=20 > I am using FreeBSD 10.0-BETA3 r258317 GENERIC kernel. >=20 > I run "portsnap fetch extract". > While extracting files, extracting operation hangs, and i cant kill proce= ss. >=20 > Output of : "ps ax | grep D+" ( uninterruptable process list ) > % ps ax | grep D+ > 28933 0 D+ 0:00.01 tar -xz --numeric-owner -f > /var/db/portsnap/files/77d41f10d2832f8450e4e02a4db5c0a6131c97d15076ed0c76= e761c9ce58338d.gz > -C /usr/ports/emulators/qemu/ (bsdtar) > 29051 1 S+ 0:00.00 grep D+ > % >=20 >=20 > Because of D flag, process cannot be interrupted even by SIGKILL. > I cannot remove usr/ports folder while this process on D+ state. > If I run rm -r /usr/ports, rm process is flagged as D+ also. >=20 > I tested this situation on both vmware workstation and different real > hardware installations. ( Sun Fire X4150, HP DL380G4, Sun X3 servers. ) >=20 > Problem is repeatable. If you install FreeBSD on ZFS root, problem doesn't > occur. >=20 >=20 > # mount > /dev/da0p2 on / (ufs, local, journaled soft-updates) > devfs on /dev (devfs, local, multilabel) See http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel= debug-deadlocks.html --XZ2dPNQBju4m2KVN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJSoi/oAAoJEJDCuSvBvK1BFewP/ikDmIxkS3E144LSzZAG2yjz ziKjxEbAjZ8OdInm1w6EgGl6PfPYoCuVNv+qy7Nh/vonL5Wy9trcp4oEFrP2rpMi /qyb0hs8i3Sq3v15ENndKNP1xAuasANJDQLHzfKTSlxdvyFWKp//bJKa/KKDCsI4 dMyWhMrJHv5Opz0L7jom/eZzzB2gdalH1lsuleKjw+0Z1qYd2n+H002ziZ3rCrYs vm5r3o13ltkjMyN8Zwk59/2mUDOIhJoalHFzlDdPhNQgdCC7/V3xxP4LXD6GrkeW F/7onxtROmp464ijCMuUPzmg6TJj9Ts39HDvoZlewOGpBPeoFjQ0lcWdPCqSxak3 ci86npA3ue29vF/fLgun39XrOuC1rsZ7kT+B2WcdlLHEcolpfDm09n+bQ9jfqcBa BE6+D8zaz+Nna8roLNIJOHlVvt+VOaEe7aJYxLIq6voZZtCwwzC46UXVlG+HoPek A5CXZIyUkGON2ZG+bnPc2I2pw+YHCV0tvMzOWzOKFqix8MGbCnYf1jwaISg2l0/0 V7EbPZhDOaxFs3NAhf/khoeaxYJy++BOs4i67cE8SnBLdezjOIwVtAcHOOo0Vngo 2ivmkQbWuFD5s4Vujm7NzeRPBs8Tn8ModlxUq5HkJ7p5Xxa8WO+SEDrgs1+IqE+0 aSzw0wb8pcBT2NHWrKhg =Xf2H -----END PGP SIGNATURE----- --XZ2dPNQBju4m2KVN--