Comment 16 for bug 1794477

Revision history for this message
David Coronel (davecore) wrote :

I can reproduce the issue in Azure with Ubuntu 18.04 and the kernel linux-azure-edge 4.18.0.1004.5 from bionic-proposed.

I use an instance of type "Standard F4s_v2 (4 vcpus, 8 GB memory)"

I launch the instance and get the 4.15.0-1030-azure kernel:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

$ uname -a
Linux davecore-an 4.15.0-1030-azure #31-Ubuntu SMP Tue Oct 30 18:35:53 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ dmesg | grep -i mella
[ 27.398120] mlx4_core: Mellanox ConnectX core driver v4.0-0
[ 27.425228] <mlx4_ib> mlx4_ib_add: mlx4_ib: Mellanox ConnectX InfiniBand driver v4.0-0
[ 27.658916] mlx4_en: Mellanox ConnectX HCA Ethernet driver v4.0-0

$ dpkg -l | grep linux-azure
ii linux-azure 4.15.0.1030.30 amd64 Complete Linux kernel for Azure systems.
ii linux-azure-cloud-tools-4.15.0-1030 4.15.0-1030.31 amd64 Linux kernel version specific cloud tools for version 4.15.0-1030
ii linux-azure-headers-4.15.0-1030 4.15.0-1030.31 all Header files related to Linux kernel version 4.15.0
ii linux-azure-tools-4.15.0-1030 4.15.0-1030.31 amd64 Linux kernel version specific tools for version 4.15.0-1030

$ lsmod | grep -i mlx
mlx4_en 114688 0

$ lspci
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
0000:00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
0000:00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
0000:00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA
0001:00:02.0 Ethernet controller: Mellanox Technologies MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro Virtual Function]

I then enable bionic-proposed and install the linux-azure-edge kernel and reboot. I can't see the Mellanox device anymore:

$ dmesg | grep -i mella

$ uname -a
Linux davecore-an 4.18.0-1004-azure #4~18.04.1-Ubuntu SMP Thu Oct 25 14:25:41 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

$ dpkg -l | grep linux-azure
ii linux-azure 4.15.0.1030.30 amd64 Complete Linux kernel for Azure systems.
ii linux-azure-cloud-tools-4.15.0-1030 4.15.0-1030.31 amd64 Linux kernel version specific cloud tools for version 4.15.0-1030
ii linux-azure-edge 4.18.0.1004.5 amd64 Complete Linux kernel for Azure systems.
ii linux-azure-edge-cloud-tools-4.18.0-1004 4.18.0-1004.4~18.04.1 amd64 Linux kernel version specific cloud tools for version 4.18.0-1004
ii linux-azure-edge-tools-4.18.0-1004 4.18.0-1004.4~18.04.1 amd64 Linux kernel version specific tools for version 4.18.0-1004
ii linux-azure-headers-4.15.0-1030 4.15.0-1030.31 all Header files related to Linux kernel version 4.15.0
ii linux-azure-headers-4.18.0-1004 4.18.0-1004.4~18.04.1 all Header files related to Linux kernel version 4.18.0
ii linux-azure-tools-4.15.0-1030 4.15.0-1030.31 amd64 Linux kernel version specific tools for version 4.15.0-1030

$ lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (AGP disabled) (rev 03)
00:07.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:08.0 VGA compatible controller: Microsoft Corporation Hyper-V virtual VGA