Re: SiS drm broken during 2.6.9-rc1-bk1

From: Ingo Molnar
Date: Tue Feb 15 2005 - 05:33:25 EST



* Dave Airlie <airlied@xxxxxxxxx> wrote:

> > layout is the most likely patch to have broken things... I haven't
> > confirmed it is this particular patch yet, tomorrow I'll get some time to
> > do it ..
> >
>
> okay running client applications using
>
> setarch -L i386 glxgears
>
> makes them work.. I'll start looking for a bug in the the SIS client
> side library..

yeah. Look for 2GB assumptions - e.g. assumptions that pointers cast to
integer will be positive values, such as:

int i;

i = malloc(somesize);
if (i <= 0)
handle_alloc_failure();

here with the topdown layout you'd get a malloc 'failure'.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/