nvidia-driver crashing kernel on head
John Baldwin
jhb at freebsd.org
Fri Jul 9 13:46:05 UTC 2010
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
More information about the freebsd-current
mailing list