Re: 2.6.26-git0: IDE oops during boot

Yinghai Lu
2008-02-25T07:23:22Z

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

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

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

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);