Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 09:17:05 -0700 (MST)
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        jkh@zippy.cdrom.com (Jordan K. Hubbard), freebsd-stable@freebsd.org
Subject:   Re: Is the CD driver supposed to attach() now regardless of media?
Message-ID:  <14177.13953.82252.18827@hip186.ch.intel.com>
In-Reply-To: <199906111555.JAA49508@panzer.plutotech.com>
References:  <73714.929087303@zippy.cdrom.com> <199906111555.JAA49508@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[ On Friday, June 11, Kenneth D. Merry wrote: ]
> 
> Well, there are some things we can do to narrow it down:
> 
> - what kind of CDROM drive do you have

I have a Toshiba XM-6401B 40X CD-ROM and also a Yamaha CRW4416S CD-RW. The
Toshiba is the first disc on the scsi chain at ID3, the Yamaha next at 
ID4 (then two LVD drives at 5 and 6 respectively). Maybe I'm "off" on this
but I'd consider this fairly recent hardware.

> - since I assume you've already gotten 3.2 installed, how long does the
>   probe message for your CDROM drive take to appear when you don't have
>   any media in the drive?

Yes, I installed 3.1-R from CD and then just the other night (after I figured
out my modem fiasco) I CVSup'ed to 3.2-STABLE and rebuilt and installed that
with no problems.

The probe messages come up very quickly. I've got my "scsi delay" set to 5
seconds during boot (from the 15 in GENERIC) and everything is "found"
correctly. I assume that's what you mean when you say probe message.

Usually as soon as it hits the "login:" prompt, another console message will
print out which is pretty much an echo of what I'd find from dmesg regarding
cd0 and cd1 (just what type of drives, they are, speed, and the last line
which says "NOT_READY," because of no media). This happens within a second
or two of getting the "login:" prompt.

> - can you mount and read the FreeBSD CD okay?

Oh yes, like a champ. Both the Toshiba and the CD-RW. Never been any problem
now or previously in 3.1-R.

> There are some CDROM drives that take a *long* time to respond to read
> capacity commands when there's no media in the drive.  So it can take over
> a minute for the drive to show up when there's no media.
> 
> It may be that you're telling sysinstall to attempt to mount the CD during
> the time the drive is still probing.  That's one possible explanation for
> this.

who knows? I know the drive lights are not on when I'm in sysinstall (don't
know if that'd be an indication of the drive "thinking"). I will boot from
floppies tonight again and leave sysinstall sitting for a minute or two before
I try and chose the media.

If it helps, I'm running an Asus P2B-DS motherboard, BIOS 1009 (latest) which
incorporates the adaptec SCSI bios v2.11 for the onboard 7890 chipset. Maybe
there's a wierdity with this setup and those drives?

The work-around is of course just to have media there before the probes 
happen--which is not painful--but it would be nice to figure out why this is
happening (I figured out the work-around "by accident" when trying to install
3.1-R from CD-ROM ... but perhaps this has befuddled other people and maybe
future installs of 3.2-R from CD-ROM??).

Thanks for the reply--I'll try doing the above tonight when I get home and
will report back.

-Jr

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               CEG, CCE, Next Generation Flows, HLA          |
| Intel Corporation      MS: CH6-210   Phone: 480-554-9092   pgr: 868-6512  |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


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?14177.13953.82252.18827>