Date: Thu, 23 Jun 2011 21:21:46 +0400 From: Andrey Chernov <ache@FreeBSD.ORG> To: Alexander Motin <mav@FreeBSD.ORG>, src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG Subject: Re: svn commit: r223475 - head/sys/cam/ata Message-ID: <20110623172146.GA48158@vniz.net> In-Reply-To: <20110623162458.GA47670@vniz.net> References: <201106231510.p5NFAixO004455@svn.freebsd.org> <20110623160010.GA47278@vniz.net> <20110623162458.GA47670@vniz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is old cd0 probe message with old kernel when it was probed, just in case it helps (nothing unusual with it, and it still works under Win7): cd0 at ata2 bus 0 scbus2 target 0 lun 0 cd0: <ASUS DVD-E616A 1.08> Removable CD-ROM SCSI-0 device cd0: 100.000MB/s transfers (UDMA5, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed On Thu, Jun 23, 2011 at 08:24:58PM +0400, Andrey Chernov wrote: > 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/ -- http://ache.vniz.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110623172146.GA48158>