With this hack, I'm getting an SMP boot all the way to the init script 'Checking for new Hardware [OK]' before the hang. This patch is against linux+ia64+ingoJ0. Nick On Wed, Jan 16, 2002 at 05:42:30PM -0800, David Mosberger wrote: > In case you're still fighting with Ingo's scheduler on 2.4.xx, you > might want to try the attached patch. It's a gross hack to work > around a race condition in set_cpus_allowed(). Without this hack, the > kernel would almost always die as soon as it tried to migrate > ksoftirqd_CPU1 from CPU 0 to CPU 1. With the patch, it boots up to > the point where the serial line driver gets initialized, which is > progress, I suppose. > > The fundamental problem is that current set_cpus_allowed() lets the > same task run on two CPUs for a brief period of time. This violates > scheduling assumptions made by the kernel and hence results in race > conditions. > > --david