From owner-svn-src-all@FreeBSD.ORG Thu Jun 23 16:25:00 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD7561065670; Thu, 23 Jun 2011 16:25:00 +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 2B6B18FC1B; Thu, 23 Jun 2011 16:24:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.4/8.14.4) with ESMTP id p5NGOwde047698; Thu, 23 Jun 2011 20:24:58 +0400 (MSD) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p5NGOw9F047697; Thu, 23 Jun 2011 20:24:58 +0400 (MSD) (envelope-from ache) Date: Thu, 23 Jun 2011 20:24:58 +0400 From: Andrey Chernov To: Alexander Motin , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Message-ID: <20110623162458.GA47670@vniz.net> Mail-Followup-To: Andrey Chernov , Alexander Motin , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201106231510.p5NFAixO004455@svn.freebsd.org> <20110623160010.GA47278@vniz.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110623160010.GA47278@vniz.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Subject: Re: svn commit: r223475 - head/sys/cam/ata X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2011 16:25:00 -0000 On Thu, Jun 23, 2011 at 08:00:10PM +0400, Andrey Chernov wrote: > On Thu, Jun 23, 2011 at 03:10:44PM +0000, Alexander Motin wrote: > > Author: mav > > Date: Thu Jun 23 15:10:44 2011 > > New Revision: 223475 > > URL: http://svn.freebsd.org/changeset/base/223475 > > > > Log: > > Fix ATAPI breakage introduced by r223443. It made SCSI commands to ATAPI > > device to never complete, that caused probe process (system boot) stuck. > > With that commit I have no more those "run_interrupt_driven_hooks:..." > messages, but still have hang at boot related to DVD (no hang if DVDs are > physically unplugged). Moreover, I have only 1 of 2 plain ATA DVDs > detected in probe messages as cd1 (no cd0 there). DDB's ps show sleep in > the xpt_thrd (xpt_scanner_thread) at "ccb_scan" and sleep at "caplck", no > locks are shown by 'show lock'. More about "caplck": it was cdopen() who calls cam_periph_hold() and sleeps there forever. -- http://ache.vniz.net/