LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-01-2004, 02:20 PM   #1
vortical
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26

Rep: Reputation: 15
Trouble with newb kernel compile



I have been attempting to compile the newest 2.4.25 kernel for a while with no really great luck. The closest that I have gotten is that when it boots I get a
Code:
mount: fs type supermount not supported by kernel
message. I don't know what this means, and therefore can't fix it myself.

As best as I can remember, I did the following to compile the kernel:

Code:
(in the /usr/src/ directory)
tar zxf linux-2.4.25.tar.gz
cp /linux-2.4.22-10mdk/.config /linux-2.4.25/
cd linux-2.4.25
make menuconfig (using the old .config file to start from)
make dep
make bzImage
(uncommented makefile line #74, but i cant remember what it was at the moment)
make
make install
make modules
make modules_install

vi /etc/lilo.conf (set up lilo the way i like it)
/sbin/lilo

reboot
Can somebody please help me?
 
Old 03-01-2004, 02:51 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
You need to go back to the "file system" types in menuconfig and say y or m to Supermount.
Then continue the list...
 
Old 03-01-2004, 04:44 PM   #3
muah
Member
 
Registered: Aug 2003
Location: Europe
Distribution: Slackware (current)
Posts: 228

Rep: Reputation: 33
Re: Trouble with newb kernel compile

Quote:
Originally posted by vortical
Code:
make bzImage
(uncommented makefile line #74, but i cant remember what it was at the moment)
make
AFAIK u only need to do either "make bzImage" or "make". There is no need to do both of them ("make" will actually overwrite files created by "make bzImage"). The only difference is that "make bzImage" creates compressed boot image (some old computer may not be able to use it, on these computers u should use "make").
 
Old 03-01-2004, 11:35 PM   #4
vortical
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
I looked everywhere in the menuconfig program and I couldn't find a supermount option to enable. I also tried recompiling without using "make" after "make bzImage", and then I get the same error message when booting the new kernel. The system does boot, and it seems to work, but I can't access my USB Flash Drive because when I try to mount it the same error message comes up about supermount not being supported. Any other ideas?
 
Old 03-02-2004, 07:36 AM   #5
vortical
LQ Newbie
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26

Original Poster
Rep: Reputation: 15
I think I may have found what is happening...

After searching the internet for a while, I came across an article that said Supermount was incorporated with Mandrake Linux systems. I'm coming from a Mandrake Linux 9.2 system (2.4.22 kernel) and compiling to a Linux-2.4.25 kernel that I downloaded from kernel.org. I think the problem may come in when I use the old Mandrake .config file as my starting point for configuring the new kernel. I would like to keep my system as much the same as it was before I needed to upgrade the kernel, so I'd like to keep the Supermount capability with the new kernel. Any ideas on how exactly I can do that?

 
Old 03-02-2004, 10:23 AM   #6
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
I use submount, which is very similar to supermount, and this is what I reckon:
Firstly, you should only need to use supermount on things like floppys and cds. If you can't boot with that supermount error, then you need to mount the root filesystem normally. If you don't know how to do this, then post the output of your /etc/fstab, and I'll tell you what it should be
Then when you can boot into the system (you will still get that error), you'll need to compile some supermount kernel modules. I suggest that you download the supermount source and read the README - it will probably be as straightforware as typing "make && make install", but you will need to be running the correct kernel version.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compile error for kernel 2.6.11.7 on slack 10.1 nvidia trouble salviadud Slackware 20 04-19-2005 05:39 AM
compile trouble with vanilla kernel. zaicheke Linux - General 1 12-24-2004 03:46 PM
Pascal App Wont Compile (newb, help!) flamesrock Programming 0 10-20-2004 10:48 PM
Kernel compile trouble tek1024 Linux - General 5 09-26-2004 05:12 PM
Newb trouble Th3_J3st3R Linux - Newbie 17 04-04-2003 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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