From owner-freebsd-scsi Thu Aug 15 13:52:28 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA20146 for freebsd-scsi-outgoing; Thu, 15 Aug 1996 13:52:28 -0700 (PDT) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA20128 for ; Thu, 15 Aug 1996 13:52:24 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id WAA04095; Thu, 15 Aug 1996 22:50:56 +0200 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id WAA06659; Thu, 15 Aug 1996 22:50:32 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.7.5/8.6.9) id VAA01875; Thu, 15 Aug 1996 21:44:38 +0200 (MET DST) From: J Wunsch Message-Id: <199608151944.VAA01875@uriah.heep.sax.de> Subject: Re: Pioneer CD changer problem To: freebsd-scsi@freebsd.org Date: Thu, 15 Aug 1996 21:44:38 +0200 (MET DST) Cc: count@key.hole.fi (Bror 'Count' Heinola) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199608141647.TAA00507@key.hole.fi> from Bror 'Count' Heinola at "Aug 14, 96 07:47:57 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Bror 'Count' Heinola wrote: > (ahc0:6:0): "PIONEER CD-ROM DRM-600 0801" type 5 removable SCSI 1 > cd0(ahc0:6:0): CD-ROM > cd0(ahc0:6:0): NOT READY asc:3a,0 Medium not present > can't get the size ... > (ahc0:6:7): "PIONEER CD-ROM DRM-600 0801" type 5 removable SCSI 1 > cd7(ahc0:6:7): CD-ROM > cd7(ahc0:6:7): NOT READY asc:3a,0 Medium not present > can't get the size > (Shouldn't it report only cd0 to cd5? It is a 6 cd changer > afterall...) I believe this means it has a broken LUN handling. Weird for a changer device which is supposed to operate using different LUNs. > root@key /root 507: mount /dev/cd0a /mnt > /dev/cd0a on /mnt: Device not configured > > (Yes, I did make all the cd entries in /dev) Can you here it swapping the disk in by the same time? Does it continue to fail even after a few attempts? The timeouts in the existing driver are way too short to properly handle CD changers. I've got a Nakamichi on loan to test and fix this, but defered all my CD-ROM work until Justin's changes are in the tree to avoid massively diverging drivers. The current way of timeout handling sucks rocks, all timeouts are wild guesses, and there's no way to centrally maintain them. Each and every call to scsi_scsi_cmd() specifies its own idea of what timeout might be appropriate. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)