pop-os / linux

Pop!_OS fork of https://launchpad.net/ubuntu/+source/linux
Other
110 stars 13 forks source link

Linux 6.8.0 jammy #301

Closed mmstick closed 3 months ago

leviport commented 3 months ago

We also have to test some 512mb ESP installs. I was having issues with my ESP filling up when testing the 6.7.2 PR.

jackpot51 commented 3 months ago

Please pick #299 and #300 into this.

laniakea64 commented 3 months ago

Hi, not sure if this is the right place to ask, but have a question about this upcoming update for System76 machines:

Per https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/2055973 and the bugs linked there, the 6.8 kernel update introduces a major change that breaks many applications, particularly sandbox-related applications. Given the timing, I was planning to stick with 22.04 LTS for the foreseeable future, to defer being affected by this change until the dust settles more and the way forward becomes clearer, and to wait until I have time for significant OS-related migrations.

Will this PR result in backporting this change to 22.04 LTS? If that could be avoided, would be much appreciated, thank you.

XV-02 commented 3 months ago

Looking into @laniakea64's comment, it looks like there has been some snap breakage in the 6.8 release candidates and we should be careful to do extra testing for snaps before we release this to Ubuntu to make sure that is no longer the case.

So far, I have seen no issues with flatpaks, nor reports of issues related to flatpaks in the wild, so I do not believe there is likely to be an issue for Pop.

laniakea64 commented 3 months ago

Thanks @XV-02 for investigating!

Based on your comment, seemed safe for me to try this kernel version in test environments, since I don't use snapd. So installed this 6.8 kernel from Pop!_OS staging repo in two Xubuntu 22.04 systems (I know that Pop!_OS packages are not always compatible with Ubuntu and mixing in this direction requires advanced user knowledge to avoid making a broken system), tested my usage of bwrap and nsenter and so far everything seem to work as expected. Additionally, ran the commands from https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2046477 and got -

$ uname -a
Linux <snip> 6.8.0-76060800daily20240311-generic #202403110203~1710198088~22.04~1a3dbc7 SMP PREEMPT_DYNAMIC Mon M x86_64 x86_64 x86_64 GNU/Linux
$ sysctl -n kernel.apparmor_restrict_unprivileged_userns
sysctl: cannot stat /proc/sys/kernel/apparmor_restrict_unprivileged_userns: No such file or directory
$ cat /sys/kernel/security/apparmor/features/policy/unconfined_restrictions/userns
cat: /sys/kernel/security/apparmor/features/policy/unconfined_restrictions/userns: No such file or directory

So looks like the change I was concerned about maybe not included in this build of the 6.8 kernel? Whew :sweat_smile:

Another (unrelated) positive note, this kernel update fixes a UBSAN error with the radeon driver that was present in 6.6.10. :+1:

Glad this update seems to keep compatibility. Thanks again.

mmstick commented 3 months ago

This may fix EFI disk usage concerns for now https://github.com/pop-os/initramfs-tools/pull/1

leviport commented 3 months ago

I'm seeing success with DKMS modules for bcmwl drivers, virtualbox, and Nvidia 550 drivers, but there is a DKMS problem with Nvidia 470 drivers. We may need an accompanying update to those older Nvidia drivers as well.

mmstick commented 3 months ago

I heard that 470.239.06 may be compatible with Linux 6.8.0. I will package it.