From owner-freebsd-current@FreeBSD.ORG Mon Oct 4 16:14:17 2010 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 70DC2106566C for ; Mon, 4 Oct 2010 16:14:17 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 243928FC08 for ; Mon, 4 Oct 2010 16:14:16 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id o94GEGp0010176; Mon, 4 Oct 2010 09:14:16 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id o94GEFTD010175; Mon, 4 Oct 2010 09:14:15 -0700 (PDT) (envelope-from david) Date: Mon, 4 Oct 2010 09:14:15 -0700 From: David Wolfskill To: Andriy Gapon Message-ID: <20101004161415.GF1410@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Andriy Gapon , current@freebsd.org References: <20101001233001.GG1535@albert.catwhisker.org> <20101002013344.GI1535@albert.catwhisker.org> <20101002033859.GK1535@albert.catwhisker.org> <20101003112859.GW1535@albert.catwhisker.org> <4CA86E73.9080707@icyb.net.ua> <20101003131409.GX1535@albert.catwhisker.org> <4CA906EB.5090305@freebsd.org> <20101004004910.GD1410@albert.catwhisker.org> <4CA985D2.3000805@icyb.net.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7mxbaLlpDEyR1+x6" Content-Disposition: inline In-Reply-To: <4CA985D2.3000805@icyb.net.ua> User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org Subject: Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier) 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, 04 Oct 2010 16:14:17 -0000 --7mxbaLlpDEyR1+x6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 04, 2010 at 10:44:18AM +0300, Andriy Gapon wrote: > ... > Interesting! :-} > So, init thread is blocked in vfs_mountroot()->g_waitidle() waiting for g= eom to > complete probing cd device, but the latter is blocked in cam_periph_getcc= b() > waiting for a ccb. > Can you try to reproduce this again and examine other thread for anything > interesting in geom/cam department? Thread named as "xpt_thrd" might be = of > particular interest. Yes; I can do that. Bearing in mind that each of us has a finite number of keystrokes in his (or her) life, typing all that stuff by hand, though, tends to eat into that upper limit a bit faster than most other forms of recreation do. :-} Is there a way I can use USB or firewire in a way similar to a serial console? The laptop has both of those (though I only have connectors for USB at the moment), and does not have a DB9 (let alone a DB25) serial port. I'd welcome a pointer. Anyway: I have a couple of slices where I can re-create it: * Slice 3 uses "standard ATA", and runs head as of r213322. * Slice 4 uses ATA_CAM and is presently running head as of r213400. Symptoms are fairly similar in each, though ?I seem to see the hang less frequently when I use ATA_CAM. In either case, PID 8 is [xpt_thrd], and wmesg is "ccb_scan". I'll hold off on transcribing the backtrace for PID 8, in hope of being able to let the machine do the clerical work. :-} > We urgently need geom and cam experts here :-) Given sufficient pointers on actions to take, patches to apply, or code to hack, I'm willing. Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --7mxbaLlpDEyR1+x6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkyp/VYACgkQmprOCmdXAD1WhgCffQGpdHtpbTqmjejRaL0nZpfp jN8An1L36NUf03u/wQZhre0WjYrS1xSS =rpiL -----END PGP SIGNATURE----- --7mxbaLlpDEyR1+x6--