Re: Additional RAM brings Lenny to a slow-down



Andrei Popescu wrote:
On Fri, Feb 29, 2008 at 07:18:41AM +0000, andy wrote:

[...]

with a fix from the manufacturers. The other alternative seems to be the mem=xxx option passed to the kernel. If I use the latter approach, is this something that I can develop a script to do automatically at boot (for example, to run it as part of the GRUB parameters), or is it something that I would have to do manually?

$ grep kopt /boot/grub/menu.lst
## If you want special options for specific kernels use kopt_x_y_z
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda2 ro vga=791
# xenkopt=console=tty0

Regards,
Andrei
Thanks for this Andrei. How would I tweak this to enable my kernel to recognise and utilise the additional RAM? Looking through the file, the relevant section appears to be this commented part:

## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true

The instructions are to not uncomment the section, but just to edit. So would my edit be to add
memtest86=true or memtest=false

or would I simply add the line to menu.lst between the two markers that reads:
mem=2097152M #2GB RAM

The latter is what I understand from bootparam(7), but I'd like to confirm before I commit.

Thanks

A




--

"If they can get you asking the wrong questions, they don't have to worry about the answers." - Thomas Pynchon, "Gravity's Rainbow"


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Power down
    ... > Andrei Popescu wrote: ... > /etc/modules and adding acpi there. ... > acpi compiled into the kernel. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: How to install subsequent kernel than linux-image-2.6.18 on debian way?
    ... I want to upgrade my kernel, but in the repository can't find ... I have ASUS P5N-E SLI NVIDIA motherboard, Intel Core 2 Duo CPU and MSI ... I edit xorg.conf like in the Section "Device": ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Choosing kernel automatically at Boot - Beginner - SUCCESS!
    ... What do I edit to make it choose ... >> the new kernel instead of the old? ... Learning one thing at a time. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Compiling the kernel
    ... I want to build a new kernel. ... I have edit the GENERIC ... file (like is written into the documentation). ... To unsubscribe, ...
    (freebsd-questions)
  • Re: Choosing kernel automatically at Boot - Beginner -
    ... > old kernel unless the new one is chosen. ... What do I edit to make it choose ... Preferences -> Bootloader, and choose the one you want to have as ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)