From nobody Wed Jul 17 01:04:31 2024 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 4WNyQF3Dxlz5QdHW for ; Wed, 17 Jul 2024 01:04:37 +0000 (UTC) (envelope-from polarian@polarian.dev) Received: from mail.polarian.dev (mail.polarian.dev [IPv6:2001:8b0:57a:2385::8]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4WNyQD3lCtz4d3q for ; Wed, 17 Jul 2024 01:04:36 +0000 (UTC) (envelope-from polarian@polarian.dev) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=polarian.dev header.s=polarian header.b=Crcx+7Id; dmarc=pass (policy=quarantine) header.from=polarian.dev; spf=pass (mx1.freebsd.org: domain of polarian@polarian.dev designates 2001:8b0:57a:2385::8 as permitted sender) smtp.mailfrom=polarian@polarian.dev Received: from PolarianBSD (_gateway [192.168.2.1]) by mail.polarian.dev (Postfix) with ESMTPSA id 64F2F10A1E76 for ; Wed, 17 Jul 2024 01:04:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=polarian.dev; s=polarian; t=1721178272; bh=i4rmQ8CuElzfpXEWHKvdcJRMlog8vzXb+St17nJvHWI=; h=Date:From:To:Subject:In-Reply-To:References; b=Crcx+7Idvhx0A3MQbcTTfV7Y7m2Ev1S/63FZSvJCT9Rk1lssIxe/VTxARF8LtkQKG ZP2GLUa/kJL97tuXfueHj/CgoJAapeuf6+4qLZEHfMJkT04jUdpx8JsOzc7tICRJYK GdY46i1QuByksvI565J7XTvROwb5HEme+/+4UwIw= Date: Wed, 17 Jul 2024 02:04:31 +0100 From: Polarian To: virtualization@freebsd.org Subject: Re: nmdm issues with bhyve Message-ID: <20240717020431.2c53edfa@PolarianBSD> In-Reply-To: <4b081401-4f57-42b7-9795-c7c3885e3b68@freebsd.org> References: <20240716153851.60c1ea61@PolarianBSD> <16dfe6b3-2ef1-4859-a5b0-a36efe452804@FreeBSD.org> <4b081401-4f57-42b7-9795-c7c3885e3b68@freebsd.org> X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; MID_RHS_NOT_FQDN(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[polarian.dev,quarantine]; R_DKIM_ALLOW(-0.20)[polarian.dev:s=polarian]; R_SPF_ALLOW(-0.20)[+ip6:2001:8b0:57a:2385::8]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; RCPT_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[virtualization@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[virtualization@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[polarian.dev:+] X-Rspamd-Queue-Id: 4WNyQD3lCtz4d3q Hello, > The -w option is needed so that bhyve won't exit on accessing an > unimplemented MSR (that particular one is harmless). Apologies, this is within the wiki [1], however I must have missed it when I was typing out the command. However, I have tested it right now, even with the -w option the nmdm device does not show up still. When testing with stdio: wrmsr to register 0xc0011029(0x3) on vcpu 0 Followed by: sh: turning off NDELAY mode Which I assume is bhyve forking into the background? Anyways updated configuration is below: bhyve -c 1 -m 1G -u -H -w \ -s 0,amd_hostbridge \ -s 3,ahci-hd,/home/bitflame/install75.img \ -s 4,virtio-blk,/dev/zvol/zpool-storage/dns \ -s 5,virtio-net,tap0 \ -s 31,lpc -l com1,stdio \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \ dns Bakul I have read your configuration, I haven't had time to test it, I will test it shortly to see if something there resolves the problem. Thank you for the help, -- Polarian GPG signature: 0770E5312238C760 Jabber/XMPP: polarian@icebound.dev