From nobody Tue Jan 11 10:28:01 2022 X-Original-To: xen@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 8DBA11944D25 for ; Tue, 11 Jan 2022 10:28:04 +0000 (UTC) (envelope-from avg@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 4JY6N42jPJz4qXJ; Tue, 11 Jan 2022 10:28:04 +0000 (UTC) (envelope-from avg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641896884; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rpApX8YncfFCXkNUjAI2TbOFjmCFaRJYU+RAROlxk+g=; b=KFnaozcal2Ei5/sPug2XP/HFlz1tZmBg0KHWvYv7MgNdffFXKD93afIfbR/LJgVR2ahDsc N5/QugCPJv5nBU11wu2lWzGJCj0YjG6vsenNjUPyws/tomv0W0w217WMIDp11Mb2+1HwhG hqYSjV46NJmpsRtFZeZZ3gu695dD5ZoXzykxcMymu3jhdeknjHt/RUb/VglwlVTb1CDexu RdYn3kHtS+jTDuWSWlWGmRgqqoVYEzPmVlQ5L981CB9yrS3EZ5vfK7p24bVNvxVbt/TUQg aFcoh5pm3hkdIsFmeFoTiPkm8g4Gh7jdneTAUWo/yGs4M/6eWcd+Razm94y6LQ== Received: from [192.168.0.88] (unknown [195.64.148.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: avg/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id B21923624; Tue, 11 Jan 2022 10:28:03 +0000 (UTC) (envelope-from avg@FreeBSD.org) Message-ID: <787faaf6-c639-0f6a-1a16-c4fb7a5506e5@FreeBSD.org> Date: Tue, 11 Jan 2022 12:28:01 +0200 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-xen List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.4.1 From: Andriy Gapon Subject: Re: VCPUOP_send_nmi returns -38 Content-Language: en-US To: =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= Cc: xen@freebsd.org References: <3f9f173b-40b9-0180-404d-52fa56dde45f@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641896884; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rpApX8YncfFCXkNUjAI2TbOFjmCFaRJYU+RAROlxk+g=; b=MxXHHIKVcT1zn9tP+OZ2S9rLkVJ6t7sN6o65RXLhv9TaRTFjTKMsCsWSO53It3gGJaTucW sCt0PDbU7k3roEYlBJkkbNC5B0+8HZn54FC+pmOvrF2TkgJD0Yo75g3NTdGUtYGJtBkdAw YLjNbHnjHFJWgUfL0fNY+R/o/H1X/c+X1nobTH23ykc30QJp7ZZ8TF/qVsDrB24JDyjQm+ 0OXpdeSTLApns8mjqf0WnY/MdX0PQ7xo+TvVADSkAfoJnTfWQ6slU/9BFyjajy5LNHCijH L1a/LDMzjw3CFlzzdYjIfaB52/sDB6bzXpExAe9gGwdoUfH5rtqvSmokQbKecw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641896884; a=rsa-sha256; cv=none; b=OUlfvU7ZaIrzXQEV0us/9yVtqi0aOcDSS/zuGLJC1WocdsBhrMjh4g5y0SW5IhyR9eqtIC qhZA6h1jDQ7jUfGYTCOL3ktLvi2JsLoIE+KLKJu4Dn1GdDfs5ZGYOBOzN31SXyPKR8UfUx GtYDPQ4FSmFWV+HqX41RFRZ79s5qG6ssx/MBEocHV5LC+A/0jvtDjiZmDVGY767E3V98Yc h+LotpxnSO2EWD3Ca09Z27qkBjidGqsHi8eEqahCaTZ8Z3eImmecKvuwlopZijzyelTpBh 70fOxVPlj+U60Oi6vPrw+SLoDirngDL9pWR0NZlnnHppvH4rDbAT88PYpjm6XQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 11/01/2022 12:26, Roger Pau Monné wrote: > On Tue, Jan 11, 2022 at 12:07:28PM +0200, Andriy Gapon wrote: >> On 11/01/2022 11:50, Andriy Gapon wrote: >>> >>> Recently I got a report of crashes related to using procstat -k on one >>> of our systems.  The system runs FreeBSD 12.2 on an AWS Xen-based >>> instance (can get more specifics about it later). >> >> The instance type is t2.large. >> Here are all lines from verbose boot that mention Xen: >> >> XEN: Hypervisor version 4.2 detected. >> Disabling MSI-X interrupt migration due to Xen hypervisor bug. >> XEN: disabling emulated disks >> XEN: disabling emulated nics >> Hypervisor: Origin = "XenVMMXenVMM" >> x2APIC available but disabled due to running under XEN > > Thanks. I've asked someone at AWS for comments. I guess the only way > to workaround this is to switch back to using the emulated APIC. I > will try to prepare a patch later. Thank you very much! -- Andriy Gapon