I need to recompile my kernel on RHEL WS5 with only two changes.
- Change stack size from 4k to 8k
- Limit usable memory to 4096.
How do I recompile the kernel without changing anything else but these two items?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
To change only the new values you will need the config the old kernel was build from.
In RHEL you can find this in:
Copy this file to the kernel source and change the values you want. Use
make menuconfig for a ncurses gui.
For other distributions: If the config option
CONFIG_IKCONFIG_PROC was set, your kernel configuration is available under
I'm no expert for RHEL WS5 but for Cent OS 5, which is basically RHEL with all references to Redhat removed, there is a nice tutorial at centos.org which explains how to build a modified version of the distribution kernel. The procedure explained there will probably work for RHEL WS, too.