Possible PATCH?? RAMSIZE detect changes in 2.4

From: Michael Peddemors (michael@wizard.ca)
Date: Sun Aug 27 2000 - 14:07:25 EST

If it is acceptable, I will quickly write up a patch for this, but hate doing
patches unless it will be accepted as mainstream.

But Mike, I can easily fix THIS pc, but the point is I am doing this for a
distribution.. It worked in the older kernel, so the concept of 'buggy bios'
seems flawed. And I can't have it one way on esome computers and the other
way on other computers. I need to find a way to automatically detect the ram
on the computer IN ALL CASES.

Thinking that maybe a patch to narrow it down would work, as MOST systems
have RAM on the even numbers, so I could detect which of the two reported
values is the EVEN number rather than which is greater

<FROM arch/i386/kernel/setup.c>

mem_size = (ALT_MEM_K < EXT_MEM_K) ? EXT_MEM_K : ALT_MEM_K;

On Sat, 26 Aug 2000, you wrote:
> On Sat, 26 Aug 2000, Michael Peddemors wrote:
> > On Sat, 26 Aug 2000, you wrote:
> > > It hasn't moved. Did you try the suggestion I sent you?
> >
> > Hmmm.. I might have missed a suggestion, the last one I got record of was
> > the mem=31M which worked.. but that isn't an acceptable alternative for
> > distribution.
> (e820 reporting problem seems likely, and in setup.S there's this
> little goodie..
> 281 movb %al, (E820NR)
> ..to help you verify that)
> That's a suggestion to try defining STANDARD_MEMORY_BIOS_CALL ;-)
> It may well be that your BIOS is buggy.
> -Mike

Michael Peddemors - Senior Consultant
Unix Administration - WebSite Hosting
Network Services - Programming
Wizard Internet Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
(604) 589-0037 Beautiful British Columbia, Canada
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Thu Aug 31 2000 - 21:00:19 EST