From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 00:55:24 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66C7E211 for ; Sun, 22 Feb 2015 00:55:24 +0000 (UTC) Received: from mail-qa0-f49.google.com (mail-qa0-f49.google.com [209.85.216.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1DAF6FA3 for ; Sun, 22 Feb 2015 00:55:23 +0000 (UTC) Received: by mail-qa0-f49.google.com with SMTP id w8so17602249qac.8 for ; Sat, 21 Feb 2015 16:55:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:organization :user-agent:mime-version:content-type; bh=gskbbfWTWLAsCepVa/RTpVB5xBUgkAHxFYhF5u2Snpw=; b=WZavBMKYVxQNU5vz3lXoj6FWneozuJk9emtZw6k6RrEGH3+JQFTpxunRk922T/nIss v8jmKkbtZLiBnkFRq69pU3EwfhYz0P5nkuM1HCWqZKRxVfokZceGpCJ0FkbDrKnt+2hc FTneJ9Bht5KtUSOKMdxcEO6bxiKIRg6UbmXcJ1jN9EgBaw/GQ+4yokltDyE6D+AUoR2Q QdcGfI23tS7g6An/bzCliYgileMWZj3Ts5gU1izSxWqpa2PygwLDJ4BrQ0kXDfuiNrc0 VOt3MVBU7pk1E4svz9OCwIflpFOeUYxxkW4g1/uREQmbE66Pn6TJV1ubf/1uxHvEec+o uyWA== X-Gm-Message-State: ALoCoQkd81vEPTEoLbOMyBei6TpdNOTN9CQg3RpArVOV/5R/JbqOpEg7JYenAM8cIEbS5MNLsv98eEoE4fMNs+1eeTujTooklZkfqywpS3w7gsyEZEoZR3owZ0O+tezwW7fty0fsnhSwff+dUqFz4VzG+9jvThQHidycG/B+eOJPlG6I+NALpEU2CeDDq9kQp6Hrr+7Gknpf X-Received: by 10.140.104.242 with SMTP id a105mr10002229qgf.89.1424566042294; Sat, 21 Feb 2015 16:47:22 -0800 (PST) Received: from shawnwebb-laptop.localnet ([73.173.99.185]) by mx.google.com with ESMTPSA id b9sm10711947qac.22.2015.02.21.16.47.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Feb 2015 16:47:21 -0800 (PST) From: Shawn Webb To: "freebsd-virtualization@freebsd.org" Subject: Kernel Panic on Xen HVM Guest Date: Sat, 21 Feb 2015 19:47:15 -0500 Message-ID: <3097385.Fj7qiCLWdZ@shawnwebb-laptop> Organization: HardenedBSD User-Agent: KMail/4.14.2 (FreeBSD/11.0-CURRENT; KDE/4.14.2; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2156208.jrqmJW3xMj"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 00:55:24 -0000 --nextPart2156208.jrqmJW3xMj Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Hey All, I'm experiencing a kernel panic at boot time on my RootBSD VPS on Free= BSD- CURRENT. Since I'm limited to VNC, I've uploaded a screenshot of the crash here:= =20 http://imgur.com/yWtvJDc Thanks, =2D-=20 Shawn Webb HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --nextPart2156208.jrqmJW3xMj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJU6ScTAAoJEGqEZY9SRW7uBn8P/RJEdPdrOLpPXWF6ImnTR2uL E5ctb8Udqm/WLBw2REGsjdwK3fzIESIILtWW6n2iVnz6YoIwxK82CnxlSAJxY8M/ QZVfSXKFkRUg+3iQVn73ktmWeII0jzWuUSAa4wuSAqAXP1iX7Ihhf+0i5InSxdhh 8Vs+yq57TZh1nu3e14nczoHfsHUSdF9T+X7LCA1g01sTJV5KqWBHxNqG80bokMx5 DkVcie8aWAFGaTJzluXxvIG6TgynEFHM5PXU9QQXJwZGWYShopgUUV2GATSv+Z1n LUSXq0bewvVt+V49rf1AiG36TX5ZPc8TJ1GmNtSA9i+rQHcQjjU2sfzN26IPTc59 Zt1YLrl5WSHK947eYimnl1S/AhknIjfmtExMDXc2IIwNGNVA7vQTk49WC6NSOIK6 LY/tlUPtu5evh3JVzxGvB2SGvxrrrUQ9kLX2Ur55ZafJ40SNR4gNf3U4TterFNBX TjDKDOsARZDv8A3nA08hHcz/apiSohkVNWOLelTcJp0bR1HX9NKmzO+YcvDeqX0f IX8lClf/DZYh/8ilBasp6pqTm5rRs2ol1/PSgJT0zqVgw0Nm5MYfeovoCQ3/vhJo PCHCz98+MsWm7p6tJmBFnFUwsuq9IWQX2Vy0Xo27ZF3fXvxiCIoNInLorYNFqZBm /lKWoipg+GnYjr8yXr1t =cgkW -----END PGP SIGNATURE----- --nextPart2156208.jrqmJW3xMj-- From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 01:15:38 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DF121817 for ; Sun, 22 Feb 2015 01:15:38 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id B75761F1 for ; Sun, 22 Feb 2015 01:15:38 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 1E63997610 for ; Sun, 22 Feb 2015 01:15:37 +0000 (UTC) Message-ID: <54E92DD3.2040205@freebsd.org> Date: Sat, 21 Feb 2015 20:16:03 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: openbsd 5.7 beta - not booting completely in bhyve References: <54E9195C.5080708@smallcatbrain.com> In-Reply-To: <54E9195C.5080708@smallcatbrain.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xXcQmxMpSLqLMG8Mr5hVLLL9cTvoRPfNm" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 01:15:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --xXcQmxMpSLqLMG8Mr5hVLLL9cTvoRPfNm Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-21 18:48, Rich Dunkle wrote: > I am using FreeBSD 11 CURRENT r278872. > I have an OpenBSD 5.7 beta image that was running on VirtualBox. > I converted the vdi image using qemu-img. >=20 > When I boot the OpenBSD with Bhyve I notice that the boot drive is > not recognized the same as in VirtualBox. > VirtualBox - wd0a > Bhyve - sd0a >=20 > I have to manually enter sda0 during the boot process. > The OpenBSD slices are recognized and booting continues. > I see: =20 > starting local daemons: cron. > Then the date.=20 > At that point OpenBSD appears hung. >=20 > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@fr= eebsd.org" >=20 bhyve uses a serial console, rather than a video console. You'll need to have it configured properly otherwise your login console will appear on the non-existent video console --=20 Allan Jude --xXcQmxMpSLqLMG8Mr5hVLLL9cTvoRPfNm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU6S3YAAoJEJrBFpNRJZKfpOcP/jeucuL+4T1nNwVLrjTuL0mQ PRjgEyDqgzXfXYmNH87xDNV8uk4GUwj0GT/4Sd2jzBUv8cz33sdUumy8keZbRbWb ebYS9xmJkSU5t91hnzEwYl5p60LkzrVbIiRrsX1RZGp+NDaaMvX3saCkVW2O7SKr 0LTn8WX8EzLfMF2lRRLGrz744e3cM0YhX8GakJqmC4nqDpO46CNEdNFD1if13Zma SeXainBFTWMm0/DeWssAEoLKxzjQfFCr9YZ3LEluHzJ7Q5bfGaW7AT87IK3QEtO2 iZnpdkGl8sAOQOTPgXXHTAX22UwDUZrJm6c/tNLwUWQmGDLfyyQ81xD7RBT2A/Dc 6G0Hc3ENxcQLx3Pn+u2zieFXU8o7kPv7n0MyEzF15pmY+qEMJlAk2Czj3/zBQS1j ISt2bHg1m+fWrCEapJvpVtUMJy0DRu18snPX+OQ43nVXVvw6jAvOxNAk+/wS3n49 2L1gO+UpZyx+YjrW8CjJE0fE0hGXw7erxnCZin4FAc9br/2yflnLpP4idAnACwDu tszOQiItXbuwopxeyxjqgRBLHfngife8VKPZvz9QK/Le3GcIVRbUg5pc4hCdzMOj hs+gMXRo2NabR8LhzJLZeDdb0j99dP137xtjZM8ypakIeQIRncOvhqlO72OgPDqy gZtl0Fvwx1OG/pCDOcBU =8KvQ -----END PGP SIGNATURE----- --xXcQmxMpSLqLMG8Mr5hVLLL9cTvoRPfNm-- From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 06:24:16 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 12732A9B for ; Sun, 22 Feb 2015 06:24:16 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id DFCD0216 for ; Sun, 22 Feb 2015 06:24:15 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3E8BD977A5 for ; Sun, 22 Feb 2015 06:24:14 +0000 (UTC) Message-ID: <54E9760A.30508@freebsd.org> Date: Sun, 22 Feb 2015 01:24:10 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Kernel Panic on Xen HVM Guest References: <3097385.Fj7qiCLWdZ@shawnwebb-laptop> In-Reply-To: <3097385.Fj7qiCLWdZ@shawnwebb-laptop> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4qivVeR7WPkkI3cpW2LdR2Verk0V3MO4O" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 06:24:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --4qivVeR7WPkkI3cpW2LdR2Verk0V3MO4O Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-21 19:47, Shawn Webb wrote: > Hey All, >=20 > I'm experiencing a kernel panic at boot time on my RootBSD VPS on Free= BSD- > CURRENT. >=20 > Since I'm limited to VNC, I've uploaded a screenshot of the crash here:= =20 > http://imgur.com/yWtvJDc >=20 > Thanks, >=20 try setting: hw.x2apic_enable=3D"0" in the loader Look for a thread similar to yours on -current about the issue --=20 Allan Jude --4qivVeR7WPkkI3cpW2LdR2Verk0V3MO4O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU6XYNAAoJEJrBFpNRJZKfjS4P/iaXmymXz4L/Eq1JYTKATXhk KjdKazHT84LiizTQLtJap9DcTg9br8eqMkD6OTNLeqD72Q9kEpVqV31D04st0e0j uvbKUuCz/ZAoNBCFn/fVYvl0qT2ChaexWtjqKTKRpouoqMMJEO+xzQkHMA4kNtxd RoqRQqyljW4Enjy8+x20Ebd2Cit5hUR6QGfLvcA0IRLXB8fDy634nMEuHWpRXNDd AZmVyf+xJss1PCxRk3V+tMl8l4UKWQtjfTutdsif+KM1KnrkRgBXE21cRk06GUoE AE3AFCaDgdvfraowgKE7AOo3m/+RWs8mU2QdHknxEmSMgKiC6dzbm1LzCWqk2n8L RTe6W2Oye7t1yY+KAzE+u74dyzjvFnaNZoBBxVQBKwDbF3/2z4UwLd2TvdPwb4Pr 5A3kYOHZSa+gH591ng5Dkrh9Vyzf5Ex6seJ56oJrkb3dk4DfLqyjilkbCgrfNCPw TmIp3OISxhtGRFk6d4keWU6ScI1fLbUHA17y4YSrdmIdCQEVBKvEYmMS8qFVlQ2F vcKZYCuEFGO3VJXItjNPyrXUuZ4J49jnvOVyWZLKvpxOQoSSldQPFUlB/bQtuu8W BmgddWE9vsyqsERbRSjOVfYQeLWb8zMj3VzGe/XDYlBOpewiFnMDkckZY6A529+2 D1GgMLNb0owM357ta0NQ =3huV -----END PGP SIGNATURE----- --4qivVeR7WPkkI3cpW2LdR2Verk0V3MO4O-- From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 07:06:03 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9F479C3C for ; Sun, 22 Feb 2015 07:06:03 +0000 (UTC) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A946789 for ; Sun, 22 Feb 2015 07:06:02 +0000 (UTC) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 149BF28110C for ; Sun, 22 Feb 2015 17:05:54 +1000 (EST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au X-Virus-Scanned: amavisd-new at iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zrB_jD32-OZs for ; Sun, 22 Feb 2015 17:05:53 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-76-126-65-88.hsd1.ca.comcast.net [76.126.65.88]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id E8944280AC4; Sun, 22 Feb 2015 17:05:51 +1000 (EST) Message-ID: <54E97FCD.1080608@freebsd.org> Date: Sat, 21 Feb 2015 23:05:49 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Shawn Webb Subject: Re: Kernel Panic on Xen HVM Guest References: <3097385.Fj7qiCLWdZ@shawnwebb-laptop> In-Reply-To: <3097385.Fj7qiCLWdZ@shawnwebb-laptop> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 07:06:03 -0000 > I'm experiencing a kernel panic at boot time on my RootBSD VPS on FreeBSD- > CURRENT. > > Since I'm limited to VNC, I've uploaded a screenshot of the crash here: > http://imgur.com/yWtvJDc To clarify, this isn't x2apic-related but rather to some fallout from a networking commit: https://svnweb.freebsd.org/changeset/base/278977 ... also discussed on -current. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 19:45:31 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D6AF20F for ; Sun, 22 Feb 2015 19:45:31 +0000 (UTC) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 181DCC53 for ; Sun, 22 Feb 2015 19:45:30 +0000 (UTC) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 3D995280FB5 for ; Mon, 23 Feb 2015 05:45:27 +1000 (EST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au X-Virus-Scanned: amavisd-new at iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Aw9gBqdm1oQD for ; Mon, 23 Feb 2015 05:45:27 +1000 (EST) Received: from Peters-MacBook-Pro.local (c-67-160-230-225.hsd1.ca.comcast.net [67.160.230.225]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id 0595D280AC4; Mon, 23 Feb 2015 05:45:24 +1000 (EST) Message-ID: <54EA31D2.5080506@freebsd.org> Date: Sun, 22 Feb 2015 11:45:22 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Rich Dunkle Subject: Re: openbsd 5.7 beta - not booting completely in bhyve References: <54E9195C.5080708@smallcatbrain.com> In-Reply-To: <54E9195C.5080708@smallcatbrain.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 19:45:31 -0000 Hi Rich, > I am using FreeBSD 11 CURRENT r278872. > I have an OpenBSD 5.7 beta image that was running on VirtualBox. > I converted the vdi image using qemu-img. > > When I boot the OpenBSD with Bhyve I notice that the boot drive is > not recognized the same as in VirtualBox. > VirtualBox - wd0a > Bhyve - sd0a > > I have to manually enter sda0 during the boot process. > The OpenBSD slices are recognized and booting continues. > I see: > starting local daemons: cron. > Then the date. > At that point OpenBSD appears hung. To add to Allan's note - you'll have to edit /etc/ttys to enable getty on the serial port. This is done by default by the OpenBSD installer on bhyve since it has a serial console by default, but not on VBox/VMWare/etc that have a video console +tty00 "/usr/libexec/getty std.9600" vt220 on secure -tty00 "/usr/libexec/getty std.9600" unknown off - sd0 can be selected as the boot disk from the grub-bhyve comand line e.g. kopenbsd -h com0 -r sd0a /bsd later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 19:57:46 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABA7F340; Sun, 22 Feb 2015 19:57:46 +0000 (UTC) Received: from smp5.smallcatbrain.com (m222-2.dsl.rawbw.com [198.144.222.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smp5.smallcatbrain.com", Issuer "PositiveSSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FD60D18; Sun, 22 Feb 2015 19:57:45 +0000 (UTC) Received: from smp5.smallcatbrain.com (smp5 [192.168.0.3]) by smp5.smallcatbrain.com (8.15.1/8.14.9) with ESMTPS id t1MJvbiY036792 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 22 Feb 2015 11:57:38 -0800 (PST) (envelope-from rdunkle@smallcatbrain.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=smallcatbrain.com; s=mail; t=1424635058; bh=2IHSnnp0IOvQ0RTq+QWzzxafM7LEVBjmvdMWOFtL2So=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=RRMmaAZZ8plk+DLJDcjmjGrGXA9qoUSx0boLl3Q2suHY0JLYSDuK8pBghdNV53uJ+ nBw3lbI6t4MGhc5SyA5MBy9zLoXT+l+4r2kBCT0els53PMXyVuaOnyUfOtgAXNsBK+ G+9wTP5FjMIFHZ1w1Wrg0zCHC7VGo1toJP1ROR9E= X-Authentication-Warning: smp5.smallcatbrain.com: Host smp5 [192.168.0.3] claimed to be smp5.smallcatbrain.com Message-ID: <54EA34B1.1080200@smallcatbrain.com> Date: Sun, 22 Feb 2015 11:57:37 -0800 From: Rich Dunkle User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Peter Grehan Subject: Re: openbsd 5.7 beta - not booting completely in bhyve References: <54E9195C.5080708@smallcatbrain.com> <54EA31D2.5080506@freebsd.org> In-Reply-To: <54EA31D2.5080506@freebsd.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 19:57:46 -0000 On 02/22/2015 11:45, Peter Grehan wrote: > Hi Rich, > >> I am using FreeBSD 11 CURRENT r278872. >> I have an OpenBSD 5.7 beta image that was running on VirtualBox. >> I converted the vdi image using qemu-img. >> >> When I boot the OpenBSD with Bhyve I notice that the boot drive is >> not recognized the same as in VirtualBox. >> VirtualBox - wd0a >> Bhyve - sd0a >> >> I have to manually enter sda0 during the boot process. >> The OpenBSD slices are recognized and booting continues. >> I see: >> starting local daemons: cron. >> Then the date. >> At that point OpenBSD appears hung. > > To add to Allan's note > > - you'll have to edit /etc/ttys to enable getty on the serial port. > This is done by default by the OpenBSD installer on bhyve since it > has a serial console by default, but not on VBox/VMWare/etc that > have a video console > > +tty00 "/usr/libexec/getty std.9600" vt220 on secure > -tty00 "/usr/libexec/getty std.9600" unknown off > > - sd0 can be selected as the boot disk from the grub-bhyve comand > line e.g. > > kopenbsd -h com0 -r sd0a /bsd > > > later, > > Peter. Thank you for the information. I now have 5.7 OpenBSD running in Bhyve. From owner-freebsd-virtualization@FreeBSD.ORG Sun Feb 22 23:54:29 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 02D4E64C; Sun, 22 Feb 2015 23:54:29 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7F57B933; Sun, 22 Feb 2015 23:54:28 +0000 (UTC) Received: from moby.local ([88.66.138.174]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LezI3-1Xkox21WcJ-00qgCo; Mon, 23 Feb 2015 00:54:19 +0100 Message-ID: <54EA6C1B.60701@gmx.com> Date: Mon, 23 Feb 2015 00:54:03 +0100 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gleb Smirnoff , Craig Rodrigues Subject: Re: svn commit: r276747 - head/sys/netpfil/pf References: <201501060903.t06934qp081875@svn.freebsd.org> <20150122012709.GM15484@FreeBSD.org> <54C16715.6060701@gmx.com> <20150122222314.GO15484@FreeBSD.org> <20150215190100.GQ15484@FreeBSD.org> <20150216012528.GA15484@FreeBSD.org> <20150216074656.GE15484@FreeBSD.org> In-Reply-To: <20150216074656.GE15484@FreeBSD.org> Content-Type: multipart/mixed; boundary="------------060104020605000009090808" X-Provags-ID: V03:K0:xSeuf4gTgF06F9vUVRDAjNqFocwpWj0A2DgTu4YnBObUftd/uOF YYZPscskYQwYtkjDb+vuUY47HcGiuJOmzr/use8NhdcHMoROv5G8/WdYm+B0V4mu1poaJPh pyVVno/p1Xu4LgOrMqGGMMBMIwJVOxeQ7sZCGx12fOehFuAnVMeibmCkH7G2CZ27+cb2Cmw qhvmUYCiIjkE/lx4auBoA== X-UI-Out-Filterresults: notjunk:1; Cc: "freebsd-virtualization@freebsd.org" , freebsd-pf@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sun, 22 Feb 2015 23:54:29 -0000 This is a multi-part message in MIME format. --------------060104020605000009090808 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi, Please review this. It is mostly the changes from project/pf plus VNET_(SYSINIT,UNINIT) and pf_(load,unload). Unloading the module is almost there, it works for GENERIC. We need to fix the event handlers registration in order to unload with a VIMAGE kernel. I will continue with this. Phabricator: https://reviews.freebsd.org/D1944 Best regards, Nikos --------------060104020605000009090808 Content-Type: text/plain; charset=us-ascii; name="pf.patch.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="pf.patch.txt" Index: sys/net/pfvar.h =================================================================== --- sys/net/pfvar.h (revision 279103) +++ sys/net/pfvar.h (working copy) @@ -1495,7 +1495,7 @@ VNET_DECLARE(struct pf_altqqueue *, pf_altqs_inac VNET_DECLARE(struct pf_rulequeue, pf_unlinked_rules); #define V_pf_unlinked_rules VNET(pf_unlinked_rules) -void pf_initialize(void); +void pf_vnet_initialize(void); void pf_mtag_initialize(void); void pf_mtag_cleanup(void); void pf_cleanup(void); @@ -1592,7 +1592,7 @@ int pf_match_addr_range(struct pf_addr *, struct p struct pf_addr *, sa_family_t); int pf_match_port(u_int8_t, u_int16_t, u_int16_t, u_int16_t); -void pf_normalize_init(void); +void pf_vnet_normalize_init(void); void pf_normalize_cleanup(void); int pf_normalize_tcp(int, struct pfi_kif *, struct mbuf *, int, int, void *, struct pf_pdesc *); @@ -1650,7 +1650,7 @@ MALLOC_DECLARE(PFI_MTYPE); VNET_DECLARE(struct pfi_kif *, pfi_all); #define V_pfi_all VNET(pfi_all) -void pfi_initialize(void); +void pfi_vnet_initialize(void); void pfi_cleanup(void); void pfi_kif_ref(struct pfi_kif *); void pfi_kif_unref(struct pfi_kif *); Index: sys/netpfil/pf/pf.c =================================================================== --- sys/netpfil/pf/pf.c (revision 279103) +++ sys/netpfil/pf/pf.c (working copy) @@ -151,6 +151,7 @@ static VNET_DEFINE(struct pf_send_head, pf_sendque #define V_pf_sendqueue VNET(pf_sendqueue) static struct mtx pf_sendqueue_mtx; +MTX_SYSINIT(pf_sendqueue_mtx, &pf_sendqueue_mtx, "pf send queue", MTX_DEF); #define PF_SENDQ_LOCK() mtx_lock(&pf_sendqueue_mtx) #define PF_SENDQ_UNLOCK() mtx_unlock(&pf_sendqueue_mtx) @@ -172,11 +173,16 @@ static VNET_DEFINE(struct task, pf_overloadtask); #define V_pf_overloadtask VNET(pf_overloadtask) static struct mtx pf_overloadqueue_mtx; +MTX_SYSINIT(pf_overloadqueue_mtx, &pf_overloadqueue_mtx, + "pf overload/flush queue", MTX_DEF); + #define PF_OVERLOADQ_LOCK() mtx_lock(&pf_overloadqueue_mtx) #define PF_OVERLOADQ_UNLOCK() mtx_unlock(&pf_overloadqueue_mtx) VNET_DEFINE(struct pf_rulequeue, pf_unlinked_rules); struct mtx pf_unlnkdrules_mtx; +MTX_SYSINIT(pf_unlnkdrules_mtx, &pf_unlnkdrules_mtx, "pf unlinked rules", + MTX_DEF); static VNET_DEFINE(uma_zone_t, pf_sources_z); #define V_pf_sources_z VNET(pf_sources_z) @@ -767,7 +773,7 @@ pf_mtag_initialize() /* Per-vnet data storage structures initialization. */ void -pf_initialize() +pf_vnet_initialize() { struct pf_keyhash *kh; struct pf_idhash *ih; @@ -827,13 +833,9 @@ void STAILQ_INIT(&V_pf_sendqueue); SLIST_INIT(&V_pf_overloadqueue); TASK_INIT(&V_pf_overloadtask, 0, pf_overload_task, curvnet); - mtx_init(&pf_sendqueue_mtx, "pf send queue", NULL, MTX_DEF); - mtx_init(&pf_overloadqueue_mtx, "pf overload/flush queue", NULL, - MTX_DEF); /* Unlinked, but may be referenced rules. */ TAILQ_INIT(&V_pf_unlinked_rules); - mtx_init(&pf_unlnkdrules_mtx, "pf unlinked rules", NULL, MTX_DEF); } void @@ -876,10 +878,6 @@ pf_cleanup() free(pfse, M_PFTEMP); } - mtx_destroy(&pf_sendqueue_mtx); - mtx_destroy(&pf_overloadqueue_mtx); - mtx_destroy(&pf_unlnkdrules_mtx); - uma_zdestroy(V_pf_sources_z); uma_zdestroy(V_pf_state_z); uma_zdestroy(V_pf_state_key_z); Index: sys/netpfil/pf/pf_if.c =================================================================== --- sys/netpfil/pf/pf_if.c (revision 279103) +++ sys/netpfil/pf/pf_if.c (working copy) @@ -103,9 +103,11 @@ LIST_HEAD(pfi_list, pfi_kif); static VNET_DEFINE(struct pfi_list, pfi_unlinked_kifs); #define V_pfi_unlinked_kifs VNET(pfi_unlinked_kifs) static struct mtx pfi_unlnkdkifs_mtx; +MTX_SYSINIT(pfi_unlnkdkifs_mtx, &pfi_unlnkdkifs_mtx, "pf unlinked interfaces", + MTX_DEF); void -pfi_initialize(void) +pfi_vnet_initialize(void) { struct ifg_group *ifg; struct ifnet *ifp; @@ -115,8 +117,6 @@ void V_pfi_buffer = malloc(V_pfi_buffer_max * sizeof(*V_pfi_buffer), PFI_MTYPE, M_WAITOK); - mtx_init(&pfi_unlnkdkifs_mtx, "pf unlinked interfaces", NULL, MTX_DEF); - kif = malloc(sizeof(*kif), PFI_MTYPE, M_WAITOK); PF_RULES_WLOCK(); V_pfi_all = pfi_kif_attach(kif, IFG_ALL); @@ -166,8 +166,6 @@ pfi_cleanup(void) free(p, PFI_MTYPE); } - mtx_destroy(&pfi_unlnkdkifs_mtx); - free(V_pfi_buffer, PFI_MTYPE); } Index: sys/netpfil/pf/pf_ioctl.c =================================================================== --- sys/netpfil/pf/pf_ioctl.c (revision 279103) +++ sys/netpfil/pf/pf_ioctl.c (working copy) @@ -87,7 +87,8 @@ __FBSDID("$FreeBSD$"); #include #endif -static int pfattach(void); +static int pf_vnet_init(void); +static int pf_vnet_uninit(void); static struct pf_pool *pf_get_pool(char *, u_int32_t, u_int8_t, u_int32_t, u_int8_t, u_int8_t, u_int8_t); @@ -205,17 +206,15 @@ pfsync_defer_t *pfsync_defer_ptr = NULL; pflog_packet_t *pflog_packet_ptr = NULL; static int -pfattach(void) +pf_vnet_init(void) { u_int32_t *my_timeout = V_pf_default_rule.timeout; int error; - if (IS_DEFAULT_VNET(curvnet)) - pf_mtag_initialize(); - pf_initialize(); + pf_vnet_initialize(); pfr_initialize(); - pfi_initialize(); - pf_normalize_init(); + pfi_vnet_initialize(); + pf_vnet_normalize_init(); V_pf_limits[PF_LIMIT_STATES].limit = PFSTATE_HIWAT; V_pf_limits[PF_LIMIT_SRC_NODES].limit = PFSNODE_HIWAT; @@ -287,7 +286,55 @@ static int return (0); } +VNET_SYSINIT(pf_vnet_init, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 255, + pf_vnet_init, NULL); +static int +pf_vnet_uninit(void) +{ + int error = 0; + int number_of_vnets = 0; + VNET_ITERATOR_DECL(vnet_iter); + + V_pf_status.running = 0; + swi_remove(V_pf_swi_cookie); + error = dehook_pf(); + if (error) { + /* + * Should not happen! + * XXX Due to error code ESRCH, kldunload will show + * a message like 'No such process'. + */ + printf("%s : pfil unregisteration fail\n", __FUNCTION__); + return error; + } + PF_RULES_WLOCK(); + shutdown_pf(); + pf_normalize_cleanup(); + pfi_cleanup(); + pfr_cleanup(); + pf_osfp_flush(); + pf_cleanup(); + + /* + * For the last VNET we perform the final cleanup + */ + VNET_FOREACH(vnet_iter) + number_of_vnets++; + if (number_of_vnets == 1) + pf_mtag_cleanup(); + PF_RULES_WUNLOCK(); + if (number_of_vnets == 1) { + destroy_dev(pf_dev); + rw_destroy(&pf_rules_lock); + sx_destroy(&pf_ioctl_lock); + } + + return (error); +} +VNET_SYSUNINIT(pf_vnet_uninit, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY - 255, + pf_vnet_uninit, NULL); + static struct pf_pool * pf_get_pool(char *anchor, u_int32_t ticket, u_int8_t rule_action, u_int32_t rule_number, u_int8_t r_last, u_int8_t active, @@ -3715,27 +3762,11 @@ dehook_pf(void) static int pf_load(void) { - int error; - VNET_ITERATOR_DECL(vnet_iter); - - VNET_LIST_RLOCK(); - VNET_FOREACH(vnet_iter) { - CURVNET_SET(vnet_iter); - V_pf_pfil_hooked = 0; - V_pf_end_threads = 0; - TAILQ_INIT(&V_pf_tags); - TAILQ_INIT(&V_pf_qids); - CURVNET_RESTORE(); - } - VNET_LIST_RUNLOCK(); - rw_init(&pf_rules_lock, "pf rulesets"); sx_init(&pf_ioctl_lock, "pf ioctl"); - pf_dev = make_dev(&pf_cdevsw, 0, 0, 0, 0600, PF_NAME); - if ((error = pfattach()) != 0) - return (error); + pf_mtag_initialize(); return (0); } @@ -3743,40 +3774,16 @@ pf_load(void) static int pf_unload(void) { - int error = 0; - V_pf_status.running = 0; - swi_remove(V_pf_swi_cookie); - error = dehook_pf(); - if (error) { - /* - * Should not happen! - * XXX Due to error code ESRCH, kldunload will show - * a message like 'No such process'. - */ - printf("%s : pfil unregisteration fail\n", __FUNCTION__); - return error; - } + V_pf_end_threads = 1; PF_RULES_WLOCK(); - shutdown_pf(); - V_pf_end_threads = 1; while (V_pf_end_threads < 2) { wakeup_one(pf_purge_thread); rw_sleep(pf_purge_thread, &pf_rules_lock, 0, "pftmo", 0); } - pf_normalize_cleanup(); - pfi_cleanup(); - pfr_cleanup(); - pf_osfp_flush(); - pf_cleanup(); - if (IS_DEFAULT_VNET(curvnet)) - pf_mtag_cleanup(); PF_RULES_WUNLOCK(); - destroy_dev(pf_dev); - rw_destroy(&pf_rules_lock); - sx_destroy(&pf_ioctl_lock); - return (error); + return (0); } static int Index: sys/netpfil/pf/pf_norm.c =================================================================== --- sys/netpfil/pf/pf_norm.c (revision 279103) +++ sys/netpfil/pf/pf_norm.c (working copy) @@ -34,6 +34,7 @@ __FBSDID("$FreeBSD$"); #include "opt_pf.h" #include +#include #include #include #include @@ -107,6 +108,7 @@ struct pf_fragment_tag { }; static struct mtx pf_frag_mtx; +MTX_SYSINIT(pf_frag_mtx, &pf_frag_mtx, "pf fragments", MTX_DEF); #define PF_FRAG_LOCK() mtx_lock(&pf_frag_mtx) #define PF_FRAG_UNLOCK() mtx_unlock(&pf_frag_mtx) #define PF_FRAG_ASSERT() mtx_assert(&pf_frag_mtx, MA_OWNED) @@ -180,7 +182,7 @@ pf_ip2key(struct ip *ip, int dir, struct pf_fragme #endif /* INET */ void -pf_normalize_init(void) +pf_vnet_normalize_init(void) { V_pf_frag_z = uma_zcreate("pf frags", sizeof(struct pf_fragment), @@ -196,8 +198,6 @@ void uma_zone_set_max(V_pf_frent_z, PFFRAG_FRENT_HIWAT); uma_zone_set_warning(V_pf_frent_z, "PF frag entries limit reached"); - mtx_init(&pf_frag_mtx, "pf fragments", NULL, MTX_DEF); - TAILQ_INIT(&V_pf_fragqueue); TAILQ_INIT(&V_pf_cachequeue); } @@ -209,8 +209,6 @@ pf_normalize_cleanup(void) uma_zdestroy(V_pf_state_scrub_z); uma_zdestroy(V_pf_frent_z); uma_zdestroy(V_pf_frag_z); - - mtx_destroy(&pf_frag_mtx); } static int --------------060104020605000009090808-- From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 23 06:55:30 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BACE4B06 for ; Mon, 23 Feb 2015 06:55:30 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9A4CC3C7 for ; Mon, 23 Feb 2015 06:55:30 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N6tU6V064764 for ; Mon, 23 Feb 2015 06:55:30 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1N6tUKk064763; Mon, 23 Feb 2015 06:55:30 GMT (envelope-from root) Date: Mon, 23 Feb 2015 06:55:30 +0000 To: freebsd-virtualization@freebsd.org From: "rodrigc (Craig Rodrigues)" Subject: [Differential] [Changed Subscribers] D1944: PF and VIMAGE fixes Message-ID: <55cba72d9c8f98fbaae1aa6edd51d1a3@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTqzuI= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 23 Feb 2015 06:55:30 -0000 rodrigc added a subscriber: freebsd-virtualization. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc Cc: freebsd-virtualization, freebsd-pf, freebsd-net From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 23 06:55:43 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91BC1C1F for ; Mon, 23 Feb 2015 06:55:43 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 707663DA for ; Mon, 23 Feb 2015 06:55:43 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N6thnc064823 for ; Mon, 23 Feb 2015 06:55:43 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1N6thcH064822; Mon, 23 Feb 2015 06:55:43 GMT (envelope-from root) Date: Mon, 23 Feb 2015 06:55:43 +0000 To: freebsd-virtualization@freebsd.org From: "rodrigc (Craig Rodrigues)" Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTqzu8= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 23 Feb 2015 06:55:43 -0000 rodrigc added a reviewer: gnn. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc, gnn Cc: freebsd-virtualization, freebsd-pf, freebsd-net From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 23 06:56:17 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E32CD55 for ; Mon, 23 Feb 2015 06:56:17 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6ADFE402 for ; Mon, 23 Feb 2015 06:56:17 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N6uHdU065083 for ; Mon, 23 Feb 2015 06:56:17 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1N6uHsR065082; Mon, 23 Feb 2015 06:56:17 GMT (envelope-from root) Date: Mon, 23 Feb 2015 06:56:17 +0000 To: freebsd-virtualization@freebsd.org From: "rodrigc (Craig Rodrigues)" Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTqzxE= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 23 Feb 2015 06:56:17 -0000 rodrigc added reviewers: bz, zec, trociny. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc, gnn, bz, zec, trociny Cc: freebsd-virtualization, freebsd-pf, freebsd-net From owner-freebsd-virtualization@FreeBSD.ORG Mon Feb 23 06:57:03 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E5A7EA8 for ; Mon, 23 Feb 2015 06:57:03 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B3085F6 for ; Mon, 23 Feb 2015 06:57:03 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1N6v2rV065911 for ; Mon, 23 Feb 2015 06:57:02 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1N6v22s065909; Mon, 23 Feb 2015 06:57:02 GMT (envelope-from root) Date: Mon, 23 Feb 2015 06:57:02 +0000 To: freebsd-virtualization@freebsd.org From: "rodrigc (Craig Rodrigues)" Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTqzz4= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Mon, 23 Feb 2015 06:57:03 -0000 rodrigc added a comment. Nikos has posted these patches to improve VIMAGE support in PF. If some of the folks who are experienced with PF and VIMAGE could take a look, that would be really great. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, gnn, bz, zec, trociny, rodrigc Cc: freebsd-virtualization, freebsd-pf, freebsd-net From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 05:37:42 2015 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 476769EA for ; Tue, 24 Feb 2015 05:37:42 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE2C8D04 for ; Tue, 24 Feb 2015 05:37:41 +0000 (UTC) Received: by wgha1 with SMTP id a1so3013842wgh.12 for ; Mon, 23 Feb 2015 21:37:40 -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=sLdtC3iTXdk0TDtvXP8vEC5PCGKJD0gYfBSLszo/s5M=; b=CkHYy+2wzO3yo/coT2Ge+iO3sgB58Z9+PLE6ktYpj53ubSkCdwedBgqsbgMSGqdM1y uW272LCLyjYcFMYojnpvADrmd8d7vh9TBAwjb/uePs7bS/Rf08CEUqpDB+6IR8svKK3+ RnCojThSF/kUijhFl0edBgaOhqobH0cG6DdO8PKE+jGVcIKU56iKuaZ6pblysrrix//B wDRlSENbQX/laYkRLURfe3OIO4pogDayR+R78LTAP/bUewYRrVtD4cW9rfHoUPnUJjF+ zXGCjG38GUHTJ5Eqf2Oe0qdb9eIPa7zJ+rDNhShVmiuT3W0n6ExonF+/FSllLuXsuBgb ay6A== MIME-Version: 1.0 X-Received: by 10.194.6.228 with SMTP id e4mr28631821wja.63.1424756260316; Mon, 23 Feb 2015 21:37:40 -0800 (PST) Received: by 10.27.91.79 with HTTP; Mon, 23 Feb 2015 21:37:40 -0800 (PST) In-Reply-To: References: Date: Mon, 23 Feb 2015 21:37:40 -0800 Message-ID: Subject: Re: OpenBSD guest in bhyve on AMD CPU From: Neel Natu To: Jason Tubnor Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 05:37:42 -0000 Hi Jason, On Tue, Feb 10, 2015 at 9:40 PM, Neel Natu wrote: > Hi Jason, > > On Tue, Feb 10, 2015 at 7:38 PM, Jason Tubnor wrote: >> Hi, >> >> As posted in IRC, I am checking here if anyone has come across this >> issue. During boot on OpenBSD I get: >> >> panic: trap type 4, code=0, pc=ffffffff811b7134 >> > > I suspect that the guest is getting a #GP exception when accessing an > MSR that is not emulated by bhyve. > > Can you start the guest with the "-w" option passed to bhyve? > r279227 has a fix for this and should allow booting without the "-w". https://svnweb.freebsd.org/base?view=revision&revision=279227 best Neel > best > Neel > >> The operating system has halted. >> Please press any key to reboot. >> >> I don't get this with the same ISO on an Intel CPU. Below is the >> console from the OpenBSD boot, the dmesg from FreeBSD and the bhyve >> command. Any suggestions or tips greatly appreciated. >> >> Thanks, >> >> Jason. >> >> -------------------------- >> console >> >> Copyright (c) 1982, 1986, 1989, 1991, 1993 >> The Regents of the University of California. All rights reserved. >> Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org >> >> OpenBSD 5.7-beta (RAMDISK_CD) #733: Tue Jan 20 15:39:52 MST 2015 >> deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD >> real mem = 1056964608 (1008MB) >> avail mem = 1027194880 (979MB) >> mainbus0 at root >> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf101f (9 entries) >> bios0: vendor BHYVE version "1.00" date 03/14/2014 >> acpi0 at bios0: rev 2 >> acpi0: sleep states S5 >> acpi0: tables DSDT APIC FACP HPET MCFG >> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat >> cpu0 at mainbus0: apid 0 (boot processor) >> cpu0: AMD Phenom(tm) II X4 955 Processor, 3214.13 MHz >> cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,CX8,APIC,SEP,PGE,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,POPCNT,HV,NXE,MMXX,FFXSR,PAGE1GB,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,SKINIT,PERF,ITSC >> cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB >> 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache >> cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative >> cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative >> fatal protection fault in supervisor mode >> trap type 4 code 0 rip ffffffff811b7134 cs 8 rflags 10286 cr2 0 cpl e >> rsp ffffffff818058e0 >> panic: trap type 4, code=0, pc=ffffffff811b7134 >> >> The operating system has halted. >> Please press any key to reboot. >> >> ----- >> dmesg >> >> Copyright (c) 1992-2015 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 >> The Regents of the University of California. All rights reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 10.1-STABLE #0 r278028: Sun Feb 1 18:05:27 UTC 2015 >> root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 >> CPU: AMD Phenom(tm) II X4 955 Processor (3214.18-MHz K8-class CPU) >> Origin="AuthenticAMD" Id=0x100f43 Family=0x10 Model=0x4 Stepping=3 >> Features=0x178bfbff >> Features2=0x802009 >> AMD Features=0xee500800 >> AMD Features2=0x37ff >> SVM: NP,NRIP,NAsids=64 >> TSC: P-state invariant >> real memory = 17179869184 (16384 MB) >> avail memory = 16063627264 (15319 MB) >> Event timer "LAPIC" quality 400 >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> FreeBSD/SMP: 1 package(s) x 4 core(s) >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 1 >> cpu2 (AP): APIC ID: 2 >> cpu3 (AP): APIC ID: 3 >> ioapic0: Changing APIC ID to 8 >> ioapic0 irqs 0-23 on motherboard >> random: initialized >> kbd1 at kbdmux0 >> acpi0: on motherboard >> acpi0: Power Button (fixed) >> acpi0: reservation of 0, a0000 (3) failed >> acpi0: reservation of 100000, cfbf0000 (3) failed >> cpu0: on acpi0 >> cpu1: on acpi0 >> cpu2: on acpi0 >> cpu3: on acpi0 >> attimer0: port 0x40-0x43 irq 0 on acpi0 >> Timecounter "i8254" frequency 1193182 Hz quality 0 >> Event timer "i8254" frequency 1193182 Hz quality 100 >> atrtc0: port 0x70-0x73 irq 8 on acpi0 >> Event timer "RTC" frequency 32768 Hz quality 0 >> Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 >> acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 >> acpi_button0: on acpi0 >> pcib0: port 0xcf8-0xcff on acpi0 >> pci0: on pcib0 >> pcib1: at device 1.0 on pci0 >> pci1: on pcib1 >> vgapci0: port 0xee00-0xeeff mem >> 0xd0000000-0xdfffffff,0xfdfe0000-0xfdfeffff,0xfde00000-0xfdefffff irq >> 18 at device 5.0 on pci1 >> vgapci0: Boot video device >> hdac0: mem 0xfdffc000-0xfdffffff irq 19 >> at device 5.1 on pci1 >> pcib2: irq 18 at device 2.0 on pci0 >> pci2: on pcib2 >> em0: port 0xdf00-0xdf1f >> mem 0xfdde0000-0xfddfffff,0xfddc0000-0xfdddffff irq 18 at device 0.0 >> on pci2 >> >> ----- >> bhyve command >> >> bhyve -AI -H -P -W -s 0:0,amd_hostbridge -s 1:0,lpc -s >> 2:0,virtio-net,tap20 -s 2:1,virtio-net,tap22 -s 2:2,virtio-net,tap23 >> -s 3:0,virtio-blk,/bhyve/vm/vmhost/disk/disk01.img -s >> 4:0,ahci-cd,/iso/OpenBSD-install57beta.iso -l com1,/dev/nmdm1A -c 1 -m >> 1024M vmhost >> _______________________________________________ >> freebsd-virtualization@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization >> To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 05:39:36 2015 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E863EA49 for ; Tue, 24 Feb 2015 05:39:36 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 78F0ED14 for ; Tue, 24 Feb 2015 05:39:36 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id em10so22495480wid.5 for ; Mon, 23 Feb 2015 21:39:35 -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=2rm7/flhtXbU72DzGCpoz6SdYy6l9eXaUDx6BlrZoYU=; b=PDt/hFGCAp1mbU/5k9fUdnVALOCib1v4bXH0VehGmoLLSpfDWOwh8GpNswFvbFlX2S /HJ9PAypgYh4kNoRPh3RXnYX91QTTnsFbhJBBRo+SIr20WjW5rL2xDVXwZxYzfBilfLF 6Evh8hLGL9AAFMqIGylJPbXGHs8cW91Nslcyzt7mMlfYbtwf7OEWA6GNZNk33ZGnnai2 /3nQdwuasmMdzKLrqrmXG85dTJ4rURvfPRodiLFvkkYf0IlpeyZAv0hw1VpAlLN7fvre w9oCisa61J3VFKXQE4tCDeZavR7jfOvXcRBi8/1zUBCv3E81x3yVJnu6xtWFWw+Bsmf2 9oJA== MIME-Version: 1.0 X-Received: by 10.181.8.103 with SMTP id dj7mr27036977wid.75.1424756374988; Mon, 23 Feb 2015 21:39:34 -0800 (PST) Received: by 10.27.91.79 with HTTP; Mon, 23 Feb 2015 21:39:34 -0800 (PST) In-Reply-To: References: <3054C397-B9F4-44A7-8D71-FF83CB058671@mac.com> <545D160E.7060208@freebsd.org> <545D63F9.3000501@callfortesting.org> Date: Mon, 23 Feb 2015 21:39:34 -0800 Message-ID: Subject: Re: [current] bhyve under VMware borked? From: Neel Natu To: Marcel Moolenaar Content-Type: text/plain; charset=UTF-8 Cc: "virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 05:39:37 -0000 Hi Marcel, On Fri, Nov 7, 2014 at 7:21 PM, Marcel Moolenaar wrote: > >>> On Nov 7, 2014, at 4:29 PM, Michael Dexter wrote: >>> >>> On 11/7/14 12:50 PM, Marcel Moolenaar wrote: >>> This is VMware Fusion 6.0.5 (2209127) running on Mac OS X 10.10. >> >> Just in case: Have you selected "Enable hypervisor applications in this virtual machine" in the Processors: Advanced options settings? >> >> Michael > > Yes. Reverting the change Peter talked about fixed it for me. > There is now a proper fix for this in r279228. https://svnweb.freebsd.org/base?view=revision&revision=279228 best Neel > -- > Marcel (mobile) > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 06:43:04 2015 Return-Path: Delivered-To: virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7A5B863 for ; Tue, 24 Feb 2015 06:43:04 +0000 (UTC) Received: from mail-yh0-x22a.google.com (mail-yh0-x22a.google.com [IPv6:2607:f8b0:4002:c01::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5FE6C642 for ; Tue, 24 Feb 2015 06:43:04 +0000 (UTC) Received: by yhoc41 with SMTP id c41so13231328yho.2 for ; Mon, 23 Feb 2015 22:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=gH7mVwNZbjeBWQAzRntvEoWOGZNH54/NIBtHLs08tTk=; b=KqHt3MYosyhvOHyFiMDsa+D1wpPilyGSFktGmIUs4ky6vOLEu99vDWr12GPsiAhOBR UNJuUhippTdjsh0EzymA1zFam4r7C19A4lBt3maNVKEWrGKMBBtf90swircZhw+Z48/O h5ea12R2P/P6XGqxWL3H/M7Tg/brDjx5LCNBqukfzjBRDUoNUN8uSsqdtcx5+Z7KGjad 1xvnyz/TKk3Vx17RFejugiJ4RAw4DHEBI+Rq0oCqMxu8rgr9bVgxUrVhTs5jCgxpSmDx zvWJntjUQdt2K+4wbJ+JKngOl8bmMbAxucjXJ3u3JsqpHHBU8ZR/InUDrUp7ClRqEraa w6Gg== X-Received: by 10.170.194.148 with SMTP id l142mr14505632yke.109.1424760183471; Mon, 23 Feb 2015 22:43:03 -0800 (PST) MIME-Version: 1.0 Sender: jtubnor@gmail.com Received: by 10.170.57.142 with HTTP; Mon, 23 Feb 2015 22:42:43 -0800 (PST) In-Reply-To: References: From: Jason Tubnor Date: Tue, 24 Feb 2015 17:42:43 +1100 X-Google-Sender-Auth: W2lkpRuX26GXwHC1I799MoKL0Jo Message-ID: Subject: Re: OpenBSD guest in bhyve on AMD CPU To: Neel Natu Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 06:43:04 -0000 On 24 February 2015 at 16:37, Neel Natu wrote: >> >> I suspect that the guest is getting a #GP exception when accessing an >> MSR that is not emulated by bhyve. >> >> Can you start the guest with the "-w" option passed to bhyve? >> > > r279227 has a fix for this and should allow booting without the "-w". > > https://svnweb.freebsd.org/base?view=revision&revision=279227 > Patched and built against 10-stable and works like a charm. Thanks guys! From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 15:47:21 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EB4A7D0 for ; Tue, 24 Feb 2015 15:47:21 +0000 (UTC) Received: from mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44B21C37 for ; Tue, 24 Feb 2015 15:47:21 +0000 (UTC) Received: from mail.nomadlogic.org (localhost [127.0.0.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPS id 38C9F125EE1 for ; Tue, 24 Feb 2015 07:47:14 -0800 (PST) Received: from cardiff.local (cpe-23-242-83-219.socal.res.rr.com [23.242.83.219]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPSA id 23E7B125EBA for ; Tue, 24 Feb 2015 07:47:14 -0800 (PST) Message-ID: <54EC9D01.4080005@nomadlogic.org> Date: Tue, 24 Feb 2015 07:47:13 -0800 From: Pete Wright User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Creating OpenBSD Disk Images Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 15:47:21 -0000 Hi, I was wondering how people are going about creating OpenBSD disk images? I would like to stand up a couple OpenBSD instances for testing, but I haven't been finding much info on creating the disk image the grub2-bhyve will load the kernel from. thanks in advance! -pete -- Pete Wright pete@nomadlogic.org twitter => @nomadlogicLA From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 15:50:21 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22DE8A4E for ; Tue, 24 Feb 2015 15:50:21 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id EFF89C61 for ; Tue, 24 Feb 2015 15:50:20 +0000 (UTC) Received: from [192.168.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 5A80E97175 for ; Tue, 24 Feb 2015 15:50:19 +0000 (UTC) Message-ID: <54EC9DBC.1000404@freebsd.org> Date: Tue, 24 Feb 2015 10:50:20 -0500 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Creating OpenBSD Disk Images References: <54EC9D01.4080005@nomadlogic.org> In-Reply-To: <54EC9D01.4080005@nomadlogic.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7wcHBTdrWRmIrAbuQApeWwuoTjkkJqDWM" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 15:50:21 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --7wcHBTdrWRmIrAbuQApeWwuoTjkkJqDWM Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2015-02-24 10:47, Pete Wright wrote: > Hi, > I was wondering how people are going about creating OpenBSD disk images= ? > I would like to stand up a couple OpenBSD instances for testing, but I= > haven't been finding much info on creating the disk image the > grub2-bhyve will load the kernel from. >=20 > thanks in advance! > -pete >=20 You can create an empty image and then use the openbsd installer, or you can use FlashRD, the same way you create a USB image of openbsd. --=20 Allan Jude --7wcHBTdrWRmIrAbuQApeWwuoTjkkJqDWM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJU7J3AAAoJEJrBFpNRJZKf09sP/1B+Fyhk0utcuOSG7uXfjOPD mK8VF82+9cuLNNMEVkeH05Y9z/LpzSh2wGHNv+GRax+x4X1qfwtBrAhVAulypwfO gAlcEQ04RfES0kKDq8fOOWLx9folzTGZ+GoI+9wZEBNegh+8qDZ5IBpthR8bfn5q V5C4X2hNFVHwQQGPZSg/XDgYUXEbz6OREC/YzuooersCeT3YDwDF6tJy7yykxDfo y8qAc2/wtSikRT+XkKQ3QarD6fh7YPgq21cJuOcolDYwUaf41bLDcZnbe3uy0GYL NFQ2cFnb5hvASTDK7Dhc3hrEunDO7Xc1cBXBFMQ+xyc5vpHgbVts0dc2H1ObrL+3 txtPmpIKm4jNPVqhQalsQXl25PI5VkMIioxtjARtlOtkHRmDKatLG2rcnhAsPDJz O1+s9a6XpALEoUg3qzMf6ZRFX/otLZthHoTh1/o/iIYh9fxh6/t+ev/u7wpx0qgW JEoW9W9bmIqIDpArsZZxcbVkqdjDu1mzBFfgeoYxQVdiozM3enXdodwoqTRLbzDK 96ATqwMxubKdglS9d1mPuWLz5EKI+mQF6378+y+NK5Zaa+Ssu+nNt48MEt0J6EEe +q95t3hK75rJLa2U0dAgrtQOSxScb2Lqrf1rVZyI/ui09/TMr4cJYJmJsFR4ZV0d BiZjvRcuk5TiVbgJes5N =cx69 -----END PGP SIGNATURE----- --7wcHBTdrWRmIrAbuQApeWwuoTjkkJqDWM-- From owner-freebsd-virtualization@FreeBSD.ORG Tue Feb 24 15:53:27 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B67E7BD7 for ; Tue, 24 Feb 2015 15:53:27 +0000 (UTC) Received: from mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::4]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98B68D22 for ; Tue, 24 Feb 2015 15:53:27 +0000 (UTC) Received: from mail.nomadlogic.org (localhost [127.0.0.1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPS id 74A77125EE1 for ; Tue, 24 Feb 2015 07:53:26 -0800 (PST) Received: from cardiff.local (cpe-23-242-83-219.socal.res.rr.com [23.242.83.219]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.nomadlogic.org (Postfix) with ESMTPSA id 61451125EBA for ; Tue, 24 Feb 2015 07:53:26 -0800 (PST) Message-ID: <54EC9E76.7030406@nomadlogic.org> Date: Tue, 24 Feb 2015 07:53:26 -0800 From: Pete Wright User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Creating OpenBSD Disk Images References: <54EC9D01.4080005@nomadlogic.org> <54EC9DBC.1000404@freebsd.org> In-Reply-To: <54EC9DBC.1000404@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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, 24 Feb 2015 15:53:27 -0000 On 2/24/15 7:50 AM, Allan Jude wrote: > On 2015-02-24 10:47, Pete Wright wrote: >> Hi, >> I was wondering how people are going about creating OpenBSD disk images? >> I would like to stand up a couple OpenBSD instances for testing, but I >> haven't been finding much info on creating the disk image the >> grub2-bhyve will load the kernel from. >> >> thanks in advance! >> -pete >> > > You can create an empty image and then use the openbsd installer, or you > can use FlashRD, the same way you create a USB image of openbsd. > awesome, thanks Allan! -pete -- Pete Wright pete@nomadlogic.org twitter => @nomadlogicLA From owner-freebsd-virtualization@FreeBSD.ORG Wed Feb 25 16:53:06 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B06CDC1B; Wed, 25 Feb 2015 16:53:06 +0000 (UTC) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2a00:14b0:4200:32e0::1ea]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gilb.zs64.net", Issuer "Cryptonomicore CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 75C5B2E9; Wed, 25 Feb 2015 16:53:06 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 1DE32142F60; Wed, 25 Feb 2015 16:53:02 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Booting a bhyve VM with NFS root? From: Stefan Bethke In-Reply-To: Date: Wed, 25 Feb 2015 17:53:02 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Craig Rodrigues X-Mailer: Apple Mail (2.1878.6) Cc: "freebsd-virtualization@freebsd.org" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 25 Feb 2015 16:53:06 -0000 Am 06.11.2014 um 20:52 schrieb Craig Rodrigues : > Hi, >=20 > Has anyone tried the following: >=20 > (1) Create a disk image, which only has the contents of the /boot > directory > and /etc/fstab. > (2) /etc/fstab should specify the root file system over NFS > (3) Boot the disk image in bhyve. The loader will parse = /etc/fstab, > and it will also load the kernel and boot it. When the kernel > boots > it will mount the root file system over NFS. >=20 > For a real system running with a BIOS, PXE can be used for a lot of = this: > https://www.freebsd.org/doc/handbook/network-diskless.html >=20 > The pxeldr populates some kernel environment variables which are then > used to mount a root file system: >=20 > = https://svnweb.freebsd.org/base/head/sys/nfs/nfs_diskless.c?revision=3D273= 174&view=3Dmarkup#l145 >=20 > Has anyone tried manually specifying these variables > via the "bhyveload -e" arguments, and forcing the VM to mount its root = file > system over NFS? >=20 > This would be handy for very quickly test booting a new buildworld. Here's a quick hack to get the necessary variables in the appropriate = format: https://github.com/stblassitude/boot_root_nfs I think the kernel should learn how to do the necessary mount RPC if the = handle is not set, but I don't think I'm up to implementing that... Stefan --=20 Stefan Bethke Fon +49 151 14070811 From owner-freebsd-virtualization@FreeBSD.ORG Fri Feb 27 19:28:05 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D5585E48 for ; Fri, 27 Feb 2015 19:28:05 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B1636CFB for ; Fri, 27 Feb 2015 19:28:05 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1RJS5FB032564 for ; Fri, 27 Feb 2015 19:28:05 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1RJS5kN032563; Fri, 27 Feb 2015 19:28:05 GMT (envelope-from root) Date: Fri, 27 Feb 2015 19:28:05 +0000 To: freebsd-virtualization@freebsd.org From: "glebius (Gleb Smirnoff)" Subject: [Differential] [Updated] D1944: PF and VIMAGE fixes Message-ID: <42ba3adcea05de5eb930ae482a8088f9@localhost.localdomain> X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTwxUU= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Fri, 27 Feb 2015 19:28:05 -0000 glebius added a comment. Nikos, acking that I see the patches. Right now I'm waiting for pf to stablize after recent patches to fragment handling. Kristof is working on the known problem. Meanwhile you can finish your patch moving from "almost there" to "there" :) If you got any questions about pf or FreeBSD kernel interfaces, feel free to ask me via email. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, gnn, bz, zec, trociny, rodrigc, glebius Cc: freebsd-virtualization, freebsd-pf, freebsd-net From owner-freebsd-virtualization@FreeBSD.ORG Sat Feb 28 14:10:15 2015 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 209B8ADB for ; Sat, 28 Feb 2015 14:10:15 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F1D509C1 for ; Sat, 28 Feb 2015 14:10:14 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1SEAE6n069780 for ; Sat, 28 Feb 2015 14:10:14 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1SEAEPa069779; Sat, 28 Feb 2015 14:10:14 GMT (envelope-from root) Date: Sat, 28 Feb 2015 14:10:14 +0000 To: freebsd-virtualization@freebsd.org From: "nvass-gmx.com (Nikos Vassiliadis)" Subject: [Differential] [Commented On] D1944: PF and VIMAGE fixes Message-ID: X-Priority: 3 Thread-Topic: D1944: PF and VIMAGE fixes X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: NDc2NzM0MzY4OTdiYThiNTU1MjY2ZDZmMTJiIFTxzEY= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 28 Feb 2015 14:10:15 -0000 nvass-gmx.com added a comment. >>! In D1944#8, @glebius wrote: > Nikos, > > acking that I see the patches. Right now I'm waiting for pf to stablize after > recent patches to fragment handling. Kristof is working on the known problem. > Meanwhile you can finish your patch moving from "almost there" to "there" :) Yes, currently working on it. > If you got any questions about pf or FreeBSD kernel interfaces, feel free > to ask me via email. Sure, thanks! REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, gnn, bz, zec, trociny, rodrigc, glebius Cc: freebsd-virtualization, freebsd-pf, freebsd-net