Kernel modules missing in 5.4.0-37

Bug #1883239 reported by Jean
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I recently updated my Ubuntu 20.04 to the latest kernel (5.4.0-37) but upon reboot my Dell XPS lost a few peripherals, like the wifi, and the possibility to use the Dell WD-15 docking station for LAN or external monitors; USB hub functionality was working though.

After some inspection, I've found that several kernel modules are missing for that specific kernel version:

$ find /usr/lib/modules -iname ath10k
/usr/lib/modules/5.4.0-28-generic/kernel/drivers/net/wireless/ath/ath10k
/usr/lib/modules/5.4.0-31-generic/kernel/drivers/net/wireless/ath/ath10k
/usr/lib/modules/5.4.0-33-generic/kernel/drivers/net/wireless/ath/ath10k

And lspci shows the wireless card twice (one more time at the top) and that the following modules and drivers are not loaded for the proper devices:
 - i915
 - processor_thermal_device
 - intel_pch_thermal
 - intel_lpss_pci
 - mei_me
 - snd_hda_intel
 - nouveau (but not the nvidia, which I'm using)
 - ath10k_pci
 - rtsx_pci

Restarting with the previous kernel version (5.4.0-33) works without any issue.

I'll attach both lspci outputs, but you can easily review the diff here: https://www.diffchecker.com/mVCbTzSL

Revision history for this message
Jean (alessandro-lai85) wrote :
Revision history for this message
Jean (alessandro-lai85) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

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 1883239

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
You-Sheng Yang (vicamo) wrote :

Do you have linux-modules-extra for 5.4.0-37 installed?

Revision history for this message
Jean (alessandro-lai85) wrote :

I'm not sure how to check that, what's the right package to check? I've tried linux-modules-extra-5.4.0-37-generic, but it's missing for 33 too

$ sudo apt-cache policy linux-modules-extra-5.4.0-37-generic
linux-modules-extra-5.4.0-37-generic:
  Installato: (nessuno)
  Candidato: 5.4.0-37.41
  Tabella versione:
     5.4.0-37.41 500
        500 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages

$ sudo apt-cache policy linux-modules-extra-5.4.0-33-generic
linux-modules-extra-5.4.0-33-generic:
  Installato: (nessuno)
  Candidato: 5.4.0-33.37
  Tabella versione:
     5.4.0-33.37 500
        500 http://it.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages

As for the apport-collect, I cannot use it, I can't have any internet connection in any way (I've also tried USB tethering but that doesn't work neither).

description: updated
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Philipp Classen (philipp-classen) wrote :

I believe I was hit by the same bug. I'm using Ubuntu 20.04 on a ThinkPad X1 Carbon 4th. Manually installing the missing linux-modules-extra for 5.4.0-37 brings networking back, but I still had problems getting the system to detect external monitors. That is why I stay on 5.4.0-33 for the moment.

However, even on 5.4.0-33, the detection of external monitors sometimes fails. That means that aspect could be a false alarm (on my system). What I can confirm is that for me networking is definitely broken because of the missing linux-modules-extra, which were automatically installed for 5.4.0.33 but were missing in 5.4.0.37. After manually installing the package, networking works as before.

Revision history for this message
You-Sheng Yang (vicamo) wrote :

@Jean, please just install linux-modules-extra-5.4.0-37-generic. I'm marking this as INVALID for linux-modules-extra is necessary to enable this device, so it's the right solution for this problem. Meta package "linux-generic" or similar would always depending on it, so you should also install "linux-generic" to prevent this from happening again.

@Philipp, please file a separate bug for external monitor detection.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Jean (alessandro-lai85) wrote :

@vicamo Thanks for pointing that out, I was missing linux-generic.

I probably got into some apt or metapackage bug that removed it from my system, because I'm sure I didn't remove it manually.

I dug into my apt logs and I've found this in the history log:

Start-Date: 2020-05-28 09:32:50
Commandline: apt-get install -f
Requested-By: alai (1000)
Upgrade: libreoffice-common:amd64 (1:6.4.2-0ubuntu3, 1:6.4.3-0ubuntu0.20.04.1)
Remove: linux-image-generic:amd64 (5.4.0.33.38), linux-image-generic-hwe-20.04:amd64 (5.4.0.33.38), linux-generic-hwe-20.04:amd64 (5.4.0.33.38), linux-modules-extra-5.4.0-33-generic:amd64 (5.4.0-33.37), linux-generic:amd64 (5.4.0.33.38)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2020-05-28 09:32:55

And im the corresponding term log, linux-generic was removed, but the update crashed when unpacking the OpenOffice update. That's really unfortunate.

I should be fine now.

Revision history for this message
Philipp Classen (philipp-classen) wrote :

Same for me. I was also missing linux-generic. That explains it, thank you!

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.