You are not logged in.

#1 2009-04-09 18:29:41

LordRaiden
Member
Registered: 2007-03-12
Posts: 16

Enabling mtrr cleanup at boot time

Hi,

Is there away to clean up the the MTRRs using a kernel option at boot time.
Right now, I'm having to recompile the kernel for this change.

Specifically, I want the CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=0 line in the default config
to be CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1.

Thanks in advance

Offline

#2 2009-04-09 19:06:06

DcUK
Member
Registered: 2009-04-09
Posts: 10

Re: Enabling mtrr cleanup at boot time

You can append the following to your kernel command-line in your boot-loader of choice:

enable_mtrr_cleanup

For example, if you use grub, your boot entry in /boot/grub/menu.lst might look something like:

# (0) Arch Linux
title  Arch64 Linux Default Kernel
root   (hd0,1)
kernel (hd0,1)/boot/vmlinuz26 root=/dev/sda2 ro enable_mtrr_cleanup
initrd (hd0,1)/boot/kernel26.img

Offline

#3 2009-04-10 16:22:06

LordRaiden
Member
Registered: 2007-03-12
Posts: 16

Re: Enabling mtrr cleanup at boot time

Thanks a lot. Exactly what I wanted.

Offline

Board footer

Powered by FluxBB