LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Compile Issues...Please Help! (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-compile-issues-please-help-156661/)

murphaph 03-12-2004 06:17 AM

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.

KDE4me 03-12-2004 06:39 AM

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.

chii-chan 03-12-2004 06:44 AM

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.


All times are GMT -5. The time now is 03:02 PM.