• Icon: Story Story
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-8.10
    • rhel-8.9.0
    • dmidecode
    • None
    • dmidecode-3.5-1.el8
    • Low
    • rhel-sst-kernel-debug
    • ssg_core_kernel
    • 18
    • 21
    • 1
    • QE ack, Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None

      Goal

      • Customer's admins want to be able to decode information related to PCI Express 5 & 6 related information
      • Such information is available in dmidecode-3.5 shipped with RHEL9, this is hence a rebase or backport request

      Acceptance Criteria

      A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.

      • PCI Express 5 and 6 information is displayed correctly, including the ID field

            [RHEL-16484] dmidecode doesn't decode PCI Express 5 & 6

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (dmidecode bug fix and enhancement update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHBA-2024:3210

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (dmidecode bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2024:3210

            Current RHEL9 code has the following (new lines):

            2141 static void dmi_slot_id(u8 code1, u8 code2, u8 type)
            2142 {
            2143         /* 7.10.5 */
            2144         switch (type)
            2145         {
            ...
            ...
            2182                 case 0xB8: /* PCI Express 4 */
            2183                 case 0xB9: /* PCI Express 4 */
            2184                 case 0xBA: /* PCI Express 4 */
            2185                 case 0xBB: /* PCI Express 4 */
            >>> NEW BLOCK
            2186                 case 0xBC: /* PCI Express 4 */
            2187                 case 0xBD: /* PCI Express 4 */
            2188                 case 0xBE: /* PCI Express 5 */
            2189                 case 0xBF: /* PCI Express 5 */
            2190                 case 0xC0: /* PCI Express 5 */
            2191                 case 0xC1: /* PCI Express 5 */
            2192                 case 0xC2: /* PCI Express 5 */
            2193                 case 0xC3: /* PCI Express 5 */  <--Add 0xC3 for PCI-e 5 slot code>
            2194                 case 0xC4: /* PCI Express 6+ */
            <<< NEW BLOCK
            2195                         pr_attr("ID", "%u", code1);
            2196                         break;
            2197                 case 0x07: /* PCMCIA */
            2198                         pr_attr("ID", "Adapter %u, Socket %u", code1, code2);
            2199                         break;
            2200         }
            2201 } 

            Renaud Métrich added a comment - Current RHEL9 code has the following (new lines): 2141 static void dmi_slot_id(u8 code1, u8 code2, u8 type) 2142 { 2143 /* 7.10.5 */ 2144 switch (type) 2145 { ... ... 2182 case 0xB8: /* PCI Express 4 */ 2183 case 0xB9: /* PCI Express 4 */ 2184 case 0xBA: /* PCI Express 4 */ 2185 case 0xBB: /* PCI Express 4 */ >>> NEW BLOCK 2186 case 0xBC: /* PCI Express 4 */ 2187 case 0xBD: /* PCI Express 4 */ 2188 case 0xBE: /* PCI Express 5 */ 2189 case 0xBF: /* PCI Express 5 */ 2190 case 0xC0: /* PCI Express 5 */ 2191 case 0xC1: /* PCI Express 5 */ 2192 case 0xC2: /* PCI Express 5 */ 2193 case 0xC3: /* PCI Express 5 */ <--Add 0xC3 for PCI-e 5 slot code> 2194 case 0xC4: /* PCI Express 6+ */ <<< NEW BLOCK 2195 pr_attr( "ID" , "%u" , code1); 2196 break ; 2197 case 0x07: /* PCMCIA */ 2198 pr_attr( "ID" , "Adapter %u, Socket %u" , code1, code2); 2199 break ; 2200 } 2201 }

              rh-ee-lichliu Lichen Liu
              rhn-support-rmetrich Renaud Métrich
              Lichen Liu Lichen Liu
              Jeffrey Bastian Jeffrey Bastian
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: