This bug is missing log files that will aid in diagnosing the problem.
While running an Ubuntu kernel (not a mainline or third-party kernel)
please enter the following command in a terminal window:

apport-collect 1897955

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

-- 
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/1897955

Title:
  [5.8] broadcom driver binaries do not contain a driver string

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Brodcom network drivers in 5.8 do not have a version string (even
  though it is present in the source code) modinfo cannot return a
  driver version.

  In a vm I installed 20.04.1 and then installed 
linux-image-generic-hwe-20.04-edge from the Groovy archive to get the 20.04.2 
HWE image (5.8) since you said 20.10 fails.
  So this gives me the 20.04 userspace with a working modinfo, and a 5.8 kernel 
which you've noted has failed drivers.

  I am able to easily recreate this issue:
  bladernr@vm1:$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal
  bladernr@vm1:/$ uname -r
  5.4.0-47-generic
  bladernr@vm1:$ for x in b44 bnx2 bnx2x bnxt_en cnic genet tg3; do echo "$x: 
`modinfo -F version $x`"; done
  b44: 2.0
  bnx2: 2.2.6
  bnx2x: 1.713.36-0
  bnxt_en: 1.10.0
  cnic: 2.5.22
  genet:
  tg3: 3.137

  Next, I installed the 5.8 kernel on 20.04.1 and tried the same
  experiment (did it this way to ensure I was using the same userspace
  and version of kmod that does work with 5.4):

  bladernr@vm1:~$ lsb_release -a
  No LSB modules are available.
  Distributor ID: Ubuntu
  Description:    Ubuntu 20.04.1 LTS
  Release:        20.04
  Codename:       focal
  bladernr@vm1:~$ uname -r
  5.8.0-20-generic
  bladernr@vm1:~$ for x in b44 bnx2 bnx2x bnxt_en cnic genet tg3; do echo "$x: 
`modinfo -F version $x`"; done
  b44:
  bnx2:
  bnx2x:
  bnxt_en:
  cnic: 2.5.22
  genet:
  tg3:

  Note that now none of the driver versions are returned when probing
  with modinfo.

  Just grabbing one at random, bnxt_en, notice that the test strings in the 
compiled driver for 5.4 include a version string, which is absent in the 5.8 
version:
  bladernr@vm1:/lib/modules$ strings 
5.4.0-47-generic/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko |grep 
version
  Unable to allocate memory for pkg version, length = %u
  version=1.10.0
  srcversion=D3F4FDC7C50D2098ACBC3DC
  __UNIQUE_ID_srcversion98
  version_printed.93504
  version
  __UNIQUE_ID_version368
  bladernr@vm1:/lib/modules$ strings 
5.8.0-20-generic/kernel/drivers/net/ethernet/broadcom/bnxt/bnxt_en.ko |grep 
version
  Unable to allocate memory for pkg version, length = %u
  srcversion=CC39AC9960F1BCF24B4FB48
  __UNIQUE_ID_srcversion148
  devlink_info_version_fixed_put
  devlink_info_version_running_put

  And looking at the source for bnxt_hst.h in both Focal (5.4) and
  Groovy (5.8), the version strings appear to exist:

  bladernr@galactica:~/development/kernels/ubuntu$ grep VERSION 
focal/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h
  #define HWRM_VERSION_MAJOR 1
  #define HWRM_VERSION_MINOR 10
  #define HWRM_VERSION_UPDATE 0
  #define HWRM_VERSION_RSVD 100
  #define HWRM_VERSION_STR "1.10.0.100"
          #define VXLAN_IPV4_HDR_VER_HLEN_VERSION_MASK      0xf0UL
          #define VXLAN_IPV4_HDR_VER_HLEN_VERSION_SFT       4
  bladernr@galactica:~/development/kernels/ubuntu$ grep VERSION 
groovy/drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h

          #define HWRM_TF_VERSION_GET                       0x2bdUL
  #define HWRM_VERSION_MAJOR 1
  #define HWRM_VERSION_MINOR 10
  #define HWRM_VERSION_UPDATE 1
  #define HWRM_VERSION_RSVD 33
  #define HWRM_VERSION_STR "1.10.1.33"
          #define VXLAN_IPV4_HDR_VER_HLEN_VERSION_MASK      0xf0UL
          #define VXLAN_IPV4_HDR_VER_HLEN_VERSION_SFT       4

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: linux-image-5.8.0-20-generic 5.8.0-20.21
  ProcVersionSignature: Ubuntu 5.8.0-20.21-generic 5.8.10
  Uname: Linux 5.8.0-20-generic x86_64
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 
k5.8.0-20-generic.
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
  ApportVersion: 2.20.11-0ubuntu27.6
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', 
'/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', 
'/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer'
  Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer'
  CasperMD5CheckResult: pass
  CurrentDmesg: Error: command ['dmesg'] failed with exit code 1: dmesg: read 
kernel buffer failed: Operation not permitted
  Date: Wed Sep 30 18:42:14 2020
  InstallationDate: Installed on 2020-09-15 (15 days ago)
  InstallationMedia: Ubuntu-Server 20.04.1 LTS "Focal Fossa" - Release amd64 
(20200731)
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
  Lsusb:
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
   Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
   Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Lsusb-t:
   /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
   /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
   /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
   /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
  MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
  ProcEnviron:
   TERM=screen-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB: 0 qxldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.8.0-20-generic 
root=UUID=d7f95743-d7f5-49d1-a093-499091aae5c9 ro
  RelatedPackageVersions:
   linux-restricted-modules-5.8.0-20-generic N/A
   linux-backports-modules-5.8.0-20-generic  N/A
   linux-firmware                            1.187.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/01/2014
  dmi.bios.release: 0.0
  dmi.bios.vendor: SeaBIOS
  dmi.bios.version: 1.10.2-1ubuntu1
  dmi.chassis.type: 1
  dmi.chassis.vendor: QEMU
  dmi.chassis.version: pc-i440fx-bionic
  dmi.modalias: 
dmi:bvnSeaBIOS:bvr1.10.2-1ubuntu1:bd04/01/2014:br0.0:svnQEMU:pnStandardPC(i440FX+PIIX,1996):pvrpc-i440fx-bionic:cvnQEMU:ct1:cvrpc-i440fx-bionic:
  dmi.product.name: Standard PC (i440FX + PIIX, 1996)
  dmi.product.version: pc-i440fx-bionic
  dmi.sys.vendor: QEMU

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1897955/+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

Reply via email to