Re: CD-Changer

James W. Laferriere (babydr@nwrain.net)
Fri, 10 Jan 1997 12:57:28 -0800 (PST)


Might really want to forward this onto the
linux-sparc list, Probably get an answer that
fits your hardware. But,.. some Ques. & maybe
a hint below.

On Fri, 10 Jan 1997, Martin Bauer wrote:
> Hi *,
>
> I hope this isn't too off-topic.
>
> I got a PIONEER DRM-624X cd-changer with 6 cd-magazine. When I
> boot the machine the kernel reports every slot as a seperate
> cdrom-drive (/dev/scd0../dev/scd5), ok! But if I try to mount e.g. /dev/scd0, the
> changer loads the specified CD waits several seconds, unloads
> the CD and then tells me the following story:
>
> # mount -r -t iso9660 /dev/scd0 /cdrom
> mount: wrong fs type, bad option, bad superblock on /dev/scd0,
> or too many mounted file systems
>
> dmesg:
> ======
> ESP: Total of 1 ESP hosts found, 1 actually in use.
> scsi0 : Sparc ESP100A (NCR53C90A)
> scsi : 1 host.
> Vendor: IBM Model: DORS-32160 Rev: S82C
> Type: Direct-Access ANSI SCSI revision: 02
> Detected scsi disk sda at scsi0, channel 0, id 0, lun 0

> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> Vendor: PIONEER Model: CD-ROM DRM-624X Rev: 1.03
> Type: CD-ROM ANSI SCSI revision: 02
> scsi : detected 1 SCSI disk total.
> esp0: target 0 [period 200ns offset 15 5.00MHz synchronous SCSI]
> SCSI device sda: hdwr sector= 512 bytes. Sectors= 4226725 [2063 MB] [2.1 GB]
> sunlance.c:v1.9 21/Aug/96 Miguel de Icaza (miguel@nuclecu.unam.mx)
> eth0: LANCE 08:00:20:c0:ff:ee
> Partition check:
> sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
> VFS: Mounted root (ext2 filesystem) readonly.
> Adding Swap: 93432k swap-space
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035
> Swansea University Computer Society IPX 0.34 for NET3.035
> IPX Portions Copyright (c) 1995 Caldera, Inc.
> Appletalk 0.17 for Linux NET3.035

> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 5, lun 0
> Detected scsi CD-ROM sr1 at scsi0, channel 0, id 5, lun 1
> Detected scsi CD-ROM sr2 at scsi0, channel 0, id 5, lun 2
> Detected scsi CD-ROM sr3 at scsi0, channel 0, id 5, lun 3
> Detected scsi CD-ROM sr4 at scsi0, channel 0, id 5, lun 4
> Detected scsi CD-ROM sr5 at scsi0, channel 0, id 5, lun 5
> Disc change detected.

> VFS: Disk change detected on device 0b:00
> sr_photocd: ioctl error (SONY/PIONEER): 0x28000000
> Device not ready. Make sure there is a disc in the drive.

> VFS: Disk change detected on device 0b:00
> CD-ROM I/O error: dev 0b:00, sector 64
> isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
> Device not ready. Make sure there is a disc in the drive.

> VFS: Disk change detected on device 0b:00
> sr_photocd: ioctl error (SONY/PIONEER): 0x28000000
> Device not ready. Make sure there is a disc in the drive.

> VFS: Disk change detected on device 0b:00
> CD-ROM I/O error: dev 0b:00, sector 64
> isofs_read_super: bread failed, dev 0b:00 iso_blknum 16 block 32
>
>
> This happens with Linux 1.2.x and 2.0.x, on an Intel PC same as on
> this little Sparc IPX! Has anyone an idea?

Martin,
Do an 'ls -l ?cd* | more' and see if there are
some devices like :

scd5:0
^- Some form of delimiter, Maybe even no delimter.
Or,
scd5a b c d e f

Then again the Driver/Kernel/Device combination may not be
handling Multi-lun CD's correctly. ;-}

In my HOWTO's & what not, there is -only- the mention that
hard-disk-drives on bridge boards get assigned to the next
device letter IE: disk ID0,Lun0 ; disk ID0,Lun1 w/b
/dev/sda ; /dev/sdb, But how the kernel et-al, handles
the cd-rom cases doesn't seem to be available in my literarture.

Hth, JimL
_________________________________________
| James W. Laferriere | Network Engineer |
| babydr@nwrain.net | System Techniques |
| 25416 - 22nd S. | Kent, WA 98032 |
| Give me VMS -or- Give me Linux |
| but only on AXP |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~