Re: Memory detection is still broken in 2.3.36

From: Pavel Machek (pavel@suse.cz)
Date: Thu Jan 06 2000 - 08:31:46 EST


Hi!

> > > It's not the normal "I rebooted and have a few inconsistencies". fsck
> > > complains about runs of contiguous inodes having mode 0177777, which
> > > sometimes are actual files whose contents are lost. Sometimes fsck core
> > > dumps (oh well).
> > >
> > > I imagine all-ones blocks are being written.
> >
> > That's your Toshiba, is it? Your BIOS tells ROM is writable. Patch
> > your kernel to see it is wrong (patch attached, it will crash on
> > boot). Then use something like mem=63M to fix it.
>
> You're right. I tried your memory tester with 2.3.36 and it crashes if I
> let the kernel detect memory. With mem=63M it's fine.
>
> Do you know if this is the BIOS returning a bogus memory area (so we
> have to test it and discard failing pages), or is it something that can
> be fixed in the e820 code?

BIOS is returning bogus information, AFAIK. It is toshiba problem.

> Your memory tester is a bit broken: the eaten amount is different to the
> freed amount (with mem=63M):

I know, +4 on right place would be good :-)).
                                                                Pavel

> Eating pages ....(61068K)
> Freeing pages ....(61064K)
>
> Nathan Zook wrote:
> > Actually, the "famous" memory detection break IS fixed. If I had been
> > paying better attention, it would have been fixed months ago instead of
> > weeks.
>
> As you can see, something is still broken with 2.3.36. It worked fine
> with some older 2.3 kernel (probably before the e820 code).
>
> Enjoy,

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:06 EST