← Back to team overview

sslug-teknik team mailing list archive

Re: 1GB RAM, Kernel panic

 

Gør som beskrevet i /usr/src/linux/include/asm-i386/page.h:

/*
 * This handles the memory map.. We could make this a config
 * option, but too many people screw it up, and too few need
 * it.
 *
 * A __PAGE_OFFSET of 0xC0000000 means that the kernel has
 * a virtual address space of one gigabyte, which limits the
 * amount of physical memory you can use to about 950MB. If
 * you want to use more physical memory, change this define.
 *
 * For example, if you have 2GB worth of physical memory, you
 * could change this define to 0x80000000, which gives the
 * kernel 2GB of virtual memory (enough to most of your physical memory
 * as the kernel needs a bit extra for various io-memory mappings)
 *
 * IF YOU CHANGE THIS, PLEASE ALSO CHANGE
 *
 *      arch/i386/vmlinux.lds
 *
 * which has the same constant encoded..


For at få din 1G maskine op, skriv da:

	mem=512M

ved lilo-prompten.  Nu skulle du gerne køre på en amputeret
(ram-mæssigt) maskine.

Lav de ændringer beskrevet ovenfor og re-kompiler din kerne.   Eller få
fat i 2.0.37-pre et-eller-andet (3? 4?) hvor ramstørrelsen kan sættes
v.hj.a menuconfig.

Mvh.

Brisse


-- 
Automobile, n.:

    A four-wheeled vehicle that runs
up hills and down pedestrains.


Follow ups

References