Koozali.org: home of the SME Server

5.6 kernel recompile

Marco Garza

5.6 kernel recompile
« on: December 18, 2003, 10:57:48 PM »
Has anyone successfully recompiled the kernel in SME 5.6?  I am trying, but when I go to make the bzImage, I keep getting an error:

make: *** [scripts/split-include] Error 1

I have found on some web pages that this is caused by broken sym links, but I havent been able to find out which ones.

Any help is appreciated.

Arne

Re: 5.6 kernel recompile
« Reply #1 on: December 19, 2003, 02:22:40 AM »
Just some ideas .. I remember that the orgial RedHat 7.3 had a some kint of "kernel compilation kit" running under x-windows/Gnome. It was not to hard to use, I think.

I wonder .. Could it be possible just to compile a new kernel on a RedHat 7.3 whit their kernel compilation kit and then transfer it to the e-smith ??

Could this be possible ??

How then to transfer this new kernel from the RedHat machine to the e-smith machine ??

Roger

Re: 5.6 kernel recompile
« Reply #2 on: December 27, 2003, 03:11:25 AM »
We have compiled and re-compiled kernels on 5.6 with no problem using various kernel source .rpm from RH7.3 updates mirrors on multiple 5.6 servers on various i386 CPUs.

We currently run 2.4.20-24.7 on several 5.6 servers (inluding smp + RAID1 + RAID5 support).

To install new kernel, dowload kernel source rpm from and RH updates mirror then:

 * First, backup your /usr/src/linux*/.config file and rename your old /lib/modules/* folders.

 * Next, "make mrproper" then "make menuconfig", then "make dep modules moules_install bzImage".

 * Copy System map etc. to /boot/* as per normal and make sure to check/run lilo.

You need to patch kernel if running pptp but support for all the standard 5.6 stuff should work fine "out of the box".

I found that running "make mrproper" whenever you need to re-compile is the main trick (even though it should not really be necessary :)

R.