From owner-freebsd-stable Thu Jun 10 12:59:48 1999 Delivered-To: freebsd-stable@freebsd.org Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (Postfix) with ESMTP id CDFAB14F78 for ; Thu, 10 Jun 1999 12:59:45 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.3/8.8.5) id NAA44110; Thu, 10 Jun 1999 13:58:24 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199906101958.NAA44110@panzer.plutotech.com> Subject: Re: Is the CD driver supposed to attach() now regardless of media? In-Reply-To: <14175.59541.321755.487020@hip186.ch.intel.com> from John Reynolds~ at "Jun 10, 1999 09:32:21 am" To: jreynold@sedona.ch.intel.com (John Reynolds~) Date: Thu, 10 Jun 1999 13:58:24 -0600 (MDT) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Reynolds~ wrote... > > hello all, > > After finally getting my modem to work on my 3.1-R box (stupid mgetty > running on the same device ... makes life unhappy for Mr. Modem), I CVSup'ed > to 3.2-STABLE and built world (but didn't install). For grins, I downloaded > the latest STABLE SNAP kern and mfsroot floppies and tried to boot my > machine with them (I've got the onboard Adaptec 7890 and wanted to make sure > it was going to be detected, etc. before installing the world and a new > kernel). > > Everything went fine but just as with 3.1-RELEASE, since I didn't have any > media in my cdrom or cdrw drives, the driver didn't attach() and thus when > I went to Custom->Media from within sysinstall and tried to choose "CD-ROM" > it complained that there were no devices available. This behavior is repeatable > with 3.1-RELEASE and the remedy is to insert the CD-ROM into your drive > before the bus is probed--then there is media and the driver attaches, life > is good. > > I thought I saw something go by on one of these lists that one of the CAM > updates for 3.2 was the the CD-ROM driver will attach() regardless of the > presence of media. Is this true? Or is that "new" (better) behavior only > for -current, or what? Yes, it's true, the SCSI CD driver will attach to any device that claims to be a CDROM drive. (in -current and in -stable) It has always attached, whether media was present or not, but there are some CDROM drives that respond with very strange errors when they don't have any media present. So the driver would fail to attach in some cases. Now, it will only fail to attach if the device responds with a "logical unit not supported" error. Your problem is most likely with sysinstall. I've seen other folks complain about having trouble with CD installs, and I think the bottom line was that there was (is?) a problem with sysinstall. If you want more details, you'll have to search the list archives, since my memory is pretty spotty on this. If I had to guess, I'd say there may be some sort of problem with the way sysinstall determines whether a CDROM device is available or not. I don't know how it looks for devices, so I can't really speculate on what the problem might be. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message