From nobody Mon Oct 03 16:11:14 2022 X-Original-To: bugs@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 4Mh5Rk6bMwz4d5qB for ; Mon, 3 Oct 2022 16:11:14 +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 4Mh5Rk4SJPz3M1j for ; Mon, 3 Oct 2022 16:11:14 +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 4Mh5Rk3XWVzGPM for ; Mon, 3 Oct 2022 16:11:14 +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 293GBEqR011649 for ; Mon, 3 Oct 2022 16:11:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 293GBEQQ011648 for bugs@FreeBSD.org; Mon, 3 Oct 2022 16:11:14 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 262969] NVMe - Resetting controller due to a timeout and possible hot unplug Date: Mon, 03 Oct 2022 16:11:14 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: firemeteor@users.sourceforge.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664813474; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HF6ZmjIYpjSvBKSH/3LfGOdwJj1cjuk8CEe5Odvawl0=; b=yK2isxJ/XmeAVpqF+rLx9j/VmIgKEjVqAVoJmJ+mmHRfn/F2ugxzteDm5VIsKlZeF7lpsd FdYGAHb730OezI23a+Z0xSfhNEUvEjh65KpDWxTZW6+EkB9i6SxWyZiU0s4OMYq4ZTb487 mG/gLcVlJ9+jQsqr6OE4T8uz4dTwcQYLjZHBjDN4qTTdpAmAyNF50Gf3Kj7ZevXE9miUgC zAesE6U/3YHU+5HS4eKnzNT0/2JIYZUaSiim9lCCfWlfYb1dl1bA0UYccW2+vEsCeK7ULr LfrpMywutlKNV3DL9nX6uS5uVGVHeuRMdzExfq4sIeQsMSfPxRYGTnQHbTe21A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664813474; a=rsa-sha256; cv=none; b=d3HxX7Dm2L7JEHL/dfWlT7i2RXjIdfnX9Pn00szJ82eqvWK+hNwZ3Z5dxqp2WatZCTmhoS 35A9Ehw52acBUC0ZhNlAr2ODQQx3pZ2E0lIOaBqAvADdQwZNvJ2geZgJ8ympKx31Q7Y+l7 o/ME5ZQwKXObV3mZOcpx9xOkqD1cG9jGvb+KTIP9nh27bN9L34eIFmdwKBPP34lWC4bkt1 FFbAdJ1uHN4oIu6FKdUIbh1j4Cu2SUCbd9T6AEEAQ6w2b11p8C1ecW74XglXKC2gh/KOB9 gfs3XrkSDF9XRLHL2Goeow/k/srfhJeXQ/4aRBHzwJ4CDpHXD/AtUIgW7AZrZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262969 --- Comment #7 from Timothy Guo --- (In reply to Timothy Guo from comment #5) I'm back reporting that the problem comes back just now (2 hours ago accord= ing to the alert mail) for no obvious reason -- I'm not actively using that ser= ver at this moment. The same nvme controller timeout reset shows up in kernel l= og and I loss access to the ZFS pool on it. The disk itself seems to work well physically so I'm not sure if I can ask = for refund or any service. On the other hand, once the problem shows up, it app= ears to affect both Linux && FreeBSD running on the same physical box. Maybe firmware bug, maybe driver issue, maybe both... I used to suspect the problem is APST related, but I have no way to play wi= th this config in FreeBSD. There is no mention of this term in the FreeBSD wor= ld. There is no user land tools that can manipulate or inspect the status of the APST related feature setting. It's kind of surprising since this feature had bad fame in the Linux world. Is there anybody who can help me at least do some diagnose on this problem?= Is it feasible to manually parse the PCI config space to determine the APST status? I'll need some guide for this though... --=20 You are receiving this mail because: You are the assignee for the bug.=