svn commit: r223475 - head/sys/cam/ata
ache at FreeBSD.ORG
Thu Jun 23 16:25:00 UTC 2011
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.
More information about the svn-src-head