Date: Mon, 14 Jan 2013 18:36:15 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: =?ISO-8859-15?Q?Bernhard_Fr=F6hlich?= <decke@FreeBSD.org> Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox kernel modules Message-ID: <alpine.BSF.2.00.1301141834380.86014@wonkity.com> In-Reply-To: <CAE-m3X1VTDeA4QYKs=%2B3haeTMKKf%2B%2BG5qmVavYBKXOvniXxmZg@mail.gmail.com> References: <alpine.BSF.2.00.1301101929430.23007@wonkity.com> <CAFMmRNw%2B%2BdNNhYfUUWH4P1pUoO3koC%2BdTKR_PFVbkJCA2p0YMA@mail.gmail.com> <alpine.BSF.2.00.1301102130150.23661@wonkity.com> <CALBk6yJH4P1jSkSR-rOc5st1jWu_jrR1C2JBK_ebbVnnNi%2B%2BEw@mail.gmail.com> <CAE-m3X1VTDeA4QYKs=%2B3haeTMKKf%2B%2BG5qmVavYBKXOvniXxmZg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --3512871622-1044595091-1358213775=:86014 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 11 Jan 2013, Bernhard Fröhlich wrote: > On Fri, Jan 11, 2013 at 4:19 PM, Brandon Gooch > <jamesbrandongooch@gmail.com> wrote: >> On Thu, Jan 10, 2013 at 10:31 PM, Warren Block <wblock@wonkity.com> wrote: >> >>> On Thu, 10 Jan 2013, Ryan Stone wrote: >>> >>> As I recall, a make installkernel will first mv /boot/kernel >>>> /boot/kernel.old >>>> >>>> Should ports put modules in /boot/modules to avoid this kind of thing? >>> >>> I thought so, but the Porter's Handbook doesn't say anything about it. >>> multimedia/cuse4bsd-kmod installs a module there. > > I think this is an unwanted side effect. In fact I changed the defintion of > where the kernel module should be installed in virtualbox-ose-kmod/Makefile > from KMODDIR=/boot/modules to KMODDIR?=/boot/modules to allow > overwriting the KMODDIR in case you want to have a non default directory > for your kernel modules (like in a jail). > > I haven't found yet where KMODDIR is set to /boot/kernel but it obviously is > defined somewhere. I'm also not sure if that is really a virtualbox > problem or if > we better should fix that in Mk and set KMODDIR or create a new variable for > ports kernel modules. > > In the meantime overwriting KMODDIR to /boot/modules in your make.conf > should help. Except that if you set KMODDIR=/boot/modules, then all the OS kernel modules are put there also. And building or installing the kernel still wipes out that directory and the Virtualbox modules. --3512871622-1044595091-1358213775=:86014--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1301141834380.86014>