From owner-freebsd-bugs@freebsd.org Mon Mar 1 09:51:47 2021 Return-Path: Delivered-To: freebsd-bugs@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 2F117556C16 for ; Mon, 1 Mar 2021 09:51:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpwX30gJRz3pTW for ; Mon, 1 Mar 2021 09:51:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 16E81556AC1; Mon, 1 Mar 2021 09:51:47 +0000 (UTC) Delivered-To: bugs@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 16B28556C15 for ; Mon, 1 Mar 2021 09:51:47 +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 4DpwX26zDQz3pRW for ; Mon, 1 Mar 2021 09:51:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 E2441218E9 for ; Mon, 1 Mar 2021 09:51:46 +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 1219pkHT034695 for ; Mon, 1 Mar 2021 09:51:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1219pkcP034694 for bugs@FreeBSD.org; Mon, 1 Mar 2021 09:51:46 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: bugs@FreeBSD.org Subject: [Bug 253932] Freebsd 11.4 crashes on reboots on ESXi with passthrough of NIC Date: Mon, 01 Mar 2021 09:51:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mohdarif.khan@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 09:51:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253932 Bug ID: 253932 Summary: Freebsd 11.4 crashes on reboots on ESXi with passthrough of NIC Product: Base System Version: 11.4-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: mohdarif.khan@gmail.com Hi All, The FreeBSD 11.4 vanilla VM downloaded from freebsd.org is crashing when do= ing passthrough of Intel NIC "Ethernet Controller X710 for 10GbE SFP+" after a couple of reboots. In the ESXi kernel logs seeing this message Code: cpu10:2235436)IntrCookie: 1565: Unable to allocate 128 cookies: Out of resources 2021-02-24T13:32:47.831Z cpu10:2235436)PCIPassthru: 2461: Failed to allocate 128 MSIX interrupts" 2021-02-24T13:32:47.968Z cpu10:2235436)UserDump: 2630: vmx-vcpu-1:arif-debug-11: Dumping cartel 2235424 (from world 2235436) to fi= le /vmfs/volumes/5e329ba9-50e9cd52-8a4b-0cc47aacfdbc/arif-new-11/vmx-zdump.000= ... 2021-02-24T13:32:48.771Z cpu1:2235436)UserDump: 2818: vmx-vcpu-1:arif-debug= -11: Userworld(vmx-vcpu-1:arif-debug-11) coredump complete. PCIPassthru: 2461: Failed to allocate 128 MSIX interrupts The issue is not seen 10.* freebsd VM. Looks like there is some issue with pci_alloc and free functions. First of all why ESX allocating 128 interrupts for one MSIX interrupt. And again after some reboots all the available interrupts are exhausted. regards, mak --=20 You are receiving this mail because: You are the assignee for the bug.=