Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Aug 2003 18:04:43 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Thorsten Greiner <thorsten.greiner@web.de>
Cc:        current@freebsd.org
Subject:   Re: NVidia glx stuff dies in sysarch(I386_SET_LDT, ...)
Message-ID:  <Pine.GSO.4.10.10308011800170.6295-100000@pcnet5.pcnet.com>
In-Reply-To: <20030801215529.GA745@tybalt>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 1 Aug 2003, Thorsten Greiner wrote:

> * Thorsten Greiner <thorsten.greiner@web.de> [2003-08-01 23:47]:
> > I will test wether the problem still occurs with version 1.84 of
> > sys_machdep.c and let you know.
> 
> Yup, reverting to 1.84 unbreaks this for me. Looking at the changes
> made it appears to me that the check
> 
>         if (uap->start < NLDT || uap->num <= 0)
>             return (EINVAL);i
> 
> causes this, because NLDT is 6 and the NVidia stuff passes
> uap->start == 6 to this call.

It can't use 6.  FreeBSD reserves 0-16 for its own use.

I think the bug was in the old code allowing this to
happen...

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10308011800170.6295-100000>