Q: Where is my CD-Rom/CD-R (2 SCSI cards)

Q: Where is my CD-Rom/CD-R (2 SCSI cards)

Post by Elvis Che » Tue, 27 Jan 1998 04:00:00



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.

 
 
 

Q: Where is my CD-Rom/CD-R (2 SCSI cards)

Post by Nico Augustij » Wed, 28 Jan 1998 04:00:00



Quote:

> 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      

Erm.. have you tried /dev/scd0 or /dev/scd1?
I have a mitsumi CD-R and it works fine for me there.

<SNIP>

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

Ever tried XCDRoast? It's still in Beta release but it's way kewl!
Quote:

> any help is very much appreciated,

Hope this helps

> Elvis

<SNIP>

        Nico.

 
 
 

Q: Where is my CD-Rom/CD-R (2 SCSI cards)

Post by Marvin Sielenkempe » Wed, 28 Jan 1998 04:00:00





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

> Erm.. have you tried /dev/scd0 or /dev/scd1?
> I have a mitsumi CD-R and it works fine for me there.

<SNIP>

The CD-ROMs are accessed via the block devices /dev/sr{0,1},
(/dev/scd{0,1} are the same, may be links) with major number 11,
sr stands for scsi raw device.

The scsi generic devices /dev/sg{0,1} are character devices
and used by the writer software to access the cd writer directly.
They have major number 21.

--
MfG Marvin Sielenkemper

 
 
 

1. Upgrading to SCSI CD-ROM from IDE CD-ROM

Hello, I just upgraded my system from an old IDE CD-ROM to a UltraPlex
14/32 and a RICOH 6201S [I think that's the number] 6R2W CD-ReWriter.
The problem is that I can no longer see a CD-ROM.  Can someone show a
fool what possible mistakes he might have made?

System:
Dual PP166/512 in a SuperMicro P6DNE, 192MB of EDO RAM (32MB x 6);
Seagate Barracuda (4G)          at SCSI ID #1   [/dev/sda]
Seagate Hawk 2 (2G)             at SCSI ID #2   [/dev/sdb]
Plextor Ultra 14/32 CD-ROM      at SCSI ID #3   [not clear which dev]
Ricoh 6201S CD ReWriter         at SCSI ID #4   [not clear which dev]
Fujitsu 230 MB MO drive         at SCSI ID #6   [/dev/sdc]
old Adaptec 2940 SCSI card      at SCSI ID #7
cheap SB compatible sound card
D-Link DE220 ISA NE2000 clone
Matrox Millenium 8 MB (original)

System:         Red Hat 4.2 [afraid to touch 5.0] set up with the old
                IDE/ATAPI CD-ROM in place of the newer CD drives.

Symptoms:       Cannot read either CD drive.  When trying to mount either
                /dev/scd0 or /dev/scd1, get a not ready error saying that
                either superblock is bad or drive is empty.

Other data: the system minus the motherboard has been in use continuously
        since Jan 96, until the CD-ROM upgrade.  Both the Ricoh and the
        ultra Plex is detected at boot time as sr0 and sr1 [but not as
        scd0 or scd1] ... A kernel was compiled with the SCSI CD-ROM and
        generic support.

Any comments, as well as helpful hints on how to get CD-writing going if
and when I fix this, will be welcome.  E-mails tips welcome!

--
| "A tyro might just have a case for not wanting to face strange methods; |
|  for a self-professed expert to whine about not being able to deal with |
|  innovations would be, at the very least, unbecoming." -Ralph Hirshberg |

2. Weird Problem w/ SUSE 5.3

3. Can't install Yggdrasil summer 94 CD-ROM with SCSI-1 CD-ROM

4. More disk functions

5. Installing linux using SCSI CD-ROM on PCMCIA card, onto SCSI hard drive

6. ftp I think???

7. SCSI: MediaVision portable 2x CD-Rom w/SCSI card

8. AAAAARRRRRRGGGGGHHHHH!!!!!!

9. replace cd-rom with CD-R / can't find mount CD-R drive

10. CD-ROM mount needs source <--> source needs CD-ROM mount

11. CD-ROM driver for Turtle Beach/Funai 6X CD-ROM?

12. Intsall from CD-ROM without a CD-ROM

13. Strange CD-ROM Issue (aka CD-ROM Problem)