From owner-freebsd-virtualization@FreeBSD.ORG Sun Aug 24 07:00:52 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 692C1298 for ; Sun, 24 Aug 2014 07:00:52 +0000 (UTC) Received: from o4.email.wpengine.com (o4.email.wpengine.com [167.89.4.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 819343E68 for ; Sun, 24 Aug 2014 07:00:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=email.wpengine.com; h=to:subject:from:reply-to:mime-version:content-transfer-encoding:content-type; s=smtpapi; bh=YaQWtQMGYxgVoZekapcc1/vKCOU=; b=X1hCKiQuQ4zvDz8eME JleEHfdmzMJ63zgfQuz8M94ezrgzeKvF9rqMBJyQiU39UzpW1HmT9awrXyEXI0i0 chQ3ThYcwyV44PU/MtPny6yRkyD5BS8Y1+Ycg+RdizCefQpq0Av6qlVDXuZgKc/q mmWlNXlYaDlVR7HrdDsl32Brk= Received: by mf203.sendgrid.net with SMTP id mf203.7715.53F98D9B10 2014-08-24 07:00:44.132494609 +0000 UTC Received: from pod-2745 (li170-216.members.linode.com [173.230.130.216]) by ismtpd-026.iad1.sendgrid.net (SG) with ESMTP id 14806d1294b.5e94.457bfe for ; Sun, 24 Aug 2014 07:00:44 +0000 (GMT) X-SendGrid-User: wpengine-pod-2745 Received: by pod-2745 (Postfix, from userid 33) id C882C55036; Sun, 24 Aug 2014 07:00:43 +0000 (UTC) To: freebsd-virtualization@freebsd.org Subject: =?UTF-8?Q?Account_Blocked?= X-PHP-Originating-Script: 33:index.php Date: Sun, 24 Aug 2014 07:00:43 +0000 From: =?UTF-8?Q?Support?= Message-ID: <5de92174256de0eff3900452d0016b31@souhail.wpengine.com> X-Priority: 1 X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version ] X-SG-EID: 5BcF9P+ypITprUjXJktHhsiUBkkeW691hQUndAFAEhADTHpMuO2yZVPB1LkeEe7rJA4QEwQ1L4/TkRBarnDVeSAC/4kflozpziZaewr24geITE5hRV5j8Ip5jhrwZuannzNJLt8TE5v3yqtU1mvG/S7gWJlR5QxbqCzH3EIQsJx4ASM953Hivsd6fLUT5Mkd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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, 24 Aug 2014 07:00:52 -0000 Dear costumer, You have received this email because our system has noticed some suspicious activities with AÏÏle ID. All what you need to keep enjoying all the benefits of your id is to confirm your identity , follow the link below to start this process . [1]Confirm Now > Wondering why you got this email? Some massive failed login attempts were been made from unknown location that didnt match with your usual one , as a result we decided to suspend your account temporarily in order to protect it . This is an automated message. Please do not reply to this email. Thanks,  Customer. TM and copyright © 2014  Inc. 1 Infinite Loop, MS 96-DM, Cupertino, CA 95014. All Rights Reserved / Keep Informed / Privacy Policy / My ID References 1. http://goo.gl/IsbNDo From owner-freebsd-virtualization@FreeBSD.ORG Sun Aug 24 13:05:25 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED90B407 for ; Sun, 24 Aug 2014 13:05:24 +0000 (UTC) Received: from mail-vc0-x235.google.com (mail-vc0-x235.google.com [IPv6:2607:f8b0:400c:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD5B53A9B for ; Sun, 24 Aug 2014 13:05:24 +0000 (UTC) Received: by mail-vc0-f181.google.com with SMTP id lf12so13960321vcb.40 for ; Sun, 24 Aug 2014 06:05:23 -0700 (PDT) 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=pvy/S9exV1kp3fwUwmqn7t9XVMU7BWm/CegP7WyUAM4=; b=d/NQVajg1SLv38ovYKuk1swYPCQWnx1hWn1RyVj2GH6i6XG5WBBjW/he1s3Z62fVAC wv6xOWMVNsEQwTlrdXwMKIYIKYH6a31ZzVVwrRLiAAV1mgyP1Ye8+SQ+qy+yBd0klwbO mJyOr7lqA1qChD91lDRXM1seW/mqINQfN8uG3Nzj4MOcZKqAzdjjrMhNIUJxhj277Bqy aCkV7nE90lgJwMgHx7R3TTFtdnjL50xkWyLQVqWThK5xS3NrtArZNpgbu0mDdK9R9wB2 nnMPOhz39kXLxri+fwK0oAvX/3YR3r1xlcsipZ2MKnNT+a5BJancmQBqRfSivnfXe8dx VxCA== MIME-Version: 1.0 X-Received: by 10.53.12.225 with SMTP id et1mr10701550vdd.5.1408885523205; Sun, 24 Aug 2014 06:05:23 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Sun, 24 Aug 2014 06:05:23 -0700 (PDT) In-Reply-To: References: Date: Sun, 24 Aug 2014 15:05:23 +0200 Message-ID: Subject: Re: VirtIo errors inside VM with UFS-in-zvol From: Nikolay Denev To: Stephen Stuart 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: Sun, 24 Aug 2014 13:05:25 -0000 On Wed, Feb 19, 2014 at 6:38 PM, Stephen Stuart wrote: > I have VMs running on FreeBSD 10.0, for which I made zvols to provide the > block IO device for bhyve. When I boot from the installation ISO, gpart > works inside the VM, but newfs does not, reporting vtbd0 errors. Likewise, > dump does not work inside the VM (failing with too many vtbd0 hard errors), > but if I shut down the VM and dump the filesystem by specifying the > partition name in the host machine's ZFS space (/dev/zvol/zroot/VOLNAMEp2), > dump works just fine. > > With a different VM, where I got smart and did all the gpart and newfs work > outside the VM: > > zfs create -V 10g zroot/WORKING > gpart create -s GPT /dev/zvol/zroot/WORKING > gpart add -t freebsd-boot -s 64k /dev/zvol/zroot/WORKING > gpart add -t freebsd-ufs -s 7525m /dev/zvol/zroot/WORKING > gpart add -t freebsd-swap /dev/zvol/zroot/WORKING > newfs /dev/zvol/zroot/WORKINGp2 > > then install works fine inside the VM when I mount the filesystem and > create fstab by hand, and dump inside the VM works fine. > > There's a somewhat related post here: > > https://groups.google.com/forum/#!msg/mailing.freebsd.fs/Iw7aONDm-3Y/gecBCQls8oYJ > > but I don't see anything specific to this issue. I'd like dump from inside > the VM to work, the fact that it doesn't makes me concerned that there are > issues lurking that might lead to data loss. Where do I go from here? > > Thanks, > Stephen > _______________________________________________ > 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" Just to say I'm seeing the same issue. I want to create i386 virt on an amd64 host, and downloaded FreeBSD-10.0-RELEASE-i386-disc1.iso I've created a zvol: zfs create -V20G zfs/freebsd-i386 Then starting bhyve: sh /usr/share/examples/bhyve/vmrun.sh -m2048m -d /dev/zvol/zfs/freebsd-i386 -I FreeBSD-10.0-RELEASE-i386-disc1.iso -i freebsd-i386 Installer starts, I'm going with the default of GPT partition using the whole disk, but then I get this error: Error mounting partition /mnt: mount: /dev/vtbd0p2: Invalid argument Trying to mount the partiton from the shell produces the same error, and in dmesg I see this: vtbd0: hard error cmd=write 290-305 Running newfs outside of the virt works, and then I can mount inside the virt and installer continues. I'm running: FreeBSD nas.home.lan 10.0-STABLE FreeBSD 10.0-STABLE #13 r270295M: Thu Aug 21 22:05:37 UTC 2014 root@nas.home.lan:/usr/obj/usr/src/sys/NAS amd64 --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 09:01:49 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35928726 for ; Mon, 25 Aug 2014 09:01:49 +0000 (UTC) Received: from mail-vc0-x22d.google.com (mail-vc0-x22d.google.com [IPv6:2607:f8b0:400c:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ECF48320A for ; Mon, 25 Aug 2014 09:01:48 +0000 (UTC) Received: by mail-vc0-f173.google.com with SMTP id hy10so14833736vcb.32 for ; Mon, 25 Aug 2014 02:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IT5D67cA9IKwvz8i6Bnj9D+R81A/9Up3pxQIONhgOGo=; b=nP4I4f67mOOW+ghRFg+QBUWSaffU03Z5Zc1P+6Isq6ZekIVhVfHo9GOCUk39UE1hFv dTEh5sOOKaGNU598cOt5Lqo+bFfYfMZWvc4DYZKSkARikNuvb6xERImXSkoS/qHJGuLz WwaR/34J9HgQ2Yd/0cKeFFS3uLn9eUuCFvbeQuP97SB9zz7uITlZ5qNSxncpdgWQObWw 52Q5SetXG/RklqEJOQRNAVipa3dM4g2lZPYwJf32dgL2nqzxAB73eoDRYBnbq2ZlRzbb AHxlLnSjUURQ8QwR355Sw0KcNcHT8URIgWAxZ/RPlBDsyIQj0OwFTgI3NPFea0diWGmV 9Tnw== MIME-Version: 1.0 X-Received: by 10.53.0.164 with SMTP id az4mr3923429vdd.52.1408957308077; Mon, 25 Aug 2014 02:01:48 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 02:01:47 -0700 (PDT) Date: Mon, 25 Aug 2014 11:01:47 +0200 Message-ID: Subject: Packets from host -> virt with broken ip checksum. From: Nikolay Denev To: freebsd-virtualization@freebsd.org 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, 25 Aug 2014 09:01:49 -0000 I've started playing around with Bhyve and I've noticed that I can't talk from the host to the virt and vice versa. At the same time the virt can talk to the bridged subnet. My setup is pretty simple, FreeBSD 10-STABLE (about two week old build), with two bce(4) interfaces in lagg0 interface. Then I have bridge0 and the virt's tap0 interface joined in the bridge with lagg0. IP address is on lagg0. When I try to ping the virt from the host, tcpdump on vtnet0 shows incoming icmp echo requests, but no response. tcpdump shows bad checksums, netstat -s shows "bad header checksums" incrementing. Packes from the virt to the host seem ok, as I can try to ping from the virt, and I see the icmp echo req, and the reply coming back, but the reply is broken in this case so ping does not succeed. --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 09:32:31 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC498A95 for ; Mon, 25 Aug 2014 09:32:31 +0000 (UTC) Received: from mail-vc0-x229.google.com (mail-vc0-x229.google.com [IPv6:2607:f8b0:400c:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD4AA357B for ; Mon, 25 Aug 2014 09:32:31 +0000 (UTC) Received: by mail-vc0-f169.google.com with SMTP id le20so15054102vcb.28 for ; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) 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 :content-type; bh=knDSVUfR4uC7XGNQd9NYU9Kl4pmrwE3Gkv0SHjECoow=; b=kQ+3udoPEsgTToIt4plTNWWEQkPeDrhdEAs3OjyyQ5afzErHUFeNBX4nNJDZ30A26o eAjSjRD0ZZzyEWgB16Z2xujoSvFhubXuNnQTiIkcUpcZ8g0wUKzFYo5BwoH1JPL2v0lc K7pJrt3mfV+L14xInmYUUFGKvxlrm1eJ/dk0vf+iUQ9T2KV2M/ytvr1GK19+lecCqzsZ sBczfliK1fa0/oKaAwxJqxeKchxqGP014K8hP2BlFbOekFLbXd2ckZRH561oK3LQGaTu YWZwG3ExvIazQZOhHcVoNBsS23xKmnGrYFy5UTXMVI4MavZblAto6CQzlwjYVsQ0Ac/p 3TWQ== MIME-Version: 1.0 X-Received: by 10.52.6.138 with SMTP id b10mr27610vda.84.1408959150750; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 02:32:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 25 Aug 2014 11:32:30 +0200 Message-ID: Subject: Re: Packets from host -> virt with broken ip checksum. From: Nikolay Denev To: freebsd-virtualization@freebsd.org 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, 25 Aug 2014 09:32:32 -0000 On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev wrote: > I've started playing around with Bhyve and I've noticed that I can't > talk from the host to the virt and vice versa. > At the same time the virt can talk to the bridged subnet. > > My setup is pretty simple, FreeBSD 10-STABLE (about two week old > build), with two bce(4) interfaces in lagg0 interface. > Then I have bridge0 and the virt's tap0 interface joined in the bridge > with lagg0. > IP address is on lagg0. > > When I try to ping the virt from the host, tcpdump on vtnet0 shows > incoming icmp echo requests, > but no response. tcpdump shows bad checksums, netstat -s shows "bad > header checksums" incrementing. > Packes from the virt to the host seem ok, as I can try to ping from > the virt, and I see the icmp echo req, and the reply coming back, but > the reply is broken in this case so ping does not succeed. > > > --Nikolay So removing bridge/lagg out of the equation and configuring IP on tap0 on the host and another IP from the same subnet ot vtnet0 on the virt it works. --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 12:20:48 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5161BC32 for ; Mon, 25 Aug 2014 12:20:48 +0000 (UTC) Received: from bsd-ix0.plasmahost.ru (bsd-ix0.plasmahost.ru [46.4.109.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0E5BD34DC for ; Mon, 25 Aug 2014 12:20:47 +0000 (UTC) Received: from [119.224.17.161] (helo=[192.168.1.12]) by bsd-ix0.plasmahost.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XLtxA-0000iG-TP for freebsd-virtualization@freebsd.org; Mon, 25 Aug 2014 17:04:57 +0400 Message-ID: <53FB2662.7090501@hawara.com> Date: Tue, 26 Aug 2014 00:04:50 +1200 From: Marat Bakeev User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: ClamAV 0.98.4; Mon, 25 Aug 2014 17:04:57 +0400 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, 25 Aug 2014 12:20:48 -0000 I would like to confirm this issue On 25/08/2014 01:05, Nikolay Denev wrote: > On Wed, Feb 19, 2014 at 6:38 PM, Stephen Stuart > wrote: >> I have VMs running on FreeBSD 10.0, for which I made zvols to provide the >> block IO device for bhyve. When I boot from the installation ISO, gpart >> works inside the VM, but newfs does not, reporting vtbd0 errors. > Trying to mount the partiton from the shell produces the same error, > and in dmesg I see this: > vtbd0: hard error cmd=write 290-305 > I would like to report the same problem. I'm using 10.0-RELEASE-p7 as a host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it installed fine. But on attempt to create additional fs inside the vm, newfs just silently fails without writing anything to disk. file -s on a filesystem reports just 'data', instead of the usual "Unix Fast File system" for example, quotacheck also fails from inside the vm - quotacheck: Cannot find file system superblock: No error: 0. I'm getting this error message for a working filesystem, a filesystem created outside the vm and mounted inside it. bhyve uses zvol for a block device, mounted using ahci-hd. Commands used to start the vm are these: /usr/sbin/bhyveload -m 4096 -d /dev/zvol/data/vm/bsd-ix0 bsd-ix0 /usr/sbin/bhyve -c 4 -m 4096 -A -H -s 0,hostbridge -s 2,ahci-hd,/dev/zvol/data/vm/bsd-ix0 -s 3:0,virtio-net,tap8000 -s 5,lpc -l com1,/dev/nmdm0A bsd-ix0 From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 17:25:04 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B8FF9766 for ; Mon, 25 Aug 2014 17:25:04 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 90DDE3455 for ; Mon, 25 Aug 2014 17:25:04 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id C395C3D571 for ; Mon, 25 Aug 2014 17:25:02 +0000 (UTC) Message-ID: <53FB716E.3050600@freebsd.org> Date: Mon, 25 Aug 2014 13:25:02 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: Packets from host -> virt with broken ip checksum. References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA" 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, 25 Aug 2014 17:25:04 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-25 05:32, Nikolay Denev wrote: > On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev wrot= e: >> I've started playing around with Bhyve and I've noticed that I can't >> talk from the host to the virt and vice versa. >> At the same time the virt can talk to the bridged subnet. >> >> My setup is pretty simple, FreeBSD 10-STABLE (about two week old >> build), with two bce(4) interfaces in lagg0 interface. >> Then I have bridge0 and the virt's tap0 interface joined in the bridge= >> with lagg0. >> IP address is on lagg0. >> >> When I try to ping the virt from the host, tcpdump on vtnet0 shows >> incoming icmp echo requests, >> but no response. tcpdump shows bad checksums, netstat -s shows "bad >> header checksums" incrementing. >> Packes from the virt to the host seem ok, as I can try to ping from >> the virt, and I see the icmp echo req, and the reply coming back, but >> the reply is broken in this case so ping does not succeed. >> >> >> --Nikolay >=20 > So removing bridge/lagg out of the equation and configuring IP on tap0 > on the host and > another IP from the same subnet ot vtnet0 on the virt it works. >=20 > --Nikolay > _______________________________________________ > 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 You might try just disabling hardware checksum offload (ifconfig bce0 -hwcsum) (on both adapters) and see if that solves the problem too --=20 Allan Jude --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA 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) iQIcBAEBAgAGBQJT+3F1AAoJEJrBFpNRJZKfbE4QALATJ3Eg5I18wJ9ToDWp0vaZ Tdt6ARAr0zzEfVt0ZBVBTZIPD/vzHjLcVbIfUZ7h8bCb6JDoREupTgw96R/1dSeX 8UWEz462a6QhBi4RFTmsPg2GLPJkAL22mE7h5lAN+8Xa8H4i/JJiFD5t8YWOi0Hf PEjghuK5cftP5b7ioajzHEFGlsSIPeLNclPnmPtf61ZFF3I+2IIowU3A6ALd1GdE 24YM51/H9kjZYgQRwntVvLBqSFh6IsnH7f3FYVA9Ozc7QuokGQA/SfCpwgql0VrD PWHGUJH2Uhdj70jU+bGVIQfzavh6p4M6rlnp7TZvtJnu8Jcp/YwfKj2sWP55ant4 hohPmeXNQirG7giZxM0+UqVpbJpiJfs1w7l8cCSj3OW1QYF0BYdDnuvdbKBuz5GB ZW0n0L0FfNQbICxu7n0Oqkqu5+Kvdzu3m8qyvkUxUd6iWxbsBwY9db4v7Dc/sJ7o bKLnAArjdrg0EQv4wh4LiWiWAi0ezR7PhPvUFJhuDqxHIEZjU3E4PKL0US5y41IH 01+p1Iom5YJ1sthYfeEPKDeul5lMdKSObz2efEepGxeKnDrT2XGDZoIyMCGRMIIo M9klj3C/dUwbcQtNHe1zLRV8CVEAiLkYJLO8nvpjpf+CdfdXtANHYuB2d7xB7ve+ rB1BDusqGzexoiejc7nE =MNa3 -----END PGP SIGNATURE----- --dJg8UMXuWixMCQ8DtbaXCWc7tJnoaJwmA-- From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 18:34:31 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2766984C; Mon, 25 Aug 2014 18:34:31 +0000 (UTC) Received: from mail-vc0-x22f.google.com (mail-vc0-x22f.google.com [IPv6:2607:f8b0:400c:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C91743C65; Mon, 25 Aug 2014 18:34:30 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id ik5so15466082vcb.20 for ; Mon, 25 Aug 2014 11:34:29 -0700 (PDT) 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=XMnltQ5ZXmAo/9ee3al5wZJn5znOYR+SuPUq1WpB0ow=; b=XAu4wadggJ6+NU3oQM6Ry5IJXQQpbza3JnGy6INNOp3bZD0UTNeJiXhJiqy8htUCcj 1TQBBmySuurfotSfhfQmwBR2c/g3uzf3JNEqs29ZvwoltjQ1ejWr6SexfHKCaBUPdzaN c8uKaAFV5Rj/NLI4TjaTDvFp5QSrc0yo5ztsxlxqj+bYg2wdnTZGX45F6ax0bB2SuChE V9FPX7lsf5Iw5UrnScTItmqAXEFMMYWnJ0VMoMzNyba/SRnjcZaPKNUtg+0qLOByLPtr eqlUbxSRduSoJ8O/Y1vzfgHP5X9WCPUWp0cAKpTEqWIXA46MbTx14UPo9WXvm+6ZLph4 jBHg== MIME-Version: 1.0 X-Received: by 10.220.97.138 with SMTP id l10mr8337585vcn.25.1408991669733; Mon, 25 Aug 2014 11:34:29 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 11:34:29 -0700 (PDT) In-Reply-To: <53FB716E.3050600@freebsd.org> References: <53FB716E.3050600@freebsd.org> Date: Mon, 25 Aug 2014 20:34:29 +0200 Message-ID: Subject: Re: Packets from host -> virt with broken ip checksum. From: Nikolay Denev To: Allan Jude 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: Mon, 25 Aug 2014 18:34:31 -0000 On Mon, Aug 25, 2014 at 7:25 PM, Allan Jude wrote: > On 2014-08-25 05:32, Nikolay Denev wrote: >> On Mon, Aug 25, 2014 at 11:01 AM, Nikolay Denev wrote: >>> I've started playing around with Bhyve and I've noticed that I can't >>> talk from the host to the virt and vice versa. >>> At the same time the virt can talk to the bridged subnet. >>> >>> My setup is pretty simple, FreeBSD 10-STABLE (about two week old >>> build), with two bce(4) interfaces in lagg0 interface. >>> Then I have bridge0 and the virt's tap0 interface joined in the bridge >>> with lagg0. >>> IP address is on lagg0. >>> >>> When I try to ping the virt from the host, tcpdump on vtnet0 shows >>> incoming icmp echo requests, >>> but no response. tcpdump shows bad checksums, netstat -s shows "bad >>> header checksums" incrementing. >>> Packes from the virt to the host seem ok, as I can try to ping from >>> the virt, and I see the icmp echo req, and the reply coming back, but >>> the reply is broken in this case so ping does not succeed. >>> >>> >>> --Nikolay >> >> So removing bridge/lagg out of the equation and configuring IP on tap0 >> on the host and >> another IP from the same subnet ot vtnet0 on the virt it works. >> >> --Nikolay >> _______________________________________________ >> 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" >> > > You might try just disabling hardware checksum offload (ifconfig bce0 > -hwcsum) (on both adapters) and see if that solves the problem too > > -- > Allan Jude > It's actually bge(4), and disabling hardware tx checksums (ifconfig bge[0-1] -txcsum) fixes this. --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 18:50:29 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B70443A for ; Mon, 25 Aug 2014 18:50:29 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C0C343E72 for ; Mon, 25 Aug 2014 18:50:28 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 33C77124CE; Tue, 26 Aug 2014 04:50:21 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BXZ05767 (AUTH peterg@ptree32.com.au); Tue, 26 Aug 2014 04:50:20 +1000 Message-ID: <53FB856A.4090900@freebsd.org> Date: Mon, 25 Aug 2014 11:50:18 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Marat Bakeev Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: <53FB2662.7090501@hawara.com> In-Reply-To: <53FB2662.7090501@hawara.com> Content-Type: text/plain; charset=ISO-8859-1; 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: Mon, 25 Aug 2014 18:50:29 -0000 Hi Marat, >> vtbd0: hard error cmd=write 290-305 >> > I would like to report the same problem. I'm using 10.0-RELEASE-p7 as a > host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it > installed fine. But on attempt to create additional fs inside the vm, > newfs just silently fails without writing anything to disk. file -s on > a filesystem reports just 'data', instead of the usual "Unix Fast File > system" This issue is caused by the FreeBSD GEOM code tasting the zvol, parsing partition/slice tables, and marking sections read-only. There is a fix for this by mav@ in r264145 in CURRENT, and MFC'd to 10-STABLE in r265678 (May 8). The fix will be in 10.1. The zfs man page lists the new zvol property and sysctls that can be used to prevent GEOM testing. later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 20:27:43 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CF84F1C; Mon, 25 Aug 2014 20:27:43 +0000 (UTC) Received: from mail-vc0-x233.google.com (mail-vc0-x233.google.com [IPv6:2607:f8b0:400c:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 497D038BB; Mon, 25 Aug 2014 20:27:43 +0000 (UTC) Received: by mail-vc0-f179.google.com with SMTP id hq11so15964411vcb.10 for ; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) 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=cPh/5YrVsnaDcyp4/eWluTyolkOACNM9oY7Nwaq5Qik=; b=Ifdy55LI9b2ae/GAr2bFIEi8WEedCszR6BxRJLtUgT2A/sMKrhm9RWRN1ajGfNGfiB 4/04fglsnuhGJDQw1pNXyzv+TbVmcwekVkCNeV/X3VMDDSzjED2kCS5dTJHYoT8p+cQ8 yUGQUaoY4j3idLa71IaHhpoqfP9UimR4PKQ4TEx2iq5w4LyFZIwfU9uLv5sZPHKB5h0V jW2bjkATCdMG7iriMy0aB3/JHQLwqcuOF6x0I+SsIscjC7StwZPx7alKLnkUkP+D0PFr OgiL6VCr00ZNM4EkNO9siQYG3B4RjBSRcCJY01cX4URZ7iAntatLXLwxygvamReE83uL qqQQ== MIME-Version: 1.0 X-Received: by 10.52.248.232 with SMTP id yp8mr433590vdc.83.1408998461827; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Mon, 25 Aug 2014 13:27:41 -0700 (PDT) In-Reply-To: <53FB856A.4090900@freebsd.org> References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> Date: Mon, 25 Aug 2014 22:27:41 +0200 Message-ID: Subject: Re: VirtIo errors inside VM with UFS-in-zvol From: Nikolay Denev To: Peter Grehan Content-Type: text/plain; charset=UTF-8 Cc: Marat Bakeev , 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: Mon, 25 Aug 2014 20:27:43 -0000 On Mon, Aug 25, 2014 at 8:50 PM, Peter Grehan wrote: > Hi Marat, > > >>> vtbd0: hard error cmd=write 290-305 >>> >> I would like to report the same problem. I'm using 10.0-RELEASE-p7 as a >> host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it >> installed fine. But on attempt to create additional fs inside the vm, >> newfs just silently fails without writing anything to disk. file -s on >> a filesystem reports just 'data', instead of the usual "Unix Fast File >> system" > > > This issue is caused by the FreeBSD GEOM code tasting the zvol, parsing > partition/slice tables, and marking sections read-only. > > There is a fix for this by mav@ in r264145 in CURRENT, and MFC'd to > 10-STABLE in r265678 (May 8). The fix will be in 10.1. > > The zfs man page lists the new zvol property and sysctls that can be used > to prevent GEOM testing. > > later, > > Peter. > > > _______________________________________________ > 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" Thanks Peter, That would be volmode=dev, correct? Does it make sense for either the scripts (runvm.sh, vmrc, etc) or bhyve itself print a warning in such case? --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Mon Aug 25 21:28:36 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FEEAF77 for ; Mon, 25 Aug 2014 21:28:36 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6793E9D for ; Mon, 25 Aug 2014 21:28:35 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3710F3E1D1 for ; Mon, 25 Aug 2014 21:28:34 +0000 (UTC) Message-ID: <53FBAA8A.40908@freebsd.org> Date: Mon, 25 Aug 2014 17:28:42 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB" 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, 25 Aug 2014 21:28:36 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-25 16:27, Nikolay Denev wrote: > On Mon, Aug 25, 2014 at 8:50 PM, Peter Grehan wrot= e: >> Hi Marat, >> >> >>>> vtbd0: hard error cmd=3Dwrite 290-305 >>>> >>> I would like to report the same problem. I'm using 10.0-RELEASE-p7 a= s a >>> host, and 9.3-RELEASE as a guest. VM is created using vmrc script, it= >>> installed fine. But on attempt to create additional fs inside the vm,= >>> newfs just silently fails without writing anything to disk. file -s = on >>> a filesystem reports just 'data', instead of the usual "Unix Fast Fil= e >>> system" >> >> >> This issue is caused by the FreeBSD GEOM code tasting the zvol, parsi= ng >> partition/slice tables, and marking sections read-only. >> >> There is a fix for this by mav@ in r264145 in CURRENT, and MFC'd to >> 10-STABLE in r265678 (May 8). The fix will be in 10.1. >> >> The zfs man page lists the new zvol property and sysctls that can be = used >> to prevent GEOM testing. >> >> later, >> >> Peter. >> >> >> _______________________________________________ >> 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" >=20 > Thanks Peter, >=20 > That would be volmode=3Ddev, correct? > Does it make sense for either the scripts (runvm.sh, vmrc, etc) or > bhyve itself print a warning in such case? >=20 > --Nikolay > _______________________________________________ > 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 You want: vfs.zfs.vol.mode=3D2 in /boot/loader.conf It is my understanding that the sysctl must be set BEFORE the pool is imported to work correctly. --=20 Allan Jude --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB 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) iQIcBAEBAgAGBQJT+6qKAAoJEJrBFpNRJZKfIf0P/iAs/TbWF7OgJE5/HdEN0q+m kDy2X7EVWgywpx+6mGQCGWWqqI4mPlnwzs8RxsF2NzSjC1urTDE/u4doEPsR0IoI MLysGk5RegwlhhiiLXpd6M6iItvEsfBRyASiug5H6oC4K4oi/XTRekG0n5Qzr4PG HcZ5eMtFnVPTGJzXEdAf/p6b9hk2aeowKlIfC2tgqrtjMH9L+m1l50+N3hfzb5EN rjB6H6i2mIQyELs4XJ6R0Ey7hZnwkrtvVOwiCN4ojaWn+GLu8Y6zCCAa8EOOPo7j fdcyCpjbksYS/8R+EWeCE9qmkkH5mstxpm06PRNuP+MEgZSEKLv3G8pnAVVpPSjD 2scg/4FPozGMPjxCS2aUD3c0+2i9SpNN+vgtV6QSZ+D9tnp+6G6PcgTczhhZodUP ISmuV+uqgcFC51pn9lUXWDgz39UtF0KXfR3uum+KxQg9qs+bQV9hgZ54S/xjgaBc 7Je002E5Ja3+wQFwL5Qw7oSqTL3EXQLGQV3M7BInnq+C9d4Kg3ruJv3tOe9vrnYT KSvX0WhlpOen8WoIkMjhS6BErc751KqcCYoJqo3dDnBoedTWi3q/SgiAPBQk9Mcg E30kFXcnME6Jc5XCX1TOKMRTVX/I2D1UgwwnA/M6qYI2b74YmiQizCGggGt1M9U5 h3UA4ICqlHd+CKEbqxmI =BVPT -----END PGP SIGNATURE----- --GEgFDXe2loqRIDPdR7fGV5n7u1kmsHXpB-- From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 13:39:00 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6B4EAFEC for ; Tue, 26 Aug 2014 13:39:00 +0000 (UTC) Received: from bsd-ix0.plasmahost.ru (bsd-ix0.plasmahost.ru [46.4.109.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26B6D3762 for ; Tue, 26 Aug 2014 13:38:59 +0000 (UTC) Received: from [119.224.17.161] (helo=[192.168.1.12]) by bsd-ix0.plasmahost.ru with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XMHtJ-0004nr-7p for freebsd-virtualization@freebsd.org; Tue, 26 Aug 2014 18:38:33 +0400 Message-ID: <53FC8DD9.4010202@hawara.com> Date: Wed, 27 Aug 2014 01:38:33 +1200 From: Marat Bakeev User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: VirtIo errors inside VM with UFS-in-zvol References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> <53FBAA8A.40908@freebsd.org> In-Reply-To: <53FBAA8A.40908@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: ClamAV 0.98.4; Tue, 26 Aug 2014 18:38:33 +0400 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, 26 Aug 2014 13:39:00 -0000 On 26/08/2014 09:28, Allan Jude wrote: >> Thanks Peter, >> >> That would be volmode=dev, correct? > You want: vfs.zfs.vol.mode=2 > in /boot/loader.conf > > It is my understanding that the sysctl must be set BEFORE the pool is > imported to work correctly. What is the difference between property 'volmode=dev', and the sysctl? When do I need to use the sysctl, and when do one needs to use the volmode=dev? Either of them must be set in the host system, of course? From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 14:51:22 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BE4FF40 for ; Tue, 26 Aug 2014 14:51:22 +0000 (UTC) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FFF53035 for ; Tue, 26 Aug 2014 14:51:22 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id lj1so23444276pab.5 for ; Tue, 26 Aug 2014 07:51:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=psofFKU3eU80YJoW5rJKFs76rPAMFS8XrZXGyCdMCUs=; b=BVbrnXGG/IpGbQXHhP4Sl31DOLA5ExdbOv+HZWQ6rHSDczjMVxub5Y6VrInTta5HrM wF7Nf19W8+cfMhxBa1QYNIGZzAsff3UM0IGRNm4L82lVQ2LfkWT24VSg7EsbPGAFxz+j TB8OIGlKtYkB2YCCgirSty2wt7aBmAWsp8X3My4R26PBEpfpCIszXAvDJVeSuW0zIIwS 2aBIKADmwWUUq/ey83fIraViL7xgz9s8yVLGZ6MGw/fdnIGsrvMjJdXn4SQ09iu2w6UU 86YDoxzTAMXtpjxU80rA/tzsJH6dEkawKFJ0IIluJmXJ1URi26hLqSulZK5pzCD3uI18 5L/Q== X-Gm-Message-State: ALoCoQkx3PSMALtKIejAhO1BK9d6FsfH6sOjJtpg/zZamIgFYrJTYtUM88e/zDoksMw7YRchWLpU X-Received: by 10.66.186.167 with SMTP id fl7mr38122880pac.14.1409064681239; Tue, 26 Aug 2014 07:51:21 -0700 (PDT) Received: from Michaels-MacBook-Pro.local (c-98-246-202-204.hsd1.or.comcast.net. [98.246.202.204]) by mx.google.com with ESMTPSA id cu3sm3411373pbb.48.2014.08.26.07.51.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Aug 2014 07:51:19 -0700 (PDT) Message-ID: <53FC9EE6.6000103@callfortesting.org> Date: Tue, 26 Aug 2014 07:51:18 -0700 From: Michael Dexter User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: "freebsd-virtualization@freebsd.org" Subject: wiki.freebsd.org/bhyve is now official 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, 26 Aug 2014 14:51:22 -0000 Hello all, I am posting to this list as a great many bhyve users and contributors are subscribed to it. I am pleased to report that wiki.freebsd.org/bhyve is now the official repository for miscellaneous bhyve information, specifically those topics that are not covered in the manual pages and the FreeBSD Handbook. The content at bhyve.org has been updated and merged into the previous /bhyve wiki page. The documentation team has been notified of this change and may choose to migrate it from the F.A.Q. format. The bhyve developers and I are discussing the future role of bhyve.org. One thought is to host even-more-miscellaneous bhyve-related content such as social media and videos. Thank you everyone who has contributed to this content. Michael Dexter bhyve Volunteer From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 15:23:27 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7FEF85A for ; Tue, 26 Aug 2014 15:23:27 +0000 (UTC) Received: from mail-yk0-x22c.google.com (mail-yk0-x22c.google.com [IPv6:2607:f8b0:4002:c07::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A720338A for ; Tue, 26 Aug 2014 15:23:27 +0000 (UTC) Received: by mail-yk0-f172.google.com with SMTP id 20so2236456yks.3 for ; Tue, 26 Aug 2014 08:23:26 -0700 (PDT) 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=98eJojYMjtZewLK0mXaFH/1fjdZjrFefmbR7SjcTwag=; b=M9z06XsZhM67mG1EvyhubFiT0XKAJHBRWPWqjkciFi8ZWpOPaZenxqQC8nkTdf0mQo ZSt7rYl5/6+02oKbtuhVuj0xOokLhzD1nO+tmyj7JuEnB5EMTr35gE6gKSQZQYBbSecR nlb1+FOy0I9vQImuLBBrm2zV+o2uVGc8d0VbrHE60fopleNm7V6yKj00bUgK8/HrLu3P UalHk5Sm4ROP2sLS3z5+ko1YgpMBw62EMkVdrtkzIv2WiS78TngoHkcD3jDZFK+zuRYy 5p35zuL7GGmJ3m40qotsb8knqVz9TDfz/9ttM6KBPXE7EIW0ZKkPj1vM82iwuhjUN5Mr BLqQ== MIME-Version: 1.0 X-Received: by 10.52.61.99 with SMTP id o3mr7998547vdr.46.1409066606613; Tue, 26 Aug 2014 08:23:26 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Tue, 26 Aug 2014 08:23:26 -0700 (PDT) In-Reply-To: <53FC8DD9.4010202@hawara.com> References: <53FB2662.7090501@hawara.com> <53FB856A.4090900@freebsd.org> <53FBAA8A.40908@freebsd.org> <53FC8DD9.4010202@hawara.com> Date: Tue, 26 Aug 2014 17:23:26 +0200 Message-ID: Subject: Re: VirtIo errors inside VM with UFS-in-zvol From: Nikolay Denev To: Marat Bakeev 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, 26 Aug 2014 15:23:27 -0000 On Tue, Aug 26, 2014 at 3:38 PM, Marat Bakeev wrote: > > On 26/08/2014 09:28, Allan Jude wrote: >>> >>> Thanks Peter, >>> >>> That would be volmode=dev, correct? >> >> You want: vfs.zfs.vol.mode=2 >> >> in /boot/loader.conf >> >> It is my understanding that the sysctl must be set BEFORE the pool is >> imported to work correctly. > > What is the difference between property 'volmode=dev', and the sysctl? > When do I need to use the sysctl, and when do one needs to use the > volmode=dev? > > Either of them must be set in the host system, of course? > > _______________________________________________ > 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" To me it looks like you should not use the sysctl if you are using the zvols on the host systems for anything that expects them to be GEOM providers, e.g. mounting as UFS volumes, etc. as this will hide them from GEOM. For now I've set it to "dev" via the zfs property only for the zvols that I either export as iscsi or use for bhyve virts. Flipping the property has the effect of gpt partitions of the zvol disappearing and appearing again in /dev/zvol/..., while the system is running, while as Allan mentioned, setting the sysctl does not seem to affect zvols that are on already imported pool. --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 16:04:51 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5185C2C3 for ; Tue, 26 Aug 2014 16:04:51 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 3AA4B371F for ; Tue, 26 Aug 2014 16:04:51 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 58) id 250391B2D68; Tue, 26 Aug 2014 12:04:45 -0400 (EDT) Received: from [127.0.0.1] (vnat004.nandomedia.com [166.108.31.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 626E41B2D63 for ; Tue, 26 Aug 2014 12:04:43 -0400 (EDT) Message-ID: <53FCB019.1040801@mail.lifanov.com> Date: Tue, 26 Aug 2014 12:04:41 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: lost ability to run FreeBSD on bhyve on CURRENT Content-Type: text/plain; charset=utf-8 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, 26 Aug 2014 16:04:51 -0000 Can someone look at Bugzilla 192470 please? https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 In short, for a few months now I couldn't boot FreeBSD in bhyve on one of my systems, while booting Linux still works. I get "panic: CPU0 does not support X87 or SSE: 1" when trying to run a 9.3 or 10.0 guest. Host CPU information: CPU: Intel(R) Xeon(R) CPU E31235 @ 3.20GHz (3200.09-MHz K8-class CPU) Origin="GenuineIntel" Id=0x206a7 Family=0x6 Model=0x2a Stepping=7 Features=0xbfebfbff Features2=0x1fbae3ff AMD Features=0x28100800 AMD Features2=0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics It would be valuable to fix before 10.1 release, since 10-STABLE had an up-to-date bhyve merged. Thank you, - Nikolai Lifanov From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 17:29:13 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD63FF0D for ; Tue, 26 Aug 2014 17:29:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A3E8C3F99 for ; Tue, 26 Aug 2014 17:29:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7QHTDKJ033266 for ; Tue, 26 Aug 2014 17:29:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Tue, 26 Aug 2014 17:29:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rodrigc@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 26 Aug 2014 17:29:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 Craig Rodrigues changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigc@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 17:31:13 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5132BA1 for ; Tue, 26 Aug 2014 17:31:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37817302C for ; Tue, 26 Aug 2014 17:31:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7QHVD3w040059 for ; Tue, 26 Aug 2014 17:31:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 183408] [bhyve] bhyve guests should not require a modification to /etc/ttys Date: Tue, 26 Aug 2014 17:31:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rodrigc@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 26 Aug 2014 17:31:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183408 Craig Rodrigues changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigc@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 17:31:56 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10F0814A for ; Tue, 26 Aug 2014 17:31:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EB9663045 for ; Tue, 26 Aug 2014 17:31:55 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7QHVtKx048227 for ; Tue, 26 Aug 2014 17:31:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192281] [kern] nmdm with bhyve causes kernel panic Date: Tue, 26 Aug 2014 17:31:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: rodrigc@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 26 Aug 2014 17:31:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 Craig Rodrigues changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigc@FreeBSD.org Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 17:33:31 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB1C92A9 for ; Tue, 26 Aug 2014 17:33:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B19AD30CB for ; Tue, 26 Aug 2014 17:33:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7QHXVix064509 for ; Tue, 26 Aug 2014 17:33:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 184046] bhyve(4) manpage references non-existant manpages bhyvectl(8), vmm(4) Date: Tue, 26 Aug 2014 17:33:31 +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 Only Me X-Bugzilla-Who: rodrigc@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 26 Aug 2014 17:33:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184046 Craig Rodrigues changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rodrigc@FreeBSD.org Assignee|freebsd-doc@FreeBSD.org |freebsd-virtualization@Free | |BSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 18:01:13 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C9A07BE4 for ; Tue, 26 Aug 2014 18:01:13 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF9503424 for ; Tue, 26 Aug 2014 18:01:13 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7QI1DuG040027 for ; Tue, 26 Aug 2014 18:01:13 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 183408] [bhyve] bhyve guests should not require a modification to /etc/ttys Date: Tue, 26 Aug 2014 18:01:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: allanjude@FreeBSD.org X-Bugzilla-Status: Issue Resolved X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 26 Aug 2014 18:01:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183408 Allan Jude changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |Issue Resolved CC| |allanjude@FreeBSD.org Resolution|--- |FIXED --- Comment #2 from Allan Jude --- Fixed in r260913 https://svnweb.freebsd.org/base?view=revision&revision=260913 and enabled by default in r266895 https://svnweb.freebsd.org/base?view=revision&revision=266895 Merged to stable/10 in r267236 https://svnweb.freebsd.org/base?view=revision&revision=267236 Should be out as part of 10.1, already included in 9.3 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Tue Aug 26 20:59:53 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BF696541 for ; Tue, 26 Aug 2014 20:59:53 +0000 (UTC) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 822C33CF5 for ; Tue, 26 Aug 2014 20:59:53 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 98612125E6; Wed, 27 Aug 2014 06:59:45 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.4.4-GA) with ESMTP id BXZ66076 (AUTH peterg@ptree32.com.au); Wed, 27 Aug 2014 06:59:44 +1000 Message-ID: <53FCF53E.5030302@freebsd.org> Date: Tue, 26 Aug 2014 13:59:42 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Nikolai Lifanov Subject: Re: lost ability to run FreeBSD on bhyve on CURRENT References: <53FCB019.1040801@mail.lifanov.com> In-Reply-To: <53FCB019.1040801@mail.lifanov.com> Content-Type: text/plain; charset=ISO-8859-1; 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: Tue, 26 Aug 2014 20:59:53 -0000 Hi Nikolai, > Can someone look at Bugzilla 192470 please? > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 We've not been able to repro this on E3-1220 v3, E5-2650, or E5-2609 v2 systems :( Do you have any xsave-related tunables set in loader.conf ? Do CURRENT guests work ? If so, would you be able to send a dmesg from one ? later, Peter. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 06:33:42 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8A35458F for ; Wed, 27 Aug 2014 06:33:42 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7214A396C for ; Wed, 27 Aug 2014 06:33:42 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7R6XgqS023631 for ; Wed, 27 Aug 2014 06:33:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 147950] [vimage] [carp] VIMAGE + CARP = kernel crash Date: Wed, 27 Aug 2014 06:33:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: boco@ufanet.ru X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 06:33:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=147950 Damir Bikmukhametov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |boco@ufanet.ru --- Comment #6 from Damir Bikmukhametov --- Created attachment 146357 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146357&action=edit Fix kernel panic when using CARP with VIMEGE enabled kernel While initial PR is for FreeBSD 8, the same kernel panic occurs on 9.3-RELEASE. This bug was fixed for FreeBSD 10 (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=164696) but still exists in 8.x and 9.x. The patch is for 9.3-RELEASE. I hope the patch will be merged to the source tree. Thanks. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 06:36:19 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC8CC6E0 for ; Wed, 27 Aug 2014 06:36:19 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D447F398D for ; Wed, 27 Aug 2014 06:36:19 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7R6aJlZ051651 for ; Wed, 27 Aug 2014 06:36:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192281] [kern] nmdm with bhyve causes kernel panic Date: Wed, 27 Aug 2014 06:36:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 06:36:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192281 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #4 from Peter Grehan --- Looking at this. Dave: would you be able to outline how to repro this ? Lots of VMs starting up at the same time ? -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 13:38:50 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0517E557 for ; Wed, 27 Aug 2014 13:38:50 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF87C3270 for ; Wed, 27 Aug 2014 13:38:49 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RDcn6D050307 for ; Wed, 27 Aug 2014 13:38:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Wed, 27 Aug 2014 13:38:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 13:38:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #2 from Nikolai Lifanov --- Created attachment 146376 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146376&action=edit sysctl hw.vmm output of "sysctl hw.vmm" -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 13:39:31 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 682175BD for ; Wed, 27 Aug 2014 13:39:31 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E7E03282 for ; Wed, 27 Aug 2014 13:39:31 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RDdVZw050635 for ; Wed, 27 Aug 2014 13:39:31 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Wed, 27 Aug 2014 13:39:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 13:39:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #3 from Nikolai Lifanov --- Created attachment 146377 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146377&action=edit panic booting CURRENT This is trying to boot CURRENT snapshot, r270458 -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 13:40:25 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5519B61F; Wed, 27 Aug 2014 13:40:25 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 3B0D43333; Wed, 27 Aug 2014 13:40:24 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 58) id A1C201B2DD6; Wed, 27 Aug 2014 09:40:22 -0400 (EDT) Received: from [127.0.0.1] (vnat004.nandomedia.com [166.108.31.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 3EBE21B2DCF; Wed, 27 Aug 2014 09:40:21 -0400 (EDT) Message-ID: <53FDDFC3.1070206@mail.lifanov.com> Date: Wed, 27 Aug 2014 09:40:19 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: lost ability to run FreeBSD on bhyve on CURRENT References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 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: Wed, 27 Aug 2014 13:40:25 -0000 On 08/27/14 08:00, freebsd-virtualization-request@freebsd.org wrote: > Hi Nikolai, >> > Can someone look at Bugzilla 192470 please? >> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 > We've not been able to repro this on E3-1220 v3, E5-2650, or E5-2609 > v2 systems :( > > Do you have any xsave-related tunables set in loader.conf ? > > Do CURRENT guests work ? If so, would you be able to send a dmesg from > one ? > > later, > > Peter. Hello. I don't have anything exotic in my loader.conf: vmm_load="YES" nmdm_load="YES" pptdevs="10/0/0" zfs_load="YES" vfs.root.mountfrom="zfs:tank/ROOT/270660" Disabling ppt doesn't help either. CURRENT panics and drops me in ddb when booting. I attached "sysctl hw.vmm" and the panic message when trying to boot CURRENT to the bug. - Nikolai Lifanov From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 15:56:15 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 683EF199 for ; Wed, 27 Aug 2014 15:56:15 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6C535C7 for ; Wed, 27 Aug 2014 15:56:15 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RFuF7X030099 for ; Wed, 27 Aug 2014 15:56:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Wed, 27 Aug 2014 15:56:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 15:56:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #4 from Nikolai Lifanov --- Created attachment 146380 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146380&action=edit dmesg from CURRENT boot The boot sometimes works. Trying to boot CURRENT over and over again, I was able to boot it twice out of many tries. Here is a dmesg output from a successful boot. If FreeBSD boots, it works normally. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 15:53:22 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 046D7E7D; Wed, 27 Aug 2014 15:53:22 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 DF71C356E; Wed, 27 Aug 2014 15:53:21 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 58) id 4657C1B2DE1; Wed, 27 Aug 2014 11:53:21 -0400 (EDT) Received: from [127.0.0.1] (vnat004.nandomedia.com [166.108.31.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id 963F31B2DDF; Wed, 27 Aug 2014 11:53:20 -0400 (EDT) Message-ID: <53FDFEEF.1060302@mail.lifanov.com> Date: Wed, 27 Aug 2014 11:53:19 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: lost ability to run FreeBSD on bhyve on CURRENT References: <53FDDFC3.1070206@mail.lifanov.com> In-Reply-To: <53FDDFC3.1070206@mail.lifanov.com> Content-Type: text/plain; charset=windows-1252 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: Wed, 27 Aug 2014 15:53:22 -0000 On 08/27/14 09:40, Nikolai Lifanov wrote: > On 08/27/14 08:00, freebsd-virtualization-request@freebsd.org wrote: >> Hi Nikolai, >>>> Can someone look at Bugzilla 192470 please? >>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 >> We've not been able to repro this on E3-1220 v3, E5-2650, or E5-2609 >> v2 systems :( >> >> Do you have any xsave-related tunables set in loader.conf ? >> >> Do CURRENT guests work ? If so, would you be able to send a dmesg from >> one ? >> >> later, >> >> Peter. > > Hello. > > I don't have anything exotic in my loader.conf: > vmm_load="YES" > nmdm_load="YES" > pptdevs="10/0/0" > zfs_load="YES" > vfs.root.mountfrom="zfs:tank/ROOT/270660" > > Disabling ppt doesn't help either. CURRENT panics and drops me in ddb > when booting. I attached "sysctl hw.vmm" and the panic message when > trying to boot CURRENT to the bug. > Interestingly, boot works 1/many times. By repeatedly trying to boot it over and over again, I was able to get it to boot twice total. Once FreeBSD is able to boot, it works as expected. I'm about to attach the dmesg from this to Bugzilla. - Nikolai Lifanov From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 16:00:53 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AF72575; Wed, 27 Aug 2014 16:00:53 +0000 (UTC) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (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 811CE3659; Wed, 27 Aug 2014 16:00:53 +0000 (UTC) Received: by mail.lifanov.com (Postfix, from userid 58) id 44B961B2DE4; Wed, 27 Aug 2014 12:00:53 -0400 (EDT) Received: from [127.0.0.1] (vnat004.nandomedia.com [166.108.31.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id BF4B11B2DE1; Wed, 27 Aug 2014 12:00:52 -0400 (EDT) Message-ID: <53FE00B3.3050302@mail.lifanov.com> Date: Wed, 27 Aug 2014 12:00:51 -0400 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: lost ability to run FreeBSD on bhyve on CURRENT References: <53FDDFC3.1070206@mail.lifanov.com> <53FDFEEF.1060302@mail.lifanov.com> In-Reply-To: <53FDFEEF.1060302@mail.lifanov.com> Content-Type: text/plain; charset=windows-1252 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: Wed, 27 Aug 2014 16:00:53 -0000 On 08/27/14 11:53, Nikolai Lifanov wrote: > On 08/27/14 09:40, Nikolai Lifanov wrote: >> On 08/27/14 08:00, freebsd-virtualization-request@freebsd.org wrote: >>> Hi Nikolai, >>>>> Can someone look at Bugzilla 192470 please? >>>>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 >>> We've not been able to repro this on E3-1220 v3, E5-2650, or E5-2609 >>> v2 systems :( >>> >>> Do you have any xsave-related tunables set in loader.conf ? >>> >>> Do CURRENT guests work ? If so, would you be able to send a dmesg from >>> one ? >>> >>> later, >>> >>> Peter. >> >> Hello. >> >> I don't have anything exotic in my loader.conf: >> vmm_load="YES" >> nmdm_load="YES" >> pptdevs="10/0/0" >> zfs_load="YES" >> vfs.root.mountfrom="zfs:tank/ROOT/270660" >> >> Disabling ppt doesn't help either. CURRENT panics and drops me in ddb >> when booting. I attached "sysctl hw.vmm" and the panic message when >> trying to boot CURRENT to the bug. >> > > Interestingly, boot works 1/many times. By repeatedly trying to boot it > over and over again, I was able to get it to boot twice total. Once > FreeBSD is able to boot, it works as expected. > > I'm about to attach the dmesg from this to Bugzilla. > Update: if I pin vcpu 0 to hostcpu 0, boot works every time. - Nikolai Lifanov From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 16:02:04 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CE7964C for ; Wed, 27 Aug 2014 16:02:04 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 839EB36EA for ; Wed, 27 Aug 2014 16:02:04 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RG2420055430 for ; Wed, 27 Aug 2014 16:02:04 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Wed, 27 Aug 2014 16:02:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 16:02:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #5 from Nikolai Lifanov --- Since booting actually works once in a while, I tried pinning vcpu 0 to hostcpu 0. If I pin vcpu 0 to hostcpu 0, boot works every time. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Wed Aug 27 23:50:40 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77FC62D5 for ; Wed, 27 Aug 2014 23:50:40 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EE283C21 for ; Wed, 27 Aug 2014 23:50:40 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7RNoecL049497 for ; Wed, 27 Aug 2014 23:50:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Wed, 27 Aug 2014 23:50:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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, 27 Aug 2014 23:50:40 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 Peter Grehan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |grehan@FreeBSD.org --- Comment #6 from Peter Grehan --- Just to confirm the negative: does pinning to CPUs other than 0 result in the guest crashing ? If so, would you be able to install the cpuid port (pkg install cpuid) and run it on all cpus cpuset -l cpuid .. and see if there are any differences in what is reported between CPUs, other than obvious ones such as APIC ID. later, Peter. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 28 00:39:20 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FA11BCE for ; Thu, 28 Aug 2014 00:39:20 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 55D42304C for ; Thu, 28 Aug 2014 00:39:20 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7S0dKYQ003385 for ; Thu, 28 Aug 2014 00:39:20 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Thu, 28 Aug 2014 00:39:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 28 Aug 2014 00:39:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #7 from Nikolai Lifanov --- Pinning vcpu 0 on hostcpu 1 does not allow boot. It seems that all cpus other than 0 produce a similar diff. I'm about to attach it. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 28 00:41:00 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3678C6D for ; Thu, 28 Aug 2014 00:41:00 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C9427305F for ; Thu, 28 Aug 2014 00:41:00 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7S0f0Gl005988 for ; Thu, 28 Aug 2014 00:41:00 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Thu, 28 Aug 2014 00:41:00 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 28 Aug 2014 00:41:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #8 from Nikolai Lifanov --- Created attachment 146425 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146425&action=edit cpuid difference -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 28 01:26:29 2014 Return-Path: Delivered-To: freebsd-virtualization@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D76D0867 for ; Thu, 28 Aug 2014 01:26:29 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BDF5B3490 for ; Thu, 28 Aug 2014 01:26:29 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7S1QTpD033992 for ; Thu, 28 Aug 2014 01:26:29 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Thu, 28 Aug 2014 01:26:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grehan@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 28 Aug 2014 01:26:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #9 from Peter Grehan --- Comment on attachment 146425 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146425 cpuid difference Thanks - I think this explains it. -Vendor ID: "GenuineIntel"; CPUID level 13 +Vendor ID: "GenuineIntel"; CPUID level 2 The AP is coming up with a reduced number of CPU leaves compared to the BSP. FreeBSD (and bhyve) assumes that this is the same in all CPUs. FreeBSD itself pulls all information about the system from the BSP's leaf contents, and then assumes this is the same for all other CPUs. bhyve's assumption is that it can call do_cpuid() on any CPU and get the same information to pass to guests on CPUID exits. A lot of applications also assume this and will look at CPUID values to determine whether they can use SSE/SSE2/AVX libraries etc. What system is this ? Are there BIOS options to change max leaf values ? Is it running nested ? later, Peter. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Thu Aug 28 16:50:19 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3A4454DE for ; Thu, 28 Aug 2014 16:50:19 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20902107D for ; Thu, 28 Aug 2014 16:50:19 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s7SGoIX3041476 for ; Thu, 28 Aug 2014 16:50:19 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 192470] [bhyve] can't boot FreeBSD in bhyve on CURRENT Date: Thu, 28 Aug 2014 16:50:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lifanov@mail.lifanov.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 28 Aug 2014 16:50:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192470 --- Comment #10 from Nikolai Lifanov --- This is exactly it! I had a BIOS setting called "Limit Max CPUID". After I turned it off, every core shows the same features and bhyve works reliably. It's still interesting that bhyve works despite this misconfiguration in 10.0, but not on CURRENT. -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-virtualization@FreeBSD.ORG Sat Aug 30 14:22:22 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 74F0086A for ; Sat, 30 Aug 2014 14:22:22 +0000 (UTC) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3897D1FAA for ; Sat, 30 Aug 2014 14:22:22 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id hy4so3790089vcb.33 for ; Sat, 30 Aug 2014 07:22:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=del/lAbATadOL7Ae1+Lp3Z0Kl1ceweywYx04DWoEqeI=; b=OmDSXMKpI4qEsDY/kBY0c5gA/aAPQecItlBOxaMBGtnoTyjMpn5BE8DHh1NuSCVAzW njjWEfXmV+gU5ee9KdUmydHeX8HjoZ1TjGiul81u6Ikrdh1pfaYXmbvUBqm3bMTjJ6F0 sDR2B+9JWKWfQzBF/Y+4bY8ryBAMlSBFyNr0dWPpkFEP5S47G8uFANFEpD36w1RnIhwk ZB6KH2qBfiovQ5pE/i/BWd4F8gBcATc7npKbakbAyqj8hFkehtX7pYbnp7qsJ6iK+pcX o3HWgSFQbiksCzINhwFzxa7UrPU6xP9TykHCf3HxWFB+0D9wvN5YgLTD0wOY04X2HDcM 7C4g== MIME-Version: 1.0 X-Received: by 10.220.168.210 with SMTP id v18mr15856753vcy.3.1409408541063; Sat, 30 Aug 2014 07:22:21 -0700 (PDT) Received: by 10.221.46.133 with HTTP; Sat, 30 Aug 2014 07:22:21 -0700 (PDT) Date: Sat, 30 Aug 2014 16:22:21 +0200 Message-ID: Subject: vmrun.sh and zvols From: Nikolay Denev To: freebsd-virtualization@freebsd.org 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, 30 Aug 2014 14:22:22 -0000 I had to to this so that zvols used for bhyve can be booted with vmrun.sh. Without this vmrun.sh does not detect the filesystem and always wants the installation CD. Index: share/examples/bhyve/vmrun.sh =================================================================== --- share/examples/bhyve/vmrun.sh (revision 270295) +++ share/examples/bhyve/vmrun.sh (working copy) @@ -176,10 +176,10 @@ while [ 1 ]; do ${BHYVECTL} --vm=${vmname} --destroy > /dev/null 2>&1 - file ${virtio_diskdev} | grep "boot sector" > /dev/null + file -s ${virtio_diskdev} | grep "boot sector" > /dev/null rc=$? if [ $rc -ne 0 ]; then - file ${virtio_diskdev} | grep ": Unix Fast File sys" > /dev/null + file -s ${virtio_diskdev} | grep ": Unix Fast File sys" > /dev/null rc=$? fi if [ $rc -ne 0 ]; then --Nikolay From owner-freebsd-virtualization@FreeBSD.ORG Sat Aug 30 15:33:14 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06F43C73 for ; Sat, 30 Aug 2014 15:33:14 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82CC617E5 for ; Sat, 30 Aug 2014 15:33:13 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id s18so4179834lam.12 for ; Sat, 30 Aug 2014 08:33:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=XrMkoLRlzue5mB7/TbQgYL8/QeOd4bewJikfylmR2mQ=; b=dF376ITRUv92qhcFkFET5RFeRDGElIOmPuLtlY/hz6MhBfDPb5feWRF3eIOw1LoYOS /sHEVEcLlBWKBTo0GckcUfQN7odb5SkjdFF75L7wzjFseW4EwLxHf1WCHDygwjYIU7+B ySEgxxjhMlKoHu+xAiZY7MIZW/xWBAqifvREVaibkm7V7Ow4TW8ZsNmDRYUj5sEL40w8 JwdJ8BA51/Hy4RvSx7Z1V0qk7s3Jj8R3lxi3f/8fndQb8NL+qZGuFEfxkQMYDcmnXI4c IUaZUIPdKjcBzt7oVbQSJXj3jBufH6azbbPpnhoizv5Q1eaR4Ppl+jGeaKT5YwfGuV4U lb5Q== MIME-Version: 1.0 X-Received: by 10.112.156.10 with SMTP id wa10mr17267376lbb.68.1409412791286; Sat, 30 Aug 2014 08:33:11 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Sat, 30 Aug 2014 08:33:11 -0700 (PDT) Received: by 10.112.197.107 with HTTP; Sat, 30 Aug 2014 08:33:11 -0700 (PDT) In-Reply-To: References: Date: Sat, 30 Aug 2014 08:33:11 -0700 X-Google-Sender-Auth: zSxrhCC9Dx_GpXdLVb6Uy1i8oqk Message-ID: Subject: Re: vmrun.sh and zvols From: Craig Rodrigues To: Nikolay Denev Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 30 Aug 2014 15:33:14 -0000 On Aug 30, 2014 7:22 AM, "Nikolay Denev" wrote: > > Index: share/examples/bhyve/vmrun.sh > =================================================================== > --- share/examples/bhyve/vmrun.sh (revision 270295) > +++ share/examples/bhyve/vmrun.sh (working copy) > @@ -176,10 +176,10 @@ > while [ 1 ]; do > ${BHYVECTL} --vm=${vmname} --destroy > /dev/null 2>&1 > > - file ${virtio_diskdev} | grep "boot sector" > /dev/null > + file -s ${virtio_diskdev} | grep "boot sector" > /dev/null > Hi, See: http://svnweb.freebsd.org/base?view=revision&revision=270754 -- Craig From owner-freebsd-virtualization@FreeBSD.ORG Sat Aug 30 16:42:58 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7B9E7121 for ; Sat, 30 Aug 2014 16:42:58 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 548B51DC5 for ; Sat, 30 Aug 2014 16:42:57 +0000 (UTC) Received: from [192.168.1.2] (senat1-01.HML3.ScaleEngine.net [209.51.186.5]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 3F87A41BDD for ; Sat, 30 Aug 2014 16:42:51 +0000 (UTC) Message-ID: <5401FF29.5010109@freebsd.org> Date: Sat, 30 Aug 2014 12:43:21 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Subject: Re: vmrun.sh and zvols References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iPk5Ms6pxKAbJGT9WF76R9sE6PSq0J1Wk" 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, 30 Aug 2014 16:42:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iPk5Ms6pxKAbJGT9WF76R9sE6PSq0J1Wk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-08-30 10:22, Nikolay Denev wrote: > I had to to this so that zvols used for bhyve can be booted with vmrun.= sh. > Without this vmrun.sh does not detect the filesystem and always wants > the installation CD. >=20 >=20 > Index: share/examples/bhyve/vmrun.sh > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- share/examples/bhyve/vmrun.sh (revision 270295) > +++ share/examples/bhyve/vmrun.sh (working copy) > @@ -176,10 +176,10 @@ > while [ 1 ]; do > ${BHYVECTL} --vm=3D${vmname} --destroy > /dev/null 2>&1 >=20 > - file ${virtio_diskdev} | grep "boot sector" > /dev/null > + file -s ${virtio_diskdev} | grep "boot sector" > /dev/null >=20 > rc=3D$? > if [ $rc -ne 0 ]; then > - file ${virtio_diskdev} | grep ": Unix Fast File sys" > /dev/null > + file -s ${virtio_diskdev} | grep ": Unix Fast File sys" > /dev/null > rc=3D$? > fi > if [ $rc -ne 0 ]; then >=20 > --Nikolay > _______________________________________________ > 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 Note: you might also want to look at the ZFS 'volmode' setting, and the vfs.zfs.vol.mode sysctl. Otherwise GEOM can steal your zvol while you are trying to use it, and you'll get write errors from inside the vm. At one point, it was not possible to install FreeBSD from the CD image onto a zvol, because as soon as the installer partitioned it, GEOM on the host would re-taste it and grab a lock, preventing newfs from working. --=20 Allan Jude --iPk5Ms6pxKAbJGT9WF76R9sE6PSq0J1Wk 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) iQIcBAEBAgAGBQJUAf8sAAoJEJrBFpNRJZKfimIP/2PzVP6p8Zc+TnBVgemR4HDY 2gOfH5Be0arXRfX4+idNlu3zav4VVEEIZd7F2eb36W/h2ZeoADXuZ0+rkCmT2jBo +AxKNj78EL3HQU04IW2cpOGCDJEqYnhXRHTaV969LvdZ+OwcRTGJ87RsOZ5lM00b qtIoHyFIzAniWaYCB1pon8GbmScDPWgYmszyxmTSr8AaHYh8YoCI3mZ1wVNIcCVc H9BTD6p73xG4wnmCvxCPyEZVMqFFsh35ta9KGytsiPT3i1XOoDukqNtBK+f/370g b0rF144zN95FRLFBwPk5mmcxkexIo1iqKwpn/5zDOdV3vyl1+OipwRx+MkD/3D9V AsRh8OSKzLQD3iOinNrdGfkcaTELFtgp2v6PC3T/nIDJ1z8hzH8ULjbzcP5Qgec0 YOYw8XkCc6Q1qO9n6DHaa6Fs1PhDFvzEl5hFWvIBJa99Cd4Iaz6KHkaaWD0ozn86 yIJZmgX8gQey/dys7ytlMIiUNcoRUxc1Rt8ubmqQM4y8Fv+ZsASl0DHlxTCY3geY ZWeqn33KhL3pux+q7b2ivpojXCtPPWTqpo7H88BkOYcc6LeNvjowLOe4XfUj5PnQ 346GGgE9US3s6YJg6ZbYr9hdErYTWrySt5yv5NXMB9n6vYqs7HOsN9jVpdp1Si9h cqbQeFODDMzP3Oxa8L2j =fYAv -----END PGP SIGNATURE----- --iPk5Ms6pxKAbJGT9WF76R9sE6PSq0J1Wk--