Skip to contentSkip to conversation

O(1) scheduler, -H4 - 2.4.17 problems

PATCH Dieter Nützel 5 participants 7 messages Jan 11, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · khromy
Quoted 3 lines · Ed Tomlinson

Incase I messed up removing and repatch I tried from a clean kernel with the same results.
Any one else seeing this?

Yes.. This is a PII350 with 128MiB... If anybody needs any more info let me know.

-H5 (-G1, latest I've tried worked)

1 GHz Athlon II, 640 MB
hang hard right after
Initializing RT netlink socket

Signature · 6 lines
Dieter Nützel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
@home: [email protected]
#1 lore raw
Quoted 6 lines · On Fri, 11 Jan 2002, Dieter [iso-8859-15] N�tzel wrote:
Quoted 5 lines · khromy
Quoted 3 lines · Ed Tomlinson

Incase I messed up removing and repatch I tried from a clean kernel with the same results.
Any one else seeing this?

Quoted 8 lines
Quoted 2 lines

Yes.. This is a PII350 with 128MiB... If anybody needs any more info let me know.

-H5 (-G1, latest I've tried worked)

1 GHz Athlon II, 640 MB
hang hard right after
Initializing RT netlink socket

Look in init/main.c, if kernel_thread() is called before init_idle().

- Davide

#2 lore raw
Quoted 1 line · Davide Libenzi

Look in init/main.c, if kernel_thread() is called before init_idle().

init is started via kernel_thread prior to init_idle ...

Robert Love

#3 lore raw
Quoted 5 lines · Robert Love
Quoted 1 line · Davide Libenzi

Look in init/main.c, if kernel_thread() is called before init_idle().

init is started via kernel_thread prior to init_idle ...

Move init_idle() before the first call to kernel_thread(). This should fix it.

- Davide

#4 lore raw
Quoted 2 lines · Davide Libenzi

Move init_idle() before the first call to kernel_thread(). This should fix it.

On 2.4.17-pre3, UP, with -H5, the following patch failed to fix the problem -- still hardlock on "Starting kswapd". I still suspect the problem is with the init_idle changes, though ...

init/main.c +2 -2
@@ -590,14 +590,14 @@
 	check_bugs();
 	printk("POSIX conformance testing by UNIFIX\n");
 
+	smp_init();
+	init_idle();
 	kernel_thread(init, NULL, CLONE_FS | CLONE_FILES | CLONE_SIGNAL);
 	/* 
 	 *	We count on the initial thread going ok 
 	 *	Like idlers init is an unlocked kernel thread, which will
 	 *	make syscalls (and thus be locked).
 	 */
-	smp_init();
-	init_idle();
 	unlock_kernel();
 	printk("All processors have done init_idle\n");
 

Robert Love

#5 lore raw
In reply to Davide Libenzi
Quoted 7 lines · Davide Libenzi
Quoted 5 lines

-H5 (-G1, latest I've tried worked)

1 GHz Athlon II, 640 MB
hang hard right after
Initializing RT netlink socket

Look in init/main.c, if kernel_thread() is called before init_idle().

look at my patches, they have included this fix for quite some time. (Linus found it or me, i dont remember.) So whatever problem Dieter has, it's not this particular bug.

Ingo

#6 lore raw
Quoted 11 lines
Quoted 7 lines
Quoted 5 lines

-H5 (-G1, latest I've tried worked)

1 GHz Athlon II, 640 MB
hang hard right after
Initializing RT netlink socket

Look in init/main.c, if kernel_thread() is called before init_idle().

look at my patches, they have included this fix for quite some time. (Linus found it or me, i dont remember.) So whatever problem Dieter has, it's not this particular bug.

i've got the same problem (UP, athlon 500Mhz)
anything I can check/test ??

Cheers,
Taco.