svn commit: r223475 - head/sys/cam/ata

Andrey Chernov ache at FreeBSD.ORG
Thu Jun 23 17:21:49 UTC 2011


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/


More information about the svn-src-all mailing list