Author Topic: Mount Usb Cd-rom Won't Mount [fixed]  (Read 6974 times)

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« on: October 30, 2006, 07:54:03 pm »
I have a full sized CD-ROM installed in a USB external enclosure.
TOSHIBA   Model: CD-ROM XM-6202B   Rev: 1110
Type:   CD-ROM   ANSI SCSI revision: 02
This is an older CD-ROM (32x)
I want to get this one working before I plunk down $149.95 for a Slim external USB DVD/CD-ROM drive.
It does work in Windows, I tried it.
C3100 with Cacko 1.23 Lite
Installed these:
isofs-modules-2.4.20_1.23-lite-1_arm.ipk
udf-modules-2.4.20_1.23-lite-1_arm.ipk
I have 4 USB modules installed also:
usb-network-modules-2.4.20_1.23--lite-1_arm.ipk
usb-serial-modules-2.4.20_1.23-lite-1_arm.ipk
usb-storage-modules-2.4.20_1.23--lite-1_arm.ipk
libusb_1.1.8_arm.ipk

I also have "cdrtools-2.01.tar.gz" but am not sure where to install this.

I have followed several instructions to get my CD-ROM drive to mount on my C3100, but it always fails.
I have tried a Data CD. (A CD that I made with directories full of programs and data)
I tried an mp3 only CD. (A CD with 89 mp3s in the root directory)
I decided to use a "pressed" CD from a known manufacturer.
I used Meanie's instructions and Da_Blitz's instructions.
Meanie's instructions:
# su
# mkdir -p /mnt/cdrom
# mount -o ro /dev/scd0 /mnt/cdrom

Da_Blitz's instructions:
# mount /dev/scd0 /mnt/cdrom

I also tried:
# mount /dev/scd0 /mnt/usbstorage

When I issue either command, (Meanie's or Da_Blitz's or /mnt/usbstorage)
I get this:
mount: /dev/scd0 is write protected, mounting read-only
(repeats 6 more times)
mount: /dev/scd0 on /mnt/cdrom failed: Invalid argument

I looked in my /dev folder and I DO have:
cdrom
scd0

I also have cdrom under /mnt
/mnt/cdrom

Below are several lines from dmesg.
Code: [Select]
usbh: monitor_int_hndlr:
usbh: monitor_bh:
usbh: udc_connected: ACTIVE_LOW: 1<7>usbh: monitor_connected: 1
usbh: monitor_load: 4
usbh: monitor_hotplug: agent: usbh interface: monitor action: load
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xfe000000, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device -2, assigned address 2
usb.c: USB device 2 (vend/prod 0x4b4/0x6830) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi0 : SCSI emulation for USB Mass Storage devices
  Vendor: TOSHIBA   Model: CD-ROM XM-6202B   Rev: 1110
  Type:   CD-ROM                             ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi-1 drive
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.
VFS: Can't find ext3 filesystem on dev sr(11,0).
VFS: Can't find ext2 filesystem on dev sr(11,0).
cramfs: wrong magic
MINIX-fs: blocksize too small for device.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 0b:00.
jffs2: attempt to mount non-MTD device 0b:00
SQUASHFS error: Can't find a SQUASHFS superblock on sr(11,0)
VFS: Can't find ext3 filesystem on dev sr(11,0).
VFS: Can't find ext2 filesystem on dev sr(11,0).
cramfs: wrong magic
MINIX-fs: blocksize too small for device.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 0b:00.
jffs2: attempt to mount non-MTD device 0b:00
SQUASHFS error: Can't find a SQUASHFS superblock on sr(11,0)
VFS: Can't find ext3 filesystem on dev sr(11,0).
VFS: Can't find ext2 filesystem on dev sr(11,0).
cramfs: wrong magic
MINIX-fs: blocksize too small for device.
FAT: bogus logical sector size 0
VFS: Can't find a valid FAT filesystem on dev 0b:00.
jffs2: attempt to mount non-MTD device 0b:00
SQUASHFS error: Can't find a SQUASHFS superblock on sr(11,0)
#
« Last Edit: October 31, 2006, 12:03:10 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« Reply #1 on: October 30, 2006, 10:33:51 pm »
Have you tried specifying the filesystem type:

Code: [Select]
mount -t iso9660 /dev/scd0 /mnt/cdrom
NB the "-o ro" is optional because for a CDROM it will default to readonly anyway.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« Reply #2 on: October 30, 2006, 10:35:37 pm »
I think I tried that once, I'll try again
mount -t iso9660 /dev/scd0 /mnt/cdrom
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« Reply #3 on: October 30, 2006, 10:38:36 pm »
That worked!
I once rebooted and the file "cdrom" disappeared from /dev
I had to re-link it.
My CD appears in tree!explorer, but not in Qtopia's filemanager tab

Oh, by the way, Thank you desertrat!
« Last Edit: October 30, 2006, 11:14:58 pm by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« Reply #4 on: October 30, 2006, 10:45:31 pm »
Do I need to unmount/mount it if I change the CD?
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Mount Usb Cd-rom Won't Mount [fixed]
« Reply #5 on: October 30, 2006, 10:51:02 pm »
The eject button doesn't operate now.
I'm going to umount it and change the CD
EDIT: it needed to be unmounted to use the eject button, going to try a mp3 CDRW..
Zplayer can "see" my CDRW with mp3s on it.
That worked, this is cool. Now I'm going to RadioShack and get a
Targus USB Slim External DVD-CD-ROM Drive

BTW, is there a way to make the CD-ROM show up in QTopia's filemanager tab? (I'm making a new post for this).
« Last Edit: October 31, 2006, 02:44:18 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers