From nobody Wed Mar 29 10:44:01 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 4Pmjpb6j75z42Ng6 for ; Wed, 29 Mar 2023 10:44:07 +0000 (UTC) (envelope-from contact@evilham.com) Received: from yggdrasil.evilham.com (yggdrasil.evilham.com [46.19.33.155]) (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 4Pmjpb02Kcz40JB for ; Wed, 29 Mar 2023 10:44:06 +0000 (UTC) (envelope-from contact@evilham.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=evilham.com header.s=mail header.b=suuSKY6w; spf=pass (mx1.freebsd.org: domain of contact@evilham.com designates 46.19.33.155 as permitted sender) smtp.mailfrom=contact@evilham.com; dmarc=pass (policy=quarantine) header.from=evilham.com From: Evilham DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=evilham.com; s=mail; t=1680086644; bh=DjdmyyGs+knLHQPTIjDY4m3mBxs38jrHbsQut20UO0U=; h=From:To:Subject:Date; b=suuSKY6wzeGNVtIsruo9QvyuYl2lVRVQ9r87YHxM7VyxJcxdCN6z8pse2irUZkpxm 8s59ZOC307twsjAvi8bxAz3fvMrxe+bHN3K17yxayjVeSWmEW94SZGVa999QTNOLCB FO3z+JJOpWfn0k4AUyhepSmS8YrBjBLorEK/vv4U= To: freebsd-virtualization@FreeBSD.org Subject: CURRENT: Operation not supported by device Date: Wed, 29 Mar 2023 12:44:01 +0200 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: text/plain; format=flowed X-Spamd-Result: default: False [-3.86 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.86)[-0.859]; DMARC_POLICY_ALLOW(-0.50)[evilham.com,quarantine]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[evilham.com:s=mail]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-virtualization@FreeBSD.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[evilham.com:+]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:196752, ipnet:46.19.32.0/21, country:NL] X-Rspamd-Queue-Id: 4Pmjpb02Kcz40JB X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, I've been using bhyve for a while now and in the past couple days (though I'm not sure when it started, certainly less than two weeks ago), I've been getting this message when trying to start a VM on CURRENT: # # This is after unloading vmm # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d disk0.img test *** vmm.ko is not loaded # kldload vmm # sh /usr/share/examples/bhyve/vmrun.sh -E -I null.iso -d disk0.img test Launching virtual machine "test" ... device emulation initialization error: Operation not supported by device # bhyvectl --vm=test --destroy # kldunload vmm FWIW, there have been no changes on the BIOS, as can be seen vmm loads without issues or warnings. I usually use vm-bhyve, but was trying to discard that by going back to the basics. Would greatly appreciate pointers as to where to look in order to be able to use bhyve again :-). This is the CPU as reported on dmesg: CPU: AMD Ryzen 7 PRO 2700U w/ Radeon Vega Mobile Gfx (2196.04-MHz K8-class CPU) Origin="AuthenticAMD" Id=0x810f10 Family=0x17 Model=0x11 Stepping=0 Features=0x178bfbff Features2=0x7ed8320b AMD Features=0x2e500800 AMD Features2=0x35c233ff Structured Extended Features=0x209c01a9 XSAVE Features=0xf AMD Extended Feature Extensions ID EBX=0x1007 SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 TSC: P-state invariant, performance statistics And on with sysctl dev.cpu.0 (there are 0-7 of these) dev.cpu.0.cx_method: C1/hlt C2/io dev.cpu.0.cx_usage_counters: 415801 517428 dev.cpu.0.cx_usage: 44.55% 55.44% last 2765us dev.cpu.0.cx_lowest: C8 dev.cpu.0.cx_supported: C1/1/1 C2/2/400 dev.cpu.0.freq_levels: 2200/2681 1700/1615 1600/1460 dev.cpu.0.freq: 2200 dev.cpu.0.%parent: acpi0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 _CID=none dev.cpu.0.%location: handle=\_PR_.C000 dev.cpu.0.%driver: cpu dev.cpu.0.%desc: ACPI CPU Thanks in advance for any pointers! -- Evilham