From owner-freebsd-stable@FreeBSD.ORG Mon Jul 22 10:07:31 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 14ECF1AE for ; Mon, 22 Jul 2013 10:07:31 +0000 (UTC) (envelope-from kostikbel@gmail.com) 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 7F8532043 for ; Mon, 22 Jul 2013 10:07:30 +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 r6MA7KGu050719; Mon, 22 Jul 2013 13:07:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.8.3 kib.kiev.ua r6MA7KGu050719 Received: (from kostik@localhost) by tom.home (8.14.7/8.14.7/Submit) id r6MA7KUU050718; Mon, 22 Jul 2013 13:07:20 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 22 Jul 2013 13:07:20 +0300 From: Konstantin Belousov To: Dominic Fandrey Subject: Re: stopping amd causes a freeze Message-ID: <20130722100720.GI5991@kib.kiev.ua> References: <51ED0060.2050502@bsdforen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EYAXRszTzQPG7bQS" Content-Disposition: inline In-Reply-To: <51ED0060.2050502@bsdforen.de> 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: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jul 2013 10:07:31 -0000 --EYAXRszTzQPG7bQS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 22, 2013 at 11:50:24AM +0200, Dominic Fandrey wrote: > Occasionally stopping amd freezes my system. It's a rare occurrence, > and I haven't found a reliable way to reproduce it. >=20 > It's also a real freeze, so there's no way to get into the debugger > or grab a core dump. I only can perform the 4 seconds hard shutdown to > revive the system. >=20 > I run amd through sysutils/automounter, which is a scripting solution > that generates an amd.map file based on encountered devices and devd > events. The SIGHUP it sends to amd to tell it the map file was updated > does not cause problems, only a SIGKILL may cause the freeze. >=20 > Nothing was mounted (by amd) during the last freeze. >=20 > I don't see any angle to tackle this, but I'm throwing it out here > any way, in the hopes that someone actually has an idea how to approach > the issue. Are you sure that the machine did not paniced ? Do you have serial console= ? The amd(8) locks itself into memory, most likely due to the fear of deadlock. There are some known issues with user wirings in stable/9. If the problem you see is indeed due to wiring, you might try to apply r253187-r253191. --EYAXRszTzQPG7bQS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQIcBAEBAgAGBQJR7QRXAAoJEJDCuSvBvK1BQGMP/Re0zPwC0wsnZSu09NzjaX4W BgoABPormA5xG3gNCfHpmfZ0VqGCwRF0yi5ZQaVjZtiDYv2Xh1bs4DC+rIezAOjY pCy0eb44/ewYaSjNLctran9IGYsFY5lCdONmEHbJ1D6VAWjrjABUuZVHCfn0+cl9 rZ5q3bIcr2C4sUEOC3x8krDjMOdgFbMtEcyqnQ4Lc5qig79EANFNWQss+xWUlswE +fww+VJDbV8UzXS1bTTTCUE556Qp7BAG4vhcAbdhw/RtWfQHdh+XzQgFYvBIBgf7 fEu9BDrx84bQYKvnb+dOVrrNGEvnKHL4lGwpK3Y1xKslkl93eUVJAoOgHCBSFVYj 73let6+uxfsRTKDfaYHPwEJx4+RiWh1WYM7jAqY6OzVZvLV28rHHp0wD3BdNfNW1 3ELwT8mHbQr9BnMeh/KENJVaZQzlGCY+r/PKUSFbdUNxJ+1LPiuRBvSR9qZAjubb NSRKFnnRvhRCC5S87JbUlQP/pjKBog+OdZVl5lI5/L97PKkwCPZHa8IWcsl9g66S F9SE58S4GrbMYDshjhfILHeMJNJ8RtX5Hy8t0GGDtqsKxbfuW55Y266vi4SckSVr jRr3cohy7hC8RCQivKD7IBMq+Meev8SRsvwX234LM+csCm5Bv1GPNS0yAkPof5Jr bpe2WGacwtgoivpgMrSs =tgeZ -----END PGP SIGNATURE----- --EYAXRszTzQPG7bQS--