VirtualBox broken by recent commit -248084
AN
andy at neu.net
Sun Mar 10 16:56:04 UTC 2013
On Sun, 10 Mar 2013, Sergio de Almeida Lenzi wrote:
> Em Dom, 2013-03-10 as 15:43 +0000, Chris Rees escreveu:
>
> On 10 Mar 2013 07:07, "AN" <andy at neu.net> wrote:
> >
> > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #36 r248127: Sun Mar 10
> > 00:13:59 CST 2013 root at FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64
> >
> > Virtualbox was broken by this commit:
> > http://svnweb.freebsd.org/base?view=revision&revision=248084
> >
> > ===> Registering installation for virtualbox-ose-kmod-4.2.6_1
> > Installing virtualbox-ose-kmod-4.2.6_1... done
> > ===> Cleaning for virtualbox-ose-kmod-4.2.6_1
> > [root at FBSD10 /usr/ports/emulators/virtualbox-ose-kmod]# kldload vboxdrv.ko
> > kldload: can't load vboxdrv.ko: Exec format error
>
> This error isn't helpful; what went into /var/log/messages as kldload was
> executed?
>
> Chris
>
> The last 10.0 CURRENT changed the way lock is handled.....
> so a "fix" in the virtualbox-kmod is needed....
> put this file the "files" directory
> and do a "make clean install"
> should work...
I can confirm that with the attached patch, VirtualBox is working again.
Thanks Sergio for the fix.
# kldstat
Id Refs Address Size Name
1 18 0xffffffff80200000 117e9a0 kernel
2 1 0xffffffff81412000 9a02 linprocfs.ko
3 1 0xffffffff8141c000 4fbcb linux.ko
4 1 0xffffffff8146c000 3493 ums.ko
5 1 0xffffffff81470000 29c4 uhid.ko
[root at FBSD10 /usr/ports/emulators/virtualbox-ose-kmod]# kldload vboxdrv.ko
[root at FBSD10 /usr/ports/emulators/virtualbox-ose-kmod]# kldstat
Id Refs Address Size Name
1 20 0xffffffff80200000 117e9a0 kernel
2 1 0xffffffff81412000 9a02 linprocfs.ko
3 1 0xffffffff8141c000 4fbcb linux.ko
4 1 0xffffffff8146c000 3493 ums.ko
5 1 0xffffffff81470000 29c4 uhid.ko
6 1 0xffffffff81473000 2e7c0 vboxdrv.ko
More information about the freebsd-ports
mailing list