Re: [Call For Testing] VirtualBox for FreeBSD! take 4

From: Jacques Fourie <jacques.fourie_at_gmail.com>
Date: Fri, 5 Jun 2009 12:58:25 +0200
> Hi,
> I've tried http://people.freebsd.org/~miwi/vbox/virtualbox_5.tgz out...
>  - it compiles fine (except for the iso I had to download manually)
>  - it panics when I try to load the kernel module, first I tried to load it with X running and the second time I tried to load it without X running, please find attached the output.
>
> about my machine:
> $ uname -a
> FreeBSD home.mydomain.org 7.2-STABLE FreeBSD 7.2-STABLE #7: Thu May 28 01:24:11 EEST 2009     mgp_at_mydomain.org:/usr/obj/usr/src/sys/Ss-STABLE  amd64
>
> and also ports updated from 28th of May
>
> regards,
> mgp
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>

The following patch fixes this issue for me.

--- semevent-r0drv-freebsd.c.old        2009-06-05 12:48:55.841136475 +0200
+++ semevent-r0drv-freebsd.c    2009-06-05 12:15:08.610705499 +0200
_at__at_ -181,7 +181,7 _at__at_
         rc = tsleep(pEventInt,          /* block id */
                     fInterruptible ? PZERO | PCATCH : PZERO,
                     "iprtev",
-                   tvtohz(&tv));
+                   cMillies == RT_INDEFINITE_WAIT ? 0 : tvtohz(&tv));
         mtx_lock_spin(&pEventInt->Mtx);

Regards,
Jacques
Received on Fri Jun 05 2009 - 09:18:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:49 UTC