Re: recent commit causes lock up

看板FB_current作者時間14年前 (2011/08/12 21:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
Alexander Best <arundel@freebsd.org> writes: > hi there, > > running r224715 i'm having no problems what so ever. after upgrading my kernel > to r224784, i'm experiencing fatal lock ups, where only a hard reset will > resolve the problem. > > the lock up happend two times while running chromium with only a decent number > of tabs (~ 5). also the lock up occured only after ~ 5 minutes uptime and an > uptime of chromium of only ~ 2 minutes. > > i've now reverted my kernel back to r224715 and everything's working again. Do you use x11/nvidia-driver? In r224778 fget(9) KPI changed which broke the port in src/nvidia_linux.c:linux_ioctl_nvidia(). It's probably only called when using linuxolator, e.g. flash plugin. Try below workaround. %% --- src/nvidia_linux.c~ +++ src/nvidia_linux.c @@ -26,6 +26,8 @@ #include "machine/../linux32/linux32_proto.h" #endif +#include <sys/capability.h> + int linux_ioctl_nvidia(d_thread_t *, struct linux_ioctl_args *); int linux_ioctl_nvidia( @@ -37,7 +39,7 @@ int linux_ioctl_nvidia( int error; u_long cmd; - if ((error = fget(td, args->fd, &fp)) != 0) + if ((error = fget(td, args->fd, CAP_IOCTL, &fp)) != 0) return error; cmd = args->cmd; %% _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EHIjIyf (FB_current)
文章代碼(AID): #1EHIjIyf (FB_current)