RedHatAS4 Kernel configuration change and re-compile

Source: Internet
Author: User
I. kernel memory configuration check: --------------------- you can use the following methods to check whether the kernel supports 64 GB memory at startup. First, you must find out which kernel is used at startup [root @ study ~] # Cat/boot/grub. conf... default = 0 (indicating that the first entry is started by default) timeout = 5 splashimage = (hd0, 0)/grub

I. kernel memory configuration check:

-----------------------

You can use the following method to check whether the kernel supports 64 GB memory at startup.

First, find out which kernel is used during startup

[Root @ study ~] # Cat/boot/grub. conf

...

Default = 0 (indicating that the first entry is started by default)

Timeout = 5

Splashimage = (hd0, 0)/grub/splash.xpm.gz

Hiddenmenu

Title Red Hat Enterprise Linux AS (2.6.9-34. ELsmp)

Root (hd0, 0)

Kernel/vmlinuz-2.6.9-34.ELsmp ro root =/dev/VolGroup00/LogVol00 rhgb quiet

Initrd/initrd-2.6.9-34.ELsmp.img

Title Red Hat Enterprise Linux AS-up (2.6.9-34.EL)

Root (hd0, 0)

Kernel/vmlinuz-2.6.9-34.EL ro root =/dev/VolGroup00/LogVol00 rhgb quiet

Initrd/initrd-2.6.9-34.EL.img

My kernel is vmlinuz-2.6.9-34.ELsmp

The corresponding kernel compilation file during installation is

/Boot/config-2.6.9-34.ELsmp

Check high memory support

[Root @ study ~] # More/boot/config-2.6.9-34.ELsmp | grep 4G

# CONFIG_X86_4G is not set

# CONFIG_X86_4G_VM_LAYOUT is not set

# CONFIG_HIGHMEM4G is not set

CONFIG_HIGHMEM64G = y indicates that 64 GB memory is selected during kernel compilation,

Only 4G Support is similar:

[Root @ study ~] # More/boot/config-2.6.9-34.EL | grep 4G

# CONFIG_X86_4G is not set

# CONFIG_X86_4G_VM_LAYOUT is not set

CONFIG_HIGHMEM4G = y

# CONFIG_HIGHMEM64G is not set

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.