Re: 2.4.24 HIGHMEM=300m: BUG: wrong zone alignment, it will crash

From: vda
Date: Fri Feb 06 2004 - 04:44:39 EST


On Friday 06 February 2004 05:21, Michael Frank wrote:
> System has 500M RAM. When using highmem=300m dmesg as follows.

500m total or 500m over 4g?

> Linux version 2.4.24-mhf168 (root@mhfl4) (gcc version 2.95.3 20010315
> (release)) #2 Fri Feb 6 11:08:28 HKT 2004 BIOS-provided physical RAM map:
> BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)

low 640k

> BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
> BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
> BIOS-e820: 0000000000100000 - 000000001eff0000 (usable)

almost up to 512m mark only. So, you dont have any highmem.

> BIOS-e820: 000000001eff0000 - 000000001eff3000 (ACPI NVS)
> BIOS-e820: 000000001eff3000 - 000000001f000000 (ACPI data)
> BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
> 300MB HIGHMEM available.

you lied to kernel

> 195MB LOWMEM available.
> On node 0 totalpages: 126960
> zone(0): 4096 pages.
> zone(1): 46064 pages.
> zone(2): 76800 pages.
> BUG: wrong zone alignment, it will crash
> Kernel command line: vga=0xf07 root=/dev/hda4 resume2=swap:/dev/hda1
> console=tty0 console=ttyS0,115200n8r devfs=nomount nousb acpi=off
> highmem=300m
^^^^^^^^^^^^ wrong
>
> What went wrong ?
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/