Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2003 12:08:17 -0400 (EDT)
From:      Daniel Eischen <eischen@pcnet.com>
To:        Alexander Nedotsukov <bland@mail.ru>
Cc:        "Matthew N. Dodd" <mdodd@freebsd.org>
Subject:   Re: nvidia OpenGL and lib{thr,kse} related crash
Message-ID:  <Pine.GSO.4.10.10306111207070.13761-100000@pcnet5.pcnet.com>
In-Reply-To: <3EE74525.7020809@mail.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Jun 2003, Alexander Nedotsukov wrote:

> Daniel Eischen wrote:
> 
> >On Wed, 11 Jun 2003, Alexander Nedotsukov wrote:
> >
> >  
> >
> >>Matthew N. Dodd wrote:
> >>
> >>    
> >>
> >>>Check http://www.minion.de/nvidia.html.
> >>>
> >>>      
> >>>
> >>Looks like this patches mostly present in ports tree. For my 
> >>undestanding the missed two should prevent memory access after free() 
> >>inside kernel and memory allocation for DMA push buffers. Anyway I'll 
> >>check it later evening when can get closer to my pc.
> >>    
> >>
> >
> >If your OpenGL applications or the libraries that they depend
> >on are using any of the COMPAT4X signal syscalls, then they
> >
> The kernel driver compilled by me on -cuurent. The OpenGL library by 
> nvidia on 4.x for sure.
> Can you say is this http://www.minion.de/files/machdep.c.diff supposed 
> to save %gs?
> 
> >won't work with libthr or libkse.  The COMPAT4X stuff in the
> >kernel destroys %gs which libthr and libkse both rely on
> >for their own use.  Are you sure that all your applications
> >and libraries are rebuilt under -current?  You can try
> >rebuilding your kernel without COMPAT4X and see if any
> >
> Well just give me a hint which one should be removed:
> 
> options         COMPAT_43               #Compatible with BSD 4.3 [KEEP 
> THIS!]
> options         COMPAT_FREEBSD4         #Compatible with FreeBSD4

Actually, it looks as if COMPAT_FREEBSD4 is OK and COMPAT_43
is not (sendsig() will destroy %gs).  You can try removing
both though and see what happens.

-- 
Dan Eischen



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