Re: -ac10,-ac11 no boot on SMP PentiumII box

Richard Shih-Ping Chan (cshihpin@dso.org.sg)
Thu, 11 Oct 2001 19:15:35 +0800


I confirm its a gcc interaction

kernel 2.4.10-ac11
CONFIG_X86_PPRO_FENCE defined

gcc-2.96-96 from rawhide OK!
gcc-3.0.1 with Linus tree spinlock.h OK!
gcc-3.0.1 with Alan tree spinlock.h BIG FREEZE :(((

Thanks.

On Thu, Oct 11, 2001 at 10:31:54AM +0100, Alan Cox wrote:
> > I've narrowed it down to the change between 2.4.10-ac8 and
> > -ac9. Maybe it has something to do with CONFIG_X86_PPRO_FENCE?
>
> That is the obvious candidate. I changed spin_unlock for the ppro to cover
> an errata. It seems to work for me with gcc 2.96 but its asm so its possible
> I've done something some compiler version didnt like.
>
> Switch the include/asm-i386/spinlock,h to the one in Linus tree and see
> what happens
> -

-- 
Richard Chan <cshihpin@dso.org.sg>
DSO National Laboratories
20 Science Park Drive
Singapore 118230
Tel: 7727045
Fax: 7766476
-
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/