From nobody Sat May 06 10:05:20 2023 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 4QD38J39fXz49Nmf for ; Sat, 6 May 2023 10:05:20 +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 4QD38J1G6gz3vFH for ; Sat, 6 May 2023 10:05:20 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683367520; 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; bh=Im/yBLTc7mCJZ/fUdnnAIVEr5ReXabdQmfz0EgfzoWQ=; b=iPcSXPnRYkv8gqHoDtDkZlmtTb9TA2sE4gPPo/+egiI4MWBbI6iZd1NGp6WrL7a9axNNF+ HHz4dbL9q5/bOzeozLTSRyzKnxyd+ZM1tUHvc/q622bvGFb2FOIMRzBh4wNRI1vE11NQSR Ur60XRrnXkuJeZkSg7Dl/S2c4Z3G2j60erzaBC56OaIcZL+irnEg0k8yIkfXnvjDoOOkqp lFsilv/ZyMRTmMznKjz9ugjana2VWN0lOYRyIXh06l2hutp0sbaejS/HLmxsBM5Cuuq6iY VE5mST1f3ynYwmLQr162+reVuFxz9hpAzvdUB8Dody8HvVZ4jKNn9KrU4Kikrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683367520; a=rsa-sha256; cv=none; b=Rf9xom+411iNdMh3x3ZbovKrzcYNBYcgoW/7IHPcNkvI2Z79KTh0XY3mxfcuFy9zu59I6N mntUhfuNYTwO3WO/SFiPhL4OA+PsdyqfCZ4UFUCaWnQ4/KQoaA2q3g8SZGyldYBxBo6aaR 5IITKgWRakcRZJ6vGNF0nAT+iKsY4uhNKI2V+EpSOm9uyoDtJAxNGzQ4VbXJDieWPbYije GzW5TLmHTl13qS5qCpnTOMILSPxl6vlZ/w0G659THcLACtR8ZOxpznM0bMma2I0fA/NHQ7 QfrKL0cCZTNKLq2aYBhyV5uV2EBqRTfSYlYECykaQlV5h/9a12zCR4X/dwRNBA== 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 4QD38J0MGrzY3T for ; Sat, 6 May 2023 10:05:20 +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 346A5J2S028193 for ; Sat, 6 May 2023 10:05:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 346A5Jf9028191 for bugs@FreeBSD.org; Sat, 6 May 2023 10:05:19 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 271276] Needs reboot to detect NVMe disk after hot add NVMe controller and disk separately in FreeBSD 12.x and 13.x Date: Sat, 06 May 2023 10:05:20 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yanhuih@vmware.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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271276 Bug ID: 271276 Summary: Needs reboot to detect NVMe disk after hot add NVMe controller and disk separately in FreeBSD 12.x and 13.x Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: yanhuih@vmware.com After install a FreeBSD guest OS in VMware vSphere, we have 2 different way= s to do hot adding NVMe controller and hard disk. 1st: Hot adding NVMe controller firstly and press OK in "Edit Setting" of vSphere vCenter UI, then hot adding a Hard disk attached to this NVMe controller and press OK in "Edit Setting"; 2nd: Hot adding NVMe controller and a hard disk attached to this NVMe controller at the same time, and press OK in "Edit Setting" of vSphere vCen= ter UI; For the 1st scenario, all currrent FreeBSD 12.x and 13.x need reboot to det= ect the NVMe hard disk. From dmesg, it reports=EF=BC=9A # dmesg pci5: on pcib19 nvme0: at device 0.0 on pci5 nvme0: temperature threshold not supported nvme0: async event occurred (type 0x2, info 0x00, page 0x04) After reboot, dmesg reports "/dev/nvd0" has been detected. # dmesg ...... nvme0: temperature threshold not supported nvd0: NVMe namespace nvd0: 1024MB (2097152 512 byte sectors) ...... For the 2nd scenario, all current FreeBSD 12.x and 13.x can detect NVMe hard disk without reboot. # dmesg pci5: on pcib19 nvme0: at device 0.0 on pci5 nvme0: temperature threshold not supported nvd0: NVMe namespace nvd0: 1024MB (2097152 512 byte sectors) Can FreeBSD add the support of detecting the NVMe hard disk without reboot after hot adding NVMe controller and hard disk separately? Thanks in advance! Yanhui --=20 You are receiving this mail because: You are the assignee for the bug.=