From owner-freebsd-virtualization@freebsd.org Tue Sep 1 18:11:13 2020 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 693D13D2489 for ; Tue, 1 Sep 2020 18:11:13 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (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 4Bgw9r3hgHz40J6 for ; Tue, 1 Sep 2020 18:11:12 +0000 (UTC) (envelope-from ypankov@xsmail.com) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id DCB2E93E; Tue, 1 Sep 2020 14:11:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 01 Sep 2020 14:11:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xsmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=1 ODabxZ64VgvNoc/9BL+1HZ7pVmqJTtGPZr4aIaDLLM=; b=DpNr631cV0shx5ZqB BivF8PwzanK6ga+sLJTMZ+80WDWsdageYJLmtBmb+/aSE0pAoD45jkKPoFfUG35I DZuGL4o7zoi8RsrExV8cHqne0HZp7FmlLT/PWkm7G/wR+qZZcG6+869uiB1OecNG RbxC0SAW/7M85eux0LpUwQxxU2fk9p/almsh95RqaLcZJG0q6Xc6ennyNB/HbFc3 urRulOr75dVyuXvAFCu719BvNTiwuLqnnv74Tmf6pR2x1GC92CENJ3VZfaGk/i6C 3izOmQepkIedDF1WYlshyAd9mnuCA/NXB0Q+94PDJADb7KQtTjNOl4I5i3HMzFLi oItKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=1ODabxZ64VgvNoc/9BL+1HZ7pVmqJTtGPZr4aIaDL LM=; b=vIHR4h+iXlLQgt6ZoDNQaj37h3WBnjTfBcEjstNgSnETNDiuKHV3Rkzfk QGDJQxtqQRdOvIHUwjuDufRrHS0pGcrLt1GQWu6le/tVhVWc9Zv+1z/4IE6z7WLl rsZCb+S1nUFkB+2P5zysdpyuDjcsD5sCDvQZ24gmh2Bd1QYoT2V536OYN0+VnHKr fN4RvKeGvHGH+kvUXvOz/GF+7zvQVHwy780zRamnDcW+0obXSM3YxCEiwf11yX0t Q8QvXLiJPo8+/k8K17gcZ4ezAz7XAuX0oGguvNHXQkUhHjT1LXQwaCYkLFQvJe+h SnCCBiysQa//subKbfA+bJPf70XJg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudefjedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpegjuhhr ihcurfgrnhhkohhvuceohihprghnkhhovhesgihsmhgrihhlrdgtohhmqeenucggtffrrg htthgvrhhnpefhvdevhfekkeekheeffeevjeevjeduhfejgfejfeeiudegheeuueetheei heduvdenucfkphepledurddvgedtrdduvdegrdduledtnecuufhprghmkfhppfgvthifoh hrkhepledurddvgedtrdduvdegrdduledtnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomhephihprghnkhhovhesgihsmhgrihhlrdgtohhm X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.190]) by mail.messagingengine.com (Postfix) with ESMTPA id 270513060067; Tue, 1 Sep 2020 14:11:09 -0400 (EDT) Subject: Re: bhyve entered ddb: Stopped at rdmsr To: Christian Barthel , freebsd-virtualization@freebsd.org References: <877dtdidkf.fsf@barthel.ch> From: Yuri Pankov Message-ID: Date: Tue, 1 Sep 2020 21:11:08 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.2.1 MIME-Version: 1.0 In-Reply-To: <877dtdidkf.fsf@barthel.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Bgw9r3hgHz40J6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=xsmail.com header.s=fm3 header.b=DpNr631c; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=vIHR4h+i; dmarc=pass (policy=none) header.from=xsmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@xsmail.com designates 64.147.123.19 as permitted sender) smtp.mailfrom=ypankov@xsmail.com X-Spamd-Result: default: False [-3.83 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[xsmail.com:s=fm3,messagingengine.com:s=fm3]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[xsmail.com]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.19]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.01)[-1.012]; RWL_MAILSPIKE_GOOD(0.00)[64.147.123.19:from]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[xsmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[xsmail.com,none]; NEURAL_HAM_SHORT(-0.71)[-0.715]; NEURAL_HAM_MEDIUM(-1.01)[-1.006]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[xsmail.com]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-virtualization]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.19:from] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.33 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, 01 Sep 2020 18:11:13 -0000 Christian Barthel wrote: > Hello, > > I switched my notebook from a ThinkPad X230 to ThinkPad T480 > (each running 12.1). I noticed that one of my OpenBSD (6.3) > bhyve VMs is not booting anymore. It stops with a debugger > prompt: > > acpi0: sleep states S5 > acpi0: tables DSDT FACP HPET APIC MCFG SPCR > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpihpet0 at acpi0: 16777216 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz, 1992.07 MHz > cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,SS,HTT,PBE,SSE3,PCLMUL,DTES64,DS-CPL,SSSE3,SDBG,FMA3,CX16,xTPR,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,HV,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,ITSC,FSGSBASE,BMI1,AVX2,BMI2,ERMS,INVPCID,RDSEED,ARAT,MELTDOWN > cpu0: 256KB 64b/line 8-way L2 cache > rdmsr to register 0xc80 on vcpu 0 > kernel: protection fault trap, code=0 > Stopped at identifycpu+0x75c: rdmsr > ddb{0}> > > > Does anyone know why / how to boot the VM? > This VM runs fine on the X230 model but not on the T480. > Other guests (FreeBSD, Ubuntu) run fine on the T480 model as > well. Are you using -w flag (Ignore accesses to unimplemented Model Specific Registers)? At least, it seems to be required to boot Windows guest.