LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-15-2009, 05:17 PM   #1
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675
Blog Entries: 11

Rep: Reputation: 36
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.
 
Old 04-16-2009, 10:07 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
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)
 
Old 04-16-2009, 10:23 AM   #3
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

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

Last edited by radiodee1; 04-16-2009 at 10:26 AM.
 
Old 04-16-2009, 03:58 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
is gnome-volume-manager running ? I know it's required for Flash drives to automount.. .
 
Old 04-16-2009, 05:43 PM   #5
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

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

Last edited by radiodee1; 04-16-2009 at 05:47 PM.
 
Old 04-16-2009, 06:01 PM   #6
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

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

Last edited by radiodee1; 04-16-2009 at 06:05 PM.
 
Old 04-16-2009, 08:33 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
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...
 
Old 04-18-2009, 06:37 AM   #8
radiodee1
Member
 
Registered: Oct 2006
Location: New York
Distribution: Debian
Posts: 675

Original Poster
Blog Entries: 11

Rep: Reputation: 36
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). I haven't used any of the instructions from the link in the post by farslayer.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
mounting cdrom and dvd combo stumped Linux - Hardware 3 12-19-2005 01:04 PM
CDROM/DVD-ROM mounting correctly ProtoformX Slackware 2 09-16-2005 01:03 PM
usb cdrom/dvd not mounting pck3152 Linux - Hardware 1 08-23-2005 10:21 PM
usb cdrom/dvd not mounting pck3152 Linux - Software 1 08-23-2005 06:43 PM
cant mount cdrom, mounting dvd = error WARHEAD Slackware 17 07-03-2004 10:19 AM

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

All times are GMT -5. The time now is 05:36 AM.

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