LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2003, 04:29 PM   #1
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Rep: Reputation: 15
Mounting problems with Kernel


I am trying to compile a new kernel 2.4.20 and when I finish it won't mount my CDROM or Floppy. I have the file systems in the kernel, am I missing something that needs to be in the kernel? When I try to mount it says you need to specify file system, so I do "mount -t iso9660 /dev/cdrom /mnt/cdrom" then it says it is an invalid block device!?!? Any suggestions.
 
Old 06-16-2003, 08:25 PM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
What distro? Assuming you are using a distro that uses DevFS you may have missed support for that. Check in the filesystem section.

Cool
 
Old 06-17-2003, 09:41 AM   #3
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
I'm using Openna, why does that matter? You should be able to use the same filesystems on most distros, shouldn't you?
 
Old 06-17-2003, 09:59 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Yes, but your error isn't about filesystem, it's about device. So if your distro is using DevFS to create devices, and you missed that during your kernel compile, then you won't have any devices

Cool
 
Old 06-17-2003, 10:13 AM   #5
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
Hmmm I am a newbie and I don't think I know what Dev File System is?? I use Reiser FS, and then the floppy and cdrom have their own FS. The distro does use a DEV directory containing all the devices, but I don't remember the kernel compiling had anything to do with that.
Thanks for your help.
 
Old 06-17-2003, 11:31 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64


Can you post up the contents of that directory?

...

Ok, another school of thought here since the DevFS isn't going anywhere:
Did you old kernel use scsi-emulation? Is it possibly a cd burner? There are other things in your kernel you need for your devices to work, not just a filesystem. Look at the ATA/RAID section and make sure you've got cdrom support enabled.

Cool
 
Old 06-18-2003, 11:13 AM   #7
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
The directory is huge! Not sure if the old Kernel used SCSI emulation, I have nothing that is SCSI on the system. The CDROM is not a CD-Burner, I know that you need to have SCSI enabled for that to work. I have ATA turned on with CDROM support. I don't undertand why it would do this to both CDROM and Floppy disks... What kernel option affects both?
 
Old 06-18-2003, 11:46 AM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Block device, but anything I can think of would also effect HD's except the actual CDROM modules...

Yeah, I checked out your distro a bit, doesn't appear to use DevFS, so that idea is gone.

Did you move your CDROM at all? But then, why is your floppy affected? Check the Block Device section in the kernel for floppy, and then re-check the ATA section for CDROM support...

Cool
 
Old 06-18-2003, 03:22 PM   #9
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
Ok, I recompiled my kernel and set "Include IDE/ATAPI CDROM support" to yes, even though you are not suppose to need this for 1 CDROM drive. I think that fixed my CDROM problem, it is mounting fine now. I still could not mount my floppy drive so I recompiled again including DOS VFAT file system, which I never had included before, and my floppy mounts fine now. Is that the correct FS to compile for a Floppy? I also found a file called Mudules.devfs I think this may have something to do with your DEV fs. What is DEV and where can I find more info on it? Thanks for all your help!!
 
Old 06-18-2003, 05:07 PM   #10
tbayer
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 33

Original Poster
Rep: Reputation: 15
Another update... I did a "rpm -q devfsd" and the distro does come with it installed. How can I incorporate this devfsd into a Monolithic Kernel? Since it looks like it is designed to be Modular.
 
Old 06-18-2003, 09:45 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
I'd suggest you not tinker with DevFS until you read ALOT about it...

Cool
 
  


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
Problems auto-mounting usb drives in kernel 2.6.13.3 dizzi Slackware 8 10-29-2005 02:41 PM
kernel 2.6 causes kernel panic when mounting cd Ex-Pralite_Monk Slackware - Installation 2 08-14-2004 10:12 PM
Mounting Problems in New Kernel lawrencegoodman Linux - Newbie 4 05-31-2004 09:35 AM
Kernel 2.6 and mounting a CDROM Zaskar Fedora 2 02-22-2004 11:30 AM
Problems Mounting QPS Que! firewire drive on Fedora Core 1 Kernel 2.6.0 cthrax Linux - Newbie 2 02-01-2004 04:39 PM


All times are GMT -5. The time now is 02:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration