SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You need to recompile the kernel to enable High Memory Support. In the 2.6 kernel series it is under the Processor type and features section; I am not sure where it is on the 2,4 series kernel.
It doesn'y really matter which version of slackware you are using - the option is in the kermel, not the os. You need to recompile kernel with support for high memory. Read the compile kernel guide above.
It will look like this in the .config for the kernel in /usr/src/linux:
Code:
CONFIG_HIGHMEM4G=y
If you needed more, 2.4.x can support up to 64GB of memory, it would look like this:
Code:
CONFIG_HIGHMEM64G=y
For the short and quick steps to recompile the kernel, do the following:
1. Next open up '/usr/src/linux/Makefile'
Uncomment the line...
#export INSTALL_PATH=/boot
To read:
export INSTALL_PATH=/boot
2. Also edit your existing /etc/lilo.conf and rename your current default kernel vmlinuz to something like vmlinuz.old and rename the Label to Linux-Old. You do this so if the new kernel breaks, you can reboot into the old kernel to go fix, etc.
3. make menuconfig # skip this if you just use the existing .config in /usr/src/linux and uncomment the lines outlined above or create such lines.
4. make dep
5. make clean
6. make bzImage
7. make install
8. make modules
9. make modules_install
10. Verify and reboot.
Slackware utilized the make install and this will copy over the vmlinuz and update lilo.conf with the new kernel, etc. Good to double check before rebooting.
is it possible that after i rebuild the kernel, my machine wont boot ?
because this is my office mail server, if it does not work then I in trouble.
You can always run into this issue when building a new kernel. That's why the steps involved keep the old kernel around, so you can reboot and rebuild, reconfigure, troubleshoot what went wrong.
The only time I've never had a kernel fail on me in Slackware is cause I was stupid and didn't include the right modules for my NIC, so it worked, I just lacked network connectivity. A quick reboot, change config to include my NIC and it was as easy as make modules and make modules_install and I was up and running after a reboot again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.