From nobody Fri Apr 28 12:06:27 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 4Q7BCm2TFXz48PJM for ; Fri, 28 Apr 2023 12:06:28 +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 4Q7BCl5w8pz3jh3 for ; Fri, 28 Apr 2023 12:06:27 +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=1682683587; 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=xm1eSZRonRIIle3VvfJIcVWqSU567ue6lewe4u59qM0=; b=l6WRCdFNh3X8z2NSl4yKjeAVAOU988WHKA5Dwm7YgfxBNytp7yihjYM+yycRXxYySCc3GO +LtphwD58M81/J9AyE7xMqoWY8znvQMqE+XCCGGUxC3jsMfyYGK0+mx4ofUlofQU1T8jAI E1P7uxBk4UKbRnSli7glm4/FkJLgaEuUkOPdmt4hXYGlt5a/fXNeRHaM03C1+VUnEj/xki AeAFHrKyRLqe5dqWC0Nkvx0CXxDmqs3DVFEz68OoYgW8e3PqahKHxyA0G17wrHAtxAVqP5 V/xDQWdGxjSfUQlH7dXa14/1Wml6P4DeT/xba/Z2fQSuOi3x0iix48dXSTE1Jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682683587; a=rsa-sha256; cv=none; b=rEaqYEas+0tkBuKHOZJWd9+UOzJbAJqCjaYw2D3tTL1WzCU15PoIB/GDIemu03JbejDzCW sRSCJFG2/ZbTfkbXpIKwXKAgpfg1BUYROSFLb7m3s/AE7WaxQHsSC1eN9qqy+UNnCdbVog Bm8xiyA5tvKRqKSfpp9XOXB/3JrL2Mu8NwP7P5zwDOXBV3QodmvULLAoMISyCFResQ8jCk taYEG3phnKAlYHyrcB16yRoSuYmE2m16EC7L8I4A4wdmxNYHEnYO53kp9Hafhy7vwH7O51 Ni0moSEjsIyk++B5BX053YYZWqEEX4kNx3d4FKW8Ruok9m4w8HdCvKLTWnKfkQ== 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 4Q7BCl503szyvH for ; Fri, 28 Apr 2023 12:06:27 +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 33SC6Rga074383 for ; Fri, 28 Apr 2023 12:06:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33SC6RNZ074382 for bugs@FreeBSD.org; Fri, 28 Apr 2023 12:06:27 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 271118] [nvme] : drives with more than 16 namespaces are missing some devices with nda driver Date: Fri, 28 Apr 2023 12:06:27 +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: florian.millet@laposte.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: 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 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=3D271118 Bug ID: 271118 Summary: [nvme] : drives with more than 16 namespaces are missing some devices with nda driver Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: florian.millet@laposte.net Created attachment 241820 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241820&action= =3Dedit output of nvmecontrol ns allocated These tests are being done on 24 NVMe drives server on FreeBSD 13.1 with nda driver, the model of all NVMe drive used is SAMSUNG MZWLJ15THALA-00007. This model support up to 32 namespaces, so to try it out I created 32 namespaces on the nvme0 controller (which did not work prior to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269912) and tried to at= tach them all. What I found is that you cannot have more than 16 namespaces on the same controller that can attach. If you have more they are not presented to the = OS and not present in /dev It seems like a weird limitation based upon old SCSI standard. If these dri= ves support 32 namespaces each (and some drives can have more), we should be ab= le to access all of them. I did not see any sysctl or tunable that could help. Is this behavior as designed or a modification could be done ? I have 2 of these 24 NVMe drives servers to test if needed. --=20 You are receiving this mail because: You are the assignee for the bug.=