greetings:
I just added a SC200 (Asus, SYMBIOS 810a) to my exising SC875 so I
can connect external CD-ROM/CD-R without expensive cablings. The
quesion is, where are they under /dev so I can mount them properly?
Physically, I have 2 SCSI HDs connected to the internal narrow bus of
SC875, and CD-ROM (ID4)/CD-R(ID6) on the external port of SC200. Both
cards uses INT A, which are translated to IRQ11/12 for SC200/875
respectively.
now, my HDs are mapped to /dev/sda and /dev/sdb, and are mounted properly.
I expect the CD-ROM/CD-R to be mounted under "generic SCSI devices", but
mounting them to /dev/sg{a,b,c,d,e,f,g,h} all returned with error value:
mount -t iso9660 /dev/sgc cdrom/
mount: /dev/sgc is not a block device
I *DO* have sg/loop modules installed by insmod:
du136 [10:16pm]>cat /proc/devices
Character devices:
1 mem
2 pty
3 ttyp
4 ttyp
5 cua
7 vcs
10 misc
14 sound
21 sg # <-- SCSI generic device
Block devices:
1 ramdisk
2 fd
3 ide0 # <-- loop-devices
7 loop
8 sd
9 md
11 sr # <-- SCSI CD-ROM
22 ide1
and the "dmesg" gives:
ncr53c8xx: at PCI bus 0, device 11, function 0
ncr53c8xx: 53c810a detected
ncr53c8xx: at PCI bus 0, device 12, function 0
ncr53c8xx: 53c875 detected with Symbios NVRAM
ncr53c875-0: rev=0x03, base=0xe6000000, io_port=0xd800, irq=11
ncr53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c875-0: on-board RAM at 0xe5800000
ncr53c875-0: restart (scsi reset).
ncr53c875-0: copying script fragments into the on-board RAM ...
ncr53c810a-1: rev=0x12, base=0xe6800000, io_port=0xe000, irq=12
ncr53c810a-1: ID 7, Fast-10, Parity Checking
ncr53c810a-1: restart (scsi reset).
scsi0 : ncr53c8xx - revision 2.4a
scsi1 : ncr53c8xx - revision 2.4a
scsi : 2 hosts.
Vendor: SEAGATE Model: ST32550N Rev: 8108
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
Vendor: IBM Model: DORS-32160 Rev: WA0A
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
Vendor: NEC Model: CD-ROM DRIVE:501 Rev: 2.0
Type: CD-ROM ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi1, channel 0, id 2, lun 0
Vendor: YAMAHA Model: CDR102 Rev: 1.01
Type: WORM ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi1, channel 0, id 5, lun 0
ncr53c875-0-<0,0>: FAST-10 SCSI 10.0 MB/s (100 ns, offset 15)
SCSI device sda: hdwr sector= 512 bytes. Sectors= 4194058 [2047 MB] [2.0
GB]
sda: sda1 sda2 < sda5 >
ncr53c875-0-<1,0>: FAST-20 SCSI 20.0 MB/s (50 ns, offset 15)
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 4226725 [2063 MB] [2.1
GB]
sdb: sdb1 sdb2 < sdb5 >
So, according to CD-Writing HOWTO, the CD-ROM should be /dev/sgc, and CD-R
be /dev/sgd?
Another question: if I use cdrecord to burn the CD, what's the argument
for "dev" which specifies the CD-R? According to the above "dmesg" the
commend for cdrecord should be:
cdrecord -v speed=2 dev=4,0 <cd_image>
?
any help is very much appreciated,
Elvis
ps. my system is RH5, with default kernel/modules. I didn't think
re-compilation is necessary as I can load all the modules via insmod
properly.