Subject: cannot mount a CD on 1.5.3
To: list NetBSD port-pc532 <port-pc532@netbsd.org>
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
List: port-pc532
Date: 12/25/2002 21:29:01
I connected a CD-ROM to my pc532 (TOSHIBA XM-3501TA) and it seems to
be picked up at boot time (see boot messages below).

Yet, when I try to mount it I always get a failure:

[root@e1]# mount -t cd9660 -r /dev/cd0a /cd
mount_cd9660: /dev/cd0a on /cd: Operation not supported by device


What device should I use for this mount? /dev has:
brw-r-----  1 root  operator   4, 0 Dec 25 20:11 cd0a
brw-r-----  1 root  operator   4, 2 Dec 25 20:11 cd0c
crw-r-----  1 root  operator  12, 0 Dec 25 20:11 rcd0a
crw-r-----  1 root  operator  12, 2 Dec 25 20:11 rcd0c

Is there some config file I should update to allow using the CD-ROM?
I had no such problems using the tape unit (st0).

Finally, I noticed that I also have a Toshiba XM-3401TA which the
doco says is known to work, but I got the same failure. I should
say that this drive works just fine on NetBSD 1.6/pmax.


boot messages
=============
NetBSD 1.5.3 (GENERIC) #6: Tue Jul  2 19:53:03 PDT 2002
    jon@bullbox.bullers.net:/usr/src/sys/arch/pc532/compile/GENERIC
total memory = 8192 KB
avail memory = 6204 KB
using 128 buffers containing 512 KB of memory
mainbus0 (root)
rtc0 at mainbus0 addr 0xfff00000
clock0 at mainbus0 addr 0xfffffe00, irq 2
scn0 at mainbus0 addr 0xffc80000, irq 13, 12: scn2692, flags 1
scn1 at mainbus0 addr 0xffc80008
scn2 at mainbus0 addr 0xffc80010, irq 11, 10: scn2692
scn3 at mainbus0 addr 0xffc80018
scn4 at mainbus0 addr 0xffc80020, irq 9, 8: scn2692
scn5 at mainbus0 addr 0xffc80028
scn6 at mainbus0 addr 0xffc80030, irq 7, 6: scn2692
scn7 at mainbus0 addr 0xffc80038
ncr0 at mainbus0 addr 0xffd00000, irq 4
scsibus0 at ncr0: 8 targets, 8 luns per target
zero=fff8802b, bio=4010, net=34010, tty=76a90, clock=76a94, imp=76a90,
softclock=fff9c02b, softnet=34000
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST3550N, 9416> SCSI2 0/direct
fixed
sd0: 435 MB, 2128 cyl, 5 head, 83 sec, 512 bytes/sect x 891574 sectors
sd1 at scsibus0 target 1 lun 0: <SEAGATE, ST31200N, 8648> SCSI2 0/direct
fixed
sd1: 1006 MB, 2700 cyl, 9 head, 84 sec, 512 bytes/sect x 2061108 sectors
ncr0: unexpected MESSAGE OUT; sending NOOP
ncr0: reset SCSI bus for TID=4 LUN=0
sd2 at scsibus0 target 4 lun 0: <QUANTUM, PD210S   SUN0207, 492W> SCSI2
0/direct fixed
sd2: 199 MB, 1156 cyl, 7 head, 50 sec, 512 bytes/sect x 408574 sectors
st0 at scsibus0 target 5 lun 0: <ARCHIVE, VIPER 150  21247, -005> SCSI1
1/sequential removable
st0: rogue, drive empty
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, CD-ROM XM-3501TA, 3384> SCSI2
5/cdrom removable
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>