From owner-freebsd-questions@freebsd.org Wed Aug 1 23:10:20 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FAEB106BE41 for ; Wed, 1 Aug 2018 23:10:20 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E3AB48C90A; Wed, 1 Aug 2018 23:10:19 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi0-x230.google.com with SMTP id 13-v6so589838ois.1; Wed, 01 Aug 2018 16:10:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0Jo87NqKxxo324xOwbm2wW4fjHMdnC96EdnQbsxkNFk=; b=HfcX1J6raN4gXQcLPXga0Uf1c/B5Lds1CKBo3k0BR0Ekr2IqlhVG0glJN3e07FSjp4 P6CmJMNwcWkecgedOxrBLKQ4Ef1fUbT6Y3elpkCwg9dviHFrhGFCW8uvjXYe/U+6u9WE J4EvGCO/aZbft2P7OPbU0fscc8lbVg96FoU4oHDS7/eiaHOSKNwK/7/Ys0dZq6GCe9DR 8OI/S2JZ2X9Ylzj1moVy2T6wKIZMCj1V4dqMTHl+r4daPy/fASnsClSmB+3wHOmNNzpo 70qtLdjuCM0nXSJYZKjQivqV/WOodx4Io7luAWLqUUaD51aAlFhfe41mdvLdBaSBvWPQ bLHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0Jo87NqKxxo324xOwbm2wW4fjHMdnC96EdnQbsxkNFk=; b=jcw3tH4oqYlbpAK5D54iOgFhcNmCjB3QPli/0CY5jgSqosJnOuFUnw1adcSiMQG0SX GRFAAZr2QWxUQ4qqkbtZfHL/6l/WxtHRnDG23cUvwvHaeyJ2MWrxpMJ1bj/omow7mfV+ SobGqpw4CWytkgK1XfeSDPpvM4fciqtJJAjN5ubU/J+m5ncWWFBkggdzRj/enwcRpwPw kWgnI+Pwr7SryNYH0ZTWQwHpqg+ySbewhgvRkHpydofSNqT6iS2EagCqeiyR6tTrbEnO lORpcdnY8KWP2mKs7iWSaK1izsUYNmiCLJu1VyjtYtVtyIPcNc+B29/eE1nWZx6erhS+ nR6g== X-Gm-Message-State: AOUpUlHAGcR6dDHT2tSF8nZgI4FdlOPH7yJAZBDAUJxeaMi3nwU7dQC4 uvEeRKLrBw5IWP7K5iFxZw4dJsMdo9kYYIwx5js= X-Google-Smtp-Source: AAOMgpeRmzD6WYHr2GIu4qZWA9o9mgDFkOUhD7ioO6BU4Nb021joO7AkCO4D4BfQF1RT4hJ9UIrmd0BStxZL63foXkU= X-Received: by 2002:aca:4d87:: with SMTP id a129-v6mr386206oib.256.1533165019032; Wed, 01 Aug 2018 16:10:19 -0700 (PDT) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 2002:ac9:2c55:0:0:0:0:0 with HTTP; Wed, 1 Aug 2018 16:10:18 -0700 (PDT) In-Reply-To: <016701d429a8$7e674a50$7b35def0$@shaw.ca> References: <016701d429a8$7e674a50$7b35def0$@shaw.ca> From: Kevin Oberman Date: Wed, 1 Aug 2018 16:10:18 -0700 X-Google-Sender-Auth: FcAhyfShG3YS8fBJXZh-2FPBx_g Message-ID: Subject: Re: virtualbox-ose-nox11 compile fails on newly upgraded 11.2 To: Dale Scott Cc: Mailinglists FreeBSD , vbox@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2018 23:10:20 -0000 On Wed, Aug 1, 2018 at 8:01 AM, Dale Scott wrote: > virtualbox-ose-nox11 fails to compile from ports on newly upgraded 11.2. > I'm > attempting to install from the ports collection because installing the > binary pkg (or possibly the kmod only) is causing the system to crash > during > boot (I assume the same issue that is described in the 11.2 errata, causing > me to uninstall virtualbox before upgrading from 11.1). > > > > The errata, and PR228535[1] which it references, indicate building from > source (ports) will avoid the issue (somehow). I think someone responded to > the PR saying installing the pkg after upgrading worked, but not in my case > - which is why I'm now attempting to install from ports. > > > > The host server is a re-purposed media PC with Intel E6600 Core 2 CPU and 6 > GB RAM (DDR2 PC2-5300) running 64-bit FreeBSD 11.2. I seem to come across > mention of ZFS when searching this issue. I've always trusted that the > FreeBSD installer/upgrader knows what it's doing without my involvement in > this regard, although I saw a boot message that something ZFS wants to be > given more memory (but not seen now that I've upgraded to 11.2). > > > > Suggestions are greatly appreciated. :-) My goal is to host two pre-built > Linux vm's on what is otherwise a PHP web app server. One vm is ERPNext > (from the project) and the other is Gitlab (from Bitnami). Should I cut my > losses and figure out how to switch my *.ova's to bhyve? > > > > Thanks all, > > Dale > There is no need to build or install virtualbox-ose. Installing the package version is fine. You do need to rebuild virtualbox-ose-kmod to prevent a crash at boot time. To do this you will need the current port. Be sure that version matches virtualbox-ose. If the versions do not match, install the virtualbox-ose package from head instead of quarterly and usr the port from HEAD. The current version is 5.2.16, but older versions (e.g. 5.2.14) should work. Ignore the portrevision, the digit after the '_', if present. You must have a full set of kernel sources in /usr/src. The kernel module must have the kernel sources to build correctly. Use "kldload vboxdrv vboxnetflt vboxnetadp" and re-enable loading of the driver at boot. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683