Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jun 1999 13:58:24 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        jreynold@sedona.ch.intel.com (John Reynolds~)
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Is the CD driver supposed to attach() now regardless of media?
Message-ID:  <199906101958.NAA44110@panzer.plutotech.com>
In-Reply-To: <14175.59541.321755.487020@hip186.ch.intel.com> from John Reynolds~ at "Jun 10, 1999 09:32:21 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906101958.NAA44110>