Re: 2.6.8-rc3-mm2

William Lee Irwin III
2004-08-10T08:25:29Z

At some point in the past, someone wrote:
>>> is keventd_up() true during normal SMP bootup? [...]

On Tue, Aug 10, 2004 at 10:08:01AM +0200, Ingo Molnar wrote:
>> it ought to be up at this point - smp_init() is done from the init
>> thread and the scheduler is up and running.

On Tue, Aug 10, 2004 at 01:17:52AM -0700, William Lee Irwin III wrote:
> Well, I'm working backward from an "unacceptable fix", where I changed
> a bunch of things defensively at once and (of course) it was adding the
> printk()'s that actually fixed things.
> One of those changes was to ditch the schedule_work() shenanigans in
> do_boot_cpu(), which was actually meant to rule out the initializers
> for the struct create_idle getting miscompiled or otherwise not
> behaving as I expected.

The "unacceptable fix" is now down to one line. So, what I need to
figure out now is what the printk did.

--- mm2-2.6.8-rc3/arch/ia64/kernel/smpboot.c.orig 2004-08-10 13:42:38.000000000 -0700
+++ mm2-2.6.8-rc3/arch/ia64/kernel/smpboot.c 2004-08-10 01:03:51.527428678 -0700
@@ -671,6 +671,7 @@
return 0;
}
/* Processor goes to start_secondary(), sets online flag */
+ printk("about to call do_boot_cpu(%d, %d)\n", sapicid, cpu);
ret = do_boot_cpu(sapicid, cpu);
if (ret < 0)
return ret;