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 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-azure in Ubuntu. https://bugs.launchpad.net/bugs/1794477 Title: Accelerated networking (SR-IOV VF) broken in 18.10 daily Status in linux package in Ubuntu: In Progress Status in linux-azure package in Ubuntu: Confirmed Status in linux source package in Cosmic: In Progress Bug description: While testing Ubuntu 18.10 daily from cloud-images repo, on Azure, we discovered that accelerated networking wasn’t working inside the VM. No VF shows up inside the VM and lspci didn’t show any Mellanox drivers in use. We tested the daily build on Hyper-V also, but there the Mellanox VF is functional, with the same mlx4 drivers. To give more details about this: • No mellanox logs are showing up in dmesg or syslog. • Modinfo mlx4_core/mlx4_en finds the module, but lsmod doesn’t show it as loaded, although Accelerated Networking is enabled for the Azure VM, so this should happen transparently. • Modprobe -r mlx4_core && modprobe mlx4_core is giving 0 exit code, but nothing really happens. And no Mellanox messages are logged in dmesg/syslog. - There are no entries in the logs to show anything about the drivers or netvsc/pci-hyperv that might relate to this issue. Kernel: 4.18.0-7-generic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1794477/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp