Hello,
I am running openSuse 11.2.
I am having problems mounting and reading cd’s and dvd’s.
If I try to click on the CD/DVD Drive Icon on the filer manager it comes up with an error: Unable to mount location: no media in the drive.
I have also tried shell mounting:$ mount /dev/sr0
Here is the result:$ mount: /dev/sr0: unknown device
My hardware manager shows my dvdrw drive as sr0.
I ran, based on other forums advice these commands:
$ ls /dev -l | grep dvd
lrwxrwxrwx 1 root root 3 2010-01-30 16:12 dvd -> sr0
lrwxrwxrwx 1 root root 3 2010-01-30 16:12 dvdrw -> sr0
$ ls /dev -l | grep cd
lrwxrwxrwx 1 root root 3 2010-01-30 16:12 cdrom → sr0
lrwxrwxrwx 1 root root 3 2010-01-30 16:12 cdrw → sr0
lrwxrwxrwx 1 root root 3 2010-01-30 16:12 scd0 → sr0
crw-rw---- 1 root cdrom 21, 1 2010-01-30 16:12 sg1
brw-rw----+ 1 root cdrom 11, 0 2010-01-30 16:12 sr0
Here is my fstab:
/dev/disk/by-id/ata-WDC_WD3200AAKS-75B3A0_WD-WMAT11573882-part3 swap swap defaults 0 0
/dev/disk/by-id/ata-WDC_WD3200AAKS-75B3A0_WD-WMAT11573882-part2 / ext4 acl,user_xattr 1 1
/dev/disk/by-id/ata-WDC_WD3200AAKS-75B3A0_WD-WMAT11573882-part1 /boot ext4 acl,user_xattr 1 2
/dev/disk/by-id/ata-WDC_WD3200AAKS-75B3A0_WD-WMAT11573882-part4 /home ext4 acl,user_xattr 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
I tried adding this line to fstab, but it didn’t work.
/dev/sr0 /mnt/cdrom auto noauto,rw,users 0 0
I would appreciate any help.
Maybe your drive wasn’t detected or is faulty. Do this:
dmesg | grep sr0
and post the results.
Thanks for the quick reply, I appreciate any help!
$ dmesg | grep sr0
5.153908] sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
5.154188] sr 1:0:0:0: Attached scsi CD-ROM sr0
$
Should work on CDs but not on DVDs as it’s a CD drive. What are you trying to mount? A data CD I hope?
Incidentally
mount /dev/sr0
is insufficient because you need to provide a mountpoint, unless it’s mentioned in /etc/fstab. Should be:
mount /dev/sr0 /mnt
for example.
It is a DVDRW drive.
Here is the output from the YaST Hardware Control Center:
11: udi = ‘/org/freedesktop/Hal/devices/storage_model_DVD__RW_GSA_H31N’
linux.hotplug_type = 3 (0x3)
storage.lun = 0 (0x0)
info.addons = { ‘hald-addon-storage’ }
storage.removable.media_size = 154304512ull (0x9328000ull)
storage.partitioning_scheme = ‘’
storage.cdrom.cdr = true
storage.cdrom.cdrw = true
storage.cdrom.dvd = true
storage.cdrom.dvdr = true
storage.cdrom.dvdrw = true
storage.cdrom.dvdrdl = false
storage.cdrom.dvdram = false
storage.cdrom.dvdplusr = true
storage.cdrom.dvdplusrw = true
storage.cdrom.dvdplusrwdl = false
storage.cdrom.dvdplusrdl = true
storage.cdrom.bd = false
storage.cdrom.bdr = false
storage.cdrom.bdre = false
storage.cdrom.hddvd = false
storage.cdrom.hddvdr = false
storage.cdrom.hddvdrw = false
storage.cdrom.mo = false
storage.cdrom.mrw = true
storage.cdrom.mrw_w = true
storage.cdrom.support_media_changed = true
storage.cdrom.support_multisession = true
storage.cdrom.read_speed = 8468 (0x2114)
storage.cdrom.write_speed = 2770 (0xad2)
storage.cdrom.write_speeds = { ‘22160’, ‘16620’, ‘11080’, ‘5540’ }
block.storage_device = ‘/org/freedesktop/Hal/devices/storage_model_DVD__RW_GSA_H31N’
info.category = ‘storage’
info.capabilities = { ‘storage’, ‘block’, ‘storage.cdrom’ }
org.freedesktop.Hal.Device.Storage.method_names = { ‘Eject’, ‘CloseTray’ }
org.freedesktop.Hal.Device.Storage.method_signatures = { ‘as’, ‘as’ }
org.freedesktop.Hal.Device.Storage.method_argnames = { ‘extra_options’, ‘extra_options’ }
org.freedesktop.Hal.Device.Storage.method_execpaths = { ‘hal-storage-eject’, ‘hal-storage-closetray’ }
info.product = ‘DVD±RW GSA-H31N’
info.udi = ‘/org/freedesktop/Hal/devices/storage_model_DVD__RW_GSA_H31N’
info.interfaces = { ‘org.freedesktop.Hal.Device.Storage’, ‘org.freedesktop.Hal.Device.Storage’, ‘org.freedesktop.Hal.Device.Storage.Removable’ }
block.device = ‘/dev/sr0’
block.major = 11 (0xb)
block.minor = 0 (0x0)
block.is_volume = false
storage.bus = ‘pci’
storage.no_partitions_hint = true
storage.media_check_enabled = true
storage.automount_enabled_hint = true
storage.drive_type = ‘cdrom’
storage.model = ‘DVD±RW GSA-H31N’
storage.vendor = ‘HL-DT-ST’
linux.sysfs_path = ‘/sys/devices/pci0000:00/0000:00:1f.2/host1/target1:0:0/1:0:0:0/block/sr0’
info.parent = ‘/org/freedesktop/Hal/devices/pci_8086_2920_scsi_host_0_scsi_device_lun0’
storage.firmware_version = ‘B110’
storage.originating_device = ‘/org/freedesktop/Hal/devices/computer’
storage.removable.media_available = false
storage.removable = true
storage.size = 0ull (0x0ull)
storage.hotpluggable = false
storage.requires_eject = true
storage.removable.support_async_notification = false
info.vendor = ‘HL-DT-ST’
I am wanting to load a dvd data file, that I know works.
Hmm, you’re right, a DVD writer still shows as a cd/rw. I’ve got dvd-ram also in the line so I thought that was necessary.
It looks like a media problem then. Have you tried various CDs and DVDs? Do all of them fail? Specify a mount point with:
mount -r /dev/sr0 /mnt
and see what message you get.
Thanks for your help.
I figured out what the problem was.
I am working on a Wine program installation and there are some problems mounting this dvd to install the program. Others are experiencing it as well.
All other data disks work.
I will pursue more direct answers through wine forums and etc…
Again thanks and hopefully I can start helping others soon!