From owner-freebsd-current@FreeBSD.ORG Wed Dec 12 04:35:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5CADEE0; Wed, 12 Dec 2012 04:35:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 450F98FC08; Wed, 12 Dec 2012 04:35:27 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qBC4ZKjs075102; Wed, 12 Dec 2012 06:35:20 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.7.1 kib.kiev.ua qBC4ZKjs075102 Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qBC4ZKEp075101; Wed, 12 Dec 2012 06:35:20 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 12 Dec 2012 06:35:20 +0200 From: Konstantin Belousov To: Rick Macklem Subject: Re: r244036 kernel hangs under load. Message-ID: <20121212043520.GF3013@kib.kiev.ua> References: <20121211223839.GE3013@kib.kiev.ua> <2088105020.1335870.1355277527941.JavaMail.root@erie.cs.uoguelph.ca> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AmQwmWFbeMnnUgEL" Content-Disposition: inline In-Reply-To: <2088105020.1335870.1355277527941.JavaMail.root@erie.cs.uoguelph.ca> User-Agent: Mutt/1.5.21 (2010-09-15) 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: Tim Kientzle , freebsd-current Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 12 Dec 2012 04:35:27 -0000 --AmQwmWFbeMnnUgEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 11, 2012 at 08:58:47PM -0500, Rick Macklem wrote: > Ok, I'll test r243598 and then r243599 and r243835, just to > see if it really is this. >=20 > I'll email when I have done this. If you test only r243598, I am sure that you would experience corruption. The r243599 should cause the deadlocks. >=20 > > > > > > Also, do you use the post-r244095 kernel ? > > > > > > Before and after. The most recent tests were post-r244095. > > > (If anything the more recent kernels hang more easily.) > > > > > > > > > > > > > > Is your machine SMP ? > > > > > > Old, slow single core i386. > >=20 > > Try this. Please note that this is mostly a debugging facility. > >=20 > It seemed to help, but didn't stop the hangs completely. > r244125 without the patch would hang somewhere in a kernel > build. r244125 plus this patch ran almost 2 kernel builds > before it got hung. Can you try to look into the system state on the hang (on the kernel with the if (1 || patch applied) ? Using the ddb and recipe from the web page. Basically watch for a thread looping in the mnt_active iterator and threads owning vnode interlocks. --AmQwmWFbeMnnUgEL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQIcBAEBAgAGBQJQyAmHAAoJEJDCuSvBvK1BF6cP/jpwXtXJpWQ4eIu4tJlK2XMf aMCq8Srj4YdWqEy640Njo1MvV6jKMJLjgwN+qd1P/01ibUyamVgRq1r90eROWw8d mzuMqsGUgx1qrt7mpLv//BHA15qrG7j2rfpzSIBdNXHlTvhjj2zKuCyWl/crz+Rb ypcoCgQuWnAM+SPs9RhsjQd0U5hlsb4lhqvoJGpyR4lxKTYVbBbjgXwPM5dj6SuX aQV58CC9cYNKzvxFwqKALdWckIa5rf0pXKSH8kmVKFAIlfmJhOznSKocxomutVNV 3bZ+290882hmxxozwfIt141g8AbMU99drlfB3LGdvFrZ6JKAdhwyE8TpWNTRqTOx A0xZ4g+AIYjtXPIyO8az8liDlSE85jsI4GD9Ulbc8k9OHAWbxqP+BAlHl0AWBJQt /Vbjp8vuzuSl3BPvKHNHoG7iGaMnvu5TEok+l1FENLr7MKivWn7EaWohwbimETTm h8S8/ReiqEYp6064EHoEfddZ7cJiZCJ0O7cG43B/mqSnD72Hgll7SE3TDJNPiUUV MThWvGbDjrbssACSte2NHPULxJUGsXwvdrkFEHlzXpxHib9mOHlHPVmSg7OiCC1K URZD1f6hoLskqmuR7binP3dmt7+kJGXhRZ6/iddxuRjpppqCShY4VP11GwIufly5 WwCRjE4ZqIX7vvTuBxRe =h7vp -----END PGP SIGNATURE----- --AmQwmWFbeMnnUgEL--