LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-31-2017, 07:00 AM   #1
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Rep: Reputation: Disabled
CDROM seems to be there but also seems not to be mounted.


Hi,

I'm running Suse LEAP 42.2 on a Dell Optiplex with 8Gb RAM

CDROM seems to be physically recognised but I can't mount it!

Code:
cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:             sr0
drive speed:            125
drive # of slots:       1
Can close tray:         1
Can open tray:          1
Can lock tray:          1
Can change speed:       1
Can select disk:        0
Can read multisession:  1
Can read MCN:           1
Reports media changed:  1
Can play audio:         1
Can write CD-R:         1
Can write CD-RW:        1
Can read DVD:           1
Can write DVD-R:        1
Can write DVD-RAM:      1
Can read MRW:           0
Can write MRW:          0
Can write RAM:          1
but

Code:
sudo mount -t iso9660 /dev/sr0 /media/cdrom
crb999's password:
mount: no medium found on /dev/sr0
Here is part of the output from hwinfo:

Code:
sudo hwinfo --short
 disk:
  /dev/sda             ST31000520AS
partition:
  /dev/sda1            Partition
  /dev/sda2            Partition
  /dev/sda3            Partition
cdrom:
  /dev/sr0             PLDS DVD+-RW DH-16AAS
Code:
lsscsi
[0:0:0:0]    disk    ATA      ST31000520AS     CC38  /dev/sda 
[1:0:0:0]    cd/dvd  PLDS     DVD+-RW DH-16AAS JD12  /dev/sr0
my /etc/fstab

Code:
cat /etc/fstab
UUID=0b96379d-a68b-460b-8ef2-393cfba700a3 swap swap defaults 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 / btrfs defaults 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /boot/grub2/i386-pc btrfs subvol=@/boot/grub2/i386-pc 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /boot/grub2/x86_64-efi btrfs subvol=@/boot/grub2/x86_64-efi 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /opt btrfs subvol=@/opt 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /srv btrfs subvol=@/srv 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /tmp btrfs subvol=@/tmp 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /usr/local btrfs subvol=@/usr/local 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/crash btrfs subvol=@/var/crash 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/libvirt/images btrfs subvol=@/var/lib/libvirt/images 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/mailman btrfs subvol=@/var/lib/mailman 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/mariadb btrfs subvol=@/var/lib/mariadb 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/mysql btrfs subvol=@/var/lib/mysql 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/named btrfs subvol=@/var/lib/named 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/pgsql btrfs subvol=@/var/lib/pgsql 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/log btrfs subvol=@/var/log 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/opt btrfs subvol=@/var/opt 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/spool btrfs subvol=@/var/spool 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/tmp btrfs subvol=@/var/tmp 0 0
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /.snapshots btrfs subvol=@/.snapshots 0 0
UUID=75e11fcd-338d-4773-98ba-5e78c9970cb9 /home xfs defaults 1 2
UUID=5a5efa05-1712-40c3-a4e7-10b553ed5404 /var/lib/machines btrfs subvol=@/var/lib/machines 0 0
the eject command or

Code:
eject /dev/sr0
doesn't work either!

I'm sure I'm missing something obvious!

Any guidance appreciated.
 
Old 01-31-2017, 07:25 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,945

Rep: Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325
did it work before? or did it work with another os? (you may try a live cd too)
 
Old 01-31-2017, 07:33 AM   #3
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
Hi Pan64, No it has never worked.

If I stick a music cd in then a KDE program 'K3b' tries to play it but it is intermittent and unacceptable.

However, I want to write CDs and DVDs but when I load a blank disk, the program just reports that there isn't a disk there and the mount command gives me

Code:
mount: no medium found on /dev/sr0
 
Old 01-31-2017, 07:40 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,945

Rep: Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325
I still would try another os. Also you can check /var/log, probably you can find something related. From my side it looks like it is damaged or was improperly put into the box.
 
Old 01-31-2017, 09:55 AM   #5
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
K3b does not play music cds. It will try to rip audio from it and it will write files or audio to a cd.
I don't know about other os's but opensuse can't mount or write to a blank cd directly. You need a program to do it. You do it in a terminal or you can use k3b. If you insert a blank cd you should get a prompt to write to it using K3b.
You can use k3b (or others, you already mentioned k3b) to write files (inc mp3) or to create an audio cd. Once a cd has files on it it will be mountable.
 
1 members found this post helpful.
Old 01-31-2017, 11:48 AM   #6
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by petelq View Post
.
You can use k3b (or others, you already mentioned k3b) to write files (inc mp3) or to create an audio cd. Once a cd has files on it it will be mountable.
Once a cd is mountable as explained, it will be read-only or you can copy files from it.
 
Old 01-31-2017, 04:00 PM   #7
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
Thanks people, useful stuff there. I've learnt more about k3b too.

Pan64 this is not on a dual boot! It is a dedicated Linux box.

I started by trying to write some mp4s to a blank DVD but so many things went wrong it was confusing.

I'll have another go tomorrow.
 
Old 02-01-2017, 12:39 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,945

Rep: Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325Reputation: 7325
you can boot a live cd any time (if you wish).
Did you try a data CD (which was working in another device)? Did you try a real audio CD already?
 
Old 02-01-2017, 06:40 AM   #9
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
I suggest putting in a KNOWN GOOD data disc and attempting the mount operation again. Also, are you "root" when you are executing the mount command?

Check /dev for other devices that may have been autocreated and linked to it like cdrom, cdrw, dvdrw, etc. If you find any, try those.
 
Old 02-01-2017, 07:10 AM   #10
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by ember1205 View Post
I suggest putting in a KNOWN GOOD data disc and attempting the mount operation again. Also, are you "root" when you are executing the mount command?

Check /dev for other devices that may have been autocreated and linked to it like cdrom, cdrw, dvdrw, etc. If you find any, try those.
Op was trying to mount a blank cd to write to it. And you can see from his 1st post that he was root.
 
Old 02-01-2017, 07:26 AM   #11
ember1205
Member
 
Registered: Oct 2014
Posts: 176

Rep: Reputation: 16
Quote:
Originally Posted by petelq View Post
Op was trying to mount a blank cd to write to it. And you can see from his 1st post that he was root.
Then why was he issuing the commands via sudo?
 
Old 02-01-2017, 08:34 AM   #12
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
I have put a good audio CD in the drive. It's Eric Clapton so it is good from more than one direction!

In a terminal window I executed 'kscd' which opened a CD player on the gui, but it didn't play anything although when I selected 'Play' it looked like it would but came up with the message @Unknown Artist Unknown Album'.

I opened VLC and it reported

Code:
Playback failure:
DVDRead could not open the disc "/dev/sr0".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.
With VLC, I approached another way and it reported:

Code:
VLC is unable to open the MRL 'cdda:///dev/sr0'. Check the log for details.
Now, finding the log is a problem in itself, in fact I've been unable to.

I'm going to try to get a different CD player!
 
Old 02-01-2017, 01:08 PM   #13
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by Crb999 View Post
I have put a good audio CD in the drive. It's Eric Clapton so it is good from more than one direction!

In a terminal window I executed 'kscd' which opened a CD player on the gui, but it didn't play anything although when I selected 'Play' it looked like it would but came up with the message @Unknown Artist Unknown Album'.

I opened VLC and it reported

Code:
Playback failure:
DVDRead could not open the disc "/dev/sr0".
Your input can't be opened:
VLC is unable to open the MRL 'dvd:///dev/sr0'. Check the log for details.
With VLC, I approached another way and it reported:

Code:
VLC is unable to open the MRL 'cdda:///dev/sr0'. Check the log for details.
Now, finding the log is a problem in itself, in fact I've been unable to.

I'm going to try to get a different CD player!
Put your audio cd in again and see if K3B will rip it. At least the system seems to see your player now but can't read your cd/dvd.
 
Old 02-01-2017, 01:11 PM   #14
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
Quote:
Originally Posted by ember1205 View Post
Then why was he issuing the commands via sudo?
OK. I concede that sudo is not exactly root but sudo will mount a disk if the disk is mountable.
 
Old 02-01-2017, 03:34 PM   #15
Crb999
Member
 
Registered: Jan 2017
Location: West Coast Scotland
Distribution: Suse Linux 42.2 Now 15.1
Posts: 323

Original Poster
Rep: Reputation: Disabled
k3b reports

"No optical drive found. K3b did not find any optical device in your system."
 
  


Reply

Tags
cdrom



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
Mounted CDROM drive rw goes ro nix84 Programming 4 11-19-2015 05:54 AM
Cdrom now mounted but still more trouble silentwhispers Mandriva 11 08-04-2004 02:23 AM
Installation Error: CDROM Could Not Be Mounted caladbolg Red Hat 5 07-19-2004 08:53 AM
games do not see mounted cdrom gonus Linux - Hardware 4 09-27-2002 07:29 PM
CDROM drive can not be mounted fedel Programming 2 08-12-2002 08:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:24 PM.

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