Bug 10034

Summary: Wrong memory amount detection
Product: Memory Management Reporter: Alexey Kuznetsov (kuznetsov.alexey)
Component: OtherAssignee: Ingo Molnar (mingo)
Status: CLOSED PATCH_ALREADY_AVAILABLE    
Severity: normal CC: akpm, tglx
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: kernel-2.6.23.15-137.fc8.i586.rpm Subsystem:
Regression: --- Bisected commit-id:
Attachments: slow dmesg
1000 dmesg

Description Alexey Kuznetsov 2008-02-17 22:03:01 UTC
Latest working kernel version: never
Earliest failing kernel version: from beginig
Distribution: Fedora 8
Hardware Environment: ASUS M3N (http://www.overclockers.com/articles1235/)
Problem Description:
When i try to boot linux hey booting very slow, as 486 cpu. If i add mem=1000M kernel parameter everyting boot/work fine.

Steps to reproduce:
all time
Comment 1 Thomas Gleixner 2008-02-19 02:54:17 UTC
Please provide the dmesg output of a slow boot and a mem=1000M fast boot.

Thanks,
       tglx
Comment 2 Ingo Molnar 2008-02-19 03:16:33 UTC
> Please provide the dmesg output of a slow boot and a mem=1000M fast 
> boot.

also, try 2.6.25-rc2 - we've got workarounds in place now, for BIOS MTRR 
bugs that cause similar symptoms.

	Ingo
Comment 3 Alexey Kuznetsov 2008-02-19 03:46:11 UTC
Created attachment 14896 [details]
slow dmesg
Comment 4 Alexey Kuznetsov 2008-02-19 03:46:36 UTC
Created attachment 14897 [details]
1000 dmesg
Comment 5 Alexey Kuznetsov 2008-02-19 03:47:22 UTC
(In reply to comment #2)
> > Please provide the dmesg output of a slow boot and a mem=1000M fast 
> > boot.
> 
> also, try 2.6.25-rc2 - we've got workarounds in place now, for BIOS MTRR 
> bugs that cause similar symptoms.
> 
>         Ingo
> 

i will try
Comment 6 Alexey Kuznetsov 2008-02-19 20:38:06 UTC
I can't compile 2.6.25-rc2, can you provide right config file for fedora 8?
Comment 7 Ingo Molnar 2008-02-20 02:24:26 UTC
> I can't compile 2.6.25-rc2, can you provide right config file for 
> fedora 8?

could you try x86.git#testing - it's not supposed to have any build 
issues anywhere:

  http://people.redhat.com/mingo/x86.git/README
Comment 8 Alexey Kuznetsov 2008-02-21 00:59:39 UTC
Work fine.

Can you point in source where that bug fixed, for Fedora comunity?
Comment 9 Ingo Molnar 2008-02-21 01:09:42 UTC
> Work fine.
> 
> Can you point in source where that bug fixed, for Fedora comunity?

my guess would be this one:

|  commit 093af8d7f0ba3c6be1485973508584ef081e9f93
|  Author: Yinghai Lu <Yinghai.Lu@Sun.COM>
|  Date:   Wed Jan 30 13:33:32 2008 +0100
|
|    x86_32: trim memory by updating e820
Comment 10 Alexey Kuznetsov 2008-02-21 01:10:37 UTC
thx