Re: early exception error

Yinghai Lu
2009-01-06T06:09:19Z

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

On Mon, Jan 5, 2009 at 9:29 PM, <david@lang.hm> wrote:
> On Mon, 5 Jan 2009, Yinghai Lu wrote:
>
>> david@lang.hm wrote:
>>>
>>> On Mon, 5 Jan 2009, Yinghai Lu wrote:
>>>
>>>> david@lang.hm wrote:
>>>>>
>>>>> On Mon, 5 Jan 2009, Yinghai Lu wrote:
>>>>>
>>>>>
>>>>> this motherboard is a Tyan Thunder K8S Pro S2882
>>>>>
>>>>> I just uploaded some snapshots of the bios screens
>>>>
>>>> please try to update the BIOS. the installed BIOS seems has problem...
>>>>
>>>> http://tyan.com/support_download_bios.aspx?model=S.S2882
>>>
>>> what problems are you seeing (i.e. what did I miss seeing that would
>>> have pointed me in this direction without eating everyone's time)
>>>
>>
>> you should get 4g ram instead of 3g according to e820.
>>
>> BIOS should set ram routing correctly according to iommu (gart) and
>> memhole etc.
>
> this seems to have solved the problem

can you post boot log and lspci -vvxxx ?

>
> I do have another of these systems if there is any desire to do any more
> troubleshooting (it would be really nice if things died with a better error
> message for example)

good,
0. setup serial cable between your two system. use minicom in your
first system to capture serial message from second system
1. apply attached patch
2. we need full boot log of your second system. please boot with "
debug console=uart8250,io,0x3f8,115200n8 pci=earlydump"

YH

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mminit_loglevel_2.patch --]
[-- Type: text/x-patch; name=mminit_loglevel_2.patch, Size: 1060 bytes --]

From: Yinghai Lu <yhlu.kernel@gmail.com>
Subject: [PATCH] mm: print out info about adding/removing active region

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

---
mm/page_alloc.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

Index: linux-2.6/mm/page_alloc.c
===================================================================
--- linux-2.6.orig/mm/page_alloc.c
+++ linux-2.6/mm/page_alloc.c
@@ -3626,8 +3626,7 @@ void __init add_active_range(unsigned in
{
int i;

- mminit_dprintk(MMINIT_TRACE, "memory_register",
- "Entering add_active_range(%d, %#lx, %#lx) "
+ printk(KERN_DEBUG "Adding active range (%d, %#lx, %#lx) "
"%d entries of %d used\n",
nid, start_pfn, end_pfn,
nr_nodemap_entries, MAX_ACTIVE_REGIONS);
@@ -3689,7 +3688,7 @@ void __init remove_active_range(unsigned
int i, j;
int removed = 0;

- printk(KERN_DEBUG "remove_active_range (%d, %lu, %lu)\n",
+ printk(KERN_DEBUG "Removing active range (%d, %#lx, %#lx)\n",
nid, start_pfn, end_pfn);

/* Find the old active region end and shrink */