LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-28-2007, 09:25 AM   #1
chlawren
LQ Newbie
 
Registered: Nov 2005
Posts: 21

Rep: Reputation: 0
install external dvdrw via USB


Hello all,

Please can someone assist?

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.

many thanks

chris
 
Old 03-28-2007, 10:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by chlawren
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?
 
Old 03-29-2007, 08:44 AM   #3
chlawren
LQ Newbie
 
Registered: Nov 2005
Posts: 21

Original Poster
Rep: Reputation: 0
the devices /dev/scd* disapear when i detach the cdburner
 
Old 03-29-2007, 09:12 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Are there any /dev/sg* devices there??? Did you try the mount without specifying the FS type?

One other thing I thought of is to do an 'lsmod', and look for the usb-storage module. When I do 'lsmod | grep usb', I get:

----------------------
usb_storage 105280 0
hci_usb 35740 0
bluetooth 90116 4 rfcomm,hidp,l2cap,hci_usb
usbhid 69792 0
usbcore 148064 5 usb_storage,hci_usb,usbhid,ohci_hcd,ehci_hcd
scsi_mod 173744 8 usb_storage,st,sr_mod,aic7xxx,scsi_transport_spi,sg,libata,sd_mod
ide_core 174720 4 usb_storage,ide_cd,amd74xx,ide_disk
------------------------

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?
 
Old 03-30-2007, 07:42 AM   #5
chlawren
LQ Newbie
 
Registered: Nov 2005
Posts: 21

Original Poster
Rep: Reputation: 0
output from # ls -l /dev
crw------- 1 root root 21, 0 Mar 30 12:03 sg0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvdwriter-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvdwriter -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvd-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvdrw -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 dvd -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdwriter-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdwriter -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdrw-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdrw -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdrom-sr0 -> scd0
lrwxrwxrwx 1 root root 4 Mar 30 12:03 cdrom -> scd0

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.

Thanks

Last edited by chlawren; 03-30-2007 at 08:12 AM.
 
Old 03-30-2007, 02:22 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by chlawren
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.
 
Old 08-16-2007, 07:31 AM   #7
dibblm
LQ Newbie
 
Registered: Aug 2007
Posts: 4

Rep: Reputation: 1
Need same help from Tbone. Im on suse as well.

Quote:
Originally Posted by TB0ne View Post
Are there any /dev/sg* devices there??? Did you try the mount without specifying the FS type?

One other thing I thought of is to do an 'lsmod', and look for the usb-storage module. When I do 'lsmod | grep usb', I get:

----------------------
usb_storage 105280 0
hci_usb 35740 0
bluetooth 90116 4 rfcomm,hidp,l2cap,hci_usb
usbhid 69792 0
usbcore 148064 5 usb_storage,hci_usb,usbhid,ohci_hcd,ehci_hcd
scsi_mod 173744 8 usb_storage,st,sr_mod,aic7xxx,scsi_transport_spi,sg,libata,sd_mod
ide_core 174720 4 usb_storage,ide_cd,amd74xx,ide_disk
------------------------

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.
 
  


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
CDRW, DVDRW and external usb hd drive not detected lido Linux - Hardware 4 10-17-2006 07:49 AM
USB DVDRW drive on Fedora Core 4 lothario Linux - Hardware 4 03-13-2006 09:29 PM
mounting a usb dvdrw on FC4 xtremeclones Linux - Newbie 5 01-19-2006 05:50 PM
how to install external usb cd-rw or combo? gherardo Linux - Hardware 0 08-26-2004 12:25 PM
External DVDRW trouble with kernel 2.6 wickdgin Linux - Hardware 5 08-22-2004 12:15 PM

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

All times are GMT -5. The time now is 08:09 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