Re: [PATCH] XBox Gaming System subarchitecture.

Dave Jones (davej@codemonkey.org.uk)
Mon, 14 Jul 2003 15:28:38 +0100


On Mon, Jul 14, 2003 at 04:21:52PM +0200, Anders Gustafsson wrote:
> > Notably the gcc 'workaround' and the HZ ifdef maze.
>
> Ooops, wrong patch. I have a labyrinth of bitkeeper-trees here, all looking
> almost the same.
>
> The real patch contains cleaned up HZ-ifdefs.

good good..

> Regarding the gcc "workaround" I said:
> "I don't really know how to make clear it's not a gcc problem. But if it was,
> why doesn't it crash on pc and 1.0 xboxen? And why does it crash on kernels
> compiled with 2.95, with or without optimization? I really wish I had the
> explaination to this problem."
>
> Or as Christoph answered: "Oh well, stupid crappy hardware..."

That's a possibility, but if that were the case, I'd expect other things
also to start randomly failing. It's unclear to me how -O2 would make
a hardware bug more aparent. If it did so, that would also mean you'd
have to ensure all your userspace was similarly compiled, which sounds
very suspect. It's just a celeron based PC with nvidia nforce chipset right ?
If that combination caused such problems, I'd expect to see the
occasional problem report from non-Xbox regular home-built PC users too.

Might be one worth picking over on the gcc lists if you can identify
which part gets miscompiled ?

Tried different versions of binutils too ?

Dave

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