lkml.org 
[lkml]   [2008]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.26-git0: IDE oops during boot
On Sun, Feb 24, 2008 at 11:05 PM, Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> On Fri, Feb 15, 2008 at 3:15 AM, Kamalesh Babulal
>
> <kamalesh@linux.vnet.ibm.com> wrote:
> >
> >
>
> > Thanks for pointing the patch, I do not have the SES config option enabled,
> > then too i tried your patch, but that does not solve the panic. The kernel
> > panic's with the same panic message as before. I have attached the .config
> > file which i am using, please let me know if i am missing out/getting wrong
> > any option in the configuration.
>
> can you try x86.git#testing?
>
> http://people.redhat.com/mingo/x86.git/README
>

and try attached patch.

YH
diff --git a/arch/x86/kernel/setup_64.c b/arch/x86/kernel/setup_64.c
index 6fd804f..f0d6a80 100644
--- a/arch/x86/kernel/setup_64.c
+++ b/arch/x86/kernel/setup_64.c
@@ -801,7 +801,7 @@ static void __cpuinit srat_detect_node(void)
/* Don't do the funky fallback heuristics the AMD version employs
for now. */
node = apicid_to_node[apicid];
- if (node == NUMA_NO_NODE)
+ if (node == NUMA_NO_NODE || !node_online(node))
node = first_node(node_online_map);
numa_set_node(cpu, node);
\
 
 \ /
  Last update: 2008-02-25 08:25    [from the cache]
©2003-2011 Jasper Spaans