From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 11:46:59 2011 Return-Path: Delivered-To: current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 243EE1065674; Mon, 20 Jun 2011 11:46:59 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id 8FB1C8FC1E; Mon, 20 Jun 2011 11:46:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.4/8.14.4) with ESMTP id p5KBkuPF083613; Mon, 20 Jun 2011 15:46:56 +0400 (MSD) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p5KBkuIc083612; Mon, 20 Jun 2011 15:46:56 +0400 (MSD) (envelope-from ache) Date: Mon, 20 Jun 2011 15:46:56 +0400 From: Andrey Chernov To: Kostik Belousov Message-ID: <20110620114656.GA83524@vniz.net> Mail-Followup-To: Andrey Chernov , Kostik Belousov , "Justin T. Gibbs" , Eir Nym , current@FreeBSD.ORG, "Kenneth D. Merry" , will@FreeBSD.ORG References: <20110619160148.GA35431@vniz.net> <20110619165328.GA35872@vniz.net> <20110619232307.GA57530@vniz.net> <20110620001912.GA60252@vniz.net> <4DFEAD4F.1040603@FreeBSD.org> <20110620070222.GA74009@vniz.net> <20110620080146.GF48734@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline In-Reply-To: <20110620080146.GF48734@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Eir Nym , "Justin T. Gibbs" , "Kenneth D. Merry" , current@FreeBSD.ORG, will@FreeBSD.ORG Subject: Re: Exactly that commit (was Re: Latest -current 100% hang at the late boot stage) 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: Mon, 20 Jun 2011 11:46:59 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 20, 2011 at 11:01:46AM +0300, Kostik Belousov wrote: > On Mon, Jun 20, 2011 at 11:02:22AM +0400, Andrey Chernov wrote: > > On Sun, Jun 19, 2011 at 08:15:43PM -0600, Justin T. Gibbs wrote: > > > On 6/19/11 6:19 PM, Andrey Chernov wrote: > > > > Exactly that commit is responsible for boot hang. > > > > Please fix. > > > > BTW, I have MBR on SATA disk (CAM emulated), ICH9. > > >=20 > > > Since it works for me, you'll need to provide more information. Can = you > > > at least drop into kdb to determine the likely source of the hang by > > > getting a stack trace of all processes to see where they are sleeping > > > and dumping lock information? > >=20 > > I drop into DDB and put 'bt' console photo in the very first message of= =20 > > this thread - nothing unusual seen in the main stack. Could you please= =20 > > specify exact DDB commands you want to be issued by me? No dump can be= =20 > > provided since nothing is mounted yet including swap, > >=20 > > BTW, I remember I saw previously unseen warnings with post Jun 14 kerne= ls: > > "xpt_action_default: CCB type 0xe not supported" > >=20 > > 'ps' inside DDB shows [xpt_thrd] at "ccb_scan" wmesg state and [g_event] > > at "caplck" wmesg state, [kernel] at "g_waitid" state. > > Even don't know, if it matters. >=20 > Just in case, please try r223277. As the second message in the thread states, I try first even 223296 with=20 the same hang and the same=20 xpt_action_default: CCB type 0xe not supported As I think, DDB's 'ps' indicates that kernel waits something from geom and= =20 geom waits something from ccb_scan forever, just raw guess. I will be glad = to=20 issue more specific DDB commands and upload corresponding photos. BTW, pluging and unplugging USB devides works in that stage. --=20 http://ache.vniz.net/ --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (FreeBSD) iEYEARECAAYFAk3/MzAACgkQVg5YK5ZEdN0EUgCeJcWde6pAFDw2UXq82RRczav7 pRQAniNFKX5eXWPWZ87g2oKuBVDWoejR =Ytr9 -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--