From owner-freebsd-doc@freebsd.org Sun Sep 9 20:34:09 2018 Return-Path: Delivered-To: freebsd-doc@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 48B92109DE16 for ; Sun, 9 Sep 2018 20:34:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DB6BB8099B for ; Sun, 9 Sep 2018 20:34:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A0760109DE15; Sun, 9 Sep 2018 20:34:08 +0000 (UTC) Delivered-To: doc@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 7EA59109DE14 for ; Sun, 9 Sep 2018 20:34:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C39C8099A for ; Sun, 9 Sep 2018 20:34:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6AABF7B1B for ; Sun, 9 Sep 2018 20:34:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w89KY7Iu043792 for ; Sun, 9 Sep 2018 20:34:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w89KY7Ja043791 for doc@FreeBSD.org; Sun, 9 Sep 2018 20:34:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 228535] emulators/virtualbox-ose-kmod: 11.2-BETA3 - kldload vboxdrv leads to panic Date: Sun, 09 Sep 2018 20:34:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: dclarke@blastwave.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2018 20:34:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228535 --- Comment #15 from Dennis Clarke --- (In reply to rkoberman from comment #12) virtualbox-ose has been a real pain to deal with for the last few weeks here. At least for me and my team of sysadmins who are doing experiments with FreeBSD RELEASE 11.2. I can report that I have seen the panic-on-boot loop "feature" and it is fun.=20 Well the package for virtualbox-ose is broken on the RELEASE version=20 of 11.2 and so yes it is a problem and will remain a problem until some future date. Near future we hope. One may perform the experiment, as I have, repeatedly, and see a kernel panic repeatedly. One must build the virtualbox-ose-kmod bits from ports and then overwrite=20 the existing pkg which was installed via dependencies for virtualbox-ose. The entirely repeatable process : 1) install RELEASE 11.2=20 2) at first boot you may su - and as root do very very few things : # /usr/sbin/pkg query -e '%a =3D 0' '%o' The package management tool is not yet installed on your system. Do you want to fetch and install it now? [y/N]: y Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:11:amd64/quarterl= y, please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... = done Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: 100% ports-mgmt/pkg #=20 Get on with the process of an update to the ports data # /usr/sbin/portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from your-org.portsnap.freebsd.org... done. . . . Then do the portsnap extract. 3) Full stop right here and we have a fresh RELEASE 11.2 system with not mu= ch on it :=20 # /usr/sbin/pkg query -e '%a =3D 0' '%o' ports-mgmt/pkg #=20 4) install virtualbox-ose BEFORE attempting to build virtualbox-ose-kmod # pkg install virtualbox-ose=20 Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 125 package(s) will be affected (of 0 checked): New packages to be INSTALLED: virtualbox-ose: 5.2.12_1 qt5-x11extras: 5.10.1 qt5-gui: 5.10.1 . . . a lot of stuff gets dragged in and that includes broken virtualbox-ose-k= mod: 5.2.12 . . . 5) manually build virtualbox-ose-kmod in ports to replace the broken 5.2.12= pkg=20 # cd /usr/ports/emulators/virtualbox-ose-kmod/ # make install clean=20=20 a few items to watch for :=20 Be sure to select libsigsegv for GNU m4=20 Disable DTRACE Build with DTrace probes gmp-6.1.2 enable CPU optimizations=20 6) at some point in the reasonably near future you will have two virtualbox-ose version pkgs thus :=20 virtualbox-ose-5.2.12_1 General-purpose full virtualizer for x86 hardware virtualbox-ose-kmod-5.2.18 VirtualBox kernel module for FreeBSD Note the different versions.=20 After a minor edit to /boot/loader.conf and /etc/rc.conf one may reboot and= =20 have a workable mixed version virtualbox-ose. Sort of. The kernel module version isn't really a perfect match but seems to work thus far. I have attempted= to build all of virtualbox-ose from ports, repeatedly, over and over there are little bugs in the process that stop the build. One gets fixed and another pops u= p. I don't think your average user or sysadmin out there will be able to easily get around this mess. So when is the next big release ? Because I don't see h= ow this can be marked as "fixed". At best there is a hack workaround. --=20 You are receiving this mail because: You are the assignee for the bug.=