Date: Mon, 4 Oct 2010 09:14:15 -0700 From: David Wolfskill <david@catwhisker.org> To: Andriy Gapon <avg@icyb.net.ua> Cc: current@freebsd.org Subject: Re: [geom, cam] Hang near end of kernel probes since r213267 (likely earlier) Message-ID: <20101004161415.GF1410@albert.catwhisker.org> In-Reply-To: <4CA985D2.3000805@icyb.net.ua> References: <20101001233001.GG1535@albert.catwhisker.org> <20101002013344.GI1535@albert.catwhisker.org> <AANLkTiny8TxsT0jObNqF7Jnkp-wrPBSecp_Y3%2BnKazNg@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101004161415.GF1410>