From owner-freebsd-virtualization@freebsd.org Sun Jun 23 13:45:00 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1193815D18BA for ; Sun, 23 Jun 2019 13:45:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 94F378BF00 for ; Sun, 23 Jun 2019 13:44:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 554EC15D18B9; Sun, 23 Jun 2019 13:44:59 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32E4115D18B7 for ; Sun, 23 Jun 2019 13:44:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C55EA8BEFE for ; Sun, 23 Jun 2019 13:44:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 292E81389B for ; Sun, 23 Jun 2019 13:44:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5NDiwJ5099315 for ; Sun, 23 Jun 2019 13:44:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5NDiwjg099314 for virtualization@FreeBSD.org; Sun, 23 Jun 2019 13:44:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 205549] bhyve pci passthru stops working after guest is restarted Date: Sun, 23 Jun 2019 13:44:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julien.mstr320@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Jun 2019 13:45:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205549 --- Comment #13 from julien M --- (In reply to arkadyi from comment #12) If you are running 12.0, you have to apply the patches in that order: 1) patch with revision 348778=20 2) patch with revision 348779 3) patch with D20623 (In reply to John Baldwin from comment #11) Retested with your last revision. The problem still exists. BEFORE installing Ubuntu 18.04 on Bhyve (first launch): $ pciconf -r ppt4 0x3f 145c1022 00100007 0c033000 00800010 d9b00004 00000000 00000000 00000000 00000000 00000000 00000000 50071458 00000000 00000048 00000000 00000325 WHILE the install is running (and passthru is working): $ pciconf -r ppt4 0x3f 145c1022 00100407 0c033000 00800010 d9b00004 00000000 00000000 00000000 00000000 00000000 00000000 50071458 00000000 00000048 00000000 00000325 AFTER VM POWER OFF: $ pciconf -r ppt4 0x3f 145c1022 00100003 0c033000 00800010 d9b00004 00000000 00000000 00000000 00000000 00000000 00000000 50071458 00000000 00000048 00000000 00000325 AFTER VM START (for the 2nd time): $ pciconf -r ppt4 0x3f 145c1022 00100407 0c033000 00800010 d9b00004 00000000 00000000 00000000 00000000 00000000 00000000 50071458 00000000 00000048 00000000 00000325 CHANGES: 00100007 =3D> 00100407 I don't know if I'm missing something? Patches all succeeded except one whi= ch had to be modified manually. Kernel + world were rebuilt and reinstalled (e= ven though that's overkill). PS:=20 In my case, the 3 passthroughs are just meant to get the USB passthru for m= ouse and keyboard. This is the device to be passed: ppt2@pci0:8:0:0: class=3D0x130000 card=3D0x145a1022 chip=3D0x145a102= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Zeppelin/Raven/Raven2 PCIe Dummy Function' class =3D non-essential instrumentation ppt3@pci0:8:0:2: class=3D0x108000 card=3D0x14561022 chip=3D0x1456102= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 17h (Models 00h-0fh) Platform Security Processor' class =3D encrypt/decrypt ppt4@pci0:8:0:3: class=3D0x0c0330 card=3D0x50071458 chip=3D0x145c102= 2 rev=3D0x00 hdr=3D0x00 vendor =3D 'Advanced Micro Devices, Inc. [AMD]' device =3D 'Family 17h (Models 00h-0fh) USB 3.0 Host Controller' class =3D serial bus subclass =3D USB The only usefull one is then pci0:8:0:3 but I was under the impression that= you have to pass everything or nothing, not just one "device" of the group "8:0= :X". --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Sun Jun 23 14:22:25 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B2EC15D2304 for ; Sun, 23 Jun 2019 14:22:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C9AD48D0FC for ; Sun, 23 Jun 2019 14:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8D52D15D2303; Sun, 23 Jun 2019 14:22:24 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 690BE15D2302 for ; Sun, 23 Jun 2019 14:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 045A88D0F6 for ; Sun, 23 Jun 2019 14:22:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2A71613E39 for ; Sun, 23 Jun 2019 14:22:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5NEMNSV076004 for ; Sun, 23 Jun 2019 14:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5NEMNZW075987 for virtualization@FreeBSD.org; Sun, 23 Jun 2019 14:22:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 205549] bhyve pci passthru stops working after guest is restarted Date: Sun, 23 Jun 2019 14:22:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: julien.mstr320@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 23 Jun 2019 14:22:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205549 --- Comment #14 from julien M --- (In reply to John Baldwin from comment #10) Sorry, forgot the output: $ pciconf -lc ppt2@pci0:8:0:0: class=3D0x130000 card=3D0x145a1022 chip=3D0x145a102= 2 rev=3D0x00 hdr=3D0x00 cap 09[48] =3D vendor (length 8) cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[64] =3D PCI-Express 2 endpoint max data 256(256) RO NS link x16(x16) speed 8.0(8.0) ASPM disabled(L0s/L1) ecap 000b[100] =3D Vendor 1 ID 1 ecap 0001[150] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 0019[270] =3D PCIe Sec 1 lane errors 0 ecap 000d[2a0] =3D ACS 1 ppt3@pci0:8:0:2: class=3D0x108000 card=3D0x14561022 chip=3D0x1456102= 2 rev=3D0x00 hdr=3D0x00 cap 09[48] =3D vendor (length 8) cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[64] =3D PCI-Express 2 endpoint max data 256(256) RO NS link x16(x16) speed 8.0(8.0) ASPM disabled(L0s/L1) cap 05[a0] =3D MSI supports 2 messages, 64 bit cap 11[c0] =3D MSI-X supports 2 messages, enabled Table in map 0x24[0x0], PBA in map 0x24[0x1000] ecap 000b[100] =3D Vendor 1 ID 1 ecap 0001[150] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 000d[2a0] =3D ACS 1 ppt4@pci0:8:0:3: class=3D0x0c0330 card=3D0x50071458 chip=3D0x145c102= 2 rev=3D0x00 hdr=3D0x00 cap 09[48] =3D vendor (length 8) cap 01[50] =3D powerspec 3 supports D0 D3 current D0 cap 10[64] =3D PCI-Express 2 endpoint max data 256(256) RO NS link x16(x16) speed 8.0(8.0) ASPM disabled(L0s/L1) cap 05[a0] =3D MSI supports 8 messages, 64 bit enabled with 1 message ecap 000b[100] =3D Vendor 1 ID 1 ecap 0001[150] =3D AER 2 0 fatal 0 non-fatal 1 corrected ecap 000d[2a0] =3D ACS 1 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Mon Jun 24 15:44:29 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEB3215D1171; Mon, 24 Jun 2019 15:44:29 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E7EC7364D; Mon, 24 Jun 2019 15:44:19 +0000 (UTC) (envelope-from darkfiberiru@gmail.com) Received: by mail-oi1-x231.google.com with SMTP id e189so10082056oib.11; Mon, 24 Jun 2019 08:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kLtHtWe7vCZXmJxDQeko5dETl8pL7OGqwl26cdFTpR0=; b=mrCCBvtGtvVBiyijEnyJgizrBrbrnLGtfpdfo4aDhx1HQDsbXgdVTtTE3FAnmRO+nh m+ZlC8S42nXs+Wpej6f8ZrGBIUeh30P61b1omIlNV+gJMHrMf/IwVAAWuE5Omgu0cn24 M0NlQ7ck4UOKEUrmeUtGXm2cxFVU6FvspoTvBJZjwOX488lLqs0IjvrOZe6ZP1h3DeGJ DQrmtvu2whdisGN+ZxRCgQ86mnigmbZMjGcCYX/ZHlOhzODl+1XCR0/O44IUAEJ/kI+q k+vuSXR1bjQ+0HPa5Ghl4i0k6UfO2Vi2yMPS8mga/dGp4PRI/WNHPZnUYsrxpjky7SKR 7Ncg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kLtHtWe7vCZXmJxDQeko5dETl8pL7OGqwl26cdFTpR0=; b=fWO9z5Al2+WmfwMeT14nVOh/A2XKXHdYg3qGxUP/pVnfnedk/hwK+vKxn9dzdXNxNp jBXyRf77KEVYAV+ik4ruVnluC7Qsrslz6nFunc7z/cohgaX8hsoE7YKjppnZJk4xeQ1d Muh6ULnUqnnKhmKdjSbvNgo9wLrDzoy8o/EV9N5XckNyr3WoYW4N1P5dMjNAwZhzKEq1 hAunRKiS3aQdyzIK/jPh9Yyer9ummzWwjbKpwNVu1yqGMYw7MUbMxtF9RPsiuABdR/SR N3XK1DuUSi/fhRAdLbubdv0NsPLA9zFaIy2dv1anyj73DoD2IzODnXBacT9fO8nUSddq qUHg== X-Gm-Message-State: APjAAAXVQMvBHCUg4Fvh6/FqKJMl/YcA9s0nVoc2vEria9L/Iz/2uI9K NMmblS0tMlzOS2v8Pz6MSgYZOCSNee7qplG/OmBPbkBa X-Google-Smtp-Source: APXvYqwvjLD+Hbo9W1bfNt9fJdABWe9FQraqvV9RX94KmxykaCWdZbwYbQVLaLQF9V6mYBsjwjoGNxodlqJUef6ldHk= X-Received: by 2002:aca:c186:: with SMTP id r128mr10880660oif.173.1561391058066; Mon, 24 Jun 2019 08:44:18 -0700 (PDT) MIME-Version: 1.0 References: <201806130737.w5D7bHxX038233@pdx.rh.CN85.dnsmgr.net> <91705d37-7a15-afcd-cadd-c14c6a43eb84@callfortesting.org> In-Reply-To: From: Nick Wolff Date: Mon, 24 Jun 2019 11:44:29 -0400 Message-ID: Subject: Re: ARMv8 development board with GICv3 To: Marcin Wojtas Cc: Alexandru Elisei , Jim Thompson , "Rodney W. Grimes" , freebsd-arm , freebsd-virtualization@freebsd.org X-Rspamd-Queue-Id: 0E7EC7364D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=mrCCBvtG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of darkfiberiru@gmail.com designates 2607:f8b0:4864:20::231 as permitted sender) smtp.mailfrom=darkfiberiru@gmail.com X-Spamd-Result: default: False [-6.95 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.97)[ip: (-9.31), ipnet: 2607:f8b0::/32(-3.14), asn: 15169(-2.33), country: US(-0.06)]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 24 Jun 2019 15:44:30 -0000 If anyone finds any information on raspberry pi4 and it's bcm2711 that just released I will be very interested to see if it's a suitable testing platform. Not able to find documentation yet to validate that the interrupt controller. Rest looks good. On Sat, Jun 16, 2018 at 5:32 AM Marcin Wojtas wrote: > 2018-06-15 20:40 GMT+02:00 Alexandru Elisei : > > > > On Fri, Jun 15, 2018 at 8:51 PM, Jim Thompson wrote: > > > > > > > > > https://gist.github.com/gonzopancho/760ab9ecee9dfbc1b6033e48647a4b48 > > > > > > Note: we haven=E2=80=99t upstreamed everything. Yet. > > > > Is FreeBSD bootable on the board and the NIC working? > > In 2017 I pushed patches and the board was booting with the network, > USB and SATA. However I know that loos from Netgate has improved the > overall support - as a result we can see the log Jim provided. > > > > > > macchiato.bin needs interrupts and NIC drivers, and seems a better > target > > > for bhyve > > > > > > machiatto.bin 4C A72 @ 1.6GHz/2.0GHz, 16GB DDR4 > > > > > > espresso.bin 2C A53 @1.0GHz and1/2GB DDR3 (*) > > Just one note - macchiato.bin is using GICv2m and espresso - GICv3. > > Best regards, > Marcin > > > > > > > Jim > > > > > > (*) Very new espresso.bin has 1.2GHz SoC and DDR4, and you can plug a > SATA > > > drive in, including power. > > > https://i.imgur.com/5fc2vv0.jpg > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to " > freebsd-virtualization-unsubscribe@freebsd.org" > From owner-freebsd-virtualization@freebsd.org Mon Jun 24 17:06:54 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A14415D2ECD; Mon, 24 Jun 2019 17:06:54 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (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 A3F5C76AC4; Mon, 24 Jun 2019 17:06:52 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x5OH6oBW044648; Mon, 24 Jun 2019 10:06:50 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id x5OH6nfb044647; Mon, 24 Jun 2019 10:06:49 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201906241706.x5OH6nfb044647@gndrsh.dnsmgr.net> Subject: Re: ARMv8 development board with GICv3 In-Reply-To: To: Nick Wolff Date: Mon, 24 Jun 2019 10:06:49 -0700 (PDT) CC: Marcin Wojtas , freebsd-virtualization@freebsd.org, Jim Thompson , freebsd-arm X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: A3F5C76AC4 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.55 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: gndrsh.dnsmgr.net]; NEURAL_SPAM_LONG(0.68)[0.683,0]; NEURAL_HAM_SHORT(-0.13)[-0.132,0]; NEURAL_SPAM_MEDIUM(0.07)[0.070,0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(0.04)[ip: (0.14), ipnet: 69.59.192.0/19(0.07), asn: 13868(0.05), country: US(-0.06)] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 24 Jun 2019 17:06:54 -0000 > If anyone finds any information on raspberry pi4 and it's bcm2711 that just > released I will be very interested to see if it's a suitable testing > platform. Not able to find documentation yet to validate that the interrupt > controller. Rest looks good. A little bit of foot work and things tell me that chip has a GIC400 in it, and the GIC400 says: GIC-400 can be configured to support only the required number of cores and interrupts to reduce gate count. GIC-400 implements GICv2 architecture, Security and Virtualization Extensions, for more information see Arm Generic Interrupt Controller Architecture version 2.0. So, no, this is not a V3 gic, so no bhyve/arm is not going to work on it. > On Sat, Jun 16, 2018 at 5:32 AM Marcin Wojtas wrote: > > > 2018-06-15 20:40 GMT+02:00 Alexandru Elisei : > > > > > > On Fri, Jun 15, 2018 at 8:51 PM, Jim Thompson wrote: > > > > > > > > > > > > https://gist.github.com/gonzopancho/760ab9ecee9dfbc1b6033e48647a4b48 > > > > > > > > Note: we haven?t upstreamed everything. Yet. > > > > > > Is FreeBSD bootable on the board and the NIC working? > > > > In 2017 I pushed patches and the board was booting with the network, > > USB and SATA. However I know that loos from Netgate has improved the > > overall support - as a result we can see the log Jim provided. > > > > > > > > > macchiato.bin needs interrupts and NIC drivers, and seems a better > > target > > > > for bhyve > > > > > > > > machiatto.bin 4C A72 @ 1.6GHz/2.0GHz, 16GB DDR4 > > > > > > > > espresso.bin 2C A53 @1.0GHz and1/2GB DDR3 (*) > > > > Just one note - macchiato.bin is using GICv2m and espresso - GICv3. > > > > Best regards, > > Marcin > > > > > > > > > > Jim > > > > > > > > (*) Very new espresso.bin has 1.2GHz SoC and DDR4, and you can plug a > > SATA > > > > drive in, including power. > > > > https://i.imgur.com/5fc2vv0.jpg -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-virtualization@freebsd.org Mon Jun 24 22:01:01 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1185E15DAA27 for ; Mon, 24 Jun 2019 22:01:01 +0000 (UTC) (envelope-from k@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (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 7F3D98AF94 for ; Mon, 24 Jun 2019 22:00:59 +0000 (UTC) (envelope-from k@free.de) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.free.de (Postfix) with ESMTPSA id 1FF951162C for ; Tue, 25 Jun 2019 00:00:49 +0200 (CEST) To: freebsd-virtualization@freebsd.org From: Kai Gallasch Subject: ZVOL backed bhyve VMs running on UFS or ZFS - Best practices, pros and cons, performance Openpgp: preference=signencrypt Autocrypt: addr=k@free.de; prefer-encrypt=mutual; keydata= xsFNBFHV6PQBEAC46oZo3Nv4qBhAkFDUyIZH1g58rIMAMCdSFWcnorZiv2tCWXuKYxFY1P5K IjYw3Mnwpi7NneCtnxgPEbZbIEqxk9dnL2yYSdT5dPlfWw5KPvIcKhzOQZTf6mOC+dNsj9Ek UGPXW1cLnG5TOzKGEIFSaZPLECUcGl3temkEvcqW74A6ms2dOMIH5snY9mptGTEyqtiT6Rhd sFuRZuj3NA1IFxpVMwfWJ0iBk+YK/2s5HQVj/mhAfDhShcjfASxxZhLrDYn3Xgj+BRAxW6S3 BCqc97EL9Hayz3U9jEnbDCoSbZK/Fn651YZ5gVOQ/Os9nZ9z/rPRYeKGm11P0tyMFbsfuROz ZpPVRV07Ms4Cdxrwck6i4W51n+fIelVa1Pm71mtzhxBJdDx8fmuLRd7cMaGvYGiYPw4DOG8d q2ZlQbfYHgvo3zqmVJixv4+ZlGZspsZf1wvvqYqttLnVuepQrbpVX6vMWqii6p3dBasSnULx 2sulzQ943ow862hw2OcaLDkTIuEjE4ebnMgclGwvvGQOFfoZfdnf8DSSZM55+l4lBV19ueu+ ynKqtBNJj+GxBYMjy1dCqUpYXaXo47crPKGsvDCu1CWAu+W6kKjRPNZhLzRkEWzMfb3koxm2 tgaW1TPvGJfnLbxh+/X9cEpJUWArug11M9EQoBB1XJlxQbjW9wARAQABzRhLYWkgR2FsbGFz Y2ggPGtAZnJlZS5kZT7CwYAEEwEKACoCGwMFCwkIBwMFFQoJCAsFFgMCAQACHgECF4ACGQEF AllXbC8FCQtD6jYACgkQcGVNfE+x9Yj2Jw//fL0Tm6HX/yeyr5qumeSjI78ocxTLdkp7Lvo1 2JsmJ2uGZbasOjzgskEcz5+UPoq65H9pGxkpYyPw7Ps7nwPkle7kx90/ODD5BtwCVmfDY0fy NhJCVgwF/ekvF5tgX5d2GuIRWsxk/zKnPt3/djl7HV3XPeR5Vv9S53f2xPHHribeqdMs0ZaQ pHoKLC614X5JidySJXZw2zOV1BhbzYxDlPI5P0c+QboHkJh6KVMeuBc7cXZlumkoeLUhnAO2 jv1QabnfJY06jEIEPIJ7KRrkCY0HLnXSs7MuJuLEVF6ll1RKtuYJuhUAdWFlj8+L4JXS8cWg OFyGpXonC+Y/LD4V3T/CNUVEtlwNbDDVFjtd8R7A4ouQTchFTgw/dM3SxxS8l6UsXItAvOPo pTnUrl36YxWULFTuQh6AQa0piJilMiokBhfzTOfqfUs7iXRJe0ZFwi+fwWuuz3VHjOm3WUwX 3Rw7kB8RlzaGJp+LL8GhfnI1RoU2Bg87aEk+vm7+yivY4lbPK5nUwk4TJTMlcRCOqxwKzwWv NzZhYZHAJhwdhARmi4O27z/qtI/VeDhNvkesHqf9GUz9U0f/2MOvK41PyhBjcbm1Jui9Djdm WSBjgCR69P23uJOX7Iv9eOxPtBsbReHZAr7P5ngahtXQckFQlG69GNZ9k6mdKz7wGuuLFiTO wU0EUdXo9AEQANkUT0xdxeDDPh/U6+5lQmcBgDkKqd9L9QBTgW28vvY+5OzkjIz4LmnCZCpq boFZNEOvgRM5BLtL5YIeKGKADvYoe/iRQan5xAgO+zgamCY58KL73046P1YhstW3Ka0+yKw5 i4WfeWPF4vXTLkZZjtyU77wOx0Dn0gEFyvKispUwL5YZP2oI7jEqRhSouysuJMmUw5vYF+GM H4oJQhIqVzYKVyT2K96je14dWvbLuRbmUCqLH4lTYMkx5xs5dAOLy8PanMV0lCQRdZ6pIarq GO7+lxdnLx85JpmmQpnZmyxOSIgATrfL/vti6oUoTPyJYI5aPGtMuLuP348JjblUxZs1tCx+ oTHUzj+S0YMTrGkzqG7JW2oMQY9H9mEIM2A9MPNiFm2VIFiiZAT/siWp/IpT3cdAIKrF1c8f fl9CM4xorxk6jhdguLqh5RZYsAIRtLwBJWZFG4gpDdHIEZibkIkPPzi6Frz9PGwjMEsGP+nP pHdkTxlC4XG9DaO5djbJYiSQQmaxQf59g0ukpNMoM8gxfVtbnfZWgFlaYitJwp33GpbpgUBS aYOtKdATmyqMnD05vWHrjp+3UeSrR0hA6VPBVya8Slivmzo0ROVm0yeMKNSUdhoAqeVVkYq2 TMHx++yh2I7kVvhMI1SCMKwvyOVRiCDC/Mf3jMMRLFUTQGRrABEBAAHCwWUEGAEKAA8CGwwF AllXbvQFCQtD7PsACgkQcGVNfE+x9Yg5vA//ROIcyVX9RNK2IlklDPO4S5CWJx1ZH4E2SvvU fY2EJG3j6oXClscZhonrfWV/97+446QNFL734KcUf1ZW4oeEH+x3huT36H+OKCBsYjy+kNLn AkItHhzNPSrAjqbRHxhMVk0hrxwYDBQ50F9bqTynhhll8AiSWnbuLtiMyUsbjP4BPRun+7nG e/wFvWLxYUL8taAoLtW2lLpGjd+OEZvgDY7V1gx56FxaRK/QOCLI4otfm8Rgl/Z/lw0bR+P1 vYPS8b5pmw109bJBpdgKjgbhEawg6S63wVBnjwh6i6D1SqsXZ58NkD2i+QO+nw41DyEJpvfT nlZTfeAmMeeMAM3iiEZXs+hqhSyiCjO13MyGrP1B0gAqAueotvuXqemxJ1QTHRqjECxTkao3 hfXo+V7Gm2Eg61IQTpl57f1OyRzv7V+qb9LJVJMIShh0O4vq9eNa6loJ+Q8NDGMDOeRLdnNU mBY4fEdrdX822SlK3sz7cQMm29R3AxrlwMzixMaNczwzYw+A4BE3j6ZPrKxI+DIVM5I5dCzd rarz98nrDo+6UXjAtErUB89fC2X8sZUsOkWkWEHBSZd5TMe72GLojnfA/Lkl+pWuIWYCdpEU vbvAc4LlamA3msqexwt1kthAXPUbfEev3+COto26uxCkFc2btIq6uOA3JoH3WJS4/89V5d8= Message-ID: <91ce1f2e-7e5c-2e1f-51bf-64185b53798a@free.de> Date: Tue, 25 Jun 2019 00:00:49 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 7F3D98AF94 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of k@free.de designates 91.204.6.103 as permitted sender) smtp.mailfrom=k@free.de X-Spamd-Result: default: False [-6.54 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[free.de]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MX_GOOD(-0.01)[pop.free.de]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; RCVD_IN_DNSWL_NONE(0.00)[103.6.204.91.list.dnswl.org : 127.0.10.0]; IP_SCORE(-3.75)[ip: (-9.86), ipnet: 91.204.4.0/22(-4.93), asn: 31371(-3.94), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31371, ipnet:91.204.4.0/22, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 24 Jun 2019 22:01:01 -0000 Hi. I am planning to convert several 11.2 FreeBSD Jails into bhyve VMs. My bhyve setup uses a ZVOL for each VM (currently Debian and Ubuntu Linux using ext3/4) and I want to keep it that way for the new FreeBSD VMs. I really like the idea of having ZFS as file system inside the FreeBSD guests, but wonder if there are any strong points against running ZFS on top of ZFS. - Is the I/O performance of a FreeBSD guest with ZFS much worse compared to a UFS only guest or only e.g. 1/3 slower. Any numbers? - Wasted RAM allocation: Do FreeBSD guests with ZFS make any sense for small memory allocations < 2 GB? (Because ZFS caches will possibly consume most of the memory) - I/O bloat? Will you waste performance on the physical disks on the host server when running most of your bhyve guests with ZFS? - What ZFS send/receive performance can be expected in and out of a ZFS guest running on top of a ZVOL? (Is there an I/O penalty?) - Are there any ZFS or ZPOOL parameters inside the ZFS guest that should be tuned to reflect the situation that they are virtualized on a ZVOL? (maybe to save precious RAM) - Zpool Scrubbing inside the VM should not be necessary, right? - Can the file system journaling of a ZVOL hosted FreeBSD guest running UFS cope with a crash of the host server? Will the UFS journaling keep the file guest system integrity even if an older ZVOL snapshot of the VM will be rolled back (VM not running; Auto-Snapshot from the VM in state "running") Regards, Kai. From owner-freebsd-virtualization@freebsd.org Mon Jun 24 22:40:28 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5FEFB15DB2E8 for ; Mon, 24 Jun 2019 22:40:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id EF4868C00E for ; Mon, 24 Jun 2019 22:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id AF9FF15DB2E7; Mon, 24 Jun 2019 22:40:27 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E03215DB2E6 for ; Mon, 24 Jun 2019 22:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D3FD8C00B for ; Mon, 24 Jun 2019 22:40:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7C6DF534E for ; Mon, 24 Jun 2019 22:40:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5OMeQvv080113 for ; Mon, 24 Jun 2019 22:40:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5OMeQgS080112 for virtualization@FreeBSD.org; Mon, 24 Jun 2019 22:40:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 234134] Increase VM_MAX_NAMELEN value Date: Mon, 24 Jun 2019 22:40:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: scottl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rgrimes@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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, 24 Jun 2019 22:40:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234134 Scott Long changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |scottl@FreeBSD.org --- Comment #10 from Scott Long --- VM_MAX_NAMELEN can be increased to 63 right now. Any larger and it exceeds= the length allowed by the devfs (i.e. /dev) filesystem via the SPECNAMELEN limi= t.=20 Truncating names in those nodes will be problematic, and increasing the lim= it will require a significant amount of code review and testing. Would 63 be = good enough for now? --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jun 25 03:26:34 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F6B715B9D70 for ; Tue, 25 Jun 2019 03:26:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 17D056E3C2 for ; Tue, 25 Jun 2019 03:26:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CEFDF15B9D6E; Tue, 25 Jun 2019 03:26:33 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA73F15B9D6D for ; Tue, 25 Jun 2019 03:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B60D6E3C1 for ; Tue, 25 Jun 2019 03:26:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7A3037C06 for ; Tue, 25 Jun 2019 03:26:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5P3QWxj007210 for ; Tue, 25 Jun 2019 03:26:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5P3QWdJ007202 for virtualization@FreeBSD.org; Tue, 25 Jun 2019 03:26:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Tue, 25 Jun 2019 03:26:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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.29 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, 25 Jun 2019 03:26:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 Bug ID: 238794 Summary: LAPIC register test failure with OpenBSD 6.5-snapshot guest Product: Base System Version: 11.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: jason@tubnor.net OpenBSD has just imported LLVM 8.0 into -current and the way the compiler builds code to test the LAPIC register has changed (though still valid according to Intel documentation). guenther@ from the OpenBSD project provided some insights based on informat= ion provided. Below is an extract from the email thread: > Below is output from bhyve.log: >=20 > rdmsr to register 0xc80 on vcpu 0 > Failed to emulate instruction [0xf7 0x04 0x25 0x00 0xd3 0xd1 0x81 0x00 0x= 10 > 0x00 0x00 0x74 0x08 0xf3 0x90] at 0xffffffff817648f0 According to objdump -d, that's: f7 04 25 00 d3 d1 81 testl $0x1000,0xffffffff81d1d300 00 10 00 00 74 08 je f3 90 pause That's testing the LAPIC ICRLO, a memory-mapped register. Previously, the= =20 compiler generated code like this: 8b 0c 25 00 63 cf 81 mov 0xffffffff81cf6300,%ecx f7 c1 00 10 00 00 test $0x1000,%ecx 74 09 je f3 90 pause=20=20 where it loaded the LAPIC register into %ecx and then tested that value;=20 now it combines them and does a direct test. Congrats, that's legal=20 according to Intel (reportedly, Windows will use SSE(!) instructions to=20 read LAPIC registers), so this seems like a bug in Bhyve. The full thread can be found here: https://marc.info/?l=3Dopenbsd-bugs&m=3D156142900518812&w=3D2 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jun 25 03:39:27 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C09E615BB0F4 for ; Tue, 25 Jun 2019 03:39:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2A0126E797 for ; Tue, 25 Jun 2019 03:39:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DEB9F15BB0F3; Tue, 25 Jun 2019 03:39:26 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C993C15BB0F2 for ; Tue, 25 Jun 2019 03:39:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DB6E6E796 for ; Tue, 25 Jun 2019 03:39:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6B3447D80 for ; Tue, 25 Jun 2019 03:39:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5P3dPbh048915 for ; Tue, 25 Jun 2019 03:39:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5P3dPYe048914 for virtualization@FreeBSD.org; Tue, 25 Jun 2019 03:39:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Tue, 25 Jun 2019 03:39:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: flagtypes.name bug_status keywords 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.29 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, 25 Jun 2019 03:39:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |mfc-stable11?, | |mfc-stable12? Status|New |Open Keywords| |needs-patch, needs-qa --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jun 25 04:18:00 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0509B15BBCFC for ; Tue, 25 Jun 2019 04:18:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 903396F6AF for ; Tue, 25 Jun 2019 04:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 535D815BBCFB; Tue, 25 Jun 2019 04:17:59 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4001115BBCFA for ; Tue, 25 Jun 2019 04:17:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD7636F6A8 for ; Tue, 25 Jun 2019 04:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 08A0B832B for ; Tue, 25 Jun 2019 04:17:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5P4Hvwv032700 for ; Tue, 25 Jun 2019 04:17:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5P4HvZa032699 for virtualization@FreeBSD.org; Tue, 25 Jun 2019 04:17:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 234134] Increase VM_MAX_NAMELEN value Date: Tue, 25 Jun 2019 04:17:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: kwiat3k@panic.pl X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: rgrimes@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 25 Jun 2019 04:18:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234134 --- Comment #11 from Mateusz Kwiatkowski --- Hi Scott, Thank you for chiming in. Yes, 63 is fine for our use case. Internally we=E2=80=99re we use limit of = 64 and works fine. All VM has UUIDs as their names so well below that though. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jun 25 14:01:50 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AC3415CD630 for ; Tue, 25 Jun 2019 14:01:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D76648C8C8 for ; Tue, 25 Jun 2019 14:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9505D15CD62F; Tue, 25 Jun 2019 14:01:49 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82EA515CD62E for ; Tue, 25 Jun 2019 14:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F7938C8C4 for ; Tue, 25 Jun 2019 14:01:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 66816D880 for ; Tue, 25 Jun 2019 14:01:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5PE1mV8005253 for ; Tue, 25 Jun 2019 14:01:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5PE1mr0005252 for virtualization@FreeBSD.org; Tue, 25 Jun 2019 14:01:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Tue, 25 Jun 2019 14:01:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: bug_status cc bug_file_loc 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.29 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, 25 Jun 2019 14:01:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 John Baldwin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Open |In Progress CC| |jhb@FreeBSD.org URL| |https://reviews.FreeBSD.org | |/D20755 --- Comment #1 from John Baldwin --- Please try the patch at the phab URL. I have only compile-tested it, but it should emulate the TEST instruction clang is using in this case. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Tue Jun 25 16:57:59 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C54BE15D157F for ; Tue, 25 Jun 2019 16:57:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 57A216C11E for ; Tue, 25 Jun 2019 16:57:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 129A315D157E; Tue, 25 Jun 2019 16:57:59 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 00EF215D157C for ; Tue, 25 Jun 2019 16:57:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 943486C11B for ; Tue, 25 Jun 2019 16:57:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id CBAD5F0B1 for ; Tue, 25 Jun 2019 16:57:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5PGvvbW016425 for ; Tue, 25 Jun 2019 16:57:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5PGvvgi016424 for virtualization@FreeBSD.org; Tue, 25 Jun 2019 16:57:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 205549] bhyve pci passthru stops working after guest is restarted Date: Tue, 25 Jun 2019 16:57:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jhb@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 25 Jun 2019 16:58:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205549 --- Comment #15 from John Baldwin --- You should be able to just pass through the single USB controller AFAIK. The effect of the patch is somewhat hard to measure since it changes the initial value while the VM is starting before the guest starts executing.=20 While the guest is executing and MSI interrupts are enabled, that 0x400 bit should be set (it disables legacy INTx interrupts). However, to back up a bit, can you clarify how the device does not work on = the Linux guest, i.e. does Linux attach a driver to the device but not see devi= ces that are plugged in? Another thing to check is if you can use devctl to change the device driver= to xhci so that it uses the host driver and see if that works? You can use a GENERIC kernel and use 'devctl set driver -f xhci0 ppt' to change it to passthrough after boot and then use 'devctl clear driver -f ppt0' to switch= it back to xhci0 after shutting down the guest. Another test that might be easier is to boot windows after booting Linux and seeing if the controller works fine in Windows. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 02:31:26 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B37D215DD4F3 for ; Wed, 26 Jun 2019 02:31:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 4E32F88E3A for ; Wed, 26 Jun 2019 02:31:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 11B0115DD4F2; Wed, 26 Jun 2019 02:31:26 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0035015DD4F1 for ; Wed, 26 Jun 2019 02:31:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8E41388E35 for ; Wed, 26 Jun 2019 02:31:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BFE21141EE for ; Wed, 26 Jun 2019 02:31:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5Q2VO4f027666 for ; Wed, 26 Jun 2019 02:31:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5Q2VOYN027664 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 02:31:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 02:31:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Jun 2019 02:31:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 --- Comment #2 from Jason Tubnor --- D19975 needed to be applied before D20755. Both patched and built correctly. Issue still remains below is the output of bhyve.log: rdmsr to register 0xc80 on vcpu 0 vm_run error -1, errno 22 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 03:06:06 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A957315DDD22 for ; Wed, 26 Jun 2019 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3D56F89D20 for ; Wed, 26 Jun 2019 03:06:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0096E15DDD1A; Wed, 26 Jun 2019 03:06:06 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1B8415DDD19 for ; Wed, 26 Jun 2019 03:06:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7AEF989D1D for ; Wed, 26 Jun 2019 03:06:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BB065147A5 for ; Wed, 26 Jun 2019 03:06:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5Q364XY081585 for ; Wed, 26 Jun 2019 03:06:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5Q364nU081577 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 03:06:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 03:06:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: cc 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.29 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, 26 Jun 2019 03:06:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org --- Comment #3 from Mark Johnston --- (In reply to Jason Tubnor from comment #2) In the line of D20755 consisting of "case 0x7F:", could you try replacing 0= x7F with 0xF7 and retest? --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 03:44:01 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E28F15DE910 for ; Wed, 26 Jun 2019 03:44:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 28ADD8B458 for ; Wed, 26 Jun 2019 03:44:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id E031D15DE90F; Wed, 26 Jun 2019 03:44:00 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CD45B15DE90E for ; Wed, 26 Jun 2019 03:44:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 67C6C8B451 for ; Wed, 26 Jun 2019 03:44:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BFB1E14D7D for ; Wed, 26 Jun 2019 03:43:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5Q3hxoM010723 for ; Wed, 26 Jun 2019 03:43:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5Q3hxUa010722 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 03:43:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 03:43:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Jun 2019 03:44:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 --- Comment #4 from Jason Tubnor --- As per comments by markj@ in https://reviews.freebsd.org/D20755 I modified the D20755 patch - switch 7F to F7 and removed struct __hack (the latter is unrelated and worked if it was there or not). Compiled successfully and OpenBSD -current now boots correctly. Please advise when a modified version (with the above changes) hits phabric= ator and I will download, patch and test. Additional test cases: - Ensure Windows Server 2016 still boots and operates correctly (in progres= s) - Patch applies to FreeBSD 12.0 - Test OpenBSD -current - Test Windows Server 2016 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 03:55:01 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5AB0715DEE38 for ; Wed, 26 Jun 2019 03:55:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E87038BB11 for ; Wed, 26 Jun 2019 03:55:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A621615DEE37; Wed, 26 Jun 2019 03:55:00 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9494115DEE36 for ; Wed, 26 Jun 2019 03:55:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 308EC8BB0A for ; Wed, 26 Jun 2019 03:55:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6087D14EE3 for ; Wed, 26 Jun 2019 03:54:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5Q3sxcY034423 for ; Wed, 26 Jun 2019 03:54:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5Q3sxNe034422 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 03:54:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 03:54:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Jun 2019 03:55:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 --- Comment #5 from Jason Tubnor --- Confirmed D20755 works with Windows Server 2016 guests. Host: FreeBSD 11.3-RC2 #0 r349252: Fri Jun 21 04:48:05 UTC 2019=20=20=20=20 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 06:29:36 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D74D115B85E6 for ; Wed, 26 Jun 2019 06:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6D4AF8F9A7 for ; Wed, 26 Jun 2019 06:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2E31515B85E5; Wed, 26 Jun 2019 06:29:36 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C8E915B85E3 for ; Wed, 26 Jun 2019 06:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD0F68F9A2 for ; Wed, 26 Jun 2019 06:29:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id F0C8216438 for ; Wed, 26 Jun 2019 06:29:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5Q6TYS5008303 for ; Wed, 26 Jun 2019 06:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5Q6TYNa008302 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 06:29:34 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 06:29:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason@tubnor.net X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Jun 2019 06:29:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 --- Comment #6 from Jason Tubnor --- FreeBSD 12.0-RELEASE-p6 - Confirmed D20755 works (after modifications as per the discussion above). Host: # uname -a FreeBSD testhost 12.0-RELEASE-p6 FreeBSD 12.0-RELEASE-p6 GENERIC amd64 # freebsd-version 12.0-RELEASE-p3 Guests tests: Windows Server 2016 - OK OpenBSD 6.5-current - OK FreeBSD 12.0-p6 - OK --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Wed Jun 26 21:20:43 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65C3215D2753 for ; Wed, 26 Jun 2019 21:20:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DEC838869D for ; Wed, 26 Jun 2019 21:20:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id A1D9515D2752; Wed, 26 Jun 2019 21:20:42 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F01A15D2751 for ; Wed, 26 Jun 2019 21:20:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A9B888695 for ; Wed, 26 Jun 2019 21:20:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 6A0281E2C6 for ; Wed, 26 Jun 2019 21:20:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5QLKfmR070811 for ; Wed, 26 Jun 2019 21:20:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5QLKfpC070803 for virtualization@FreeBSD.org; Wed, 26 Jun 2019 21:20:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238794] LAPIC register test failure with OpenBSD 6.5-snapshot guest Date: Wed, 26 Jun 2019 21:20:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 11.3-RELEASE X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? mfc-stable12? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 26 Jun 2019 21:20:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238794 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: rgrimes Date: Wed Jun 26 21:19:44 UTC 2019 New revision: 349441 URL: https://svnweb.freebsd.org/changeset/base/349441 Log: Emulate the "TEST r/m{16,32,64}, imm{16,32,32}" instructions (opcode F7H). This adds emulation for: test r/m16, imm16 test r/m32, imm32 test r/m64, imm32 sign-extended to 64 OpenBSD guests compiled with clang 8.0.0 use TEST directly against a Local APIC register instead of separate read via MOV followed by a TEST against the register. PR: 238794 Submitted by: jhb Reported by: Jason Tubnor jason@tubnor.net Tested by: Jason Tubnor jason@tubnor.net Reviewed by: markj, Patrick Mooney patrick.mooney@joyent.com MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D20755 Changes: head/sys/amd64/vmm/vmm_instruction_emul.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jun 27 11:27:05 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4EE1B15B8ED6 for ; Thu, 27 Jun 2019 11:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BE62181B2A for ; Thu, 27 Jun 2019 11:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7BFDE15B8ED5; Thu, 27 Jun 2019 11:27:04 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A6A115B8ED4 for ; Thu, 27 Jun 2019 11:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 053F381B28 for ; Thu, 27 Jun 2019 11:27:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 375505F14 for ; Thu, 27 Jun 2019 11:27:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RBR3ag014516 for ; Thu, 27 Jun 2019 11:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RBR3XL014515 for virtualization@FreeBSD.org; Thu, 27 Jun 2019 11:27:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 238095] Current console input freezes in hyperv gen 2 VM after randon amount of time Date: Thu, 27 Jun 2019 11:27:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markus.egger@villach.at X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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, 27 Jun 2019 11:27:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238095 Markus Egger changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markus.egger@villach.at --- Comment #2 from Markus Egger --- Me, too. - Windows Server 2016 Hypervisor w/ current updates - FreeBSD 12.0p6 x64 in Gen2 VM --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jun 27 15:22:20 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D29AC15C5DBF for ; Thu, 27 Jun 2019 15:22:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6CBC78AD1A for ; Thu, 27 Jun 2019 15:22:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 3081115C5DBE; Thu, 27 Jun 2019 15:22:20 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D39915C5DBD for ; Thu, 27 Jun 2019 15:22:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD0DE8AD15 for ; Thu, 27 Jun 2019 15:22:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 005A08160 for ; Thu, 27 Jun 2019 15:22:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RFMIVx039061 for ; Thu, 27 Jun 2019 15:22:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RFMIn7039055 for virtualization@FreeBSD.org; Thu, 27 Jun 2019 15:22:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 205549] bhyve pci passthru stops working after guest is restarted Date: Thu, 27 Jun 2019 15:22:19 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ark@dudevich.dn.ua X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 27 Jun 2019 15:22:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205549 --- Comment #16 from arkadyi --- Thanks for the help julien! I patched and builded without problem. But problem persist. Before start VM lInux pciconf -r ppt0 0:0x3f 1e318086 02900006 0c033004 00000000 f2520004 00000000 00000000 00000000=20 00000000 00000000 00000000 21f617aa 00000000 00000070 00000000 00000110=20 After start/shutdown VM Linux pciconf -r ppt0 0:0x3f 1e318086 02900002 0c033004 00000000 f2520004 00000000 00000000 00000000=20 00000000 00000000 00000000 21f617aa 00000000 00000070 00000000 00000110 No resolve problem.... --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jun 27 23:19:28 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2068F15D13C7 for ; Thu, 27 Jun 2019 23:19:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 550047646D for ; Thu, 27 Jun 2019 23:19:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1054615D13C0; Thu, 27 Jun 2019 23:19:27 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F2EA515D13BE for ; Thu, 27 Jun 2019 23:19:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 912F576465 for ; Thu, 27 Jun 2019 23:19:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D08BDC5AE for ; Thu, 27 Jun 2019 23:19:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RNJPEg047703 for ; Thu, 27 Jun 2019 23:19:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RNJPh5047702 for virtualization@FreeBSD.org; Thu, 27 Jun 2019 23:19:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 237441] Virtio net consistently truncates last byte of a fetch xfer with > 8956 bytes of payload Date: Thu, 27 Jun 2019 23:19:25 +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: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd-bugs@cklie.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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.29 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, 27 Jun 2019 23:19:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237441 Christoph Kliemann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |freebsd-bugs@cklie.de --- Comment #4 from Christoph Kliemann --- I can reproduce this on macOS 10.13.6 (17G7024) High Sierra with qemu 4.0.0= and a FreeBSD 12.0-RELEASE (p1-p6) guest. My packer freebsd builder failed because of this issue. I have tested this for a while with the same template. In most cases, the builder fails (truncated base.txz or truncated pkgng packages). Occasionally, the download and installation are successful. I booted one of these successfully created images with qemu and ran additio= nal tests. Test #1: fetch http://www.google.de The last byte is missing. Test #2: ping google.de PING google.de (172.217.23.163): 56 data bytes 64 bytes from 172.217.23.163: icmp_seq=3D0 ttl=3D255 time=3D622018725671.83= 2 ms wrong data byte #8 should be 0x8 but was 0xc0 [...] Test #3: pkg install curl wget One successful attempt after many truncated downloads. Test #4: curl http://www.google.de No issues Test #5: wget http://www.google.de No issues --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-virtualization@freebsd.org Thu Jun 27 23:36:30 2019 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3F3C115D1A3A for ; Thu, 27 Jun 2019 23:36:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id B5AD876CDE for ; Thu, 27 Jun 2019 23:36:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 767A715D1A37; Thu, 27 Jun 2019 23:36:29 +0000 (UTC) Delivered-To: virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 64CB015D1A34 for ; Thu, 27 Jun 2019 23:36:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E02CE76CD9 for ; Thu, 27 Jun 2019 23:36:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 29E7EC883 for ; Thu, 27 Jun 2019 23:36:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x5RNaRKW086170 for ; Thu, 27 Jun 2019 23:36:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x5RNaRmp086169 for virtualization@FreeBSD.org; Thu, 27 Jun 2019 23:36:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 237441] Virtio net consistently truncates last byte of a fetch xfer with > 8956 bytes of payload Date: Thu, 27 Jun 2019 23:36:28 +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: 12.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: freebsd-bugs@cklie.de X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.29 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, 27 Jun 2019 23:36:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237441 --- Comment #5 from Christoph Kliemann --- (In reply to Rodney W. Grimes from comment #3) I haven't changed mtu on any interface. Hosts external interface is 1500, hosts gateway uses 1500 and guests vtnet0= is 1500. --=20 You are receiving this mail because: You are the assignee for the bug.=