Date: Tue, 5 Jul 2022 08:42:20 -0600 From: Scott Long <scottl@samsco.org> To: julien@perdition.city, Mark Johnston <markj@freebsd.org> Cc: "scsi@freebsd.org" <scsi@FreeBSD.org> Subject: Re: [Bug 264848] mpr0: mpr_user_pass_thru: user reply buffer (64) smaller than returned buffer (68) Message-ID: <6AFB948F-9443-4522-8841-F94F5A1FFE3E@samsco.org> In-Reply-To: <bug-264848-5313-SPsuExgEsI@https.bugs.freebsd.org/bugzilla/> References: <bug-264848-5313@https.bugs.freebsd.org/bugzilla/> <bug-264848-5313-SPsuExgEsI@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <julien@perdition.city> --- > 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6AFB948F-9443-4522-8841-F94F5A1FFE3E>