From owner-freebsd-current@FreeBSD.ORG Wed Jun 22 04:13:28 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 456DC106571F; Wed, 22 Jun 2011 04:13:28 +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 AD1758FC0C; Wed, 22 Jun 2011 04:13:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.4/8.14.4) with ESMTP id p5M4DQgI013812; Wed, 22 Jun 2011 08:13:26 +0400 (MSD) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p5M4DQMf013811; Wed, 22 Jun 2011 08:13:26 +0400 (MSD) (envelope-from ache) Date: Wed, 22 Jun 2011 08:13:25 +0400 From: Andrey Chernov To: "Kenneth D. Merry" Message-ID: <20110622041325.GA13754@vniz.net> Mail-Followup-To: Andrey Chernov , "Kenneth D. Merry" , Kostik Belousov , "Justin T. Gibbs" , Eir Nym , current@FreeBSD.ORG, will@FreeBSD.ORG References: <20110619232307.GA57530@vniz.net> <20110620001912.GA60252@vniz.net> <4DFEAD4F.1040603@FreeBSD.org> <20110620070222.GA74009@vniz.net> <20110620080146.GF48734@deviant.kiev.zoral.com.ua> <20110620114656.GA83524@vniz.net> <20110621161719.GA16166@nargothrond.kdm.org> <20110621204934.GB9877@vniz.net> <20110622035404.GA38834@nargothrond.kdm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110622035404.GA38834@nargothrond.kdm.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Kostik Belousov , Eir Nym , "Justin T. Gibbs" , 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: Wed, 22 Jun 2011 04:13:28 -0000 On Tue, Jun 21, 2011 at 09:54:04PM -0600, Kenneth D. Merry wrote: > These two are interesting: > > > http://img825.imageshack.us/img825/1249/21062011014m.jpg > > http://img839.imageshack.us/img839/3791/21062011015.jpg > > It looks like the GEOM event thread is stuck inside the cd(4) driver. The > cd(4) driver is trying to acquire the peripheral lock, and is sleeping > until it gets it. > > What isn't clear is who is holding it. The ps output shows an idle thread > running on CPU 1, and thread 100014 (taskq) running on CPU 0. > Unfortunately I don't see a stack trace for that. (I might have missed > it.) > > Do you happen to have the image with the stack trace for that thread? I don't have the image because no disks are mounted at that stage and the swap slice is not attached. But I can issue more specific DDB commands to narrow it down, just say what you need in detail. BTW, the machine have 2 DVD both are attached to Marvell IDE plain ATA interface, they always works before. Are you sure that something holding the lock? 'show lock' shows absolutely nothing, it is empty. -- http://ache.vniz.net/