Re: memory detection and bios

Jon Tombs (jon@gte.esi.us.es)
Tue, 22 Oct 1996 19:04:42 +0100 (MET)


rdm@tad.micro.umn.edu said:
>
> bios can only report 64Meg. Is there a reason the kernel can't do
> a search for the memory boundary if 64Meg is available? [e.g. check
> at 128M, 256M, ... then binary search for boundary when get a miss --
> maybe do something quick and simple to check for a proper boundary like
> check the location immediately past the last known good location.]
>
> If this causes problems on some machines it could be made a config option.
>
> For people whose bioses report the wrong value, this could be made
> "always on" instead of "only if 64M reported".

What if you have a memory mapped device or frame buffer at 128MB. Memory probes
can be quite dangerous with some hardware (the probe tells your
memory mapped scsi controler to format the drive..)

Just add mem=XXXM to the kernel boot options (e.g. append option in
lilo.conf) and all will be well.

Jon.

-- 
Jon. <jon@gte.esi.us.es, http://www.esi.us.es/~jon>