Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am attempting to install an external dvdrw on fedora 6.
I attach the dvdrw device to the USB port and run dmesg:
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: CD-ROM SONY DVD RW DRU-710A BY01 PQ: 0 ANSI: 0
scsi 2:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
I presume the system has picked up the device and check /dev:
# ls -lrt /dev
brw-rw---- 1 root disk 11, 0 Mar 28 14:35 scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvdwriter-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvdwriter -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvd-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvdrw -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 dvd -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdwriter-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdwriter -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdrw -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdrom-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 28 14:35 cdrom -> scd0
I try to mount the device however get the following error:
# mount /dev/scd0 -t iso9660 -r /mnt/usbcdrom
mount: wrong fs type, bad option, bad superblock on /dev/scd0,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
can anyone tell me where I am going wrong? I have read several documents but cant seem to find any useful info.
I attach the dvdrw device to the USB port and run dmesg:
scsi2 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
scsi 2:0:0:0: CD-ROM SONY DVD RW DRU-710A BY01 PQ: 0 ANSI: 0
scsi 2:0:0:0: Attached scsi generic sg0 type 5
usb-storage: device scan complete
sr0: scsi3-mmc drive: 62x/62x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 2:0:0:0: Attached scsi CD-ROM sr0
I presume the system has picked up the device and check /dev:
I try to mount the device however get the following error:
# mount /dev/scd0 -t iso9660 -r /mnt/usbcdrom
Dmesg reports the device as generic SCSI, sg0. Look in /dev for sg* devices, and try to mount those. Also, you may not need the "-t iso9660" in there, since most of the times I've used CD/DVD's, the filesystype was auto-identified.
I have an external CD burner, and it shows up as /dev/sr0 when I plug it in. Are those /dev/scd* devices there before you plug in the burner?
And things appear to be working. My external CD-Burner shows up and is mountable. If usb-storage isn't there, do a 'modprobe usb-storage'. I'm on SuSE now, but it should be the same for you.
Also, I know you've probably checked this already, but is the CD/DVD you're trying to mount actually readable by another system?
what should the entry in the fstab look like if any?
also it is worth noting that a dvd or cd with data on can be mounted however blank cd's cannot.
No fstab entry is required.
However, you can't mount a blank CD/DVD at all....it's got no filesystem TO mount. You've got to burn something to it, and put a filesystem on it, before you can use it, just like you have to format a blank hard drive.
And things appear to be working. My external CD-Burner shows up and is mountable. If usb-storage isn't there, do a 'modprobe usb-storage'. I'm on SuSE now, but it should be the same for you.
Also, I know you've probably checked this already, but is the CD/DVD you're trying to mount actually readable by another system?
When I run modprobe usb-storage. This is what I get:
FATAL: could not load modules /lib/modules/2.6.16.21-0.8-default/modules.dep
Can you assist ? I will post as a new request if I dont here back as I'm unsure if this will work as a reply to this thread.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.