From owner-freebsd-emulation@FreeBSD.ORG Fri Jan 11 15:19:58 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3B6FF04 for ; Fri, 11 Jan 2013 15:19:58 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by mx1.freebsd.org (Postfix) with ESMTP id 4C465CB for ; Fri, 11 Jan 2013 15:19:57 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id o1so1097574wic.6 for ; Fri, 11 Jan 2013 07:19:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GC9wxV+up6i7zUmtYfsj6nW+Pa0Pj0PZipMogmvLePg=; b=HdET3dkruOmt09IXu7y+YssROHsGRiZHVhB2HO2Kuq7pw5z6xY2Yoam1ZQdySTdy4r 8du1+umGxRBhpMiOPSph0Mx1/RzIywcQWzfER3Jh+XI0fJ3TDo0zjrjyIi0y8q+gKcYG liI8YZJeiTn1dgVD1XeEe185x6nRbkc3kG09rApP2kKFnTb2qrCP9etWiCAktIC96YoG SsP/Img+IoxRWqVE27r5pK5vqo9IdA/vTyPWLnrvZ47KcwevWP0S8I0yT7efjAN4bfjF KbS2bbT9oWjoUQgXFzUARS34mrHLm17Vfsn3MCTRvnYvNmtA+ed1QNhwYExfOL67NHVb f9Fg== MIME-Version: 1.0 Received: by 10.180.90.106 with SMTP id bv10mr15823961wib.12.1357917597005; Fri, 11 Jan 2013 07:19:57 -0800 (PST) Received: by 10.216.100.194 with HTTP; Fri, 11 Jan 2013 07:19:56 -0800 (PST) In-Reply-To: References: Date: Fri, 11 Jan 2013 09:19:56 -0600 Message-ID: Subject: Re: VirtualBox kernel modules From: Brandon Gooch To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-emulation@freebsd.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2013 15:19:58 -0000 On Thu, Jan 10, 2013 at 10:31 PM, Warren Block 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. The previous versions of this port did indeed install the modules into /boot/modules; only with the most recent version (4.2.6) has this changed. For example: $ tar tvf /usr/ports/packages/All/virtualbox-ose-kmod-4.1.22.txz [...] -r-xr-xr-x 0 root wheel 297288 Sep 19 09:19 /boot/modules/vboxdrv.ko -r-xr-xr-x 0 root wheel 9544 Sep 19 09:19 /boot/modules/vboxnetadp.ko -r-xr-xr-x 0 root wheel 26648 Sep 19 09:19 /boot/modules/vboxnetflt.ko [...] $ tar tvf /usr/ports/packages/All/virtualbox-ose-kmod-4.2.6.txz [...] -r-xr-xr-x 0 root wheel 337912 Jan 6 13:13 /boot/kernel/vboxdrv.ko -r-xr-xr-x 0 root wheel 9696 Jan 6 13:13 /boot/kernel/vboxnetadp.ko -r-xr-xr-x 0 root wheel 26808 Jan 6 13:13 /boot/kernel/vboxnetflt.ko [...] I don't know WHY this changed, or if it was just an oversight during the update -- perhaps it by (re)design... -Brandon