lkml.org 
[lkml]   [2003]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [patch] sched-HT-2.6.0-test11-A5
On Sat, 6 Dec 2003, Martin J. Bligh wrote:

>
> > i've uploaded the HT scheduler patch against 2.6.0-test11 to:
> >
> > redhat.com/~mingo/O(1)-scheduler/sched-HT-2.6.0-test11-A5
>
> Hangs on boot (NUMA-Q) after "Starting migration thread for cpu 0".
> Any ideas what that might be?

Ingo here is a patch to fix compilation on larger NR_CPUS, i have also
appended the oops Martin is probably seeing. Currently debugging it.

Index: linux-2.6.0-test11-ht/kernel/sched.c
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test11/kernel/sched.c,v
retrieving revision 1.1.1.2
diff -u -p -B -r1.1.1.2 sched.c
--- linux-2.6.0-test11-ht/kernel/sched.c 6 Dec 2003 21:21:07 -0000 1.1.1.2
+++ linux-2.6.0-test11-ht/kernel/sched.c 6 Dec 2003 21:22:30 -0000
@@ -266,7 +266,7 @@ static DEFINE_PER_CPU(struct runqueue, r
#define migration_queue(cpu) (&cpu_int(cpu)->migration_queue)

#if NR_CPUS > 1
-# define task_allowed(p, cpu) ((p)->cpus_allowed & (1UL << (cpu)))
+# define task_allowed(p, cpu) cpu_isset(cpu, (p)->cpus_allowed)
#else
# define task_allowed(p, cpu) 1
#endif
..... CPU clock speed is 398.0715 MHz.
..... host bus clock speed is 99.0678 MHz.
checking TSC synchronization across 2 CPUs: passed.
Starting migration thread for cpu 0
Unable to handle kernel paging request at virtual address f000afae
printing eip:
c0124608
*pde = 00000000
Oops: 0002 [#1]
CPU: 0
EIP: 0060:[<c0124608>] Not tainted
EFLAGS: 00010013
EIP is at migration_task+0x158/0x290
eax: 00000001 ebx: c150bbc0 ecx: c150c5e4 edx: f000afae
esi: c1b9ffcc edi: c1b9e000 ebp: c1b9ffec esp: c1b9ffc0
ds: 007b es: 007b ss: 0068
Process migration/0 (pid: 2, threadinfo=c1b9e000 task=c1bd29b0)
Stack: 00000000 c150bbc0 00000000 c1bbbf9c 00000000 00000063 00000000 00000000
c01244b0 00000000 00000000 00000000 c0107185 c1bbbf9c 00000000 00000000
Call Trace:
[<c01244b0>] migration_task+0x0/0x290
[<c0107185>] kernel_thread_helper+0x5/0x10
Code: 89 02 89 50 04 8b 55 d4 89 12 89 52 04 8b 4d d8 b2 01 81 79

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.102 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site