No networking after some upgrade on 24.04.2 on a Framework 16 (late 2024) setup with Secure Boot & the TPM for FDE

Ubuntu Version:

24.04.2 that was installed using Secure Boot and the TPM for Full Disk Encryption. This was all done using the official installer.

Desktop Environment (if applicable):

Gnome.

This is my gf laptop, and I am trying to be as vanilla as possible, I just helped select the right option in the installer so that Secure Boot and the TPM would be used for FDE.

Problem Description:

Laptop was rebooted last week, probably after some upgrade, upon reboot lsmod is, not entirely, but basically empty. I can see the Mediatek MT7922 WiFi card in lspci but there is no driver loaded for it and it does not show up in ip link show. There is nothing useful in dmesg.

The laptop was working just fine before this issue happened.

Relevant System Information:

Linux 6.8.0-56

What I’ve Tried:

I tried to see if I could boot a previous kernel but the only choices I can see in grub are:

  1. ā€œRun Ubuntu Coreā€;
  2. Reboot into UEFI.

I am overall super confused because I basically don’t see any kernel installed (that is dpkg --get-selection | grep linux-image does not return anything). It seems to be installed using this snapd thing I am not familiar about.

Does anyone has any idea what might have happened, and how I could recover? Keep in mind that the network is completely bricked, and I don’t have e.g. an usb/ethernet adapter handy.

Don’t know if it’s just a typo here - shouldn’t it be ā€˜dpkg --get-selections …’

1 Like

You can try to roll back the kernel snap with:

sudo snap revert pc-kernel

(also, to see if a snap was updated you can check with the snap changes command (and get details with snap change <change ID>), note though that these logs are only kept temporary for a few days)

https://discourse.ubuntu.com/t/firmware-upgrade-for-mediatek-mt7922-wifi-chip/56912/2
Is this link useful?

Can you tether via smartphone with a usb cable?

That’s what I did thank you, I made a typo in my post.

The firmware is loaded by the driver, but in this issue I don’t even have a driver being loaded. If there was an issue with the firmware the driver would have complained about it.

Thank you the rollback fixed my situation, now I can see that /usr/lib/modules is not empty, drivers get loaded, it works.

/usr/lib/modules was empty on the previous kernel. There is two major issues here:

  1. The regression in itself with the kernel modules (drivers) not being loaded;
  2. No user friendly way to rollback.

Where can this be reported?

I was following this thread. What happened to this post? I had time to read it, and I saw nothing to flag in there.

I recall this post contained the conclusion, and pointed out how impossible it was for a non-technical user to fix/workaround this bug.

As it now stands, it looks as if this post was hidden because it contained the absolute worst humanity can offer. But I can attest it isn’t the case.

The poster has been requested to edit the post as it was not Code of Conduct compliant.

Thank you Erich, sorry for the troubles, hopefully as I asked in my post someone can point out to where this issue can be reported.

This issue indeed upsets me, and if there is a way money can give me a different channel, so that we can get eyes on this, a RCA, and make sure it is fixed for good, I am interested.

Open a terminal and type ubuntu-bug linux. At least that’s where I’d start. That will automatically create a bug report for you and ask you for more information. Be as detailed as possible. :slight_smile:

3 Likes

For the record: Bug #2106279 ā€œ/usr/lib/modules empty after 24.04.2 upgradeā€ : Bugs : linux package : Ubuntu

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.