From: "Jim Kronebusch" <jim winonacotter org>
I will finish the tests on the existing hardware and on
the new box
just to determine if this is a hardware or a software issue.
I tried compile my own kernel from preinstalled sources. Compilation was
OK but server crashes again after 5 hour working with normal load. Now I
stopped messing with preisntalled 2.4.22 and use my own 2.4.23 kernel.
So far so good. Uptime 6 hours.
I found solution for wine - precompiled binaries not working with 2.4.23
kernel. I compile wine from sources. Looks solution for me. At least it
works on test server.
I however have no idea how to
exchange kernels
but I do have a linux for dummies book (that is me) and will try the
kernel swap after that.
It very simple but need some time :)
1. download kernel sources to /usr/src (i use .tar.gz)
2. Unpack it (i use "tar zxvf linux-2.4.23.tar.gz")
3. cd to your unpacked kernel souces dir (and all commands give here).
4. make mrproper
5. copy your existing kernel conf here and rename it .config
(i found existing conf /boot/config-2.4.22-1.2135.nptlsmp)
6. make oldconf (and anwer any questions with ENTER (default). Also, if
you have SMP, answer 8 to processor count)
7. edit Makefile and remove comment "export INSTALL_PATH=/boot". Also
edit your favourite "extraversion"
8. make dep clean bzImage (and be sure it ends without errors)
9. make modules (and be sure it ends without errors)
10. make modules_install (and be sure it ends without errors)
11. Copy /usr/src/yourkernel/arch/i386/boot/bzImage to
/boot/vmlinuz-2.4.23-1 (put your favoutite kernel name here)
12. Maybe you need "mkinitrd /boot/initrd-2.4.23-1.img 1.4.23-1" (put
your new kernel module folder name here from /lib/modules/) I don't need
initrd, because controller and ext3 drivers are compiled to kernel (not
as modules)
13. write new section to /boot/grub/grub.conf (do not chandge default
kernel)
14. Reboot and choose new kernel.
(if it works, try customize your kernel with "make menuconfig")
Thats it.
_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>