ConnectX-5 is displayed as ConnectX-4 in 'lspci'

Bug #1531203 reported by Talat Batheesh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pciutils (Ubuntu)
Fix Released
Undecided
Tim Gardner

Bug Description

When testing ConnectX-5 in Ubuntu we noticed the following in lspci:

[root@localhost network-scripts]# lspci | grep -i mel
00:09.0 Ethernet controller: Mellanox Technologies MT27700 Family [ConnectX-4]
00:0a.0 Ethernet controller: Mellanox Technologies MT28800 Family [ConnectX-4]

ConnectX-5 is printed as ConnectX-4, But it is fully functioning and working.

The reason is that there is a typo in pci.ids file and it's fixed in the following commit from https://github.com/pciutils/pciids.git.

ommit 8084d2f3e776d53ffdb41feb13b75cd9a96fc1be
Author: The PCI ID Mail Robot <email address hidden>
Date: Thu Dec 10 03:15:13 2015 +0100

    New snapshot generated
.
.
.
        1014 MT27700 Family [ConnectX-4 Virtual Function]
        1015 MT27710 Family [ConnectX-4 Lx]
        1016 MT27710 Family [ConnectX-4 Lx Virtual Function]
- 1017 MT28800 Family [ConnectX-4]
+ 1017 MT28800 Family [ConnectX-5]
        1018 MT28800 Family [ConnectX-5 Virtual Function]
        5274 MT21108 InfiniBridge
        5a44 MT23108 InfiniHost
.
.
.

Please update the package of pciutils to the latest version available.

More info about the bug
in file /usr/share/misc/pci.ids
line 17310 --> 020d MT28800 Family [ConnectX-5 Flash Recovery]

line 17342 --> 1017 MT28800 Family [ConnectX-4]

dpkg --list | grep pciutils
ii pciutils 1:3.3.1-1ubuntu1 amd64 Linux PCI Utilities

dpkg -L pciutils
/.
/usr
/usr/share
/usr/share/misc
/usr/share/misc/pci.ids
/usr/share/doc
/usr/share/doc/pciutils
/usr/share/doc/pciutils/examples
/usr/share/doc/pciutils/examples/example.c
/usr/share/doc/pciutils/TODO.Debian
/usr/share/doc/pciutils/copyright
/usr/share/doc/pciutils/README.gz
/usr/share/man
/usr/share/man/man8
/usr/share/man/man8/lspci.8.gz
/usr/share/man/man8/pcimodules.8.gz
/usr/share/man/man8/setpci.8.gz
/usr/share/man/man8/update-pciids.8.gz
/usr/share/man/man7
/usr/share/man/man7/pcilib.7.gz
/usr/bin
/usr/bin/pcimodules
/usr/bin/lspci
/usr/bin/setpci
/usr/sbin
/usr/sbin/update-pciids
/usr/share/doc/pciutils/changelog.Debian.gz

Thanks,
Talat

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1531203

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Coincidentally I uploaded pciutils with updated IDs earlier today. I've checked that it contains the correct entry.

1017 MT28800 Family [ConnectX-pci.ids: 1017 MT28800 Family [ConnectX-5]

affects: linux (Ubuntu) → pciutils (Ubuntu)
Changed in pciutils (Ubuntu):
assignee: nobody → Tim Gardner (timg-tpi)
status: Incomplete → Fix Released
Revision history for this message
Talat Batheesh (talat-b87) wrote :

Thank you,
how can verify the change ?
After doing apt-get update and apt-get upgrade on machine with Ubuntu 14.04.4 , the issue still exist in line 17412.

Thanks
Talat

Revision history for this message
Tim Gardner (timg-tpi) wrote :

You'll need pciutils 1:3.3.1-1ubuntu2 which is still in -proposed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.