public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* arch_init_sched_domains() oops
@ 2004-07-29 21:56 Dave Hansen
  2004-07-29 22:17 ` Jesse Barnes
  0 siblings, 1 reply; 3+ messages in thread
From: Dave Hansen @ 2004-07-29 21:56 UTC (permalink / raw)
  To: Nick Piggin; +Cc: Matthew C. Dobson [imap], Linux Kernel Mailing List

This happened on a NUMA running 2.6.8-rc2-mm1:

Unable to handle kernel NULL pointer dereference at virtual address 00000004
 printing eip:
c049a5dd
*pde = 004bc001
*pte = 00000000
Oops: 0000 [#1]
PREEMPT SMP
Modules linked in:
CPU:    0
EIP:    0060:[<c049a5dd>]    Not tainted VLI
EFLAGS: 00010256   (2.6.8-rc2-mm1)
EIP is at arch_init_sched_domains+0x5d/0x4fc
eax: 00000001   ebx: c04cf5cc   ecx: 00000000   edx: 00000000
esi: 00000000   edi: 00000000   ebp: eb9b9fd8   esp: eb9b9f68
ds: 007b   es: 007b   ss: 0068
Process swapper (pid: 1, threadinfo=eb9b9000 task=eb991730)
Stack: c04cf5cc 00000000 00000000 c04cf5cc 00002865 0000ffff eb9b9000 c011032a
       00000001 00000000 00000000 00000000 00000001 004bc001 c0113224 c04d314c
       00000020 00000000 c04d314c 00000020 00000000 c0494eb3 c0002000 00000001
Call Trace:
 [<c011032a>] flush_tlb_all+0x22/0x3c
 [<c0113224>] zap_low_mappings+0x54/0x5c
 [<c0494eb3>] smp_cpus_done+0x1b/0x20
 [<c048d5cc>] smp_init+0x94/0x9c
 [<c049aa84>] sched_init_smp+0x8/0x14
 [<c010052d>] init+0xa9/0x1a4
 [<c0100484>] init+0x0/0x1a4
 [<c0102385>] kernel_thread_helper+0x5/0xc
Code: 07 0f 8f 96 02 00 00 8d b4 26 00 00 00 00 8b 45 bc c1 e0 02 89 45 b4 89 c2 8b 82 00 10 3f c0 c1 e0 02 8b 80 c0 0f 3f c0 89 45 b0 <8b> 3d 04 00 00 00 83 c7 04 b9 01 00 00 00 89 fb 31 c0 f3 af 74
 <0>Kernel panic - not syncing: Attempted to kill init!

Is there an updated sched domains patch I should be trying instead?

-- Dave


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: arch_init_sched_domains() oops
  2004-07-29 21:56 arch_init_sched_domains() oops Dave Hansen
@ 2004-07-29 22:17 ` Jesse Barnes
  2004-07-29 22:35   ` Dave Hansen
  0 siblings, 1 reply; 3+ messages in thread
From: Jesse Barnes @ 2004-07-29 22:17 UTC (permalink / raw)
  To: Dave Hansen
  Cc: Nick Piggin, Matthew C. Dobson [imap], Linux Kernel Mailing List

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

On Thursday, July 29, 2004 2:56 pm, Dave Hansen wrote:
> This happened on a NUMA running 2.6.8-rc2-mm1:

Is this stock 2.6.8-rc2-mm1?  If so, you may need the attached patch.

Jesse

[-- Attachment #2: sched-merge-fix.patch --]
[-- Type: text/plain, Size: 559 bytes --]

diff -Napur -X /home/jbarnes/dontdiff linux-2.6.8-rc2-mm1.orig/kernel/sched.c linux-2.6.8-rc2-mm1/kernel/sched.c
--- linux-2.6.8-rc2-mm1.orig/kernel/sched.c	2004-07-28 09:36:36.000000000 -0700
+++ linux-2.6.8-rc2-mm1/kernel/sched.c	2004-07-28 09:34:45.000000000 -0700
@@ -3770,8 +3770,6 @@ __init static void arch_init_sched_domai
 		cpumask_t nodemask = node_to_cpumask(cpu_to_node(i));
 
 #ifdef CONFIG_NUMA
-		if (i != first_cpu(sd->groups->cpumask))
-			continue;
 		sd = &per_cpu(node_domains, i);
 		group = cpu_to_node_group(i);
 		*sd = SD_NODE_INIT;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: arch_init_sched_domains() oops
  2004-07-29 22:17 ` Jesse Barnes
@ 2004-07-29 22:35   ` Dave Hansen
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Hansen @ 2004-07-29 22:35 UTC (permalink / raw)
  To: Jesse Barnes
  Cc: Nick Piggin, Matthew C. Dobson [imap], Linux Kernel Mailing List

On Thu, 2004-07-29 at 15:17, Jesse Barnes wrote:
> On Thursday, July 29, 2004 2:56 pm, Dave Hansen wrote:
> > This happened on a NUMA running 2.6.8-rc2-mm1:
> 
> Is this stock 2.6.8-rc2-mm1?  If so, you may need the attached patch.

Thanks.  That did it.

-- Dave


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-29 22:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 21:56 arch_init_sched_domains() oops Dave Hansen
2004-07-29 22:17 ` Jesse Barnes
2004-07-29 22:35   ` Dave Hansen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox