How to recognize SCSI CD-ROM as a "Generic SCSI" device?

How to recognize SCSI CD-ROM as a "Generic SCSI" device?

Post by Carl Tichl » Tue, 12 Dec 1995 04:00:00

I am attempting to use the "cdda2wav" program to read digital audio
data directly from my Plextor SCSI CD-ROM.  In order to do this, I
need to read from the CD-ROM as a "generic SCSI" device, i.e.
/dev/sg0 or /dev/sg1.  I also have a SCSI hard disk.  Both the hard
disk and CD-ROM are accessable after booting, the SCSI drive gets
automatically mounted, and the CD-ROM can be manually mounted.
However, I created the various /dev/sg devices (with 'mknod /dev/sg0 b 21 0',
'mknod /dev/sg1 b 21 1', etc.), but they are always "not accessable",
when cdda2wav tries to open them.  The SCSI controller card is a
Buslogic 946C.

Thanks in advance,



1. SCSI CD-ROM setup problems "not a block device"


    We've recently installed Slackware Linux 1.2.13. We have one IDE
    (one EIDE) drive and an Adaptec 1740 EISA SCSI controller with a
    Toshiba CD-ROM.

    Whenever I attempt to mount a CD, such as

    mount -t iso9660 /dev/cdrom /cdrom

    I get "not a block device".

    The scd? devices in /dev have 'b' set for block and refer to major
    device 11 minor 0, 1... etc.

    I've rebuilt the kernel with all the appropriate file systems/SCSI
    options as far as I can tell.  When I cat /proc/devices it has no
    mention of SCSI or major device 11, although during startup it does
    seem to recognise the 1740 board.

    In addition I am unable to use workbone (and so on) to play audio
    disks - they claim "no such device".  One bit of info I read said
    that playing audio disks relies on SCSI-2 commands, is this the

    Cheers for any help,


Computing Department |                                |
SECAMS               |                                |
Lancaster University |                                | Tel:   01524-65201x3807
LA1 4YR.             |                                | Fax:       01524-593608

2. cannot /kernel/unix

3. ide-scsi detecting CDR as "CD-ROM" in 2.2.19

4. remote printing

5. SCSI CDrom: "Unable to identify CD-ROM Format" (works in DOS)

6. two drive partitions...

7. "All" SCSI CD-ROMs != Chinon CDS 525?

8. holes in the files


10. WRONG HEADING - should be " Installing SUSE 6.4 on SCSI hard drives from SCSI CD"

11. Help - "/proc/scsi/scsi" vs. "fdisk -l"

12. "mounted cd-rom" and "mounted samba share" icons on KDE 3.1 desktop

13. creative 2x CD-ROM, "device not configured"