Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jun 2009 12:58:25 +0200
From:      Jacques Fourie <jacques.fourie@gmail.com>
To:        Mario Pavlov <freebsd@abv.bg>
Cc:        freebsd-current@freebsd.org
Subject:   Re: [Call For Testing] VirtualBox for FreeBSD! take 4
Message-ID:  <be2f52430906050358j67554a89u770f527109e26044@mail.gmail.com>
In-Reply-To: <1230326101.16303.1243663430565.JavaMail.apache@mail52.abv.bg>
References:  <1230326101.16303.1243663430565.JavaMail.apache@mail52.abv.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> I've tried http://people.freebsd.org/~miwi/vbox/virtualbox_5.tgz out...
> =A0- it compiles fine (except for the iso I had to download manually)
> =A0- it panics when I try to load the kernel module, first I tried to loa=
d it with X running and the second time I tried to load it without X runnin=
g, 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 =A0 =A0 mgp@mydomain.org:/usr/obj/usr/src/sys/Ss-STABLE =
=A0amd64
>
> and also ports updated from 28th of May
>
> regards,
> mgp
> _______________________________________________
> 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=
"
>

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
@@ -181,7 +181,7 @@
         rc =3D tsleep(pEventInt,          /* block id */
                     fInterruptible ? PZERO | PCATCH : PZERO,
                     "iprtev",
-                   tvtohz(&tv));
+                   cMillies =3D=3D RT_INDEFINITE_WAIT ? 0 : tvtohz(&tv));
         mtx_lock_spin(&pEventInt->Mtx);

Regards,
Jacques



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?be2f52430906050358j67554a89u770f527109e26044>