kern/80867: acd0 broken, umass probe takes 5 minutes at boot.

Nicolas Blais nb_root at videotron.ca
Tue May 10 19:30:06 GMT 2005


>Number:         80867
>Category:       kern
>Synopsis:       acd0 broken, umass probe takes 5 minutes at boot.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 10 19:30:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Nicolas Blais
>Release:        6.0-CURRENT
>Organization:
>Environment:
FreeBSD clk01a 6.0-CURRENT FreeBSD 6.0-CURRENT #: Tue May 10 06:19:21 EDT 2005     root at clk01a:/usr/obj/usr/src/sys/CLK01A  i386

>Description:
Since I cvsup'd and buildworld/kernel a couple of days ago (after a fresh install of 
March_05 snapshot), my dvdr (acd0) no longer works. 
I have atapicam enabled in my kernel conf file and disabling it does nothing. I 
still get the following errors when trying to read a dvd :
acd0: timeout waiting for ATAPI ready
acd0: error issuing ATA PACKET command
and if I try to mount a cd/dvd, it crashes the system.  

With atapicam enabled, I get several loops of this at boot:
(da0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:0:0): CAM Status: SCSI Status Error
(da0:ata1:0:0:0): SCSI Status: Check Condition
(da0:ata1:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0
(da0:ata1:0:0:0): Medium not present
(da0:ata1:0:0:0): (da0:ata1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:0:0): NOT READY csi:0,0,bb,0 asc:3a,0
(da0:ata1:0:0:0): Medium not present
Unretryable error
(da0:ata1:0:0:0): error 6
(da0:ata1:0:0:0): Unretryable Error
Opened disk da0 -> 6
and still no access to acd0 or it's scsi form. The dvdr is set physically set 
as master (not CS) and runs alone on it's channel. I tried changing the cable 
from 80 conductor to 40 conductor (spare parts...) and nothing changed.

Also, whether I have atapicam enabled or not, booting takes about 5 minutes 
because the umass probe is hanging. It will ouput 5 times :
(probe0:umass-sim0:0:0:0): Request completed with CAM_REQ_CMP_ERR
(probe0:umass-sim0:0:0:0): Retrying Command.
With about a minute in between.

Ironically, after boot, pluging-in a USB mp3 player works and creates da1 successfully. These two problems were not present in the March_05 snapshot. 
My wild guess would be that something happened to either pass, da or scbus that my system doesn't like. This happens with both ULE and 4BSD.
>How-To-Repeat:
Enable atapicam or not, enable umass in kernel.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list