LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-24-2005, 11:38 PM   #1
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Rep: Reputation: 15
Cd drive does not work undernew kernel


Hi. I recently compiled the 2.6.10 kernel and after have some problems (it very hard to use linux when the keyboard isnt compiled in) it mostly works now. Howerver my current problem is that my cd drive doesnt work. When i put a cd in and right click the icon on the desktop and go mount it gives me this error, mount: wrong fs type, bad option, bad superblock on /dev/hdc, or too many file systems

I have made sure that the cd file system are compiled in properly and while it is loading linux it lists my cd drives as being found but then gives and error message about supermount fs not supported by kernel. I am running mandrake 10.1 and any help in getting this stumbling block out of the way which is stoping me using linux full time (i need something installed of cd which will allow me to install some other things and so on)

Thx
 
Old 01-25-2005, 12:58 AM   #2
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
Quote:
. . . lists my cd drives as being found but then gives and error message about supermount fs not supported by kernel.
This appears to me that supermount is not supported by the kernel you compiled. Each distribution adds some of its own special functionality, in this case, Mandrake provides supermount which automates mounting removable media. Since you are not using a Mandrake kernel, you can change the settings for the CD-ROM drive in MCC [The Mandrake Control Center]:

Open MCC in the Mandrake menu system at System / Configuration / Configure your Computer.

Click on Mount Points in the menu bar to the left.

Click the CD-ROM icon in the main part of the window.

Select the Options radio button near the top left, then click the OK button near the bottom right.

Uncheck the supermount option, then click the OK button until you return to the main MCC window.

Next time you restart, you should not see any supermunt errors, and I think the CD-ROM should work ok.
 
Old 01-27-2005, 11:36 PM   #3
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
H. Sry it took so long to reply but i have been busy with work. Any way i tried wut you said but supermount is all ready unticked. Any other ideas?

Thx
 
Old 01-28-2005, 08:52 PM   #4
nafan
Member
 
Registered: May 2004
Location: /dev/bed
Distribution: Mandriva 2009.0 Powerpack
Posts: 172

Rep: Reputation: 30
Your /etc/fstab file should have a line in that referrs to your cdrom drive. Using a mandrake kernel which includes supermount and after a fresh install this is one of the entries that begin with 'none'.

For a standard vanilla kernel from kernel.org that you have compilled this line should read like the others, i.e. Your cd rom device, where you want to mount it, the filesystem type, the filesystem options etc etc..

Using my own as an example, I have a CD-ROM drive at /dev/hdc (Secondary Master) and I want to mount it as /mnt/cdrom letting the system decide what the filesystem is. The entry in /etc/fstab is
Code:
/dev/hdc /mnt/cdrom auto user,noexec,noauto 0 0
Reading across the line.... /dev/hdc (the cd drive) gets mounted at /mnt cdrom and the filesystem is detedted automatically. It can be mounted and unmounted by an ordinary user, executable files on cd's are not allowed to run, and any disc that may be in the drive is not automatically mounted when the system starts. I would also get rid of any 'extraneous information' like iocharset and codepage. If you have these in as options and everything works fine, then by all means leave them in. If not take them out, and try it again.

Personally I have never liked the supermount 'feature' of Mandrake kernels and find it quite flaky and a nusiance at best.
 
Old 02-01-2005, 02:55 AM   #5
BW~Merlin
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
Sry once agian for taking so long to reply (must make a bigger effort on my behalf) Here is a copy of the of the section you pointed out to me in fstab.

/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,ro,exec,users 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,ro,exec,users 0 0

I can see some similarites between yours and mine but mine seems to have a heaps more things in there was well which you mentioned that might be there. So i should then remove those things you mentioned to make it look like this?

/dev/hdc /mnt/cdrom auto user,execo 0 0
/dev/hdd /mnt/cdrom auto user,execo 0 0

Thanks
 
  


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
DVD Drive and CDRW Drive Will not mount on Slackware 10.1 Kernel 2.6.1 necrozen Linux - Hardware 1 09-13-2005 08:21 PM
Still can't seem to get second hard drive to work revenge80200 Linux - Newbie 6 07-29-2005 10:35 PM
Cannot detect CDRW drive, Kernel 2.6.9, Mitsumi drive scuzzman Linux - Hardware 1 06-02-2005 06:07 PM
My tape drive doesn't work! ghoppy Linux - Hardware 6 05-07-2003 12:44 AM
floppy drive won't work bobterri Linux - Hardware 2 11-04-2002 09:39 AM

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

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