Tarun Sharma wrote:
hi,
Actually right now i have just started with clustering ,i am facing a
problem that when i am installing ultramonkey ad heartbeat ,i am getting a
warning mssage that mine kernel does not support ipvs ? mine kernel is
deeprrotlinux 2.6.18 {based on debian}which i hav e checked donot have ipvs
support!
Now i want to make a kernel image say 2.6.16 which support ipvs?
not able to find out a way till now ,see if someone can help me?

Here are the steps I used to build my own kernel:

# Run the following from the command line. This was written as the
# 'root' user, but many steps are more wisely done as a normal
# user. Adjust the following commands to suit your need. Tested on
# Ubuntu, but should work on most Debian-derived distros.
cd /root/ha
wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.4.tar.bz2
tar -xvjf linux-2.6.21.4.tar.bz2
cd /usr/src
rm linux
mv /root/ha/linux-2.6.21.4 .
ln -s ./linux-2.6.21.4 ./linux
cd linux
cp /boot/config-`uname -r` ./.config
make menuconfig
# Make any kernel changes you may want now, the save out to .config
make-kpkg clean
# Replace '-mk1' with '-<something>' if you wish
fakeroot make-kpkg --initrd --append-to-version=-mk1 kernel_image kernel_headers
cd ..
# You should now see a couple '.deb' files. 'linux-image...' is the kernel and
# 'linux-headers...' is for compiling kernel modules later.
dpkg -i linux-headers-2.6.21.4-mk1_2.6.21.4-mk1-10.00.Custom_i386.deb linux-image-2.6.21.4-mk1_2.6.21.4-mk1-10.00.Custom_i386.deb


The key step is 'make menuconfig'. This will open a dialog where you can navigate around and choose options to build into the kernel, make as a module or not include in the kernel. The 'mk1' is simply my initials for my first try (Madison Kelly try 1). Change to suit your needs.

  You will need to have tools like 'make' and 'gcc', of course.

Hope that helps!

Madison
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to