From owner-freebsd-virtualization@freebsd.org Tue Jul 28 19:36:42 2015 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E4A29AD9FA for ; Tue, 28 Jul 2015 19:36:42 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E144C1AF5 for ; Tue, 28 Jul 2015 19:36:41 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6SJafCv089765 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 28 Jul 2015 12:36:41 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6SJafXi089764 for freebsd-virtualization@FreeBSD.org; Tue, 28 Jul 2015 12:36:41 -0700 (PDT) (envelope-from jmg) Date: Tue, 28 Jul 2015 12:36:41 -0700 From: John-Mark Gurney To: freebsd-virtualization@FreeBSD.org Subject: troubles booting OpenBSD 5.7 or NetBSD 6.1.5 w/ grub2-bhyve Message-ID: <20150728193640.GV78154@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Tue, 28 Jul 2015 12:36:41 -0700 (PDT) X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2015 19:36:42 -0000 I'm trying to run either Net or Open for some testing, and I'm not having luck. After first figuring out that the README on github doesn't include that you need to include the boot device to load the files from, I finally got kopenbsd and knetbsd loading, but when I run boot, it just drops me to a prompt w/o doing anything. For NetBSD... [dev.map] (cd0) NetBSD-6.1.5-amd64.iso (hd1) netbsd.img grub-bhyve command: # grub-bhyve -m dev.map nbsd615 GNU GRUB version 2.00 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> grub> knetbsd -h -r cd0a (cd0)/netbsd grub> boot # For OpenBSD... # cat dev.map (cd0) install57.iso (hd1) openbsd.img # grub-bhyve -m dev.map obsd57 GNU GRUB version 2.00 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions. grub> kopenbsd -h com0 -r sd0a (cd0)/5.7/amd64/bsd grub> boot # So, kernels are loading fine, just things crash when trying to run them... FreeBSD VM's run fine... FreeBSD carbon.funkthat.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r282774: Mon May 11 11:41:38 PDT 2015 jmg@carbon.funkthat.com:/a/obj/a/home/jmg/FreeBSD.svn/HEAD/sys/GENERIC amd64 # pkg info | grep bhyve grub2-bhyve-0.30_1 Grub-emu loader for bhyve CPU: AMD A10-5700 APU with Radeon(tm) HD Graphics (3393.90-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x610f01 Family=0x15 Model=0x10 Stepping=1 Features=0x178bfbff Features2=0x3e98320b AMD Features=0x2e500800 AMD Features2=0x1ebbfff Structured Extended Features=0x8 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."