LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   cdrom/dvd drive not mounting on its own (https://www.linuxquestions.org/questions/debian-26/cdrom-dvd-drive-not-mounting-on-its-own-719412/)

radiodee1 04-15-2009 05:17 PM

cdrom/dvd drive not mounting on its own
 
I've been following testing, and some time today or yesterday I did updates and installed some things and now my dvd/cdrom drive is not mounting on its own. I can get the drive to mount by typing "mount /dev/hda /media/cdrom0" (as root) so the hardware is not broken, but I don't know what I did or how to fix it, and I'm hoping in a later update the problem will be fixed on it's own, but what do I do in the mean time?

I was looking at the man page for "mount" and it says you can set a line up in fstab that allows a user to mount a cd by typing a simple mount command, but I'd like something that mounts the cd on its own when I insert it. Does anyone know, and has anyone had this experience? Thanks.

amani 04-16-2009 10:07 AM

Post contents of /etc/fstab
You seem to be having a related entry

mount -t iso9660 /dev/dvdrw /media/cdrom0


it maybe /dev/sdb1 (if you have only one hard drive)

radiodee1 04-16-2009 10:23 AM

I have a line that reads like this in fstab, actually (didn't notice it before), but my drive still doesn't mount on its own.
Code:

#cdrom
/dev/hda        /media/cdrom0  udf,iso9660 user,noauto    0      0

I went ahead and made a launcher on my desktop so that I can execute the command "mount /cdrom" quickly, but it doesn't fix the problem. I looked in dmesg, but I don't know what I'm looking for. The really strange thing is that it recognizes a blank dvd if I want to burn something. I don't know what that means.

BTW, "/dev/hda" and "/media/cdrom0" are the right locations for my dvd and mount point, and there's a symbolic link at "/cdrom0" that points to "/media/cdrom0".

farslayer 04-16-2009 03:58 PM

is gnome-volume-manager running ? I know it's required for Flash drives to automount.. .

radiodee1 04-16-2009 05:43 PM

I don't know how to check that. This is the output of "ps -e | grep gnome". The man page for gnome-volume-manager is very small, and there doesn't seem to be a command 'gnome-volume-manager'. How does one start gnome-volume-manager?
Code:

7139 ?        00:00:01 gnome-terminal
 7142 ?        00:00:00 gnome-pty-helpe
 7891 ?        00:00:00 gnome-keyring-d
 7921 ?        00:00:00 gnome-session
 7980 ?        00:00:02 gnome-settings-
 8026 ?        00:00:26 gnome-panel
 8027 ?        00:00:24 gnome-screensav
 8031 ?        00:00:00 gnome-vfs-daemo
 8038 ?        00:00:03 gnome-cups-icon
 8066 ?        00:00:01 gnome-power-man

EDIT:
You're right, I just inserted a flash drive and nothing happened.

radiodee1 04-16-2009 06:01 PM

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=519550

This bug describes my problem pretty closely. Thank you farslayer. I'm surprised no-one else has this problem. I tried removing consolekit, but it wants to remove pulseaudio. I don't know why that is. supposedly a new version of gnome-volume-manager is in sid. I'm also surprised I didn't notice this before... console kit was updated a while ago.

farslayer 04-16-2009 08:33 PM

sweet !! we nailed it :)

Code:

debianlenny:~$ ps aux | grep volume
default  4346  0.0  0.6  24156  6228 ?        Ss  Apr07  0:54 /usr/lib/gnome-volume-manager/gnome-volume-manager --sm-disable


go to System -> Preferences -> Sessions -> Startup Programs and make sure Volume Manager is present with a check in the box.
if theres a bug, even with the checkmark it may not be starting till you resolve the other issue.

and if you want granular control over what it does and doesn't mount automatically.. http://darkknight9.blogspot.com/2007...t-options.html
Hey !! I can get it to quit automatically prompting me to burn a CD when I insert a blank disc, that's been annoying me for a while...

radiodee1 04-18-2009 06:37 AM

Today I updated gnome-volume-manager from 2.22.1-1 to 2.24.1-2 but it did not fix my problem. Now "ps aux | grep volume" shows gnome-volume-manager running, but my disks still don't mount automatically. Also, I cannot find the tab in "System->Preferences->Removable Drives And Media" that I used to use to set the behavior that gnome is supposed to follow when a disk is inserted (at least I think that's where I used to find it). :confused: I haven't used any of the instructions from the link in the post by farslayer.


All times are GMT -5. The time now is 04:51 AM.