LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-12-2004, 07:17 AM   #1
murphaph
Member
 
Registered: Mar 2004
Location: Dublin, Ireland.
Distribution: redHat 7.2
Posts: 36

Rep: Reputation: 15
Kernel Compile Issues...Please Help!


Hello All,
I'm another newbie and any and all help will be much appreciated.

Setup:
AMD K6II
128MB Ram
4GB DASD
redHat 7.2 (kernel 2.4.7-10)
LILO

Objective:
Trying to compile custom kernel to ultimately setup wireless linux internet gateway, as per the O'Reilly recipe (I can't put up the URL as this is my first post, apparently)

Problem(s):
I can compile the custom kernel version 2.4.25 dowlnloaded from kernel.org however I don't think everything is quite so...I ran the steps my book (sams redHat 7.2 unleashed) calls for and the resultant kernel will boot however I got modprobe errors complaining about missing modules in the /lib/modules/2.4.25 (I think, I'm not at my machine) directory. I forgot initially to run 'make modules_install' but after I did they appeared where they had been missing (I had a look inside the modules.dep file and It's empty which i expect as I compiled a monolithic kernel, right?). So I tought everything was ok but then I went to start adsl (rp-pppoe works fine under distro kernel) and it times out. Checking /var/log/messages yields the following: kernel does not support PPP or module missing. I got this the last time I compiled and It was my fault as I had not included PPP support at all. So I compiled this time with PPP supported by the kernel, not as a module and I'm still getting the same error? I've missed something haven't I?

Solution(s):
That's where you guys come in to save the day!
What would be a great help would be to be able to generate a config file from the stock distro kernel (which works fine), then just remove the bits I need removed (pcmcia card services have to come out for my needs) and load this config to xconfig or whatever-I don't know if this is even possible as I'm so new to all of this.

I'll be at home later and can supply more details on request. I really want this Linux and me thing to workout-I just know we can be really happy together and nothing would give me greater pleasure than to remove MS OS's from my life.

Once again, thanks to anybody who replies.
 
Old 03-12-2004, 07:39 AM   #2
KDE4me
Member
 
Registered: Apr 2003
Location: Australia
Distribution: RedHat 9.0 / Slackware 9.0/ FreeBSD 4.8 / Solaris 8 x86 / Mandrake 9.0
Posts: 90

Rep: Reputation: 15
I believe that after you upgrade your kernel some programs might become incompatible with the new kernel and so you have to upgrade some of the programs/libraries on which you got errors. I read this in a <shameless plug for BSD> BSD book extolling how great BSD kernel upgrades were</bsd plug> so don't hold me to it, as I haven't actually tried to fix the errors from my linux kernel compile, I just thought: "Oh great more work!". So you'll probably have to upgrade the libraries.
 
Old 03-12-2004, 07:44 AM   #3
chii-chan
Member
 
Registered: Sep 2003
Location: chikyuu (E103N6)
Distribution: Redhat 8.0 (2.4.25-custom), Fedora Core 1 (2.4.30-custom)
Posts: 357

Rep: Reputation: 30
Hi,

Quote:
config file from the stock distro kernel (which works fine)
Usually distro kernel is modular kernel. Why don't you try making modular kernel? May be it can solve your problem.
 
  


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
FC4 kernel compile issues silentdragon48 Fedora 4 09-04-2005 06:57 PM
kernel compile/ new sound issues Scruff Slackware 9 12-13-2003 01:18 PM
New Kernel Compile Issues. Streams Slackware 3 10-24-2003 03:49 PM
speed issues after kernel compile yocompia Slackware 2 07-12-2003 05:09 PM
Kernel compile issues (upon bootup) N_A_J_M Linux - General 6 11-22-2002 06:07 PM


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