From owner-freebsd-current@FreeBSD.ORG Thu Oct 2 15:12:24 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 59F2616A4C0 for ; Thu, 2 Oct 2003 15:12:24 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 927DF43FBD for ; Thu, 2 Oct 2003 15:12:23 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h92MCIIA062727; Thu, 2 Oct 2003 17:12:18 -0500 (CDT) (envelope-from dan) Date: Thu, 2 Oct 2003 17:12:18 -0500 From: Dan Nelson To: Sascha Holzleiter Message-ID: <20031002221218.GF2421@dan.emsphone.com> References: <3038.1065102868@critter.freebsd.dk> <1065131912.746.2.camel@dreamland.chief.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1065131912.746.2.camel@dreamland.chief.home> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: current@freebsd.org Subject: Re: scsi-cd + GEOM X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2003 22:12:24 -0000 In the last episode (Oct 02), Sascha Holzleiter said: > On Thu, 2003-10-02 at 15:54, Poul-Henning Kamp wrote: > > I wouldn't think the drive take 60-90 seconds to figure out there is > > no disk, but I'm not a scsi-specialist... > > Seems like it does, if there is a disc present or the tray is open there > is no delay only with tray closed and no disc inserted. > Maybe this is only an issue with this drive model or at least my > drive... No, it happens to me too. It looks like cd probing was done asynchronously until about a week ago, so what used to happen was: cd1 at ata0 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 3.300MB/s transfers cd1: cd present [407667908 x 0 byte records] <30 seconds later> cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present The atapi CDRW thinks there's a cd in the drive but there isn't. Doesn't seem to affect anything though. Now what happens is: <30 second delay> (cd1:ata0:0:0:0): Recovered Sense (cd1:ata0:0:0:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd1:ata0:0:0:0): CAM Status: SCSI Status Error (cd1:ata0:0:0:0): SCSI Status: Check Condition (cd1:ata0:0:0:0): NOT READY asc:3a,0 (cd1:ata0:0:0:0): Medium not present cd1 at ata0 bus 0 target 0 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present cd0 at ahc0 bus 0 target 5 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: Attempt to query device size failed: NOT READY, Medium not present GEOM provider cd0 has zero sectorsize GEOM provider cd0 has zero sectorsize GEOM provider cd0 has zero sectorsize GEOM provider cd0 has zero sectorsize (cd1:ata0:0:0:0): Recovered Sense (cd1:ata0:0:0:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd1:ata0:0:0:0): CAM Status: SCSI Status Error (cd1:ata0:0:0:0): SCSI Status: Check Condition (cd1:ata0:0:0:0): NOT READY asc:3a,0 (cd1:ata0:0:0:0): Medium not present GEOM provider cd1 has zero sectorsize GEOM provider cd1 has zero sectorsize GEOM provider cd1 has zero sectorsize GEOM provider cd1 has zero sectorsize (cd1:ata0:0:0:0): Recovered Sense (cd1:ata0:0:0:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd1:ata0:0:0:0): CAM Status: SCSI Status Error (cd1:ata0:0:0:0): SCSI Status: Check Condition (cd1:ata0:0:0:0): NOT READY asc:3a,0 (cd1:ata0:0:0:0): Medium not present (cd1:ata0:0:0:0): Recovered Sense (cd1:ata0:0:0:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (cd1:ata0:0:0:0): CAM Status: SCSI Status Error (cd1:ata0:0:0:0): SCSI Status: Check Condition (cd1:ata0:0:0:0): NOT READY asc:3a,0 (cd1:ata0:0:0:0): Medium not present I'm not sure whether there's another 30-sec delay between the cd1 and cd0 probes or not. -- Dan Nelson dnelson@allantgroup.com