LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-04-2004, 04:29 PM   #1
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Rep: Reputation: 30
Mount external USB cdrom drive


I can't for the life of me figure out how to mount this drive. Here's what I have:

lsusb
Bus 001 Device 003: ID 05e3:0701 Genesys Logic, Inc. Optical Device
Bus 001 Device 002: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 001 Device 001: ID 0000:0000

cdrecord -scanbus
scsibus0:
0,0,0 0) ' ' 'CRW-5224A ' '1.20' Removable CD-ROM

# fdisk -l

Disk /dev/hda: 6448 MB, 6448619520 bytes
240 heads, 63 sectors/track, 833 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 33 249448+ 83 Linux
/dev/hda2 34 162 975240 83 Linux
/dev/hda3 163 227 491400 83 Linux
/dev/hda4 228 833 4581360 5 Extended
/dev/hda5 228 292 491368+ 83 Linux
/dev/hda6 293 486 1466608+ 83 Linux
/dev/hda7 487 615 975208+ 83 Linux
/dev/hda8 616 833 1648048+ 83 Linux

Disk /dev/hdb: 1281 MB, 1281982464 bytes
64 heads, 63 sectors/track, 621 cylinders
Units = cylinders of 4032 * 512 = 2064384 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 242 487840+ 82 Linux swap
/dev/hdb2 243 621 764064 83 Linux

With a perfectly mountable data disc in the drive:

# mount /dev/scd0 /cdrom
mount: /dev/scd0 is not a valid block device
atilla:/home/glenn# mount /dev/scd1 /cdrom
mount: /dev/scd1 is not a valid block device
atilla:/home/glenn# mount /dev/scd2 /cdrom
mount: /dev/scd2 is not a valid block device
atilla:/home/glenn# mount /dev/sr0 /cdrom
mount: /dev/sr0 is not a valid block device
atilla:/home/glenn# mount /dev/sr1 /cdrom
mount: /dev/sr1 is not a valid block device
atilla:/home/glenn# mount /dev/sr2 /cdrom
mount: /dev/sr2 is not a valid block device
atilla:/home/glenn# mount /dev/sg0 /cdrom
mount: /dev/sg0 is not a block device
atilla:/home/glenn# mount /dev/sg1 /cdrom
mount: /dev/sg1 is not a block device
atilla:/home/glenn# mount /dev/sg2 /cdrom
mount: /dev/sg2 is not a block device

lsmod
/snip/
usb_storage 27648 0
uhci_hcd 30224 0
usbcore 104164 6 usbmouse,usbkbd,usb_storage,uhci_hcd
sg 30240 0

The drive works fine but damned if I can figure this one out. Thanks for any ideas.
 
Old 08-04-2004, 04:49 PM   #2
Ambrosia
LQ Newbie
 
Registered: Aug 2004
Location: Germany
Distribution: Debian Sid
Posts: 17

Rep: Reputation: 1
I think you're missing the sr_mod module (for using /dev/scd* devices). See if you have it, or if scsi cd-rom support is activated in your Kernel.

Last edited by Ambrosia; 08-04-2004 at 04:50 PM.
 
Old 08-04-2004, 09:55 PM   #3
rickenbacherus
Member
 
Registered: Mar 2003
Location: colorado springs. colorado
Distribution: Debian-Sid 2.6.24-rt1
Posts: 290

Original Poster
Rep: Reputation: 30
You were spot on. That dit it. Thanks!
 
Old 05-29-2006, 07:12 PM   #4
fulanolinux
LQ Newbie
 
Registered: May 2006
Posts: 5

Rep: Reputation: 0
Hello all,

In my case I had to recompile the kernel in order to add scsi device support (scsi cdrom support), which adds module sr_mod (check with modprobe -l or lsmod if you already have it), since usb devices are accessed via scsi devices.
After that (make xconfig, make modeles_install) , reboot and mounted /dev/scd0 on /mdeia/dvdrecorder (or any other mount point).
mount -t iso9660 /dev/scd0 <mountpoint>
In some cases, depending on the number of usb devices attached, the device id may differ from scd0, being another number. In such case, use lsusb (figure out bus and device ids), /proc/scsi files, /var/log/messages.
regards,
F.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount an external NTFS USB drive on Mandrake 10.0?? mannyjazz Linux - Hardware 6 05-29-2006 07:13 PM
New to RH9 please help me to mount? a external usb hard drive ginda Linux - Newbie 7 05-29-2006 07:11 PM
How to Mount External USB CD Drive? ArchiMark Linux - Laptop and Netbook 12 05-29-2006 07:10 PM
How to mount external USB hard drive? zyzyis Linux - Newbie 6 02-01-2006 09:37 PM
how get cdrom-rw usb external drive working on redhat 9? Karvalho Linux - Hardware 14 02-09-2004 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration