From owner-freebsd-bugs@FreeBSD.ORG Tue May 10 19:30:06 2005 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 893A516A4CE for ; Tue, 10 May 2005 19:30:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5967543D48 for ; Tue, 10 May 2005 19:30:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j4AJU6Le099919 for ; Tue, 10 May 2005 19:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j4AJU62J099916; Tue, 10 May 2005 19:30:06 GMT (envelope-from gnats) Resent-Date: Tue, 10 May 2005 19:30:06 GMT Resent-Message-Id: <200505101930.j4AJU62J099916@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nicolas Blais Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FBCE16A4CE for ; Tue, 10 May 2005 19:24:09 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D271743D8B for ; Tue, 10 May 2005 19:24:08 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j4AJO88j004874 for ; Tue, 10 May 2005 19:24:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j4AJO8Mt004873; Tue, 10 May 2005 19:24:08 GMT (envelope-from nobody) Message-Id: <200505101924.j4AJO8Mt004873@www.freebsd.org> Date: Tue, 10 May 2005 19:24:08 GMT From: Nicolas Blais To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/80867: acd0 broken, umass probe takes 5 minutes at boot. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 May 2005 19:30:06 -0000 >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@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: