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

Notices


Reply
  Search this Thread
Old 01-11-2017, 06:13 PM   #1
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Rep: Reputation: 77
(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.
 
Old 01-11-2017, 11:31 PM   #2
STDOUBT
Member
 
Registered: May 2010
Location: Stumptown
Distribution: Slackware64
Posts: 583

Rep: Reputation: 242Reputation: 242Reputation: 242
Idea:
Try the same process under a different desktop environment, or window manager.
It may be a Dolphin issue?
 
Old 01-12-2017, 12:00 AM   #3
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
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.
 
Old 01-12-2017, 03:09 AM   #4
aragorn2101
Member
 
Registered: Dec 2012
Location: Mauritius
Distribution: Slackware
Posts: 567

Rep: Reputation: 301Reputation: 301Reputation: 301Reputation: 301
Hi,

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.
 
Old 01-12-2017, 04:14 AM   #5
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
Thanks for the replies.

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.
 
Old 01-12-2017, 08:18 AM   #6
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
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.
 
Old 01-12-2017, 03:57 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.

What is the output of the groups command?
 
Old 01-12-2017, 04:21 PM   #8
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
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.
 
Old 01-12-2017, 04:33 PM   #9
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Seeing some work and some don't. Do you have UDF filesystem libraries installed?

I expect there should be no entry but what does your /etc/fstab look like?

One more thing. If you log into your DE as root. Does it auto mount then?

Last edited by ericson007; 01-12-2017 at 04:39 PM.
 
Old 01-12-2017, 05:02 PM   #10
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
If I log into Gui as root it's the same as a regular user i still have to use the terminal to mount data cds.

Fstab
/dev/sda5 swap swap defaults 0 0
/dev/sda9 / ext4 defaults 1 1
/dev/sda10 /home ext4 defaults 1 2
/dev/sda2 /win ntfs-3g fmask=111,dmask=000 1 0
/dev/sda8 /DATA vfat fmask=111,dmask=000 1 0
/dev/sdb1 /data1 vfat fmask=111,dmask=000 1 0
/dev/sdb2 /data2 vfat fmask=111,dmask=000 1 0
/dev/sdb3 /data3 vfat fmask=111,dmask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0


How do I check for UDF filesystem libraries?
 
Old 01-12-2017, 05:45 PM   #11
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
That dev cdrom line i presume would be one single line in the fstab file without a carriage return splitting it. Sorry i am on a phone now so.

Take the hash out before the def cdrom, restart and try with the cds.

Here is checking the kernel modules

search and listing modules

Now if you use

Code:
lsmod | grep udf
That should filter out some stuff.

Now one thing here is the catch. Not sure what it will be called with slack since i do not use slack, but it should be sort of the same.
 
Old 01-12-2017, 06:32 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ericson007 View Post
That dev cdrom line i presume would be one single line in the fstab file without a carriage return splitting it. Sorry i am on a phone now so.

Take the hash out before the def cdrom, restart and try with the cds.
If OP removes that, automounts won't work anymore (if they worked in the first place). Automounts are overridden by entries in the fstab.
 
Old 01-12-2017, 06:48 PM   #13
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by bassmadrigal View Post
If OP removes that, automounts won't work anymore (if they worked in the first place). Automounts are overridden by entries in the fstab.
Did not think that one through. Cheers for the update.
 
Old 01-12-2017, 07:04 PM   #14
itsgregman
Member
 
Registered: Jan 2008
Location: North Carolina
Distribution: Slackware 14.1
Posts: 211

Original Poster
Rep: Reputation: 77
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.
 
Old 01-12-2017, 11:58 PM   #15
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
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
Saw that here

Will keep looking.
 
  


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
strange issue - Multiple IP configuration shashij Linux - Networking 3 06-18-2010 08:15 AM
SAMBA - strange permissions issue with files copied from a DVD taylorkh Linux - Server 5 12-01-2009 05:55 PM
AWK/SED Multiple pattern matching over multiple lines issue GigerMalmensteen Programming 15 12-03-2006 05:08 PM
Burning DVD's and DVD file systems hockeystop Linux - General 0 10-25-2004 11:47 AM
Strange read issue with DVD drive. neocookie Linux - Hardware 2 05-31-2004 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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