From owner-freebsd-hackers Wed Nov 26 03:10:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA08679 for hackers-outgoing; Wed, 26 Nov 1997 03:10:07 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA08656 for ; Wed, 26 Nov 1997 03:10:02 -0800 (PST) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.8.8/8.8.8) with UUCP id MAA21438 for hackers@freebsd.org; Wed, 26 Nov 1997 12:09:54 +0100 (CET) (envelope-from j@uriah.heep.sax.de) Received: (from j@localhost) by uriah.heep.sax.de (8.8.8/8.8.5) id LAA15625; Wed, 26 Nov 1997 11:26:10 +0100 (MET) Message-ID: <19971126112610.49923@uriah.heep.sax.de> Date: Wed, 26 Nov 1997 11:26:10 +0100 From: J Wunsch To: hackers@freebsd.org Subject: Re: problem mounting /cdrom w/ 2.2.5-R (fwd) Reply-To: Joerg Wunsch References: <19971124091206.61860@vmunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Burton Sampley on Mon, Nov 24, 1997 at 11:56:30AM -0800 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 Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Burton Sampley wrote: > Here's my assumption: > > I must have attempted to mount the cdrom too soon after loading the cdrom > in the drive. It's an old 4X SCSI Toshiba CDROM drive. Instead of giving > me a device not ready error to the console (BTW, I just reviewed > /var/log/messages where it DID give a NOT READY error from /kernel) it > gave a device not configured error message. Device not ready errors are silently discarded when opening a device, and ENXIO (`Device not configured') is returned. AFAIK, this is the `politically correct' behaviour. ENXIO can mean quite a number of errors (unfortunately). And yes, Toshiba drives require quite some time until they are ready after the insertion of a new medium. As a general rule, wait until the yellow LED went off, and start the mount command then. It would be better if they indicated a `Logical unit is in the process of becoming ready' instead (which FreeBSD repeatedly retries until success, or until a different message appears). -- 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. ;-)