Subject: thanks and SCSI CD-ROM question
To: None <port-sun3@netbsd.org>
From: Matt <fredette@MIT.EDU>
List: port-sun3
Date: 04/19/1999 22:46:15
First, I'd like to say thanks to everyone who has worked on NetBSD,
and NetBSD/sun3 in particular.  When my PC died three months ago, I
decided to give it a shot on this old 3/60, and ever since it's been
solid as my main home machine - had an uptime of 6 weeks at one point
before I had to move it.

Now, my question.  This could easily be just a general NetBSD question
(meaning pilot error on my part), but I recently picked up an old
external SCSI CD-ROM drive.  Now my dmesg includes:

sd2 at scsibus0 targ 6 lun 0: <TOSHIBA, CD-ROM XM-3401TA, 0283> SCSI2 0/direct fixed

I can mount CD-ROMs from /dev/sd2c just fine.

So next I compiled xmcd-2.4 and configured it to use /dev/rcd0c (its
suggested default).  /dev/rcd0c exists, but when I start xmcd, it
brings up its window but beeps whenever you press a button.  ktrace on
xmcd reveals that it's getting ENXIO when it opens /dev/rcd0c.

Why would NetBSD not be associating the drive with /dev/rcd0?  My
kernel config file already has:

cd* at scsibus? target ? lun ?          # SCSI CD-ROMs

Do I need to force the issue with:

cd0 at scsibus0 target 6 lun 0          # the SCSI CD-ROM

and rebuild?

This is a NetBSD-1.3.2 3/60 with ROM Rev 1.9, 16MB, a P4 cgfour, and
(in addition to the CD-ROM):

sd0 at scsibus0 targ 0 lun 0: <HP, C2235-300, 0B19> SCSI2 0/direct fixed
sd0: 402MB, 1574 cyl, 9 head, 58 sec, 512 bytes/sect x 825012 sectors
sd1 at scsibus0 targ 4 lun 0: <HP, C2257, 0BC4> SCSI2 0/direct fixed
sd1: 1910MB, 2325 cyl, 19 head, 88 sec, 512 bytes/sect x 3912172 sectors

Thanks,

Matt

--
Matt Fredette
fredette@bbnplanet.com, fredette@mit.edu, fredette@theory.lcs.mit.edu
http://mit.edu/fredette/www
"The first time the Rolling Stones played, three people came."