Re: nvidia-driver crashing kernel on head

From: John Baldwin <jhb_at_freebsd.org>
Date: Fri, 9 Jul 2010 08:20:30 -0400
On Thursday, July 08, 2010 5:52:10 pm Rene Ladan wrote:
> On 08-07-2010 22:09, Doug Barton wrote:
> > On Thu, 8 Jul 2010, John Baldwin wrote:
> > 
> >> These freezes and panics are due to the driver using a spin mutex
> >> instead of a
> >> regular mutex for the per-file descriptor event_mtx.  If you patch the
> >> driver
> >> to change it to be a regular mutex I think that should fix the problems.
> > 
> > Can you give an example? :) I don't mind creating a patch for all of
> > them if you can illustrate what needs to be changed.
> > 
> See the attached patch

You need to patch nvidia_subr.c as well.  All its 
mtx_lock_spin/mtx_unlock_spin need to be changed.

-- 
John Baldwin
Received on Fri Jul 09 2010 - 11:46:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC