Re: Linux 2.4.4-ac2

From: Hugh Dickins (hugh@veritas.com)
Date: Tue May 01 2001 - 10:50:52 EST


On Tue, 1 May 2001, J . A . Magallon wrote:
> On 05.01 Alan Cox wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/alan/2.4/
> Hangs after APIC init:
>
> (bootlog from ac1)
> cpu: 0, clocks: 1002300, slice: 334100
> CPU0<T0:1002288,T1:668176,D:12,S:334100,C:1002300>
> cpu: 1, clocks: 1002300, slice: 334100
> CPU1<T0:1002288,T1:334080,D:8,S:334100,C:1002300>
> checking TSC synchronization across CPUs: passed.
>
> <ac2 stops here>
>
> PCI: PCI BIOS revision 2.10 entry at 0xfdb81, last bus=1

Don't ask me why, but I think you may find it's Peter's patch to
the women-and-children-first in kernel/fork.c: I'm not yet running
-ac2, but I am trying that patch, fine on UP but hanging right there
(well, I get a "go go go" message too) on SMP.

Try reversing the:

- p->counter = current->counter;
- current->counter = 0;
+ p->counter = (current->counter + 1) >> 1;
+ current->counter >>= 1;
+ current->policy |= SCHED_YIELD;

and see if that works for you too.

Hugh

-
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/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:10 EST