From owner-freebsd-bugs@freebsd.org Wed Feb 21 09:24:03 2018 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 050FCF166B5 for ; Wed, 21 Feb 2018 09:24:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 90DB96F112 for ; Wed, 21 Feb 2018 09:24:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id BBAC32538 for ; Wed, 21 Feb 2018 09:24:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w1L9O10F041635 for ; Wed, 21 Feb 2018 09:24:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1L9O1wk041634 for freebsd-bugs@FreeBSD.org; Wed, 21 Feb 2018 09:24:01 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: freebsd-bugs@FreeBSD.org Subject: [Bug 226086] Intel Optane 900P kernel panic when device is passed through ESXi (6.5) Date: Wed, 21 Feb 2018 09:24:00 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wessel.van.norel@delgurth.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 attachments.created 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.25 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 09:24:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226086 Bug ID: 226086 Summary: Intel Optane 900P kernel panic when device is passed through ESXi (6.5) Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: wessel.van.norel@delgurth.com Created attachment 190851 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190851&action= =3Dedit Screenshot of the kernel panic I'm trying to build a FreeNAS system on an ESXi host with an Intel Optane 9= 00p as ZIL/ZLOG device via passthrough. But when I boot the vm it crashes with a kernel panic. Only when I remove the Intel Optane 900p from the VM it boots correctly.=20 After finding this I found a bug on the FreeNAS forums about this issue: https://redmine.ixsystems.com/issues/26508 In the bug there is a comment (Warner is Warner Losh ): Yes, Warner replied to my emails. His latest suggestion was "There is a small chance https://reviews.freebsd.org/D14053 fixes this." So I tried to boot the most recent nightly ISO: FreeBSD-12.0-CURRENT-amd64-20180215-r329338-disc1.iso And that failed with the same kernel panic (I assume review D14053 is in th= is since the revision number of the ISO is higher then the revision where revi= ew D14053 is added).=20 When I boot the system with from an USB stick with the nightly ISO (so with= out ESXi) the kernel panic does not occur and the nvme device is detected correctly. The kernel panic I'm getting is: Fatal trap 12: page fault while in kernel mode. I've attached a screenshot = of the exact kernel panic. When I only add my Samsung 960 PRO to the VM it works. So it's the Intel Op= tane 900P that is causing this issue. But only when being passed through. How can I help to find the root cause? --=20 You are receiving this mail because: You are the assignee for the bug.=