From owner-freebsd-virtualization@freebsd.org Mon Jun 27 05:33:03 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C631B84156 for ; Mon, 27 Jun 2016 05:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B651266D for ; Mon, 27 Jun 2016 05:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5R5X3tj033575 for ; Mon, 27 Jun 2016 05:33:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 209443] [Hyper-V]FreeBSD 10.3 on Windows 2012 server may fail to add/remove a disk by hot plugin Date: Mon, 27 Jun 2016 05:33:03 +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: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: honzhan@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org 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: quoted-printable 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.22 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, 27 Jun 2016 05:33:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209443 --- Comment #1 from Hongjiang --- Created attachment 171852 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D171852&action= =3Dedit fix the inquiry issue on 10.3 This patch fixed the issue cause by SCSI inquiry command. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jun 27 18:49:38 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1FABBB84F15 for ; Mon, 27 Jun 2016 18:49:38 +0000 (UTC) (envelope-from public@plane.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFEF12BDF for ; Mon, 27 Jun 2016 18:49:37 +0000 (UTC) (envelope-from public@plane.gmane.org) Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bHbb6-0003ZD-Ab for freebsd-virtualization@freebsd.org; Mon, 27 Jun 2016 20:49:28 +0200 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bHbb2-0003Ww-Tp for public-freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org; Mon, 27 Jun 2016 20:49:24 +0200 Received: from onethreetwo.vfemail.net ([199.16.11.132] helo=vfemail.net) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bHW72-0005xW-7d for public-freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org; Mon, 27 Jun 2016 14:58:04 +0200 Received: (qmail 83413 invoked by uid 89); 27 Jun 2016 12:58:00 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 27 Jun 2016 12:57:57 -0000 Received: (qmail 7046 invoked by uid 89); 27 Jun 2016 06:31:29 -0000 Received: by simscan 1.3.1 ppid: 7039, pid: 7042, t: 0.0044s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 27 Jun 2016 06:31:29 -0000 Received: (qmail 18416 invoked by uid 89); 27 Jun 2016 06:31:29 -0000 Received: by simscan 1.4.0 ppid: 18393, pid: 18413, t: 0.4854s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 27 Jun 2016 06:31:29 -0000 From: Jan Beich To: Peter Grehan Cc: Oleg Ginzburg , public-freebsd-virtualization-h+KGxgPPiopAfugRpC6u6w@plane.gmane.org Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> Date: Mon, 27 Jun 2016 08:31:19 +0200 Message-ID: <60sv-b0so-wny@vfemail.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-TMDA-Confirmed: Mon, 27 Jun 2016 20:49:24 +0200 X-Mailman-Approved-At: Mon, 27 Jun 2016 19:02:57 +0000 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 27 Jun 2016 18:49:38 -0000 --=-=-= Content-Type: text/plain Peter Grehan writes: > Hi, > >> I do not know whose it is a problem - DragonFlyBSD vtnet(4) driver or FreeBSD >> bhyve(4), so I decided to send on both maillist. >> >> I've try to boot DragonFlyBSD 4.4 in bhyve. All goes well, however, there is >> no network interface. During boot i see: > .. >> Boot processing : https://youtu.be/iV1eZxEvj0c >> >> bhyve executed with follow settings: >> >> /usr/sbin/bhyve -c 1 -m 4294967296 -A -H -P -s 0:0,hostbridge -s 2:0,virtio- >> rnd -s 3:0,virtio-net,tap0 ... >> >> What can be done to correct this error ? > > Firstly, very happy to see D'Fly booting under bhyve+UEFI/CSM :) > > I'll do some debug and see if this can be fixed. Any news since then? virtio-net and virtio-blk work fine if using Qemu + OVMF 20160418 (a8c39ba) on the same DragonFly disk image where Bhyve + BHYVE_UEFI_20160526.fd fails. -- # virtio-blk story: virtio_pci0: port 0x2000-0x203f mem 0xc0002000-0xc0003fff irq 6 at device 4.0 on pci0 vtblk0: on virtio_pci0 virtio_pci0: host features: 0x10000644 virtio_pci0: negotiated features: 0x10000244 virtio_pci0: cannot allocate interrupts vtblk0: cannot allocate virtqueue device_probe_and_attach: vtblk0 attach returned 6 virtio_pci0@pci0:0:4:0: class=0x010000 card=0x00021af4 chip=0x10011af4 rev=0x00 hdr=0x00 vendor = 'Red Hat, Inc' device = 'Virtio block device' class = mass storage subclass = SCSI bar [10] = type I/O Port, range 32, base 0x2000, size 64, enabled bar [14] = type Memory, range 32, base 0xc0002000, size 8192, enabled cap 11[40] = MSI-X supports 2 messages in map 0x14 cap 05[4c] = MSI supports 1 message, 64 bit vs. virtio_pci1: port 0xc000-0xc03f mem 0xc1000000-0xc1000fff irq 11 at device 4.0 on pci0 vtblk0: on virtio_pci1 virtio_pci1: host features: 0x71000ed4 virtio_pci1: negotiated features: 0x10000a54 virtio_pci1@pci0:0:4:0: class=0x010000 card=0x00021af4 chip=0x10011af4 rev=0x00 hdr=0x00 vendor = 'Red Hat, Inc' device = 'Virtio block device' class = mass storage subclass = SCSI bar [10] = type I/O Port, range 32, base 0xc000, size 64, enabled bar [14] = type Memory, range 32, base 0xc1000000, size 4096, enabled cap 11[40] = MSI-X supports 2 messages in map 0x14 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXcMg3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bekUIANReoDfpRUCOBSIXD3Jot4Sh ig2Kdm/1cB4fPhAAd1KOL47FFyvJtU9bB8sbMaC9CGnv2jK7CjJHTIdrsv1Cl1dJ biRoRAdhb7uAjJNpXkvbqUJWOFYOeV9QXQ6nQC4k7dJXDQy3rr2q4s+TR1xKCIIb 1D7zfAW5nyhsamOdXoc3yBn+QuEV6qFfz0SIf72uI29IKtRRonnAqS6A7DcApKbw sxn8QsmgSZYkUL9q4uJnXCdcg9RD9VwG+aNxH7hQtROgIB8HY6j7OAWxG7UFnsi6 qilOtP1TBNDfWy7plL1viBhNh0njb29LEmt1dXmPe6J4cahpKHYp15odT6DGh8g= =+M6M -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-virtualization@freebsd.org Tue Jun 28 15:08:21 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F584B855F5 for ; Tue, 28 Jun 2016 15:08:21 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5F09B22AA for ; Tue, 28 Jun 2016 15:08:20 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 6C97E20A10A9 for ; Wed, 29 Jun 2016 01:08:13 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id 464732809EF for ; Wed, 29 Jun 2016 01:08:13 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ibUfC5WD962C for ; Wed, 29 Jun 2016 01:08:12 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id B1B992809DA; Wed, 29 Jun 2016 01:08:09 +1000 (AEST) Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve To: Jan Beich References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> <60sv-b0so-wny@vfemail.net> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: Date: Tue, 28 Jun 2016 08:08:13 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <60sv-b0so-wny@vfemail.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=GONKKaFK c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=pD_ry4oyNxEA:10 a=ItjCabk7-noUAEGZIT0A:9 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 15:08:21 -0000 Hi Jan, > Any news since then? virtio-net and virtio-blk work fine if using Qemu + > OVMF 20160418 (a8c39ba) on the same DragonFly disk image where Bhyve + > BHYVE_UEFI_20160526.fd fails. Looking at this: > -- > # virtio-blk story: > > virtio_pci0: port 0x2000-0x203f mem 0xc0002000-0xc0003fff irq 6 at device 4.0 on pci0 The irq value doesn't seem correct for that slot compared to booting FreeBSD. Was this with a recent Dragonfly snapshot ? If you can point me to the release I'd like to give it a try. later, Peter. From owner-freebsd-virtualization@freebsd.org Tue Jun 28 22:06:51 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDF7FB86434 for ; Tue, 28 Jun 2016 22:06:51 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (onethreetwo.vfemail.net [199.16.11.132]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 37D8E227D for ; Tue, 28 Jun 2016 22:06:50 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 66036 invoked by uid 89); 28 Jun 2016 22:06:44 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 28 Jun 2016 22:06:44 -0000 Received: (qmail 66014 invoked by uid 89); 28 Jun 2016 22:06:26 -0000 Received: by simscan 1.3.1 ppid: 66010, pid: 66012, t: 0.0027s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 28 Jun 2016 22:06:26 -0000 Received: (qmail 20398 invoked by uid 89); 28 Jun 2016 22:06:26 -0000 Received: by simscan 1.4.0 ppid: 20380, pid: 20394, t: 0.9747s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 28 Jun 2016 22:06:25 -0000 From: Jan Beich To: Peter Grehan Cc: "freebsd-virtualization\@freebsd.org" Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve In-Reply-To: (Peter Grehan's message of "Tue, 28 Jun 2016 08:08:13 -0700") References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> <60sv-b0so-wny@vfemail.net> Date: Wed, 29 Jun 2016 00:06:16 +0200 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2016 22:06:51 -0000 --=-=-= Content-Type: text/plain Oleg Ginzburg writes: >>> /usr/sbin/bhyve -c 1 -m 4294967296 -A -H -P -s 0:0,hostbridge -s 2:0,virtio- >>> rnd -s 3:0,virtio-net,tap0 ... Does it crash with less than 4G of RAM for you as well? $ bhyve -m 1G ... Unhandled memory access to 0x100000000 Failed to emulate instruction [0x81 0x3c 0x8f 0x5f 0x4d 0x50 0x5f 0x75 0x0e 0xeb 0x05 0xb9 0x00 0x00 0x00] at 0xffffffff80a2e0a7 Peter Grehan writes: >> Any news since then? virtio-net and virtio-blk work fine if using Qemu + >> OVMF 20160418 (a8c39ba) on the same DragonFly disk image where Bhyve + >> BHYVE_UEFI_20160526.fd fails. VirtIO issue isn't specific to UEFI but also happens with Grub2. >> virtio_pci0: port 0x2000-0x203f mem >> 0xc0002000-0xc0003fff irq 6 at device 4.0 on pci0 > > The irq value doesn't seem correct for that slot compared to booting > FreeBSD. > > Was this with a recent Dragonfly snapshot ? If you can point me to > the release I'd like to give it a try. I've used a daily snapshot where the installer still doesn't support GPT/EFI yet. Tested as $ bhyve -l com1,stdio -l bootrom,BHYVE_UEFI.fd -m 4G -s 0,hostbridge \ -s 31,lpc -s 4,virtio-blk,/dev/md0 -s 5,virtio-net,tap0 vm0 vs. $ qemu-system-x86_64 -nographic -bios OVMF.fd -m 256M \ -drive if=virtio,file=/dev/md0 -net nic,model=virtio -net tap,ifname=tap0 after preparing image as follows # see https://www.dragonflybsd.org/mirrors/ $ fetch http://mirrors.nycbug.org/pub/DragonflyBSD/snapshots/x86_64/images/DragonFly-x86_64-20160628-DEV-v4.5.0.1264.gc57fa.img.bz2 $ bunzip2 DragonFly-x86_64-20160628-DEV-v4.5.0.1264.gc57fa.img.bz2 $ mdconfig -f DragonFly-x86_64-20160628-DEV-v4.5.0.1264.gc57fa.img $ gpart destroy -F md0 $ gpart create -s GPT md0 $ gpart add -b 2112 -t dragonfly-ufs md0 $ gpart add -t efi md0 $ newfs_msdos -F 12 -m 0xf8 /dev/md0p2 $ mount -t msdosfs /dev/md0p2 /mnt $ mkdir -p /mnt/efi/boot/ $ mkdir /mnt2 $ mount -t ufs /dev/md0p1 /mnt2 $ install -p /mnt2/boot/boot1.efi /mnt/efi/boot/bootx64.efi $ echo boot_serial=YES >>/mnt2/boot/loader.conf $ echo vfs.root.mountfrom=\"ufs:vbd0s0\" >>/mnt2/boot/loader.conf $ umount /mnt; umount /mnt2; rmdir /mnt2 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJXcvTYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3blcgH/jFuZGkCoqtUDaZ/nk6Xhn0c Nm1dpe17kVHlZocWu+ileOnPVIXbyuEJhyicJgtZR3W89hP1+bv02SeyBrhegoMi LUs/K76ZhpiMJBLCAKDJ1oJA3zpNZHoPP/cvlVbI9BxpsFxprzL/k78Xelhs8cZ1 9Sfqo4OQ6w7KN2vx/FowtkBu0JmKj3fBDKkptjWUnhEB5rwqBqMt4h9qlSOH9YGX mCywULP/lO9sKyztDhtgnQVJsWiUzAnNXvClAV2LdvfOa3ct8wJ6ONb7X9OSVMh1 JR89oQ45VYwaUsuI3s9Ay8H0sYuIOZCyE5dyVLtJbCNITH4eREVDmR1kqDCDSvM= =2v2z -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-virtualization@freebsd.org Wed Jun 29 20:21:12 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11250B85BD2 for ; Wed, 29 Jun 2016 20:21:12 +0000 (UTC) (envelope-from fabian.freyer@physik.tu-berlin.de) Received: from mail.tu-berlin.de (mail.tu-berlin.de [130.149.7.33]) (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 CB972282C for ; Wed, 29 Jun 2016 20:21:11 +0000 (UTC) (envelope-from fabian.freyer@physik.tu-berlin.de) X-tubIT-Incoming-IP: 130.149.50.25 Received: from mail.physik-pool.tu-berlin.de ([130.149.50.25] helo=mail.physik.tu-berlin.de) by mail.tu-berlin.de (exim-4.84_2/mailfrontend-6) with esmtp id 1bILyv-0000up-3M; Wed, 29 Jun 2016 22:21:10 +0200 Received: from [130.149.50.251] (aufsichtskiste.physik-pool.tu-berlin.de [130.149.50.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.physik.tu-berlin.de (Postfix) with ESMTPSA id 1457160D9; Wed, 29 Jun 2016 20:21:01 +0000 (UTC) Subject: Re: bhyve graphics support To: freebsd-virtualization@freebsd.org, Roman Bogorodskiy References: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> From: Fabian Freyer Message-ID: Date: Wed, 29 Jun 2016 22:21:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.1.0 MIME-Version: 1.0 In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 29 Jun 2016 20:21:12 -0000 Hi everybody, I've added some code to support VNC Authentication (as much as a 16-byte DES challenge response could be seen as Authentication) as per https://tools.ietf.org/html/rfc6143#page-10. It's my first time working with this reviews thing - I'm a bit unsure how to set the diff to be based off the projects/ instead of head/, so if I still need to change something, I would. https://reviews.freebsd.org/D7029 It's been tested to work with TightVNC Viewer version 1.3.9. Not sure about other ones - the RFC is a bit unclear here and there. Fabian Freyer From owner-freebsd-virtualization@freebsd.org Thu Jun 30 08:58:15 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0785B87E20 for ; Thu, 30 Jun 2016 08:58:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E9242CAB for ; Thu, 30 Jun 2016 08:58:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5U8wEEJ013613 for ; Thu, 30 Jun 2016 08:58:15 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 208238] [Hyper-V] TSC frequency is not correctly detected: "calcru: runtime went backwards" Date: Thu, 30 Jun 2016 08:58: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 Some People X-Bugzilla-Who: decui@microsoft.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 30 Jun 2016 08:58:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208238 Dexuan Cui changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jun 30 22:33:17 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DAD60B87CAA; Thu, 30 Jun 2016 22:33:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A106A2738; Thu, 30 Jun 2016 22:33:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id B234125D3A9F; Thu, 30 Jun 2016 22:33:13 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id B3AB7D1F892; Thu, 30 Jun 2016 22:33:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Z-9S9yVqyJk4; Thu, 30 Jun 2016 22:33:10 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id BA463C7BC72; Thu, 30 Jun 2016 22:33:10 +0000 (UTC) Date: Thu, 30 Jun 2016 22:33:09 +0000 (UTC) From: "Bjoern A. Zeeb" Reply-To: freebsd-virtualization@freebsd.org To: freebsd-jail@freebsd.org, freebsd-virtualization@freebsd.org, freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Request for VIMAGE testing in 11.0-ALPHA6 and later Message-ID: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 30 Jun 2016 22:33:18 -0000 Hi, during the last weeks and months a lot of changes went into the tree to allow a top-to-bottom network stack teardown to stabilize VNET shutdown and plug some memory leaks. In addition some missing parts were virtualised or the virtualisation was fixed, e.g., pf and ipfilter, ipfw log interface. I have done some testing and stress testing but it's impossible to catch all combinations and setups or even options. So once 11.0-ALPHA6 is out please do test (or if you want to do so now r302302 or later). These changes are only and will only be in FreeBSD 11 for the time being. You will still need to compile your own kernel; GENERIC will not have VIMAGE enabled for 11.0 as that requires at least a performance analysis (due to extra layer of indirection). It will also still print the "experimental" feature line, as we do not want to commit to KPI/KBI or other things yet and we feel more testing would be good. I would advise to start testing on dedicated test-systems and not necessarily production servers but obviously that is your choice. Also if you are using ports that bring their own ifnet interfaces and you are experiencing problems please let us know. If you find problems please file a bug report and make sure to set "vimage" in the Keywords field but feel also free to post to freebsd-virtualisation@ which I'll be monitoring. Thanks a lot to everyone! Bjoern -- Bjoern A. Zeeb r15:7 From owner-freebsd-virtualization@freebsd.org Sat Jul 2 00:44:54 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BBAB6B8F49C for ; Sat, 2 Jul 2016 00:44:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AAAE12BA7 for ; Sat, 2 Jul 2016 00:44:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u620irTN099440 for ; Sat, 2 Jul 2016 00:44:54 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 210425] [Hyper-V]"smartctl -i /dev/da0" on FreeBSD 10.3 on Windows 2010 & 2016 server caused disk detached Date: Sat, 02 Jul 2016 00:44:54 +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: 10.3-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 02 Jul 2016 00:44:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210425 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Jul 2 00:45:45 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3AD4AB8F5C1 for ; Sat, 2 Jul 2016 00:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A1B52CC3 for ; Sat, 2 Jul 2016 00:45:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u620jj7J000785 for ; Sat, 2 Jul 2016 00:45:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-virtualization@FreeBSD.org Subject: [Bug 210410] /usr/share/examples/bhyve/vmrun.sh assumes virtio_diskdev must be a regular file Date: Sat, 02 Jul 2016 00:45:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 02 Jul 2016 00:45:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210410 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-virtualization@Free | |BSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sat Jul 2 07:29:47 2016 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1F71EB8FE88 for ; Sat, 2 Jul 2016 07:29:47 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id C4F5F2AE8 for ; Sat, 2 Jul 2016 07:29:46 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from iredmail.onthenet.com.au (iredmail.onthenet.com.au [203.13.68.150]) by alto.onthenet.com.au (Postfix) with ESMTPS id 0224E20A40C7 for ; Sat, 2 Jul 2016 17:29:34 +1000 (AEST) Received: from localhost (iredmail.onthenet.com.au [127.0.0.1]) by iredmail.onthenet.com.au (Postfix) with ESMTP id EF310280F66 for ; Sat, 2 Jul 2016 17:29:33 +1000 (AEST) X-Amavis-Modified: Mail body modified (using disclaimer) - iredmail.onthenet.com.au Received: from iredmail.onthenet.com.au ([127.0.0.1]) by localhost (iredmail.onthenet.com.au [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QqlJob07_oxn for ; Sat, 2 Jul 2016 17:29:33 +1000 (AEST) Received: from Peters-MacBook-Pro-2.local (c-67-180-92-13.hsd1.ca.comcast.net [67.180.92.13]) by iredmail.onthenet.com.au (Postfix) with ESMTPSA id A11BE2804DA; Sat, 2 Jul 2016 17:29:31 +1000 (AEST) Subject: Re: VirtIO Ethernet driver in DragonFlyBSD under FreeBSD bhyve To: Jan Beich References: <9893747.yFCcEWVR7f@gizmo.my.domain> <56ABFE12.4060805@freebsd.org> <60sv-b0so-wny@vfemail.net> Cc: "freebsd-virtualization@freebsd.org" From: Peter Grehan Message-ID: Date: Sat, 2 Jul 2016 00:29:33 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=PozRVEE3 c=1 sm=1 tr=0 a=A6CF0fG5TOl4vs6YHvqXgw==:117 a=5eVCmCvhg37cu/pjidAGzw==:17 a=N659UExz7-8A:10 a=cAmyUtKerLwA:10 a=1ayNFcg3gT5IWzX6UYoA:9 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.22 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, 02 Jul 2016 07:29:47 -0000 Hi Jan, > I've used a daily snapshot where the installer still doesn't support > GPT/EFI yet. Tested as > > $ bhyve -l com1,stdio -l bootrom,BHYVE_UEFI.fd -m 4G -s 0,hostbridge \ > -s 31,lpc -s 4,virtio-blk,/dev/md0 -s 5,virtio-net,tap0 vm0 Thanks for the info. There's definitely an interrupt issue with virtio on bhyve and DFly. The MSI capability confuses DFly, but when I took that out, interrupt storms resulted in hanging the VM. Using ahci-hd instead of virtio-blk will give you a working boot, though without networking until the interrupt situation is debugged :( On this: > Does it crash with less than 4G of RAM for you as well? > > $ bhyve -m 1G ... > Unhandled memory access to 0x100000000 > Failed to emulate instruction [0x81 0x3c 0x8f 0x5f 0x4d 0x50 0x5f 0x75 0x0e 0xeb 0x05 0xb9 0x00 0x00 0x00] at 0xffffffff80a2e0a7 From DFly kgdb, the RIP is (kgdb) x/i 0xffffffff80a2e217 0xffffffff80a2e217 : cmpl $0x5f504d5f,(%rdi,%rcx,4) .. so it's the MPTable scan that is failing. I'll look into this one as well. later, Peter.