Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 1999 10:25:30 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        jreynold@sedona.ch.intel.com (John Reynolds~)
Cc:        jkh@zippy.cdrom.com, freebsd-stable@freebsd.org
Subject:   Re: Is the CD driver supposed to attach() now regardless of media?
Message-ID:  <199906111625.KAA49757@panzer.plutotech.com>
In-Reply-To: <14177.13953.82252.18827@hip186.ch.intel.com> from John Reynolds~ at "Jun 11, 1999 09:17:05 am"

next in thread | previous in thread | raw e-mail | index | archive | help
John Reynolds~ wrote...
> 
> [ 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.

Yeah, I haven't heard of any problems with those drives.  The drives that
generally take a long time to probe are the HP 6200 and the Philips
equivalent of that drive.

> > - 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.

Okay, sounds pretty normal.

> > - 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.

Cool.

> > 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.

That might work.  It might also help to switch to the debugging output
console window (it's been years since I've run through the install process,
so I don't know whether it's alt-f2 or f3 or what).  You might see some
diagnostics that'll help.

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

Nah, shouldn't be.  The 7890 trouble was fixed before 3.2.  Before that the
symptom would be a hang at the "waiting for devices to settle" message.

> 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??).

Yeah, it would be nice to figure out what's going on.  My theory probably
isn't it.

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

Cool, thanks.

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?199906111625.KAA49757>