Public bug reported: In Ubuntu, CONFIG_PCI_REALLOC_ENABLE_AUTO config option is enabled by default. As a result, OS tries to remap BAR addresses and a failure is observed in remapping BARs.
The issue is observed only when the SRIOV flag is disabled in BIOS. The issue can be worked by disabling BAR remapping bypassing “pci=realloc=off” kernel parameter. It has been tested with positive results. Dmesg also shows the following messages indicating that the setting up of standard BAR registers for the GPGPUs has failed. Jun 21 06:14:47 R750XAS kernel: [ 70.384361] pci 0000:17:00.0: BAR 1: no space for [mem size 0x2000000000 64bit pref] Jun 21 06:14:47 R750XAS kernel: [ 70.476810] pci 0000:17:00.0: BAR 1: failed to assign [mem size 0x2000000000 64bit pref] Jun 21 06:14:47 R750XAS kernel: [ 71.041877] pci 0000:17:00.0: BAR 0: no space for [mem size 0x01000000] Jun 21 06:14:47 R750XAS kernel: [ 71.120838] pci 0000:17:00.0: BAR 0: failed to assign [mem size 0x01000000] ** Affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1948446 Title: failure is observed in remapping BARs 20.04 Status in linux package in Ubuntu: New Bug description: In Ubuntu, CONFIG_PCI_REALLOC_ENABLE_AUTO config option is enabled by default. As a result, OS tries to remap BAR addresses and a failure is observed in remapping BARs. The issue is observed only when the SRIOV flag is disabled in BIOS. The issue can be worked by disabling BAR remapping bypassing “pci=realloc=off” kernel parameter. It has been tested with positive results. Dmesg also shows the following messages indicating that the setting up of standard BAR registers for the GPGPUs has failed. Jun 21 06:14:47 R750XAS kernel: [ 70.384361] pci 0000:17:00.0: BAR 1: no space for [mem size 0x2000000000 64bit pref] Jun 21 06:14:47 R750XAS kernel: [ 70.476810] pci 0000:17:00.0: BAR 1: failed to assign [mem size 0x2000000000 64bit pref] Jun 21 06:14:47 R750XAS kernel: [ 71.041877] pci 0000:17:00.0: BAR 0: no space for [mem size 0x01000000] Jun 21 06:14:47 R750XAS kernel: [ 71.120838] pci 0000:17:00.0: BAR 0: failed to assign [mem size 0x01000000] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1948446/+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