VirtualBox kernel modules

Larry Rosenman ler at lerctr.org
Fri Jan 11 02:39:29 UTC 2013


On 2013-01-10 20:34, Warren Block wrote:
> emulators/virtualbox-ose-kmod puts the built kernel modules in
> /boot/kernel along with all the system kernel modules.
>
> However, somewhere in the buildworld/kernel/installworld process,
> these modules are deleted.  Deinstalling the port shows this:
>
>   # make deinstall
>   ===>  Deinstalling for emulators/virtualbox-ose-kmod
>   ===>   Deinstalling virtualbox-ose-kmod-4.2.6
>   pkg_delete: file '//boot/kernel/vboxdrv.ko' doesn't exist
>   pkg_delete: file '//boot/kernel/vboxnetadp.ko' doesn't exist
>   pkg_delete: file '//boot/kernel/vboxnetflt.ko' doesn't exist
>   pkg_delete: couldn't entirely delete package 
> `virtualbox-ose-kmod-4.2.6'
>   (perhaps the packing list is incorrectly specified?)
>
> I think those modules used to be in /boot/modules.
>
> Is this a problem with my system, the port, or something else?
> _______________________________________________
> freebsd-emulation at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
> To unsubscribe, send any mail to 
> "freebsd-emulation-unsubscribe at freebsd.org"
I added:
  PORTS_MODULES=emulators/virtualbox-ose-kmod

to my /etc/make.conf to force all kernel builds to rebuild it and put 
them
in /boot/kernel/


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: ler at lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893


More information about the freebsd-emulation mailing list