From nobody Tue Dec 12 19:01:58 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqSf81BCYz54JsJ for ; Tue, 12 Dec 2023 19:02:08 +0000 (UTC) (envelope-from sean@rogue-research.com) Received: from mail.rogue-research.com (mail.rogue-research.com [207.115.102.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.rogue-research.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqSf72b3Xz3X5Z for ; Tue, 12 Dec 2023 19:02:07 +0000 (UTC) (envelope-from sean@rogue-research.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of sean@rogue-research.com designates 207.115.102.151 as permitted sender) smtp.mailfrom=sean@rogue-research.com; dmarc=pass (policy=none) header.from=rogue-research.com Received: from localhost (localhost [127.0.0.1]) by mail.rogue-research.com (Postfix) with ESMTP id 9AD02F6984CA for ; Tue, 12 Dec 2023 14:02:00 -0500 (EST) X-Virus-Scanned: amavisd-new at rogue-research.com Received: from mail.rogue-research.com ([127.0.0.1]) by localhost (kingu.rogue-research.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01PckkbVCjN2 for ; Tue, 12 Dec 2023 14:01:59 -0500 (EST) Received: from [10.29.19.119] (hobgoblin.rogue-research.com [10.29.19.119]) by mail.rogue-research.com (Postfix) with ESMTPSA id 51745F6984B1 for ; Tue, 12 Dec 2023 14:01:59 -0500 (EST) From: Sean McBride To: virtualization@freebsd.org Subject: building bhyve from source Date: Tue, 12 Dec 2023 14:01:58 -0500 X-Mailer: MailMate (1.14r5937) Message-ID: List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_1B78D6C2-F836-4805-8BB0-23806E3FEBBD_=" X-Spamd-Result: default: False [-3.71 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.91)[-0.906]; DMARC_POLICY_ALLOW(-0.50)[rogue-research.com,none]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ASN(0.00)[asn:11478, ipnet:207.115.96.0/20, country:CA]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[sean]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SqSf72b3Xz3X5Z X-Spamd-Bar: --- --=_MailMate_1B78D6C2-F836-4805-8BB0-23806E3FEBBD_= Content-Type: text/plain; format=flowed; markup=markdown Hi all, I'm trying to build bhyve from source, with the ultimate goal of fixing https://reviews.freebsd.org/D39620 in my production TrueNAS Core system. I've followed the TrueNAS build instructions at https://github.com/truenas/core-build and although some packages failed to build, the FreeBSD build seemed to work and I seem to have builds of: - bhyve - bhyvectl - bhyveload - libvmmapi.so.5 - vmm.ko Are those indeed the entirety of bhyve? To use my build of bhyve, is it just a matter of replacing those 5 files? Thanks, Sean --=_MailMate_1B78D6C2-F836-4805-8BB0-23806E3FEBBD_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

Hi all,

I'm trying to build bhyve from source, with the ultimate = goal of fixing https://reviews.freebsd.org/D39620 in my production Tr= ueNAS Core system.

I've followed the TrueNAS build instructions at https:/= /github.com/truenas/core-build and although some packages failed to b= uild, the FreeBSD build seemed to work and I seem to have builds of:

  • bhyve
  • bhyvectl
  • bhyveload
  • libvmmapi.so.5
  • vmm.ko

Are those indeed the entirety of bhyve? To use my build = of bhyve, is it just a matter of replacing those 5 files?

Thanks,

Sean

--=_MailMate_1B78D6C2-F836-4805-8BB0-23806E3FEBBD_=-- From nobody Tue Dec 12 19:08:16 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqSnK2tqZz54JtX for ; Tue, 12 Dec 2023 19:08:21 +0000 (UTC) (envelope-from kirjanov@gmail.com) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqSnJ65Wvz3Xx9 for ; Tue, 12 Dec 2023 19:08:20 +0000 (UTC) (envelope-from kirjanov@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50c0b80ca9cso1544453e87.0 for ; Tue, 12 Dec 2023 11:08:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702408097; x=1703012897; darn=freebsd.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uUInc8Ci8CeTe2A7n8hDz88dNvd0sr6iz/Gl4wd4pU0=; b=NeYPjCcDUnghSzMSZISE8A6AsCWqRSniXyzwCK+fTfZ89JTEL5nFOfzR9KxC/KgUnT j1JMXkuLcfZohHn0Q3QlNHWVy0E6e44AxLpBA4/PSGeUos/jE2o8APq+PFXZNBrx9/Uv bzHkoqhl4vkYkjbS0WBgRPZB/zk+BCPnE23MDG1z3OUi6eKnzaNpHxGE727Wt1WbrLY4 VOJxXblYecIihfWb+TBOqjfyFCVTFchtKwd4+jQaAkt2HLtZUVAZbF47FouFHVefFlSB F0R4khmiZSBEChmBAy1InTC7DeFmw1O8r1uhhPoxnitLwopdTdVsmsyUOym5iU1+Etai Y8Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702408097; x=1703012897; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uUInc8Ci8CeTe2A7n8hDz88dNvd0sr6iz/Gl4wd4pU0=; b=MzzI9VwmmrAfBpcCxBfZeYsTHEHr0V9czkBWejjaxeXRzDkbaJ0bDYnJq7GuEQE9bM K0+fNGqZz+nSvUGldtytHEcZQaifjrDpYK518eAcNxpc2tLgF1CY68aJZxE8x6Gc3q9i U+QeU4wRMKC6zMZ9Qo/FU8wgdFbyithIJbCsaTT8qiO/fd5ExVN10hJJSpMTuNUHMHFU zudXvtJjeyzDi7Ngl/I27XDAqhGbLEM25gELCEIZEr5hxyH7KjOF1VAF79z1YlRe7s+e ZodPbZZU1SWRmPRBjPv9igBe6xtw6oXTqocFQ6Zyzi9gKMK9UGeJ28X6wIEUDTiKuDaw Wgxw== X-Gm-Message-State: AOJu0YyGzg0LKrl9jaIfInBWCUaCO4vrA0QaTtXS0ZUOUuFCa5FRpIZ4 xmiUlbC7aMGKMU1a3+E+lzZx3VO1aYcFFG3FviRJmB8gfWJ20g== X-Google-Smtp-Source: AGHT+IGLKz6MJ6pl08tvSkK+QEfPTvodae7kIQHqlfxp34fbCU/9HXl4XFdyBjX+mL0qEbO86lWYZpnL6CbzPR8SjPo= X-Received: by 2002:a19:4f0a:0:b0:50c:1bc:33e3 with SMTP id d10-20020a194f0a000000b0050c01bc33e3mr5039585lfb.2.1702408097243; Tue, 12 Dec 2023 11:08:17 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Received: by 2002:a54:278e:0:b0:241:83ff:5087 with HTTP; Tue, 12 Dec 2023 11:08:16 -0800 (PST) In-Reply-To: References: From: Denis Kirjanov Date: Tue, 12 Dec 2023 22:08:16 +0300 Message-ID: Subject: Re: building bhyve from source To: Sean McBride Cc: "virtualization@freebsd.org" Content-Type: multipart/alternative; boundary="000000000000e62620060c54c583" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqSnJ65Wvz3Xx9 --000000000000e62620060c54c583 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable =D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 12 =D0=B4=D0=B5=D0=BA=D0=B0=D0= =B1=D1=80=D1=8F 2023=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=BE= =D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Sean McBride < sean@rogue-research.com> =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > Hi all, > > I'm trying to build bhyve from source, with the ultimate goal of fixing > https://reviews.freebsd.org/D39620 in my production TrueNAS Core system. > > I've followed the TrueNAS build instructions at > https://github.com/truenas/core-build and although some packages failed > to build, the FreeBSD build seemed to work and I seem to have builds of: > > - bhyve > - bhyvectl > - bhyveload > - libvmmapi.so.5 > - vmm.ko > > Are those indeed the entirety of bhyve? To use my build of bhyve, is it > just a matter of replacing those 5 files? > The patch mentions only the kernel, so you have to rebuild the vmm module > Thanks, > > Sean > --=20 Regards / Mit besten Gr=C3=BC=C3=9Fen, Denis --000000000000e62620060c54c583 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

=D0=B2=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 12 =D0=B4=D0=B5=D0=BA= =D0=B0=D0=B1=D1=80=D1=8F 2023=E2=80=AF=D0=B3. =D0=BF=D0=BE=D0=BB=D1=8C=D0= =B7=D0=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C Sean McBride <sean@rogue-research.com> =D0=BD=D0=B0= =D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

Hi all,

I'm trying to build bhyve from source, with the ultimat= e goal of fixing https://reviews.freebsd.org/D39620 = in my production TrueNAS Core system.

I've followed the TrueNAS build instructions at https://github.com/truenas/core-build and although som= e packages failed to build, the FreeBSD build seemed to work and I seem to = have builds of:

  • bhyve
  • bhyvectl
  • bhyveload
  • libvmmapi.so.5
  • vmm.ko

Are those indeed the entirety of bhyve? To use my build of= bhyve, is it just a matter of replacing those 5 files?


The patch mentions only the kernel, so y= ou have to rebuild the vmm module=C2=A0

Thanks,

Sean



--
Regards / Mit besten Gr=C3=BC=C3=9Fen,
Denis=

--000000000000e62620060c54c583-- From nobody Tue Dec 12 19:33:17 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqTL80KQBz54LCy for ; Tue, 12 Dec 2023 19:33:20 +0000 (UTC) (envelope-from sean@rogue-research.com) Received: from mail.rogue-research.com (mail.rogue-research.com [207.115.102.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.rogue-research.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqTL75qsNz3fKk for ; Tue, 12 Dec 2023 19:33:19 +0000 (UTC) (envelope-from sean@rogue-research.com) Authentication-Results: mx1.freebsd.org; none Received: from localhost (localhost [127.0.0.1]) by mail.rogue-research.com (Postfix) with ESMTP id 5D772F6991FF; Tue, 12 Dec 2023 14:33:19 -0500 (EST) X-Virus-Scanned: amavisd-new at rogue-research.com Received: from mail.rogue-research.com ([127.0.0.1]) by localhost (kingu.rogue-research.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vh9aJHrcl82C; Tue, 12 Dec 2023 14:33:18 -0500 (EST) Received: from [10.29.19.119] (hobgoblin.rogue-research.com [10.29.19.119]) by mail.rogue-research.com (Postfix) with ESMTPSA id 5FA87F6991E8; Tue, 12 Dec 2023 14:33:18 -0500 (EST) From: Sean McBride To: Denis Kirjanov Cc: virtualization@freebsd.org Subject: Re: building bhyve from source Date: Tue, 12 Dec 2023 14:33:17 -0500 X-Mailer: MailMate (1.14r5937) Message-ID: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> In-Reply-To: References: List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_=" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11478, ipnet:207.115.96.0/20, country:CA] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqTL75qsNz3fKk --=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_= Content-Type: text/plain; format=flowed On 12 Dec 2023, at 14:08, Denis Kirjanov wrote: > The patch mentions only the kernel, so you have to rebuild the vmm > module That's a nice simplification, thanks! So I've replaced `/boot/kernel/vmm.ko` with the one I built, and rebooted. Alas it doesn't seem to load. I see in /var/run/dmesg.boot: ``` KLD vmm.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/vmm.ko - unsupported file type ``` Must the FreeBSD version of the machine doing the compiling exactly match the FreeBSD version of TrueNAS? I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is still 13.1-RELEASE-p9. Cheers, Sean --=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable

On 12 Dec 2023, at 14:08, Denis Kirjanov wrote:

The patch mentions only the kernel,= so you have to rebuild the vmm module

That's a nice simplification, thanks!

So I've replaced /boot/kernel/vmm= =2Eko with the one I built, and rebooted. Alas it doesn't seem to= load. I see in /var/run/dmesg.boot:

KLD vmm.ko: depends on kernel - not avai=
lable or version mismatch
linker_load_file: /boot/kernel/vmm.ko - unsupported file type

Must the FreeBSD version of the machine doing the compili= ng exactly match the FreeBSD version of TrueNAS?

I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is s= till 13.1-RELEASE-p9.

Cheers,

Sean

--=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_=-- From nobody Tue Dec 12 20:42:15 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqVsx4BWtz53DFV for ; Tue, 12 Dec 2023 20:42:29 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from mail.punkt.de (mail.punkt.de [217.29.41.227]) (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 4SqVsx2D4Kz3CKx for ; Tue, 12 Dec 2023 20:42:29 +0000 (UTC) (envelope-from hausen@punkt.de) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2003:a:d59:3800:11fa:2051:f75:1ab9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.punkt.de (Postfix) with ESMTPSA id 32E786B5F2; Tue, 12 Dec 2023 21:42:26 +0100 (CET) Content-Type: text/plain; charset=utf-8 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: building bhyve from source From: "Patrick M. Hausen" In-Reply-To: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> Date: Tue, 12 Dec 2023 21:42:15 +0100 Cc: Denis Kirjanov , virtualization@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> To: Sean McBride X-Mailer: Apple Mail (2.3774.200.91.1.1) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqVsx2D4Kz3CKx Hi all, > Am 12.12.2023 um 20:33 schrieb Sean McBride : > Must the FreeBSD version of the machine doing the compiling exactly = match the FreeBSD version of TrueNAS? Yes. The major version (13.1, 13.2, ...) at the very least. > I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is still = 13.1-RELEASE-p9. Compile on 13.1-p(latest) if possible or if you can stand/afford to wait = a bit longer, wait for TrueNAS CORE 13.1 which will be based on FreeBSD 13.2. ETA: early 2024. If the patch is merged to releng/13.2 by the FreeBSD project it will = most probably land in TN 13.1 without further work on your part. Kind regards, Patrick --=20 punkt.de GmbH Patrick M. Hausen .infrastructure Sophienstr. 187 76185 Karlsruhe Tel. +49 721 9109500 https://infrastructure.punkt.de info@punkt.de AG Mannheim 108285 Gesch=C3=A4ftsf=C3=BChrer: Daniel Lienert, Fabian Stein From nobody Tue Dec 12 21:04:03 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqWLs4hdCz53GSH for ; Tue, 12 Dec 2023 21:04:05 +0000 (UTC) (envelope-from sean@rogue-research.com) Received: from mail.rogue-research.com (mail.rogue-research.com [207.115.102.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.rogue-research.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqWLs2Nnxz3J8m for ; Tue, 12 Dec 2023 21:04:05 +0000 (UTC) (envelope-from sean@rogue-research.com) Authentication-Results: mx1.freebsd.org; none Received: from localhost (localhost [127.0.0.1]) by mail.rogue-research.com (Postfix) with ESMTP id 5F2CCF69BEAC; Tue, 12 Dec 2023 16:04:04 -0500 (EST) X-Virus-Scanned: amavisd-new at rogue-research.com Received: from mail.rogue-research.com ([127.0.0.1]) by localhost (kingu.rogue-research.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nDxGJNFMA4vi; Tue, 12 Dec 2023 16:04:03 -0500 (EST) Received: from [10.29.19.119] (hobgoblin.rogue-research.com [10.29.19.119]) by mail.rogue-research.com (Postfix) with ESMTPSA id B0000F69BEA0; Tue, 12 Dec 2023 16:04:03 -0500 (EST) From: Sean McBride To: "Patrick M. Hausen" Cc: Denis Kirjanov , virtualization@freebsd.org Subject: Re: building bhyve from source Date: Tue, 12 Dec 2023 16:04:03 -0500 X-Mailer: MailMate (1.14r5937) Message-ID: <87A157AF-1D58-49E5-B123-DFD6BDF2238D@rogue-research.com> In-Reply-To: References: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11478, ipnet:207.115.96.0/20, country:CA] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SqWLs2Nnxz3J8m On 12 Dec 2023, at 15:42, Patrick M. Hausen wrote: > Compile on 13.1-p(latest) if possible Quite possible. I'm doing the compiling in a VM, so I'll just create anot= her. I suppose I may as well put TrueNAS in a VM and do my compiling in that. = Then I match up perfectly. > or if you can stand/afford to wait a bit longer, > wait for TrueNAS CORE 13.1 which will be based on FreeBSD 13.2. Can't wait. :) Our linux VMs die every few days. Either I get this fixed = or I abandon bhyve. I've seen on the TrueNAS forums that you don't seem t= o experience this problem, I wish I knew what was different about our set= ups. Some other easier workaround would be fine by me. :) > If the patch is merged to releng/13.2 by the FreeBSD project it will mo= st probably > land in TN 13.1 without further work on your part. According to https://reviews.freebsd.org/D39620#978524 it's in stable/13 = but not releng/13.2. Who/where should I request it get into the latter? = In that ticket I guess? PS: thanks for your many helpful comments on the TrueNAS forum BTW! Cheers, Sean From nobody Wed Dec 13 07:00:42 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SqmbL2t4Pz541wJ for ; Wed, 13 Dec 2023 07:00:46 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SqmbL2HGwz3V89; Wed, 13 Dec 2023 07:00:46 +0000 (UTC) (envelope-from corvink@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702450846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=YcP4lUrdQU29WwoIhCUTLG7k0ggvNN305HpMLcQbu3U=; b=suAdNXmnEBuLkaLMz0jy1XqwVR3Uuvw08pn6hL/oCfApi1KD+75K4Gq6PA1duvT5Cd07UZ 3HFTNIWoONUmL8sU36EQRRVeUOINkclcfDRhtPM5VjDPdL1N9YXVgc/y1ANt7+Df7BMhrq VoHJDxhd2jmsovGWHM9p/RCuXnfzNzaTvZAnNna1VwjszwhNzLBESYpWfDXhr6i9izqsSt GCC2Xla1ySkWup3O5sW/EWqJYqb10wED9ZSioXJibU5nbGX8I8TJC9l8Nz2iq6Cv7K8i+a q287bd26Vsr335QCW1gew5eO07UZlC8MAZrThbRHk37eUGuoqaPswQnSs1lceQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702450846; a=rsa-sha256; cv=none; b=ndBUOHOFqvwMZUEAZnF/NjiusU8jLdq65EqLkI4txPVhsnc3+3/8YLyfFP+LG1XZXURCDV hIibR6R/NZsSbrtRvYEeICNNDWx4VuSNvAim5cErtv5J1NEvjvJLhOlg9U5WbIa/iyTUxU VkZchnJfT0FmnZE8j87NEL4QxOjWuRPDPxI2gwHD5V+CtpU++z7B5Y4ZokL7Qn/Ra6AQGP aXlaT+tkGgmg41Flg4+575DfI1bmJW+KOWLMOuvbsjyA2DSKVxa/lkBBgZFqQM6n0aHO8P rxvdHo1i6aFw8LeLU2/xzqPgbwnw1OMlNJ5NOJMW2n8JIznTsM7tZmChLrZuGw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702450846; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=YcP4lUrdQU29WwoIhCUTLG7k0ggvNN305HpMLcQbu3U=; b=yoLdzYhKF+d9n2bQ8i2SOyv3J1bgdNNZMpfdSZDxa0VEIKwnH9rw6JWIXU1vPbGkfFU0wq y0dc6l67sJxa7YgY+LuWEldm4TQTQElWrfa82h8y5JL3+/jvXM0du/fEZiSWSviQdVT3j+ BaCov2d39wbpr+dsvCi/gLe7JyG6qf/elhbaObvQyzlbZlhCaA4TQcHU3y+qBHlcV+DGXK PXAFrkAlOhSXpXnCmx//leOjCn/paF0EVoR8U0ixw/CNf0vg0fsUKhkgYfyRgbaTlo0J38 SWiN05qswk3ERmbvMV4mS3nO9Xfwuqhw1HvgiEReYDdXwAYbOwYTg5vEaAPzgA== Received: from [IPv6:2001:9e8:dc11:b200:7369:10db:e82:2b0c] (unknown [IPv6:2001:9e8:dc11:b200:7369:10db:e82:2b0c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: corvink) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SqmbK4SVbz1882; Wed, 13 Dec 2023 07:00:45 +0000 (UTC) (envelope-from corvink@FreeBSD.org) Message-ID: <23194cd9fc9977855441b9b953cb2a7f38a5e52a.camel@FreeBSD.org> Subject: Re: building bhyve from source From: Corvin =?ISO-8859-1?Q?K=F6hne?= To: Sean McBride , "Patrick M. Hausen" Cc: Denis Kirjanov , virtualization@freebsd.org Date: Wed, 13 Dec 2023 08:00:42 +0100 In-Reply-To: <87A157AF-1D58-49E5-B123-DFD6BDF2238D@rogue-research.com> References: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> <87A157AF-1D58-49E5-B123-DFD6BDF2238D@rogue-research.com> Autocrypt: addr=corvink@FreeBSD.org; prefer-encrypt=mutual; keydata=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 Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-Kvxzh7xjK1568HJVdBqJ" User-Agent: Evolution 3.50.2 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 --=-Kvxzh7xjK1568HJVdBqJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2023-12-12 at 16:04 -0500, Sean McBride wrote: > On 12 Dec 2023, at 15:42, Patrick M. Hausen wrote: >=20 > > Compile on 13.1-p(latest) if possible >=20 > Quite possible. I'm doing the compiling in a VM, so I'll just create > another. >=20 > I suppose I may as well put TrueNAS in a VM and do my compiling in > that.=C2=A0 Then I match up perfectly. It's required that your __FreeBSD_version matches (see sys/sys/param.h). Not sure if TrueNAS touches that. >=20 > > or if you can stand/afford to wait a bit longer, > > wait for TrueNAS CORE 13.1 which will be based on FreeBSD 13.2. >=20 > Can't wait. :) Our linux VMs die every few days. Either I get this > fixed or I abandon bhyve. I've seen on the TrueNAS forums that you > don't seem to experience this problem, I wish I knew what was > different about our setups. Some other easier workaround would be > fine by me. :) >=20 > > If the patch is merged to releng/13.2 by the FreeBSD project it > > will most probably > > land in TN 13.1 without further work on your part. >=20 > According to https://reviews.freebsd.org/D39620#978524=C2=A0it's in > stable/13 but not releng/13.2.=C2=A0 Who/where should I request it get > into the latter?=C2=A0 In that ticket I guess? >=20 You have to reach out to the release engineering team/security officers. I've never done it, so I'm not sure how to do that. The only information I've found so far is: https://docs.freebsd.org/en/articles/freebsd-releng/#releng-wrapup > PS: thanks for your many helpful comments on the TrueNAS forum BTW! >=20 > Cheers, >=20 > Sean >=20 --=20 Kind regards, Corvin --=-Kvxzh7xjK1568HJVdBqJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgvRSla3m2t/H2U9G2FTaVjFeAmoFAmV5VpsACgkQ2FTaVjFe AmoGyA//Xyk06xZaSnKOt1mrBoBdGTVxGhhEtfOi9lBi3LD5+MeS6YKjewhiLp85 uU0Rbh7IzZVDo73+rsZEdjscmxBX/fn9CIUpmCDMn9OYVt9xyMp9rXhvcPlluJF8 HBj1p45j7yrE7NoBBO7R1jOfX2VIAld03CenRuf2YetvoWITUdcdWUoEguhqiHly F7skHHa0p85UQHjLpUe8Wr/ol2dH+fGPx3jh60pk5h9AJfhrafDKLfl6pmTcq+GG LCkcJsJEbLWWamLN0jAg2OdXOLFeDiWAdqqbt+B7OWJPLMX+ev4mmmh6foKPB0cS Pa8RPMTzGovqIcbA9nGxZEnCfAh5RRW2f4RqsczSvZ3El7N6OqBcDm/z0HvMO1Rn RWQ/sqM3C70UrXa42P96u2W01A5gWPhmu4kMDvGGGnNVFPldfwUVydYcwU56gXF6 YkN+T16aNvKlznCzxmpUYM029itCYt/gJAZLWI6CjFzv92/AUeuBntZm651Rx75w 8cM0lB/28kmYvNwO10iZpDmEBb+/uvG7YAws6mkgBIihW1s+2NU7rpX2tCgZZb8H o5Mvta+Qzm7jumsD9DND5Boibq5LfuQ0mRnhRgNHoTAQj48F0Ps6zfLHgDrPVTNa PK8lF830nFd8gv7OkPqAsofzQdc8KDXZu9QqSdqKKX77gAzy7Hs= =078Z -----END PGP SIGNATURE----- --=-Kvxzh7xjK1568HJVdBqJ-- From nobody Thu Dec 14 09:20:52 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SrRfX3Cy6z53hZb for ; Thu, 14 Dec 2023 09:20:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SrRfW6d1yz4LgL for ; Thu, 14 Dec 2023 09:20:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702545651; a=rsa-sha256; cv=none; b=NZHtD03z3gh9ElhdZ9sOMA9RANcY6FRCcHnnbe9M5MAKPVPQT4qCEYgDPT48ZMR+dvCCHZ EYx+Q6wFkOHKGf6dEhvDaaWdEiCVwvqVMdKY2WlvIeQLUNtJ2alGsbKthmHynB0WEG91Ud iUTM3bzSTo7X/Z2nkxmE87VVpCsy0tbdDff5xtPUSuI2eVXjDTv+zD6hP9k0C7O/u/hWwP EqiTVuNFA/X1OR91Xq7qIcm4YnRLa1fkHXl+dzob4yNM4uF2Y9GG31KH033K8cfi9atZD0 eHg6qeHwn+fMXYBvgHm5c/KPgsXWPO5szGEo9YSbrrhmtVg5DbCyyTPwd3wydg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702545651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VWG8moLVk/Ved0eotbj0zSV4OgLpF89uYZbgiPiU8cg=; b=wpcoRkOlt2vTEKxYhElXxfhJQXhYhip5eESLZAd0GzRUTlr5uvLrLAOnen8tqPizDWg/et 0LuXx9qz/68TdwvNCOaU+L+IHH95kAyToe3VD6UuCqIzmpvVyAHhmqJFFW7ARDOJLfsWIZ 6yTy05/tzgUaSvrfQmz9gxwFC/lQj2YDfSlgrEWmrdGbDYC48/CHIHs1SiUVWOp+JVPBDL NT5tLrTvtwLLyRsdFrfhiCIBHVN48ksHZ5BAGPpY7EgOuMDUP9diHOVZf0yT2gPvFNvV9y 2LR2xqU7NeqRoPloQXxK1UgGUWGNFNu91sgZXOuCNROw99DHk4aS/wOa65E/wQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SrRfW5jq6z6SP for ; Thu, 14 Dec 2023 09:20:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BE9Kpok038739 for ; Thu, 14 Dec 2023 09:20:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BE9KpI5038738 for virtualization@FreeBSD.org; Thu, 14 Dec 2023 09:20:51 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 275760] bhyve: xhci not working on linux guests Date: Thu, 14 Dec 2023 09:20:52 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: corvink@FreeBSD.org 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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275760 Bug ID: 275760 Summary: bhyve: xhci not working on linux guests Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: corvink@FreeBSD.org On newer linux versions the guest may fail to use xhci,tablet device. The issues exists in 13.2 and 14.0 with the latest debian installer image and latest ubuntu 22.04. bhyve logs the following errors: ``` pci_xhci: portregs_write to unpowered port 1 ``` I've found an illumos bug [1] fixing the same issue. Unfortunately, the ill= umos fix causes the warning to disappear but the issue still exists. [1] https://www.illumos.org/issues/14623 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Thu Dec 14 09:42:00 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SrS6w5Tfbz53jsT for ; Thu, 14 Dec 2023 09:42:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SrS6w48fpz4Npy for ; Thu, 14 Dec 2023 09:42:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702546920; a=rsa-sha256; cv=none; b=mPM25kUVVzgNQkEOyODAt74Z9ttfHerlXkFSM7KjxpcwD7RDibgGmPmP9A63DMDmZ3O3t0 w/PxlqXaFWjhM72CYkuYfQwi2dCzIfcis/cL1Jn8Cy5vwtzlnNHxo8TZO+Qp9WeKp48Nl/ 4LsIHxjB3PpU8SxievWyiVzE1x7vmKn+8SHt3GnDB/eBt0e9+ICwm4uLAwDgARMd/56Gzm uLJP7Pis5vfcoaz4EYkATPwIBm8ehVQOfjH1GB8dKN9oPLvRwi2KiEuj9KRPWv8siryeCU q/oSCd0LkSFKxZwajXPTE4TwykaJZc8EvrVMJ/+elcH5uNUvJwm3576eWb9LaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702546920; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zzdh1fU+xAqVlGEYI6805eRz8L6L4kI3tvJTFcayrJw=; b=SUXFCw35daBDCLDp7qi2Nl2lFWdJIBXaJCp8aZE+RjYrC+AUxvz0ZI/FUnDRpi+9K75zZH Z7U8DdVxWU8Qcow7FWGL4jDQHnryRmQDUJj0LIkP9Ub/kFWoMNvldUXZaGEaAlMB/FcBW0 y8d3c0kxdfPKUWSO2dpIbtzre9tQJya6ddIB/mvdxLQ3n7UeIrE6bKLtKxwneHybQWCr8c tx92Mhc+DmB3N83sYpIUA/Mv+OoR6j+IxPDCRQFlI2VkX0go8dCZZD7Cn11nZ2kJp6PTfT w2rKzvK5i/MeeBXcPmHVyvtWHq0R4qzl7EErSXDW7g8epM3ckSUjyMUwhRuwEA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SrS6w3Drrz75W for ; Thu, 14 Dec 2023 09:42:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BE9g0Tx076197 for ; Thu, 14 Dec 2023 09:42:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BE9g0U4076196 for virtualization@FreeBSD.org; Thu, 14 Dec 2023 09:42:00 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 275760] bhyve: xhci not working on linux guests Date: Thu, 14 Dec 2023 09:42:00 +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: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: corvink@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275760 --- Comment #1 from Corvin K=C3=B6hne --- Created attachment 247042 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247042&action= =3Dedit ubuntu boot bhyve log I've enabled xhci_debug in bhyve and attached the log. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Dec 16 16:07:24 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsrZv4mzlz546hV for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsrZv4Dygz4v4d for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702742855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=EKJvWpE5oShOdxWqmVMbbyjt5JgrPgPHEJRx0AZDh5c=; b=ijwxb2FTPYjbiCDj/W+NHiy0J2bXbunBHez/nKQbi7WssDo9YxVUcC6kcLR4d050YTqMaL eiv1QetYelGPyBkAAotflo6qfdyDsJ1VMB6J6/HW56sJxxDtckwnGX98EZaYJdCF3u9e0F M5WXYWYpwCvxn7PYA60mQYKpzvHFmLU1KXe0NnRi9MKisAJPF2zb17ZqecD6ag1yGAXXpd JNDmG0+k6o/rthtwsDKWxxxRKVkeqVGRn9MyXfdzotzSIN5ETEth5lvOl5+FVaAWwNFJVZ B9oIIWT+twpN+fLd4gMei5hfukCryxU1r3ith/Rp/MZkWJyk8rrBPVWyhTVI/g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702742855; a=rsa-sha256; cv=none; b=eqEw5wz3DFALmp1eOY5NQSwwqgJMJYyXUZIYwB3VbH4fYkI28oZsy7vCwCAtkTn5dGAZDp 6Z5FKFQqznJ9KazkkNfE/E9tP/oOfZzq2vzJ/DRrGRLGmKaaUWhzd6d6vTE75jw5mZOvM4 6P8wW6bciBNpGJie5mklVo5mZq1SBHTiSgW80GZo3et1WnUWt/c5+CWo/qj6mu3dLnG/bl dib8nlp58giizSaxuC0QXId0F1kdRNUvodoZCiDGpRtWOrGr1+urfLmo2ZfHAevkKHpDzS Pn3nUw+V8sKIxTG5HBaSaWpckqBaCqfyoXmVCKKL07cE2OFAFGqtGjlGDiDUyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702742855; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=EKJvWpE5oShOdxWqmVMbbyjt5JgrPgPHEJRx0AZDh5c=; b=fBQ1kH42OMmHFwXbcj0A+5XBJWVxmzQSnGm+UR7EiPBYqOG5uFId++CBNyDTySyNvJc00Z soOF3n7XHik8sJGOELUCTCNrHNAUMth8RiLOT+TsEktKopYz5zo+5NsYcrAymeetJEM8rP 65Npxza3oujs6cPbrgotznDGAVxBEgfgarsYUt9kTOxUz3cF7Yhlfr/ajgoVP+5qkObVd/ IxbWfzr2AWJ6UaCiPwhAK4dJKRu2Hu3t81gsLV/mJFctzJOPXWWkAIO2GKofGhrNhyRfLo SWKehZ7CS7+DmeaYyyWMrFMVpYbgMwmYSU9hfbFWdbH3VSOz1RvQeDHFguJ77Q== Received: from mail-qt1-f180.google.com (mail-qt1-f180.google.com [209.85.160.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SsrZv38yGzn4m for ; Sat, 16 Dec 2023 16:07:35 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f180.google.com with SMTP id d75a77b69052e-425959f36b0so16622411cf.3 for ; Sat, 16 Dec 2023 08:07:35 -0800 (PST) X-Gm-Message-State: AOJu0Yy5gseZTw1hp7jeUfYCOsO19P7MTpXaPxx9Z3/K3DdPSJ8s/aHx xa4YFVdNM7hfmEiocsxRV1NdlkafIL7cpUvCPPc= X-Google-Smtp-Source: AGHT+IFh9fcBHfygYUXZER8qwIBiNCUS2YgrPoF+sQyLhoDBETotbbq36OY3IyxTohyV6EBgDL8/rdyOnMIRmAUQAUw= X-Received: by 2002:ac8:5881:0:b0:425:4043:41b8 with SMTP id t1-20020ac85881000000b00425404341b8mr19215952qta.100.1702742855099; Sat, 16 Dec 2023 08:07:35 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 From: Nuno Teixeira Date: Sat, 16 Dec 2023 16:07:24 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: bhyve nvidia gtx-1650 mobile passthru on win11 To: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000005a851060ca2b79f" --00000000000005a851060ca2b79f Content-Type: text/plain; charset="UTF-8" Hello all, Specs: - laptop with integrated intel + dedicated nvidia - 15-CURRENT 3b1904d9eb04 amd64 - win11 with nvme and tpm I'm sharing my results with nvidia passthru: ### /boot/loader.conf.local: vmm_load="YES" pptdevs="1/0/0 1/0/1" ppt0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de device=0x1f99 subvendor=0x17aa subdevice=0x3fa5 vendor = 'NVIDIA Corporation' device = 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' class = display subclass = VGA ppt1@pci0:1:0:1: class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de device=0x10fa subvendor=0x17aa subdevice=0x3ffb vendor = 'NVIDIA Corporation' class = multimedia subclass = HDA bhyve: -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 ### - Installed nvidia drivers without problems - graphic card is detected but is deactivated with a triangle and a "!": "Windows stopped this device... code 43" - hda is detected and shows no problem I've read that some nvidia cards are working... Any tips are welcome. Not sure if it is possible to use intel integrated as it is already in use by OS. Thanks, -- Nuno Teixeira FreeBSD Committer (ports) --00000000000005a851060ca2b79f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello all,

Specs:
<= div>- laptop with integrated intel + dedicated nvidia
- 15-CU= RRENT 3b1904d9eb04 amd64
- win11 with nvme and tpm
=
I'm sharing my results with nvidia passthru:
#= ##
/boot/loader.conf.local:
vmm_load=3D"Y= ES"
pptdevs=3D"1/0/0 1/0/1"

ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev= =3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x1f99 subvendor=3D0x17aa subde= vice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corpora= tion'
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'TU117M [GeForce GT= X 1650 Mobile / Max-Q]'
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D = display
=C2=A0 =C2=A0 subclass =C2=A0 =3D VGA
ppt1@pci0:1:0:1: =C2=A0= =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de= device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb
=C2=A0 =C2=A0 ven= dor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 class = =C2=A0 =C2=A0 =C2=A0=3D multimedia
=C2=A0 =C2=A0 subclass =C2=A0 =3D HDA=

bhyve:
-s 6:0,passthru,1/0/0 -s 6:1= ,passthru,1/0/1
###

- Installed nvidia d= rivers without problems
- graphic card is detected but is deactiv= ated with a triangle and a "!":
=C2=A0 "Windows st= opped this device... code 43"
- hda is detected and show= s no problem

I've read that some nvidia ca= rds are working...
Any tips are welcome.

=
Not sure if it is possible to use intel integrated as it is already in= use by OS.

Thanks,

--
Nuno Teixeira
FreeBSD Committer (po= rts)
--00000000000005a851060ca2b79f-- From nobody Sat Dec 16 16:34:20 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SssB22G3Dz547wb for ; Sat, 16 Dec 2023 16:34:34 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SssB20cXxz3G62; Sat, 16 Dec 2023 16:34:34 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x635.google.com with SMTP id a640c23a62f3a-a2335d81693so23236066b.0; Sat, 16 Dec 2023 08:34:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702744472; x=1703349272; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=z4BFEEONoWkpzn90SXGptkQjSwiLux1sREVrYXIEOic=; b=INADS64BVs8U3zRMsSDIKRSJ7QNvtifXdbUnXcUaA8hZj2vc3gP4F2Z9wkteLLam9j SgnTYeiuRLZ7KVX2VgsTvsrVtxQ2qnJIfblVlN8DspODg/Xx7WkQ/KKLxyPvQzIF0/6o hHyzUGbORZ4xnQz8/ncZ/vvugLuUqwdJo0b6kEQ9OULTGnDWPNZWLdqw+lRkmxvPis9z 4J7Lm1E7+JjMMbhjx+tpSp8Qrh7Hp4LqmClvYEpU5/wTwvIBfezixSfDL1CcKJuCx4UM 1smVmgULHRtKKL1+7Lgwp0mrnRKtl0vEhkCQATm3jfBzWuvXeUpoqGPT3rnsywgQxrrM Ggkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702744472; x=1703349272; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=z4BFEEONoWkpzn90SXGptkQjSwiLux1sREVrYXIEOic=; b=SFn/7QbEhU6p17LCXVkQLZrTiOatmFTqEEuhs92E114xLYTwllV503OsZnFnpA2pNA 7bc/eWxIgCj9yEBGc7c3qDK2Bj9BkiSMZcCyATjqkmXxkpOwg1iNUGt19NjyFNOUYAWf zqMC2j/l1s6WPfzFpNcJzYSKn5oRDu+2sthRQDETeMFd/3h1n6GWnazY10iI/Kf+f5L3 2s4gKU5oBgOkQEv9XRLBqJo5Lp3NlB4ce7SHfF7HVqkToSIhTrgg+GbiytpAtrdH14KA cw+A8Yf9JSZ/ElzivAUpeXJ2qtpc2au9BRj4XPJg3X9L7iplSFRC4+N/Z1Agdz6hx+n3 6zwg== X-Gm-Message-State: AOJu0YyL6DLQunV6mBIhKjOJIKjWWteGnoX0UvFt3i1gFHca7X2Rcay2 5bKAyyJ1kpnh1yOOKKSAYpSsobIgKkYfSDP+PZDzODYKJuM= X-Google-Smtp-Source: AGHT+IEmPfuTX5KSyabbs3HAblLUsV/WlyGPoeV53HkKhwneiZORTzUpAzXY9A+OQP4uVs++TVNKnpELPItVMvxLMi8= X-Received: by 2002:a17:906:3e92:b0:a1d:1be7:59f with SMTP id a18-20020a1709063e9200b00a1d1be7059fmr12025105ejj.74.1702744472020; Sat, 16 Dec 2023 08:34:32 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 16 Dec 2023 17:34:20 +0100 Message-ID: Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 To: Nuno Teixeira Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000065ecd2060ca317dd" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4SssB20cXxz3G62 --00000000000065ecd2060ca317dd Content-Type: text/plain; charset="UTF-8" Are you trying to pass the nvidia gpu to windows vm ? or your intel gpu ? Il sab 16 dic 2023, 17:07 Nuno Teixeira ha scritto: > Hello all, > > Specs: > - laptop with integrated intel + dedicated nvidia > - 15-CURRENT 3b1904d9eb04 amd64 > - win11 with nvme and tpm > > I'm sharing my results with nvidia passthru: > ### > /boot/loader.conf.local: > vmm_load="YES" > pptdevs="1/0/0 1/0/1" > > ppt0@pci0:1:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de > device=0x1f99 subvendor=0x17aa subdevice=0x3fa5 > vendor = 'NVIDIA Corporation' > device = 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' > class = display > subclass = VGA > ppt1@pci0:1:0:1: class=0x040300 rev=0xa1 hdr=0x00 vendor=0x10de > device=0x10fa subvendor=0x17aa subdevice=0x3ffb > vendor = 'NVIDIA Corporation' > class = multimedia > subclass = HDA > > bhyve: > -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 > ### > > - Installed nvidia drivers without problems > - graphic card is detected but is deactivated with a triangle and a "!": > "Windows stopped this device... code 43" > - hda is detected and shows no problem > > I've read that some nvidia cards are working... > Any tips are welcome. > > Not sure if it is possible to use intel integrated as it is already in use > by OS. > > Thanks, > > -- > Nuno Teixeira > FreeBSD Committer (ports) > --00000000000065ecd2060ca317dd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Are you trying to pass the nvidia gpu to windows vm ? or = your intel gpu ?

Il sab 16 dic 2023, 17:07 Nuno Teixeira <eduardo@freebsd.org> ha scritto:
Hello all,
Specs:
- laptop with integrated intel + dedicated= nvidia
- 15-CURRENT 3b1904d9eb04 amd64
- win11 wit= h nvme and tpm

I'm sharing my results with= nvidia passthru:
###
/boot/loader.conf.local:=
vmm_load=3D"YES"
pptdevs=3D"1/0/0 1/0/1"<= br>

ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2= =A0 =C2=A0class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0= x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 = =C2=A0 =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 device =C2=A0 =C2= =A0 =3D 'TU117M [GeForce GTX 1650 Mobile / Max-Q]'
=C2=A0 =C2=A0= class =C2=A0 =C2=A0 =C2=A0=3D display
=C2=A0 =C2=A0 subclass =C2=A0 =3D= VGA
ppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D= 0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x10fa subvendor=3D0x17aa subdevic= e=3D0x3ffb
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corporatio= n'
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D multimedia
=C2=A0 = =C2=A0 subclass =C2=A0 =3D HDA

bhyve:
-s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1
###

<= /div>
- Installed nvidia drivers without problems
- graphic c= ard is detected but is deactivated with a triangle and a "!":
=C2=A0 "Windows stopped this device... code 43"
<= div>- hda is detected and shows no problem

I&#= 39;ve read that some nvidia cards are working...
Any tips are wel= come.

Not sure if it is possible to use intel = integrated as it is already in use by OS.

Than= ks,

--
Nuno Teixe= ira
FreeBSD Committer (ports)
--00000000000065ecd2060ca317dd-- From nobody Sat Dec 16 17:11:32 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sst0w1vhjz54B3k for ; Sat, 16 Dec 2023 17:11:44 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sst0w0572z3LbR for ; Sat, 16 Dec 2023 17:11:44 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702746704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0NjnA+HCDfqND9DNAdGwXzXyKc18bdPaPqwxywRbmgQ=; b=ejHVq4QX88OiVbxSWdKS79n3tDZQSrnx9jQsjhlZpNmtQYBubsKugSGhrfVsuaZEHRZzGo 0Y3ScKaoXwQYJ2MWm3oYpNvStWDGIgdEejvmXjMAc1/ZEvExTv7Ee11RADllUb1n/Yqhlv Y2pa72fW6Csb5CDD4zLxdO4eFSbAPfTrQPy+JQBGnvdIH/BlCIgoMw4IzkJHYDyaJi/OEI op/o5CkcOsJJGy48UI+evSE5ZKlX+lKWszv1oT6YBK0fe9i4AjXiRjFoeXIbUbdopDlLYK JFC4wnKYIx0W3WVBG3/m538z8JW255tAVv9Vqic7Y1Suz09p40qYk9ckBcXk8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702746704; a=rsa-sha256; cv=none; b=KY3B5GLQLNdx3hyeOayge7NtQg5Bx1J3rjsWopYgNSwx1rKZPQ+98rCFSUQD7jdhwghAyn fyE4sYcf08WhUcFJOMLqrK/GQDZXH88JnrJGrGyzOOC4pmJFza1Uc3R+KIb6To4b4QxfXm MyUUJFJikfEUo12f9nF0BFZ84ymydX3jT5gQxZUXc84iIAs77Nw+XVVSumAixWdm3EVOlM A4hdB3onVsxh4gUTU7K3c9X8dad7z6jN4T7f036tma5XmmtX+Q/iMdtAB3qSBDphg9Ll53 xvc/FfNqn0ZJw3TOTpMxs3WU4/hCkUglj9MpLeAIqruKXcTTEBPWOW14wsV2Tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702746704; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0NjnA+HCDfqND9DNAdGwXzXyKc18bdPaPqwxywRbmgQ=; b=vcsmWPeANowEgsePCpXMzyZ0205BjYFYybkwuPUk80ceGyqOncZubh2Axr40LhJbWClpew AU+lJqoZD3Zx1vJSJ81Hbmk5iYNxNe3nrw/d1h4U8qkRuTTTQ3Ajd1tNYrDk+y5yqkBiTq fkSO1mJ3dDB2Jq4bw4BtFdREZzUG198nPjwGSqCqSaTcEp3VJJ8EitJmG8VPy4aY14CG3j 8m5x8k1eI/VcP6U3SESB0IwUWlhGKzWq60nrmScm9+EdcfPZnnseLC1jT5NXakrOpDtisE cVgSxVOoGIlSe01IAvpemj7uDt1aDNWFcxDZfvJUwU0DM2HO/UJoMfaJh+PAlg== Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Sst0v6H85zncl for ; Sat, 16 Dec 2023 17:11:43 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-4260bbc84c5so14846791cf.3 for ; Sat, 16 Dec 2023 09:11:43 -0800 (PST) X-Gm-Message-State: AOJu0Yxh0ymCwRamticw06i6kutDgAylHvyB/rONm13QygTgvbaTLuZH m0Kzx7ei9vDu1k77a2tHa0DinnjOzsLGzfKIcEs= X-Google-Smtp-Source: AGHT+IGHzHxAOGlbTVelBRKBKrfRJ4h3V5NLNPFqw8cxkPIw+OGKKkxivw/gCUW4uXNcxUETzc5ljymlVPOKQNcUwRA= X-Received: by 2002:a05:622a:1113:b0:425:92fe:734 with SMTP id e19-20020a05622a111300b0042592fe0734mr17209209qty.38.1702746703048; Sat, 16 Dec 2023 09:11:43 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Nuno Teixeira Date: Sat, 16 Dec 2023 17:11:32 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 To: Mario Marietto Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="00000000000060b7b1060ca39cf2" --00000000000060b7b1060ca39cf2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable It seems that nvidia passtrhu isn't working (yet). Related to intel integrated graphics, I don't know if I can use it for ppt since it is in use by freebsd. Other thing, if I boot with BIOS on nvidia dedicated then intel doesn't show up in pciconf... Mario Marietto escreveu no dia s=C3=A1bado, 16/12/= 2023 =C3=A0(s) 16:34: > Are you trying to pass the nvidia gpu to windows vm ? or your intel gpu ? > > Il sab 16 dic 2023, 17:07 Nuno Teixeira ha scritto: > >> Hello all, >> >> Specs: >> - laptop with integrated intel + dedicated nvidia >> - 15-CURRENT 3b1904d9eb04 amd64 >> - win11 with nvme and tpm >> >> I'm sharing my results with nvidia passthru: >> ### >> /boot/loader.conf.local: >> vmm_load=3D"YES" >> pptdevs=3D"1/0/0 1/0/1" >> >> ppt0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D= 0x10de >> device=3D0x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5 >> vendor =3D 'NVIDIA Corporation' >> device =3D 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' >> class =3D display >> subclass =3D VGA >> ppt1@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D= 0x10de >> device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb >> vendor =3D 'NVIDIA Corporation' >> class =3D multimedia >> subclass =3D HDA >> >> bhyve: >> -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 >> ### >> >> - Installed nvidia drivers without problems >> - graphic card is detected but is deactivated with a triangle and a "!": >> "Windows stopped this device... code 43" >> - hda is detected and shows no problem >> >> I've read that some nvidia cards are working... >> Any tips are welcome. >> >> Not sure if it is possible to use intel integrated as it is already in >> use by OS. >> >> Thanks, >> >> -- >> Nuno Teixeira >> FreeBSD Committer (ports) >> > --=20 Nuno Teixeira FreeBSD Committer (ports) --00000000000060b7b1060ca39cf2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It seems that nvidia passtrhu isn't working (yet)= .

Related to intel integrated graphics, I don'= t know if I can use it for ppt since it is in use by freebsd.
Oth= er thing, if I boot with BIOS on nvidia dedicated then intel doesn't sh= ow up in pciconf...

Mario Marietto <marietto2008@gmail.com> escreveu no dia s=C3=A1bado, 16/1= 2/2023 =C3=A0(s) 16:34:
Are you trying to pass the nvidia gpu to windows = vm ? or your intel gpu ?

Il sab 16 dic 2023, 17:07 Nuno Teixeira <eduardo@freebsd.org&g= t; ha scritto:
<= div dir=3D"ltr">
Hello all,

Specs:
- laptop with integrated intel + dedicated nvidia
- 15-CUR= RENT 3b1904d9eb04 amd64
- win11 with nvme and tpm
<= br>
I'm sharing my results with nvidia passthru:
##= #
/boot/loader.conf.local:
vmm_load=3D"YE= S"
pptdevs=3D"1/0/0 1/0/1"

=
ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x030000 rev= =3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x1f99 subvendor=3D0x17aa subde= vice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corpora= tion'
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D 'TU117M [GeForce GT= X 1650 Mobile / Max-Q]'
=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D = display
=C2=A0 =C2=A0 subclass =C2=A0 =3D VGA
ppt1@pci0:1:0:1: =C2=A0= =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de= device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb
=C2=A0 =C2=A0 ven= dor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 class = =C2=A0 =C2=A0 =C2=A0=3D multimedia
=C2=A0 =C2=A0 subclass =C2=A0 =3D HDA=

bhyve:
-s 6:0,passthru,1/0/0 -s 6:1= ,passthru,1/0/1
###

- Installed nvidia d= rivers without problems
- graphic card is detected but is deactiv= ated with a triangle and a "!":
=C2=A0 "Windows st= opped this device... code 43"
- hda is detected and show= s no problem

I've read that some nvidia ca= rds are working...
Any tips are welcome.

=
Not sure if it is possible to use intel integrated as it is already in= use by OS.

Thanks,

--
Nuno Teixeira
FreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--00000000000060b7b1060ca39cf2-- From nobody Sat Dec 16 17:49:34 2023 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sstrw1zFTz54CqK for ; Sat, 16 Dec 2023 17:49:52 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sstrv6zlKz3S4S; Sat, 16 Dec 2023 17:49:51 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a1f8f470903so203797666b.1; Sat, 16 Dec 2023 09:49:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702748987; x=1703353787; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=J1jV/LVlJPWCNnYug1IeazTS+g5HQAtmTo9/cjSyufg=; b=IKb9yVa6X76f5dh+aL2lTFL257yipa58EI9EVj/1xZcdAy8g3zxleKpxXJgwk5LAZI M82lkpiZbAx8Muv3RNHjQGjs1J/Dg/U47tCXYdZWjCG+KURFJBlZ5A1kLkv1qReo3iMK Q0p5z8O0mSPb9jE4x2HXYEVzB6sGd/ozinaRx7hDEDP1toinpp0yDGybeVo9MGiqROa6 ISTOaztJDHUM3r0F4GayZWviQkpt5Z5vjdKuxe4zW3eB8PeiKjc7eyPkljUmYAAzQPJ2 cleXkPVr0fNgaD/dQAvnd0qZVtggcVD15e/r6FD7aNei+fEOluomZNB8IGqK96jshVbn Wpyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702748987; x=1703353787; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=J1jV/LVlJPWCNnYug1IeazTS+g5HQAtmTo9/cjSyufg=; b=I7w7Jt3yVNtpIbXYYzaoDAxDMaNweDj0XBX00DyTFa6MFOz4Eu2y63T72ke0byBPTS jApRTNQrYSh363LC9Fc5hXeQWtQIT58I7GCXfCEnGMC3PP9otnpVrBggJNFOM1LXfwJU Lj590PZsLnennLCHsE0NWXtQG5r7WOQTkVXpx4UPwwi/5p8QT6as3HhimQjela9Zypyo JKGYZy73TmXGvcLFqRRW2LV0+MMmzNnn0zg8Ez6mGy9c0aAhQdvm1FONE4zJsM/Hf58B G2jCbK0HhmrHmTGYou7LTv42fQRywdPZvl4dOd4QrmHDuMn6GlimIhBYh8QsUqtPjnl8 fj2w== X-Gm-Message-State: AOJu0YwXkG2zKk/SGLZThd+u7idsLG6O+q85UWlUcxLN8P0YKa8sYS7w 53hrJzpmBOsdxoK9GZKUyMfMIMpB6Ut1eVWlNouSgCRUFac= X-Google-Smtp-Source: AGHT+IEWE1bMNm+9N71G+WFEmrw/YXK1EGG27zombvqUPJxDVGkNNVXqvP8GkLt4j75Rbvth7W9sg+5Gt56pWjnVoQw= X-Received: by 2002:a17:906:ceda:b0:a1d:ddfc:1cda with SMTP id si26-20020a170906ceda00b00a1dddfc1cdamr6122835ejb.93.1702748986620; Sat, 16 Dec 2023 09:49:46 -0800 (PST) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Mario Marietto Date: Sat, 16 Dec 2023 18:49:34 +0100 Message-ID: Subject: Re: bhyve nvidia gtx-1650 mobile passthru on win11 To: Nuno Teixeira Cc: FreeBSD virtualization Content-Type: multipart/alternative; boundary="0000000000007d413c060ca42491" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4Sstrv6zlKz3S4S --0000000000007d413c060ca42491 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable for sure you can use nVidia gpu on the host and the intel one on the windows 11 vm. Il sab 16 dic 2023, 18:11 Nuno Teixeira ha scritto: > It seems that nvidia passtrhu isn't working (yet). > > Related to intel integrated graphics, I don't know if I can use it for pp= t > since it is in use by freebsd. > Other thing, if I boot with BIOS on nvidia dedicated then intel doesn't > show up in pciconf... > > Mario Marietto escreveu no dia s=C3=A1bado, > 16/12/2023 =C3=A0(s) 16:34: > >> Are you trying to pass the nvidia gpu to windows vm ? or your intel gpu = ? >> >> Il sab 16 dic 2023, 17:07 Nuno Teixeira ha scritto= : >> >>> Hello all, >>> >>> Specs: >>> - laptop with integrated intel + dedicated nvidia >>> - 15-CURRENT 3b1904d9eb04 amd64 >>> - win11 with nvme and tpm >>> >>> I'm sharing my results with nvidia passthru: >>> ### >>> /boot/loader.conf.local: >>> vmm_load=3D"YES" >>> pptdevs=3D"1/0/0 1/0/1" >>> >>> ppt0@pci0:1:0:0: class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor= =3D0x10de >>> device=3D0x1f99 subvendor=3D0x17aa subdevice=3D0x3fa5 >>> vendor =3D 'NVIDIA Corporation' >>> device =3D 'TU117M [GeForce GTX 1650 Mobile / Max-Q]' >>> class =3D display >>> subclass =3D VGA >>> ppt1@pci0:1:0:1: class=3D0x040300 rev=3D0xa1 hdr=3D0x00 vendor= =3D0x10de >>> device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3ffb >>> vendor =3D 'NVIDIA Corporation' >>> class =3D multimedia >>> subclass =3D HDA >>> >>> bhyve: >>> -s 6:0,passthru,1/0/0 -s 6:1,passthru,1/0/1 >>> ### >>> >>> - Installed nvidia drivers without problems >>> - graphic card is detected but is deactivated with a triangle and a "!"= : >>> "Windows stopped this device... code 43" >>> - hda is detected and shows no problem >>> >>> I've read that some nvidia cards are working... >>> Any tips are welcome. >>> >>> Not sure if it is possible to use intel integrated as it is already in >>> use by OS. >>> >>> Thanks, >>> >>> -- >>> Nuno Teixeira >>> FreeBSD Committer (ports) >>> >> > > -- > Nuno Teixeira > FreeBSD Committer (ports) > --0000000000007d413c060ca42491 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
for sure you can use nVidia gpu on the host and the intel= one on the windows 11 vm.

Il sab 16 dic 2023, 18:11 Nuno Teixeira <eduardo@freebsd.org> ha scritto:
It seems that = nvidia passtrhu isn't working (yet).

Related t= o intel integrated graphics, I don't know if I can use it for ppt since= it is in use by freebsd.
Other thing, if I boot with BIOS on nvi= dia dedicated then intel doesn't show up in pciconf...

<= div class=3D"gmail_quote">
Mario Marie= tto <marietto2008@gmail.com> escreveu no dia s=C3=A1bado, 16/= 12/2023 =C3=A0(s) 16:34:
Are you trying to pass the nvidia gpu to windo= ws vm ? or your intel gpu ?

Il sab 16 dic 2023, 17:07 Nuno Teixeira <edu= ardo@freebsd.org> ha scritto:
Hello all,

<= div>Specs:
- laptop with integrated intel + dedicated nvidia<= br>
- 15-CURRENT 3b1904d9eb04 amd64
- win11 with nvme a= nd tpm

I'm sharing my results with nvidia = passthru:
###
/boot/loader.conf.local:
vmm_load=3D"YES"
pptdevs=3D"1/0/0 1/0/1"

ppt0@pci0:1:0:0: =C2=A0 =C2=A0 =C2=A0 =C2= =A0class=3D0x030000 rev=3D0xa1 hdr=3D0x00 vendor=3D0x10de device=3D0x1f99 s= ubvendor=3D0x17aa subdevice=3D0x3fa5
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 = =3D 'NVIDIA Corporation'
=C2=A0 =C2=A0 device =C2=A0 =C2=A0 =3D = 'TU117M [GeForce GTX 1650 Mobile / Max-Q]'
=C2=A0 =C2=A0 class = =C2=A0 =C2=A0 =C2=A0=3D display
=C2=A0 =C2=A0 subclass =C2=A0 =3D VGAppt1@pci0:1:0:1: =C2=A0 =C2=A0 =C2=A0 =C2=A0class=3D0x040300 rev=3D0xa1 hd= r=3D0x00 vendor=3D0x10de device=3D0x10fa subvendor=3D0x17aa subdevice=3D0x3= ffb
=C2=A0 =C2=A0 vendor =C2=A0 =C2=A0 =3D 'NVIDIA Corporation'<= br>=C2=A0 =C2=A0 class =C2=A0 =C2=A0 =C2=A0=3D multimedia
=C2=A0 =C2=A0 = subclass =C2=A0 =3D HDA

bhyve:
-s 6:= 0,passthru,1/0/0 -s 6:1,passthru,1/0/1
###

- Installed nvidia drivers without problems
- graphic card is = detected but is deactivated with a triangle and a "!":
= =C2=A0 "Windows stopped this device... code 43"
- h= da is detected and shows no problem

I've r= ead that some nvidia cards are working...
Any tips are welcome.

Not sure if it is possible to use intel integra= ted as it is already in use by OS.

Thanks,
=

--
<= div dir=3D"ltr" class=3D"gmail_signature">
Nuno Teixeira
FreeBSD Committer (ports)


--
Nuno Teixeira
FreeBSD Committ= er (ports)
--0000000000007d413c060ca42491-- From nobody Sat Dec 16 19:25:17 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Sswz16zJ1z54KQZ for ; Sat, 16 Dec 2023 19:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Sswz15m7qz4FSc for ; Sat, 16 Dec 2023 19:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702754717; a=rsa-sha256; cv=none; b=BwQjpf1F2C3WU5axLh/Hph7YIdreRvbsvCeopADwqqvHUuCwRF5VNWpumjO1hMztge7JDQ aBxAynCuj08p9GJ8SKNB6EDHcDsjgdf1sOOBP8U7yaw+L3QZ4eyMjBSiI9yz8q8fvLzPfd kHeaQJ+4O6bQJePhKNIxUTzm0dcfqlUvjH1sjbevzTipJGy1bLKW6+2rKN+L7yB5nzkMQ0 FCMcKuE07RPXq9+D5dfumkfhc20W79fKrJi9Y/gqFQIU6264y0d/NFEx0noCxjT64ZXu98 RQgTWUCqPh+WSFUC/GTs1e1+10TJGA/r0gjj95Y1znOTcPYBww42sSim1jyiEw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702754717; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aWndMc2TvxnB4Li/fzYcAn2LwFVDL7fX8m205z/ugpY=; b=DXVzb1mjith6ZrBYLyZclwuCXUJDux3EXIhYIA9pptA7Hi7NG2yZeP0jJ7pQ99vfoVhLOd UCuAZqHpWT1vwunVeh5ql/DI2r58DjSzGEyJSnra2HZgVjDMyz3dF8Tp9wCNJ3GYV1jV4L TgltkoOC7TIqJy/FAMSu4zfS3uM4Do8vl1iT3mrPX3lR/bqGmbTEpKmCxPPfX/TiipfwsA 9CAM29eZtVyOc5IzI9h/hQhibVTn0PRk4IYYJAQr1c2Uw6obRfdxFjQqbIjLSnvoMr9IqN r1aHgofrCdbXeQFmTHKO/Kv4AsbnrA0KhUZlDkXIEPzH9J6D3GNfZWNOGAz0QA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Sswz14ncFz16Bc for ; Sat, 16 Dec 2023 19:25:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BGJPH5A027993 for ; Sat, 16 Dec 2023 19:25:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BGJPHR4027992 for virtualization@FreeBSD.org; Sat, 16 Dec 2023 19:25:17 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 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded Date: Sat, 16 Dec 2023 19:25:17 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sparkblast@pure-games.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823 sparkblast@pure-games.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sparkblast@pure-games.net --- Comment #14 from sparkblast@pure-games.net --- Is this now in 13.x merged or will be merged? --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sat Dec 16 19:45:36 2023 X-Original-To: virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SsxQS1yNgz54Lbr for ; Sat, 16 Dec 2023 19:45:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SsxQS0rvcz4JC8 for ; Sat, 16 Dec 2023 19:45:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702755936; a=rsa-sha256; cv=none; b=PFAt2el2780/nD8S2n1+bGeEMqnLcz0yQFlUdxtHYiRszshLZMWu7ix0+7hwy5c04lZsIF XzT99BDcW1SFJDBjSvh/R/nOIB48eZ9fQTmlDNoVtAuzKOfsOpPFsyHn/JHvYjMq1bLbJU PvnQbKma1M78NEQWG3JJrwWBJ71awolZQuSFoqB/yhfr0i06CmKt7ldI3bwlCCu99A4J+L 2SVXfD82ycve4F/o37UuphcCi+1T9xEtCW+nyzfr1wB/Y3l4ylYTagx47iM3t0XzPhAICS LPt5NqlYL6+Ioe3wm8sb1IYlCjA2BKWmxzghOKFlTE+KWJr1f2OeZ8EC+/h3xg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1702755936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=TEYCoH8b45S1fkQp6cP7kGk9vlmNn0E9DdATy6PH8Fw=; b=fu1Z4A6v3xrCft4MnhlPxAU8YW8cHHZ4d7fPOFq7P8UlBuru02At+95ef3BIj+QcPedERN RxDvOqGZQkkcRrhW5GeLQscOrA8bH6in9PwWRsZffZ9I9fsTdQHV755dnniIJ4G+ALil7E m9eoZGg0quvrnY02sCv2qw8KHl+KftQQnNNtfL2/U+pLGj/QvwRztrpc6SaafP6rtpRDTl qTy//e23Yf2Le4pigvzb9NXy5GV1KQJUzEdB/o8u7j0PaNu0oMfWKfoPY7vMmBPBHbLlvS NRai+sDm8coQmBBGqrLdYwj2yHF6O9A+k16jsYrRZmizmsvT+A/sNbBOurFvUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SsxQR6xWTz16FT for ; Sat, 16 Dec 2023 19:45:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3BGJjZIY054605 for ; Sat, 16 Dec 2023 19:45:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BGJjZAv054599 for virtualization@FreeBSD.org; Sat, 16 Dec 2023 19:45:35 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 269823] rand_harvest produces 100%CPU on 1 CPU with virtio_random.ko loaded Date: Sat, 16 Dec 2023 19:45:36 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@igalic.co X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jhb@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 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-virtualization@freebsd.org X-BeenThere: freebsd-virtualization@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269823 --- Comment #15 from Mina Gali=C4=87 --- yeah, it was merged in base c31927eb866f18b87cc196f14cbbcf658e10d38c into stable/13 but I don't think we've got that released yet --=20 You are receiving this mail because: You are on the CC list for the bug.=