Date: Sun, 10 Mar 2013 12:56:01 -0400 (EDT) From: AN <andy@neu.net> To: Sergio de Almeida Lenzi <lenzi.sergio@gmail.com> Cc: vbox@freebsd.org, FreeBSD Mailing List <freebsd-ports@freebsd.org>, Chris Rees <utisoft@gmail.com> Subject: Re: VirtualBox broken by recent commit -248084 Message-ID: <alpine.BSF.2.00.1303101243230.16118@mail.neu.net> In-Reply-To: <1362932015.81638.5.camel@z6000.lenzicasa> References: <mailman.43243.1362306756.2166.freebsd-ports@freebsd.org> <alpine.BSF.2.00.1303100303330.16118@mail.neu.net> <CADLo839VrVgX%2BQ6rsTAJp_L-1=W96j8xaSKaoQ=5AGXseCOQOw@mail.gmail.com> <1362932015.81638.5.camel@z6000.lenzicasa>
next in thread | previous in thread | raw e-mail | index | archive | help
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@neu.net> wrote: > > > > FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #36 r248127: Sun Mar 10 > > 00:13:59 CST 2013 root@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@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@FBSD10 /usr/ports/emulators/virtualbox-ose-kmod]# kldload vboxdrv.ko [root@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1303101243230.16118>