linux54 issueshttps://gitlab.manjaro.org/packages/core/linux54/-/issues2024-02-26T00:03:00Zhttps://gitlab.manjaro.org/packages/core/linux54/-/issues/8Interrupted kernel update leaves system unbootable2024-02-26T00:03:00ZDan HelfmanInterrupted kernel update leaves system unbootableIf the system crashes or hangs during a kernel update (due to power loss, hardware issue, etc), that leaves the Manjaro system completely unbootable.
### Reproduction steps
1. `pacman -S linux54` or another kernel. (This issue is not s...If the system crashes or hangs during a kernel update (due to power loss, hardware issue, etc), that leaves the Manjaro system completely unbootable.
### Reproduction steps
1. `pacman -S linux54` or another kernel. (This issue is not specific to linux54.)
2. While the progress bar for that is going, forcibly power off the system.
3. Try to boot.
### Expected behavior
The system boots up as per normal, perhaps using the previously installed kernel.
### Observed behavior
```
error: file `/boot/vmlinuz-5.4-x86_64' not found.
error: you need to load the kernel first.
Press any key to continue...
```
Moreover, when booting up from recovery media and mounting the disk partition to run `pacman` and attempt to recover the system, I'm greeted with loads of errors like:
```
...
linux54: /usr/lib/modules/5.4.188-1-MANJARO/kernelbase exists in filesystem
Errors occurred, no packages were upgraded.
```
# Other notes
To be clear, this ticket is not a request for support. I've already managed to fix my system. But I'm super frustrated because, with all due respect, it's 2022 and why aren't atomic kernel upgrades a thing? This is [not a new issue](https://archived.forum.manjaro.org/t/howto-restore-an-unbootable-system-after-an-interrupted-kernel-update/33085)...
Thank you.https://gitlab.manjaro.org/packages/core/linux54/-/issues/7Have issue with broadcom-wl2021-01-04T08:48:35ZSteven LeeHave issue with broadcom-wlPlease first read [this](https://gitlab.manjaro.org/packages/extra/linux54-extramodules/broadcom-wl/-/issues/1). I have the same problem.
However, the only change of all broadcom-wl is just revision number. It is obviously not the cause...Please first read [this](https://gitlab.manjaro.org/packages/extra/linux54-extramodules/broadcom-wl/-/issues/1). I have the same problem.
However, the only change of all broadcom-wl is just revision number. It is obviously not the cause of the problem.
What I do believe the problem is from linux54 package. However, what I am not sure is whether this problem is originated from upstream source code of build script.
@schinfo and @philm Please have a look and figure out the solution.https://gitlab.manjaro.org/packages/core/linux54/-/issues/6PKGBUILD's config sha256sum is wrong2020-09-18T17:59:09ZIgor CamposPKGBUILD's config sha256sum is wrongwith HEAD at 896d9cab9e85c7c8f62f9d266abc7b19a57cc9dc the config's sha256 should be:
aa90e7bc321052b1fa97fbed40600738727504b67f674f4fbc4f7a68222509e7
it is instead:
f4c8556e78af140231f3ac16017bb7548bf6f2f475b5b109bb7c058a5dd06b67with HEAD at 896d9cab9e85c7c8f62f9d266abc7b19a57cc9dc the config's sha256 should be:
aa90e7bc321052b1fa97fbed40600738727504b67f674f4fbc4f7a68222509e7
it is instead:
f4c8556e78af140231f3ac16017bb7548bf6f2f475b5b109bb7c058a5dd06b67https://gitlab.manjaro.org/packages/core/linux54/-/issues/5System freeze (GPU hang) with i915 driver on Intel UHD 6202020-03-16T06:37:33ZkainonergonSystem freeze (GPU hang) with i915 driver on Intel UHD 620i915 driver causes system freeze (GPU hang) on kernel 5.4 series. Kernels 4.19 and 5.5 don't have this issue.
Here is a part of journal after GPU hang with kernel 5.4.6-2:
```text
...
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02...i915 driver causes system freeze (GPU hang) on kernel 5.4 series. Kernels 4.19 and 5.5 don't have this issue.
Here is a part of journal after GPU hang with kernel 5.4.6-2:
```text
...
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: GPU HANG: ecode 9:1:0x00000000, hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
Dec 25 14:14:04 andrey-lenovo kernel: Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
Dec 25 14:14:04 andrey-lenovo kernel: drm/i915 developers can then reassign to the right component if it's not a kernel issue.
Dec 25 14:14:04 andrey-lenovo kernel: The GPU crash dump is required to analyze GPU hangs, so please always attach it.
Dec 25 14:14:04 andrey-lenovo kernel: GPU crash dump saved to /sys/class/drm/card0/error
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: Resetting chip for hang on rcs0
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: [drm:gen8_reset_engines [i915]] *ERROR* rcs0 reset request timed out: {request: 00000001, RESET_CTL: 00000001}
Dec 25 14:14:04 andrey-lenovo kernel: [drm] GuC communication enabled
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: GuC firmware i915/kbl_guc_33.0.0.bin version 33.0 submission:disabled
Dec 25 14:14:04 andrey-lenovo kernel: i915 0000:00:02.0: HuC firmware i915/kbl_huc_ver02_00_1810.bin version 2.0 authenticated:yes
...
```
System information:
```text
~ >>> inxi -GC
CPU: Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP L2 cache: 8192 KiB
Speed: 900 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 966 2: 1319 3: 1929 4: 1906 5: 3405 6: 3607 7: 1071
8: 2607
Graphics: Device-1: Intel UHD Graphics 620 driver: i915 v: kernel
Display: x11 server: X.Org 1.20.6 driver: modesetting resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa DRI Intel UHD Graphics (Whiskey Lake 3x8 GT2) v: 4.6 Mesa 19.3.1
```https://gitlab.manjaro.org/packages/core/linux54/-/issues/4Validity Check Failed in version 5.4.32019-12-17T00:26:42ZJohn ShandValidity Check Failed in version 5.4.3[jshand@johns-pc linux54]$ makepkg -s
==> Making package: linux54 5.4.3-2 (Tue 17 Dec 2019 10:14:28 NZDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading linux-5.4.ta...[jshand@johns-pc linux54]$ makepkg -s
==> Making package: linux54 5.4.3-2 (Tue 17 Dec 2019 10:14:28 NZDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading linux-5.4.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 710 0 --:--:-- --:--:-- --:--:-- 710
100 104M 100 104M 0 0 1184k 0 0:01:30 0:01:30 --:--:-- 1615k
-> Downloading patch-5.4.3.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 162 100 162 0 0 920 0 --:--:-- --:--:-- --:--:-- 920
100 72248 100 72248 0 0 65088 0 0:00:01 0:00:01 --:--:-- 93585
-> Found config.x86_64
-> Found config
-> Found config.aufs
-> Found aufs5.x-rcN-20191021.patch
-> Found aufs5-base.patch
-> Found aufs5-kbuild.patch
-> Found aufs5-loopback.patch
-> Found aufs5-mmap.patch
-> Found aufs5-standalone.patch
-> Found tmpfs-idr.patch
-> Found vfs-ino.patch
-> Found 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-CLONE_NEWUSER.patch
-> Downloading 0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8621 0 8621 0 0 8673 0 --:--:-- --:--:-- --:--:-- 8664
-> Downloading 0002-apparmor-af_unix-mediation.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 34528 0 34528 0 0 26870 0 --:--:-- 0:00:01 --:--:-- 26870
-> Downloading 0003-apparmor-fix-use-after-free-in-sk_peer_label.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1620 100 1620 0 0 1519 0 0:00:01 0:00:01 --:--:-- 1519
-> Downloading 0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1628 100 1628 0 0 1546 0 0:00:01 0:00:01 --:--:-- 1546
-> Found 0002-v5-xps13-lib-devres-add-a-helper-function-for-ioremap_uc.patch
-> Found 0003-v5-xps13-mfd-intel-lpss-use-devm_ioremap_uc-for-MMIO.patch
-> Found 0004-v5-xps13-docs-driver-model-add-devm_ioremap_uc.patch
-> Found 0001-nonupstream-navi10-vfio-reset.patch
-> Found 0001-drm-amdgpu-Add-DC-feature-mask-to-disable-fractional-pwm.patch
-> Found 0001-bootsplash.patch
-> Found 0002-bootsplash.patch
-> Found 0003-bootsplash.patch
-> Found 0004-bootsplash.patch
-> Found 0005-bootsplash.patch
-> Found 0006-bootsplash.patch
-> Found 0007-bootsplash.patch
-> Found 0008-bootsplash.patch
-> Found 0009-bootsplash.patch
-> Found 0010-bootsplash.patch
-> Found 0011-bootsplash.patch
-> Found 0012-bootsplash.patch
-> Found 0013-bootsplash.patch
==> Validating source files with sha256sums...
linux-5.4.tar.xz ... Passed
patch-5.4.3.xz ... Passed
config.x86_64 ... Passed
config ... Passed
config.aufs ... Passed
aufs5.x-rcN-20191021.patch ... Passed
aufs5-base.patch ... Passed
aufs5-kbuild.patch ... Passed
aufs5-loopback.patch ... Passed
aufs5-mmap.patch ... Passed
aufs5-standalone.patch ... Passed
tmpfs-idr.patch ... Passed
vfs-ino.patch ... Passed
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-CLONE_NEWUSER.patch ... Passed
0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch ... FAILED
0002-apparmor-af_unix-mediation.patch ... FAILED
0003-apparmor-fix-use-after-free-in-sk_peer_label.patch ... FAILED
0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch ... FAILED
0002-v5-xps13-lib-devres-add-a-helper-function-for-ioremap_uc.patch ... Passed
0003-v5-xps13-mfd-intel-lpss-use-devm_ioremap_uc-for-MMIO.patch ... Passed
0004-v5-xps13-docs-driver-model-add-devm_ioremap_uc.patch ... Passed
0001-nonupstream-navi10-vfio-reset.patch ... Passed
0001-drm-amdgpu-Add-DC-feature-mask-to-disable-fractional-pwm.patch ... Passed
0001-bootsplash.patch ... Passed
0002-bootsplash.patch ... Passed
0003-bootsplash.patch ... Passed
0004-bootsplash.patch ... Passed
0005-bootsplash.patch ... Passed
0006-bootsplash.patch ... Passed
0007-bootsplash.patch ... Passed
0008-bootsplash.patch ... Passed
0009-bootsplash.patch ... Passed
0010-bootsplash.patch ... Passed
0011-bootsplash.patch ... Passed
0012-bootsplash.patch ... Passed
0013-bootsplash.patch ... Passed
==> ERROR: One or more files did not pass the validity check!https://gitlab.manjaro.org/packages/core/linux54/-/issues/3ERROR: One or more files did not pass the validity check!2019-12-08T10:53:12ZJohn ShandERROR: One or more files did not pass the validity check!`makepkg -s
==> Making package: linux54 5.4.2-1 (Sun 08 Dec 2019 13:13:56 NZDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found linux-5.4.tar.xz
-> Found patch-5.4.2.xz
...`makepkg -s
==> Making package: linux54 5.4.2-1 (Sun 08 Dec 2019 13:13:56 NZDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found linux-5.4.tar.xz
-> Found patch-5.4.2.xz
-> Found config.x86_64
-> Found config
-> Found config.aufs
-> Found aufs5.x-rcN-20191021.patch
-> Found aufs5-base.patch
-> Found aufs5-kbuild.patch
-> Found aufs5-loopback.patch
-> Found aufs5-mmap.patch
-> Found aufs5-standalone.patch
-> Found tmpfs-idr.patch
-> Found vfs-ino.patch
-> Found 0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-CLONE_NEWUSER.patch
-> Found 0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch
-> Found 0002-apparmor-af_unix-mediation.patch
-> Found 0003-apparmor-fix-use-after-free-in-sk_peer_label.patch
-> Found 0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch
-> Found 0001-v5-xps13-sparc64-implement-ioremap_uc.patch
-> Found 0002-v5-xps13-lib-devres-add-a-helper-function-for-ioremap_uc.patch
-> Found 0003-v5-xps13-mfd-intel-lpss-use-devm_ioremap_uc-for-MMIO.patch
-> Found 0004-v5-xps13-docs-driver-model-add-devm_ioremap_uc.patch
-> Found 0001-nonupstream-navi10-vfio-reset.patch
-> Found 0001-drm-amdgpu-Add-DC-feature-mask-to-disable-fractional-pwm.patch
-> Found 0001-bootsplash.patch
-> Found 0002-bootsplash.patch
-> Found 0003-bootsplash.patch
-> Found 0004-bootsplash.patch
-> Found 0005-bootsplash.patch
-> Found 0006-bootsplash.patch
-> Found 0007-bootsplash.patch
-> Found 0008-bootsplash.patch
-> Found 0009-bootsplash.patch
-> Found 0010-bootsplash.patch
-> Found 0011-bootsplash.patch
-> Found 0012-bootsplash.patch
-> Found 0013-bootsplash.patch
==> Validating source files with sha256sums...
linux-5.4.tar.xz ... Passed
patch-5.4.2.xz ... Passed
config.x86_64 ... Passed
config ... FAILED
config.aufs ... Passed
aufs5.x-rcN-20191021.patch ... Passed
aufs5-base.patch ... Passed
aufs5-kbuild.patch ... Passed
aufs5-loopback.patch ... Passed
aufs5-mmap.patch ... Passed
aufs5-standalone.patch ... Passed
tmpfs-idr.patch ... Passed
vfs-ino.patch ... Passed
0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-CLONE_NEWUSER.patch ... Passed
0001-apparmor-patch-to-provide-compatibility-with-v2-net-rules.patch ... Passed
0002-apparmor-af_unix-mediation.patch ... Passed
0003-apparmor-fix-use-after-free-in-sk_peer_label.patch ... Passed
0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch ... Passed
0001-v5-xps13-sparc64-implement-ioremap_uc.patch ... Passed
0002-v5-xps13-lib-devres-add-a-helper-function-for-ioremap_uc.patch ... Passed
0003-v5-xps13-mfd-intel-lpss-use-devm_ioremap_uc-for-MMIO.patch ... Passed
0004-v5-xps13-docs-driver-model-add-devm_ioremap_uc.patch ... Passed
0001-nonupstream-navi10-vfio-reset.patch ... Passed
0001-drm-amdgpu-Add-DC-feature-mask-to-disable-fractional-pwm.patch ... Passed
0001-bootsplash.patch ... Passed
0002-bootsplash.patch ... Passed
0003-bootsplash.patch ... Passed
0004-bootsplash.patch ... Passed
0005-bootsplash.patch ... Passed
0006-bootsplash.patch ... Passed
0007-bootsplash.patch ... Passed
0008-bootsplash.patch ... Passed
0009-bootsplash.patch ... Passed
0010-bootsplash.patch ... Passed
0011-bootsplash.patch ... Passed
0012-bootsplash.patch ... Passed
0013-bootsplash.patch ... Passed
==> ERROR: One or more files did not pass the validity check!`https://gitlab.manjaro.org/packages/core/linux54/-/issues/2Add pipelock patch for Navi users2019-12-25T17:06:24ZDaniel SuarezAdd pipelock patch for Navi usersHello there!
Currently an important patch for Navi users that fix a lot of hangs has not made it into the 5.4 branch, and will not for at least a week more. Perhaps Manjaro can add the patch since it has already been reviewed?
https:/...Hello there!
Currently an important patch for Navi users that fix a lot of hangs has not made it into the 5.4 branch, and will not for at least a week more. Perhaps Manjaro can add the patch since it has already been reviewed?
https://lists.freedesktop.org/archives/amd-gfx/2019-November/043220.htmlhttps://gitlab.manjaro.org/packages/core/linux54/-/issues/1Upgrade to 5.4 breaks bwrap/flatpak2019-12-27T08:30:40ZDario TislarUpgrade to 5.4 breaks bwrap/flatpakAfter upgrading to 5.4, Flatpak stopped working. The current workaround to fix the issue is to set `kernel.unprivileged_userns_clone` to `1`.
I have found some info regarding this here: https://github.com/containers/bubblewrap/issues/324After upgrading to 5.4, Flatpak stopped working. The current workaround to fix the issue is to set `kernel.unprivileged_userns_clone` to `1`.
I have found some info regarding this here: https://github.com/containers/bubblewrap/issues/324