From nobody Thu Jun 24 00:49:23 2021 X-Original-To: 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 09F425D4E17 for ; Thu, 24 Jun 2021 00:49:24 +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 4G9M376nvmz4h09 for ; Thu, 24 Jun 2021 00:49:23 +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 CD80564B9 for ; Thu, 24 Jun 2021 00:49:23 +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 15O0nNlo090634 for ; Thu, 24 Jun 2021 00:49:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 15O0nNjc090633 for virtualization@FreeBSD.org; Thu, 24 Jun 2021 00:49:23 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: virtualization@FreeBSD.org Subject: [Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install Date: Thu, 24 Jun 2021 00:49:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chuck@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256422 --- Comment #9 from Chuck Tuffli --- To document this a bit more, the error in pci_nvme.c is: ... nvme doorbell 1, SQ, val 0x1 nvme_handle_io qid 1 head 0 tail 1 cmdlist 0x8c1885000 pci_nvme_io_done error 14 Bad address pci_nvme_set_completion sqid 1 cqid 1 cid 116 status: 0x0 0x4 pci_nvme_set_completion: CQ1 interrupt disabled nvme doorbell 1, CQ, val 0x1 blockif_write() asynchronously returns EFAULT (a.k.a. "Bad address"). Adding some debugging to pci_nvme_io_done() shows the following: Fault on SQ[1] opc=3D0x2 cid=3D0x74 bytes=3D2097152 [ 0] 0x8c097a018 : 2097128 [ 1] 0x0 : 24 The debug statement displays the contents of the pci_nvme_ioreq structure f= or the failing IO, including valid iovec entries. This is from an I/O Submissi= on Queue (i.e. queue ID !=3D 0) for a Read (opcode 0x2) of 2097152 bytes. My suspicion is the second iovec with the NULL iov_base value causes the EFAULT. --=20 You are receiving this mail because: You are the assignee for the bug.=