Date: Fri, 9 Jul 2010 08:20:30 -0400 From: John Baldwin <jhb@freebsd.org> To: Rene Ladan <rene@freebsd.org> Cc: Yuri Pankov <yuri.pankov@gmail.com>, Doug Barton <dougb@freebsd.org>, David Naylor <naylor.b.david@gmail.com>, freebsd-current@freebsd.org Subject: Re: nvidia-driver crashing kernel on head Message-ID: <201007090820.30368.jhb@freebsd.org> In-Reply-To: <4C36488A.6030203@freebsd.org> References: <201007021146.46542.naylor.b.david@gmail.com> <alpine.BSF.2.00.1007081304590.5061@yncgbc.qbhto.arg> <4C36488A.6030203@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007090820.30368.jhb>