Click to See Complete Forum and Search --> : First Kernel Compile !!


MADHATter7
01-09-2001, 09:55 AM
Hello all, I finished my first ever kernel compile with the kernel-source-2.2.18.deb ! http://www.linuxnewbie.org/ubb/biggrin.gif Then did a make menuconfig and finally a make-kpkg... It was actually quite easy. (I have waited so long - thought it would be much harder)

All of this came to be when I tried to re-arrange my partitions and mount points with disastrous results. Not sure what I did incorrect, but .... http://www.linuxnewbie.org/ubb/redface.gif

Anyway, the only thing I can see as a problem is the message at boot time that says "/etc/modules.conf is newer than /lib/2.2.18/modules..." (or something similar)

It also says "can't find module ppp or module 3c509.." however, they both work ! (Everything does)

So, I guess I missed a step... At any rate, I'm going to do it again when I get off work today. (The kerenel compiled in +/- 30 minutes on my old P-133)

What do you guys think abouth the 2.4 kernel ? I've read about performance enhancements, is it worth it ?

Any comments, suggestions and/or relevant discussion extremely appreciated.

------------------
MADHATter7

EMAIL : madhatterus@netscape.net
ICQ : 101324593
AIM : MADHATTERus
Yahoo : madhatt_t00l

MADHATter7
01-09-2001, 09:59 AM
Originally posted by MADHATter7:
So, I guess I missed a step... At any rate, I'm going to do it again when I get off work today. (The kerenel compiled in +/- 30 minutes on my old P-133)




Guess I need to go home and re-RTFM, huh ?!?!?

http://www.linuxnewbie.org/ubb/biggrin.gif

mdwatts
01-09-2001, 11:12 AM
Is there not a 'make modules' step?

Your a little ahead of me as I've never compiled a new kernel, but will attempt 2.4 when I have time.

pbharris
01-09-2001, 01:50 PM
depmod -a should take care of the 'modules.conf' being newer than modules.dep.

MADHATter7
01-09-2001, 03:49 PM
You know, I KNEW i forgot something... http://www.linuxnewbie.org/ubb/mad.gif Oh well, I need to recompile this PM anyway because I compiled sound, my network card, ppp, printer port and a few other things into the kernel. (Which I have since learned this is bad form)

Therefore, I will re-compile this PM, make everything that is not required to boot up a module and be done with it...

However, it seems that the 2.2.18 kernel I am now using is quite a bit faster than the 2.2.12 that I was using. (Shipped with Slink) Is this normal ? (Even with all the extra stuff compiled in the kernel & not a module ??)

Just wondering.....

<SALUTE>BTW, thanks for the input...</SALUTE>

James Bond
01-09-2001, 03:56 PM
One reason I want to upgrade to 2.4 is for the IPv6 support that is built in. That, and I have never sucessfully compiled a kernel (many failures, but, I think I have it now).

I still don't see a problem with compiling the network card into the kernel, especially if the card is in constant use. But, that is just me, and I am weird (hey, I have the same name as the world's favorite secret agent).

-JB