LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 12-12-2004, 12:02 AM   #1
redsmoke
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Rep: Reputation: 0
CD-ROM wont unmount unless logged in as root


I am using knoppix 3.7 and had to recompile my kernel with mppe support. After doing this I can't unmount my cdrom after I mount it unless I log in as root. My fstab looks as follows and I don't see a problem with it and if I reboot into the previous kernel it works fine. I assume I missed a setting of some sort in the recompile I am using 2.4.27. I just copied the config from the previous kernel except I added mppe according to instructions on pptp.sourceforge.net .

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda1 / ext3 defaults,errors=remount-ro 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbdevfs /proc/bus/usb usbdevfs defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom1 /mnt/auto/cdrom1 auto users,noauto,exec,ro 0 0
# Added by KNOPPIX
/dev/hda2 none swap defaults 0 0

I think its an issue with knoppix's automount script but I am unsure.
 
Old 12-12-2004, 01:56 AM   #2
valerie_tux
Member
 
Registered: Aug 2003
Distribution: Debian
Posts: 150

Rep: Reputation: 15
Welcome to LinuxQuestions

Yes your fstab seems fine. My hunch.. the cdrom is mounted already at boot up which means one of your scripts might be culprit. Check your /etc/init.d folders. Knoppix has a lot of automatic scripts which are not required after installing on the hard disk. After umounting as root can you mount it as any other user. This will show if you are able to mount in the first place or not. Its been a while working with 2.4 kernels but still I cant think of anything which explains why change of kernel should make any difference.
 
Old 12-12-2004, 02:14 AM   #3
redsmoke
LQ Newbie
 
Registered: Dec 2004
Posts: 3

Original Poster
Rep: Reputation: 0
I just wanted to clarify it is not mounted at boot up. It is only after I mount it AS a user that I can't unmount it unless I login as root and do umount /dev/cdrom .
 
Old 12-13-2004, 07:09 AM   #4
lewmnik
LQ Newbie
 
Registered: Dec 2004
Location: Helsinki, Finland
Distribution: Debian Unstable
Posts: 6

Rep: Reputation: 0
Hi

It seems to be a kernel bug. Check the bugreports: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=243100

Niko
 
  


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
can't unmount CD ROM moborichard Linux - Software 1 04-02-2005 09:00 PM
Can't unmount CD-ROM drive WorldBuilder Linux - General 9 08-29-2004 12:21 AM
kde much slower to start when logged in as alan than logged in as root arubin Slackware 0 04-26-2004 04:27 PM
not logged in but session wont die! tig_grrrrr Linux - General 2 07-09-2003 10:56 AM
mozilla works fine when logged in as a user but crashes when logged in as root jimi Linux - General 6 04-02-2003 08:34 PM


All times are GMT -5. The time now is 05:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration