From nobody Tue Jul 05 14:42:20 2022 X-Original-To: scsi@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 CA0781CFF058 for ; Tue, 5 Jul 2022 14:42:33 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4Lclks6bF3z3rDH; Tue, 5 Jul 2022 14:42:29 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id C416F3200935; Tue, 5 Jul 2022 10:42:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 05 Jul 2022 10:42:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsco.org; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657032142; x= 1657118542; bh=BAQOxHeQOWwUCmF7plwKOPwzF0kLYRxVZHGec7EhMvY=; b=K WOalXO/YOdAW21peaxU01I8DEmN5C85oa40j8GdHahZpNbuLchiYV3Y1QdWWRPQa BwDI/KuIwB8xv2agmuTP3mHgd0rqkFW/K6lIrEpErxlZjoFL7O9lMGEv6u1tMS5S qj/c19MGTsa11BqSgJRctTOEMdVaFMjG3Q8hbqrmmD7Yh2WPfPxzwBkUBAtYiasa zWoXL//nKKksry5DYEGQPy5JFJk2X4EdNdavu4APmiRqMYBxRVXHag0fogsQ9RHz BGguAi7EciV6ueIabMv4rJF4f2SugXjnyFUGcpBXs6jHrKRgV6IDaSY7q6lqIuX9 LKDyJgRQoR05NDazOoXEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1657032142; x= 1657118542; bh=BAQOxHeQOWwUCmF7plwKOPwzF0kLYRxVZHGec7EhMvY=; b=I 1H6sF6D4dMFO35RM+g2/zVjUGUa/drYJ2geO79BfiQFD9Swe6r/UnNrAXx3Wmza1 60rykKbHV1fQyIE2VkVKUl/TPAefGHPEymoHBJkuVVtDMlrFJfkM6bu/jePRrrVi A+w6d8FtGRHyi3koAGid8vvXbPX3ruEORmhYuReqK/Vxir9xcTmoTgptFfeQnXwc XVbO5i2oGQpHcAzmiUU0KCqwBruknYgYC1G9q1OakHN8kKNJcC2addh1GhW5RTvA sf7VpwgneGq4JnbnZyVIu3iTfHUAmA1vgbNZM5vktR0WUr0vR1LzWWAb74WxF7kQ Sspe8M+42aeyp5VU1Tmig== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddgkedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtdejnecuhfhrohhmpefutgho thhtucfnohhnghcuoehstghothhtlhesshgrmhhstghordhorhhgqeenucggtffrrghtth gvrhhnpedtvdekteffieefheekieegteelkeehleevfeevvedvleelhfejueehffefkeeg gfenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehstghothhtlhesshgrmhhstghordhorhhg X-ME-Proxy: Feedback-ID: ib8894249:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 10:42:21 -0400 (EDT) Content-Type: text/plain; charset=utf-8 List-Id: SCSI subsystem List-Archive: https://lists.freebsd.org/archives/freebsd-scsi List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) Subject: Re: [Bug 264848] mpr0: mpr_user_pass_thru: user reply buffer (64) smaller than returned buffer (68) From: Scott Long In-Reply-To: Date: Tue, 5 Jul 2022 08:42:20 -0600 Cc: "scsi@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <6AFB948F-9443-4522-8841-F94F5A1FFE3E@samsco.org> References: To: julien@perdition.city, Mark Johnston X-Mailer: Apple Mail (2.3696.100.31) X-Rspamd-Queue-Id: 4Lclks6bF3z3rDH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=samsco.org header.s=fm1 header.b="K WOalXO"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b="I 1H6sF6"; dmarc=none; spf=pass (mx1.freebsd.org: domain of scottl@samsco.org designates 64.147.123.25 as permitted sender) smtp.mailfrom=scottl@samsco.org X-Spamd-Result: default: False [-4.10 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[samsco.org:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.25:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[samsco.org:s=fm1,messagingengine.com:s=fm2]; FREEFALL_USER(0.00)[scottl]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[samsco.org]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[scsi] X-ThisMailContainsUnwantedMimeParts: N I=E2=80=99ve lost my bugzilla password, and it seems that the =E2=80=9CFor= got Password=E2=80=9D functionality doesn=E2=80=99t work. Anyways... The problems is here in mps_get_iocfacts() snprintf(sysctlname, sizeof(sysctlname), = "dev.%s.%d.msg_version", is_mps ? "mps" : "mpr", mps_unit); factslen =3D sizeof(MPI2_IOC_FACTS_REPLY); len =3D sizeof(msgver); error =3D sysctlbyname(sysctlname, msgver, &len, NULL, 0); if (error =3D=3D 0) { if (strncmp(msgver, "2.6", sizeof(msgver)) =3D=3D 0) factslen +=3D 4; } I haven=E2=80=99t been keeping track, but I=E2=80=99ll guess that msgver = has numerically advanced past =E2=80=9C2.6=E2=80=9D for this system. Scott > On Jul 5, 2022, at 8:26 AM, bugzilla-noreply@freebsd.org wrote: >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264848 >=20 > --- Comment #5 from Julien Cigar --- > show all, show adapters, ... >=20 > (It's a new machine and I haven't used other subcommands yet) >=20 > --=20 > You are receiving this mail because: > You are the assignee for the bug.