(solved) Strange issue with cd/dvd on multiple systems
SlackwareThis Forum is for the discussion of Slackware 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.
(solved) Strange issue with cd/dvd on multiple systems
I have one system running 14.2 32 bit and another running 14.2 64 bit multilib and both have similar issues.
I have installed pretty much the same programs to both mostly multimedia programs and think something might have messed up some settings.
I noticed on the 32 bit that when I remove a data dvd and insert another that when I try to open it it shows empty, I realized that what it is doing is trying to open the last dvd I had in the drive even though it lists the current one. I have simply been right clicking in Dolphin on the dvd and clicking eject which unmounts it and allows the next to mount properly.
I had the same issue on the 64 bit multilib but found another issue not so easy to work around. On top of having to manually eject a disk from Dolphin, data cds don't mount at all, i can go to the terminal as root and mount them that way so I know the drive is working.
I have never had any issues like this with prior releases and would assume it was a bad ISO download if it wasn't on two systems installed from two different ISOs.
Any ideas would be appreciated.
Last edited by itsgregman; 01-14-2017 at 05:53 PM.
There are some reports in the ubuntu forums about it being certain kernel versions and the work around for them seems to be replacing the libblkid library.
Most users say after replacing it with one from a version from a previous kernel fixes the issue.
Make a backup of yours. Replace it with some other one and see what happens i suppose.
Are you complaining that you have to unmount CD/DVD via Dolphin to be able to read another CD/DVD? Well, that's the way things work in Linux. Any disk/drive has to be mounted before you can access it and it has to be unmounted after use. For a CD drive, of course, the disk has to be unmounted before another disk can be read via the same drive, unless you have a different drive available.
Now, in 64-bit you say that the CD's are not mounted at all. Ok, this may be due to your Desktop Environment's settings. If you are using KDE, it is easy to tweak with these. You can check out System Settings > Removable media, or Permissions. But be careful about these settings. Read a bit about the DE before changing these.
STDOUBT - I tried under XFCE, Fluxbox, and Window Maker and there is no change in behavior.
ericson007 - Thank you for the reply, I have no idea how to do that but will research that option immediately.
aragorn2101 - having to use Dolphin to manually unmount a cd/dvd is not intended behavior in Slackware. I have used minimalist distros in the past (around 2007-2008) where that may have been the case but as I've been using Slackware pretty much full time since 2010 or 2011 and have never had to do such. Inserting a cd/dvd should mount it and opening the cd/dvd drive should unmount it automatically. That in itself wasn't my concern here anyway, I simply included it as it may have been helpful for someone to figure out my real issue of being unable to mount data cds in any way other than going to terminal as root and typing "mount /dev/sr0 /media/cdrom0".
I didn't mention in my original post that when I insert a data cd the system notifier comes up but instead of the normal options there is only a singly item, it contains a cd icon and a mount icon to the right, if I hover over the mount icon it say mount this device but clicking does nothing, if I hover over the rest of the bar it says copy with k3b which will bring up k3b. I haven't tried to go further with that.
I thought to try and create an audio cd and data cd with k3b to see if a cd created on this system would work on this sytem and the audio cd burned and loaded properly while the data cd burned properly and will open in other OSes and other Linux systems but still wont mount in the one it was burned on, so it's an issue that only effect data cds.
I'm trying to understand what's happening. So, do no data CDs/DVDs work or does it only work the first time and then won't work again. If it is the first, my first guess would be you forgot to assign yourself to the recommended groups.
Bassmadrigal, my drive sometimes remembers the prior cd/dvd that was in the drive but that is easy to work around and my main problem is that my system won't mount a data cd unless i go to terminal as root and manually mounting it. The weirdest thing is every other type of cd mounts normally audio, jukebox disks and even commercial install disks, its only data disks that won't mount normally.
result of groups command
bash-4.3$ groups
greg mail news man audio video cdrom games slocate gdm pulse plugdev power users
I noticed something that struck me as strange but likely doesn't have anything to do with the issue but I'll add it anyway. I multiboot with windows and another linux. When I click on up from the mounted cd in the dolphin tool bar it takes me to the root partition of the other linux, after unmounting the / and /home of the other linux up takes me to the /media dir containing the cdrom0 I mounted the drive to. Probably just more random weirdness, 14.2 just really doesn't seem to like me.
Edit
All DVDs work and all CDs except data, even the ones burned on the same system today won't mount like they should. All dvds/cds have the ghost bug where if I insert a cd/dvd and then insert another it will show the contents of the cd/dvd that was installed prior and if you try and do anything with what is shown it says it can't be found and you have to unmount the cd/dvd from dolphin then it will read the cd/dvd currently in the drive. I can live with having to unmount discs in dolphin but this other issue with data cds is really annoying.
Last edited by itsgregman; 01-12-2017 at 04:27 PM.
Nothing returned for lsmod | grep udf
All that returned for lsmod udf was usage: lsmod
I knew better than to un comment the cdrom line in the fstab as I had tried that a few years back with a different issue so I knew it would create more issues than it would solve.
Closest thing I can find is when you build a kernel that the following should be selected. It is almost impossible to find what package or section contains that info or I am seriously looking in the wrong places.
Anyhow, when configuring the kernel it seems that there is an option in the sub tree of CD-ROM/DVD filesystems that should be chosen.
Code:
-CD-ROM/DVD Filesystems
--UDF file system support
You need this if you plan on reading or writing disks with the UDF filesystem
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.