New kernel - system lock

Just like to notice that version ‘6.6.66pureos1~byz1’ works for me for a long time without new issues…

2 Likes

Could you please try to run this procedure:

Such locks are fully reproducible with the following procedure:                           
                                                                                          
- USB tethering a laptop                                                                  
- run a SSH session from the laptop into the L5                                           
- exit from SSH                                                                           
- pull out the USB cable --> lock

edit: It’s not even necessary to run the SSH session over USB tethered. Just connect (when tethering is configured), wait a bit and pull out the cable.

1 Like

It would happen to me even when just unplugging the charging cable, too.

There were also seemingly random freezes during light internet browsing and other normal use.

1 Like

I experience system hangs as well. Mainly when connecting to USB. I saw hangs both when connecting to my car audio via USB, and also when connecting to the USB of my laptop. Just connecting to a USB power supply does hangs (until now).

1 Like

I’m wondering how long will it take for Purism to come up with a solution. I don’t mean a fix, but deliver an older working kernel as an update.

1 Like

I now always do before ending the SSH over USB a command

sudo shutdown -r

This reboots the L5 and when the disk encryption key is asked, I pull-out the USB-cable.

1 Like

Hi,
Same problem here. I upgrade a few days ago:
(from /var/log/apt/history.log)

Start-Date: 2025-03-16  22:07:50
Commandline: packagekit role='update-packages'
Upgrade: ... linux-image-6.6.0-1-librem5:arm64  ...

The most obvious and repeatable problem is the LTE sharing through USB. Every time I plug my librem5 on my computer, it freezes. And Nothing obvious in the system logs.

I will try @dos fallback to 6.6.40. (july)
→ no more problem.

1 Like

I probably won’t be very helpful here, but I was catching locks even before the upgrade. If anything I can get for you to debug I will be more than happy. So far I have no clue why this is happening

2 Likes

From my experience the system seems to lock once connected via USB-C to another host (which I usually use for tethering my ethernet connection to it) - I can reproduce the lock like this. Only charging via USB-C does not seem to cause issues.

Hope this information helps.

2 Likes

There are two separate issues there.

One is random lockups and performance issues on Purism kernels 6.6.52 and above, which seem to happen only on some devices.

One is USB related lockup on 6.6.74. From a quick look it seemed to be already fixed upstream, but I have yet to look closer.

4 Likes

The updated kernel that as far as I can tell should fix these hangs (both kinds) is now in byzantium-updates-proposed and crimson-updates-proposed and should migrate into byzantium/crimson tomorrow. It also contains the fix for SD card misbehaving when accessed during resume from system suspend.

In order to minimize the chances of a hang occurring during upgrade:

  • put all hardware kill switches into on position (that is - keep the modem, WiFi and cameras enabled)
  • if you had to plug USB-C in, don’t unplug it until you’re done.
6 Likes

Is this already the fixed kernel:

purism@pureos:~$ date
Sat 22 Mar 2025 06:04:13 PM CET
purism@pureos:~$ sudo apt update
[sudo] password for purism: 
...
Reading state information... Done
2 packages can be upgraded. Run 'apt list --upgradable' to see them.

purism@pureos:~$ apt list --upgradable
Listing... Done
linux-image-6.6.0-1-librem5/byzantium-updates-proposed 6.6.83pureos1~byz1 arm64 [upgradable from: 6.6.74pureos1~byz1]
linux-image-librem5/byzantium-updates-proposed 6.6.83pureos1~byz1 arm64 [upgradable from: 6.6.74pureos1~byz1]
2 Likes

Yes, 6.6.83pureos1.

7 Likes

Thanks. Btw: I was asking me always, how could I see this exact version, because uname -a doesn‘t show it.

1 Like
dpkg --list | grep linux-image

Or:

apt search linux-image
1 Like

The exact version number is not included in the binary, so you have to rely on package version instead. It could be changed and it would be nice to do that, but nobody has done so yet. Patches welcome, you can use Debian packaging as reference.

2 Likes

One more observation. With this update my battery lifetime undeniably improved. It used to be about 16 hours, but now it is good 24 hours. I can finally leave charger at home

6 Likes

I can‘t ACK this. Having mic and cam off by kill switch, suspend after 1 minute, I face a drain of 5% in 30 minutes.

1 Like