You are not logged in.

#1 2024-03-25 15:18:15

gugah
Member
Registered: 2013-01-02
Posts: 60

kernel panic during pacman update

I have experienced this issue at least 3 times in the past 2 months but it is difficult to reproduce:

When updating my system using yay (pacman -Syu) I get a kernel panic when running the post-transaction hooks, after all packages are supposedly downloaded and installed:

( 2/16) Reloading system manager configuration...

Then the CapsLock key starts blinking, SysReq keys don't help and I need to force reboot with the power button. After rebooting kernel panics again and I have to fix my system following this section https://wiki.archlinux.org/title/pacman … an_upgrade, by re-installing the packages that were being updated during the crash (I find those using this command:

find /var/cache/pacman/pkg -size 0

). It could be that the kernel panicked because the update was nuking my system with empty files, but I'm not 100% sure because of the hard reboot. yay could be faulty too (I switched to paru just in case), but the logs point to pacman.

These are the relevant logs I could find:

/var/log/pacman.log

[2024-03-24T13:11:08-0400] [PACMAN] Running 'pacman -S -y --config /etc/pacman.conf --'
[2024-03-24T13:11:08-0400] [PACMAN] synchronizing package lists
[2024-03-24T13:11:32-0400] [PACMAN] Running 'pacman -S -y -u --config /etc/pacman.conf -- extra/go'
[2024-03-24T13:11:32-0400] [PACMAN] synchronizing package lists
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@[2024-03-24T13:23:07-0400] [PACMAN] Running 'pacman -Syu'
[2024-03-24T13:23:07-0400] [PACMAN] synchronizing package lists
[2024-03-24T13:37:55-0400] [PACMAN] Running 'pacman -Syu'
[2024-03-24T13:37:55-0400] [PACMAN] synchronizing package lists

(go was being installed as a make dependency for yay)

This is the journalctl from the time of the crash:

$ journalctl --since "2024-03-24 13:11:00" --until "2024-03-24 13:20:00"
Mar 24 13:11:00 thinkpad ntpd[810]: Listen normally on 6 wlp4s0 192.168.0.231:123
Mar 24 13:11:00 thinkpad ntpd[810]: Listen normally on 7 wlp4s0 [fe80::2067:3443:ecff:6546%3]:123
Mar 24 13:11:00 thinkpad ntpd[810]: new interface(s) found: waking up resolver
Mar 24 13:11:01 thinkpad rtkit-daemon[1080]: Supervising 7 threads of 5 processes of 1 users.
Mar 24 13:11:01 thinkpad rtkit-daemon[1080]: Supervising 7 threads of 5 processes of 1 users.
Mar 24 13:11:03 thinkpad root[85978]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:03 thinkpad root[85980]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:03 thinkpad root[85982]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:03 thinkpad root[85984]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:03 thinkpad root[85986]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:04 thinkpad root[85988]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:04 thinkpad root[85990]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:04 thinkpad root[85992]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:04 thinkpad root[85994]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:04 thinkpad root[85996]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:05 thinkpad root[85998]: ACPI group/action undefined: button/up / UP
Mar 24 13:11:06 thinkpad root[86000]: ACPI group/action undefined: button/down / DOWN
Mar 24 13:11:06 thinkpad kernel: usb 1-9: reset full-speed USB device number 3 using xhci_hcd
Mar 24 13:11:07 thinkpad systemd[1]: NetworkManager-dispatcher.service: Deactivated successfully.
Mar 24 13:11:08 thinkpad fprintd[85906]: LED blinking failed with error Operation was cancelled
Mar 24 13:11:08 thinkpad sudo[86017]:  gugah : TTY=pts/1 ; PWD=/home/gugah ; USER=root ; COMMAND=/usr/bin/pacman -S -y --config /etc/pacman.conf --
Mar 24 13:11:08 thinkpad sudo[86017]: pam_unix(sudo:session): session opened for user root(uid=0) by gugah(uid=1000)
Mar 24 13:11:08 thinkpad sudo[86017]: pam_unix(sudo:session): session closed for user root
Mar 24 13:11:11 thinkpad fprintd[85906]: USB write transfer error: transfer timed out
Mar 24 13:11:11 thinkpad fprintd[85906]: Data exchange failed at state 1, usb error: transfer timed out
Mar 24 13:11:11 thinkpad fprintd[85906]: Deactivation failed at state 1, unexpected device reply during deactivation
Mar 24 13:11:32 thinkpad sudo[90008]:  gugah : TTY=pts/1 ; PWD=/home/gugah ; USER=root ; COMMAND=/usr/bin/pacman -S -y -u --config /etc/pacman.conf -- extra/go
Mar 24 13:11:32 thinkpad sudo[90008]: pam_unix(sudo:session): session opened for user root(uid=0) by gugah(uid=1000)
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Noticed file-system modification, trigger reload.
Mar 24 13:11:46 thinkpad dbus-broker-launch[1773]: Noticed file-system modification, trigger reload.
Mar 24 13:11:46 thinkpad at-spi-bus-launcher[1773]: Missing configuration file in /usr/share/defaults/at-spi2/accessibility.conf +1: /usr/share/defaults/at-spi2/accessibility.conf
Mar 24 13:11:46 thinkpad dbus-broker-launch[1773]: Invalid configuration, ignored.
Mar 24 13:11:46 thinkpad dbus-broker-launch[1773]: Noticed file-system modification, trigger reload.
Mar 24 13:11:46 thinkpad at-spi-bus-launcher[1773]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +15: Eavesdropping is deprecated and ignored
Mar 24 13:11:46 thinkpad at-spi-bus-launcher[1773]: Policy to allow eavesdropping in /usr/share/defaults/at-spi2/accessibility.conf +17: Eavesdropping is deprecated and ignored
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Service file '/usr/share/dbus-1/services/org.kde.dolphin.FileManager1.service' is not named after the D-Bus name 'org.freedesktop.FileManager1'.
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Service file '/usr/share/dbus-1/services/org.kde.kscreen.service' is not named after the D-Bus name 'org.kde.KScreen'.
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Service file '/usr/share/dbus-1/services/org.kde.plasma.Notifications.service' is not named after the D-Bus name 'org.freedesktop.Notifications'.
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +31: Eavesdropping is deprecated and ignored
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Policy to allow eavesdropping in /usr/share/dbus-1/session.conf +33: Eavesdropping is deprecated and ignored
Mar 24 13:11:46 thinkpad dbus-broker-launch[1130]: Noticed file-system modification, trigger reload.

edit: some extra info df -h shows the root partition has plenty of free space: 32G free out of 64G but maybe I should check if my SSD are failing?

Last edited by gugah (2024-03-25 15:26:53)


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#2 2024-03-26 14:39:11

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,640

Re: kernel panic during pacman update

I'd tell systemd and their "udev rule updating guidance" to go eff itself

sudo touch /etc/systemd/do-not-udevadm-trigger-on-update

https://bugs.archlinux.org/task/77789

But if you really want to figure the underlying trigger... just from this log I'd point my finger(print) at fprintd and the driver you have for that, maybe check what happens if you disable fprintd/unload the fingerprint module (whichever that is on your system). Other common suspects though usually limited to xorg crashes rather than kernel panics, having old and  broken evdev xorg config files lying around

grep -R evdev /{etc,usr/share}/X11/xorg.conf*

should only have a "10-quirks.conf" hit in /usr/share/xorg.conf.d

Last edited by V1del (2024-03-26 14:48:03)

Offline

#3 2024-03-27 01:27:27

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

$ grep -R evdev /{etc,usr/share}/X11/xorg.conf*
/usr/share/X11/xorg.conf.d/70-synaptics.conf:# This option is recommend on all Linux systems using evdev, but cannot be
/usr/share/X11/xorg.conf.d/10-quirks.conf:# Explicitly tell evdev to not ignore the absolute axes.
/usr/share/X11/xorg.conf.d/10-quirks.conf:        MatchDriver "evdev"
/usr/share/X11/xorg.conf.d/10-quirks.conf:        MatchDriver "evdev"

looks good to me, the other hit is a comment.

Just did a pacman -S systemd to check the hook, but didn't trigger any issue.

Maybe unrelated but just before these issues I updated to plasma6 which defaults to wayland instead of X11.

Last edited by gugah (2024-03-27 01:28:42)


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#4 2024-04-02 15:26:18

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

I ran

sudo touch /etc/systemd/do-not-udevadm-trigger-on-update

Haven't experienced these updates crashes since.


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#5 2024-04-02 15:42:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,640

Re: kernel panic during pacman update

Do you run the nvidia driver? We're currently discussing a revert of this in https://gitlab.archlinux.org/archlinux/ … /issues/26 and one of the systemd maintainers is adamant this is a bug in nvidia and triggered on daemon-reload which wouldn't match with this file being the fix.

Offline

#6 2024-04-02 16:01:25

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

From https://bbs.archlinux.org/viewtopic.php?id=291773 - yes.

If there's reason to suspect it's nvidia's fault (I checked some of the reports, I could indeed not find one w/o the nvidia driver), /etc/systemd/do-not-udevadm-trigger-on-update should be added to the nvidia-utils package(s, also in AUR) to hopefully silence this.

And people haven't "properly investigated" this because the kernel halts, they press the power button, all information is lost and reboot to ground zero that they then have to adress.
Proper investigation would mean to ask them to risk to deliberately please repeat that.

so it's really hard for me to believe that this is causes by udevd reload.

Nobody's saying that it's the cause, but the (uneccsary?) trigger - you also don't jam a bullet personally into someones head, but you're not getting scot free on the theory that you just pulled a little lever and how bad could that possibly be.

Last edited by seth (2024-04-02 16:10:35)

Offline

#7 2024-04-02 21:05:49

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

V1del wrote:

Do you run the nvidia driver? We're currently discussing a revert of this in https://gitlab.archlinux.org/archlinux/ … /issues/26 and one of the systemd maintainers is adamant this is a bug in nvidia and triggered on daemon-reload which wouldn't match with this file being the fix.


yes, latest version with latest kernel:

$ pacman -Qi nvidia 
Name            : nvidia
Version         : 550.67-3
Description     : NVIDIA drivers for linux
Architecture    : x86_64
...

I could remove the /etc/systemd/do-not-udevadm-trigger-on-update file and report I have a system crash during an update...

Last edited by gugah (2024-04-02 21:09:26)


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#8 2024-04-02 21:08:08

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

@V1del, I'll hopefully get the gitlab account reset by tomorrow and comment on the bug asap.

Offline

#9 2024-04-05 21:39:25

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

Hi, do you still recall the nature of the update crash?
Did the system suddenly reboot or did it stall and you then rebooted it with the power button?

---
This is a mass-inquiry, so please excuse if your thread actually detailed that.
We're trying to get some data on the situation, so it would be very helpful if you can just briefly respond.
Thanks a lot.

Offline

#10 2024-04-08 17:07:16

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

hi seth: I recall the last crash only (had 3 this year):

pacman -Syu (on yakuake, ffox running too) -> got to ( 2/16) Reloading system manager configuration... -> CapsLock blinking (kernel crash)

Then I force-rebooted with the power button and restored my partition with an arch iso


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#11 2024-04-14 21:19:33

Grandfather-Paradox
Member
Registered: 2017-08-22
Posts: 19

Re: kernel panic during pacman update

seth wrote:

Hi, do you still recall the nature of the update crash?
Did the system suddenly reboot or did it stall and you then rebooted it with the power button?

---
This is a mass-inquiry, so please excuse if your thread actually detailed that.
We're trying to get some data on the situation, so it would be very helpful if you can just briefly respond.
Thanks a lot.

This has been happening to me constantly for the last 1-2 months. Like the OP here, I have the same issue where the kernel panics during an update after running the post-transaction hooks. The screen stays frozen indefinitely, and SysRq keys don't work. I hold down the power button to force the computer to shut down. The system is often corrupted to the point of being unable to boot (depending on which packages were updated), requiring booting from a live system from repair.

I've experienced this with both the linux and linux-lts kernels, and I'm also running nvidia and nvidia-lts.

Offline

#12 2024-04-14 21:23:49

seth
Member
Registered: 2012-09-03
Posts: 56,103

Offline

#13 2024-04-18 13:58:17

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

back here to report that my system crashed again on a pacman update even with /etc/systemd/do-not-udevadm-trigger-on-update present.

Some remarks:
- laptop was sleeping before I updated and yt video playing on ffox while I started the update
- pacman updated a large bunch of packages including nvidia and linux, crashed on post process again
- kernel panic (CapsLock blinking) as mentioned by other users: no sysreq keys working, only thing I could do was to use the power button
- crash nukes system, all the packages updated were broken: needed to https://wiki.archlinux.org/title/pacman … an_upgrade and also recover my boot partition https://unix.stackexchange.com/question … mount-boot

Last edited by gugah (2024-04-18 15:18:49)


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#14 2024-04-18 20:32:34

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

Do you currently have nvidia_uvm blacklisted?

Offline

#15 2024-04-18 20:44:54

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

nvidia_uvm is not blacklisted

$ lsmod | grep uvm       
nvidia_uvm           6631424  0
nvidia              60370944  27 nvidia_uvm,nvidia_modeset

I'll try disabling it since I don't use CUDA all the time.


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#16 2024-04-20 17:15:57

brandon.arnold
Member
Registered: 2020-07-27
Posts: 12

Re: kernel panic during pacman update

Hi all. This happened to me last night, rendering my system un-bootable. I do indeed use the nvidia driver. I've just booted to live installation media and am trying to figure out how to fix the system, according to the Wiki op linked to. I get a bunch of errors on gdk-pixbuf2 saying it already exists in the filesystem. But anyway, +1.


Seattle dweller, Tetris lover, Software Engineer

Offline

#17 2024-04-21 21:44:16

jumperfly
Member
Registered: 2011-05-04
Posts: 2

Re: kernel panic during pacman update

Hi all. These lockups have happened to me several times. I'm an Intel+nvidia user.  The crash often occurs during pacman upgrades at "reloading system configuration" stage, resulting in the need to repair using live media.  I was also able to trigger a freeze performing a systemctl daemon-reload.  Often also locks up on shutdown/restart attempt.

Not sure of the trigger, it never happens if just booted, but after some period of use it's a crash waiting to happen!  I resorted to running systemctl daemon-reload before attempting any pacman operations, as this causes less damage on a crash!

Anyway... I have tried
- Using both xorg and wayland
- Switching to nouveau driver - this gave me other xorg/wayland crashing issues
- Blacklisting nvidia_uvm

None of the above helped.

I'm currently running on nvidia-open for the last few days.  No crashes yet.

Offline

#18 2024-04-21 22:24:06

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

For all we know nvidia-open isn't affected (unfortunately, because then one could look up the source code)
An alternative mitigation would be to return to the 545xx nvidia-dkms and nvidia-utils packages along the LTS kernel (they won't compile against 6.8 anymore)

Offline

#19 2024-04-26 14:36:58

gugah
Member
Registered: 2013-01-02
Posts: 60

Re: kernel panic during pacman update

I confirm, as many nvidia users commented in other posts, that I can trigger the crash with:

$ sudo systemctl daemon-reload

I run that before trying to update my system to avoid filesystem corruptions.
... and the kernel panic only happens if the laptop was in sleep mode previously.


"The problem with quotes on the Internet is that it is hard to verify their authenticity." ~ Abraham Lincoln

Offline

#20 2024-05-01 23:04:14

reztho
Member
Registered: 2007-12-16
Posts: 44

Re: kernel panic during pacman update

It happened to me again yesterday... this time I could see stuff in the kernel messages. The desktop survived it somehow but with issues (doing a ls inside a terminal never gives an output and never finishes with no cpu usage, for example). It said kernel NULL pointer dereference bug and then a lot of traces about the cpu soft-locking and stalling: I couldn't keep all the logs, but at least I know next time I can try again to save the logs to a file or at least, take a photo of the screen.

And yeah, it was definitely due to the "systemctl --system daemon-reload" hook and I had the do-not-udevadm-trigger-on-update file in place.

Last edited by reztho (2024-05-01 23:05:04)

Offline

#21 2024-06-17 12:49:19

RealGecko
Member
Registered: 2012-01-04
Posts: 36

Re: kernel panic during pacman update

It happens to me constantly after kernel and nvidia driver upgrade, any way to safely unmount drives after kernel panic?

Offline

#22 2024-06-17 13:16:39

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

Use https://aur.archlinux.org/packages/nvidia-535xx-dkms until nvidia fixed this
https://wiki.archlinux.org/title/Keyboa … el_(SysRq) might allow a somewhat clean shutdown, but typically doesn't work after a panic.

Offline

#23 2024-08-11 07:21:50

parsody
Member
Registered: 2022-04-21
Posts: 33

Re: kernel panic during pacman update

just chiming in to say that I had the same issue along with kernel panics during reboots like 30% of the time, blacklisting nvidia_uvm seems to have fixed it

Offline

#24 2024-08-11 07:31:58

seth
Member
Registered: 2012-09-03
Posts: 56,103

Re: kernel panic during pacman update

From all we know it might lower the frequency, but the issue remains - next to the 535xx drivers nvidia claims to have fixed it in an at that time inofficial 550xx driver, https://bbs.archlinux.org/viewtopic.php … 9#p2187529 - no idea whether this has been propagated into the latest tree already but 560xx still seemed to have been affected in the past.

Offline

#25 2024-08-30 21:53:23

bricksoup
Member
Registered: 2013-03-18
Posts: 2

Re: kernel panic during pacman update

I've also hit a blinking-caps-lock panic with my last two system updates, months apart. Can confirm that it's still apparently an issue with the latest 560 nvidia drivers. The first time corrupted my pacman and kernel installs and required manual recovery from boot ISO. The second just happened upon nvidia 555->560 upgrade, and I believe that I avoided another total corruption only because I remembered to try upgrading nvidia in isolation first. I successfully rebooted after panic, but the nvidia packages appear corrupted.

This is the most serious - and pretty much *only* - distro-level bug that I've hit in a decade of Arch use. https://gitlab.archlinux.org/archlinux/ … ote_176919 looks very relevant, but appears to be low key WONTFIX. Account creation is locked down, so I can't bump it to gripe there (or to offer to collect info).

Regardless of what a proper fix should look like, panics and apparently brickings seem common and severe enough that I think it's Arch's problem to automatically work around in the meantime. I would have expected "atomicity"/"no system corruption" to be the #1 correctness constraint for pacman, regardless of underlying package issues.

Tail of `/var/log/pacman.log` showing the problem upgrade:

[2024-08-30T15:26:05-0400] [PACMAN] Running 'pacman -S nvidia nvidia-utils lib32-nvidia-utils'
[2024-08-30T15:26:16-0400] [ALPM] transaction started
[2024-08-30T15:26:17-0400] [ALPM] upgraded nvidia-utils (555.58.02-1 -> 560.35.03-2)
[2024-08-30T15:26:17-0400] [ALPM-SCRIPTLET] If you run into trouble with CUDA not being available, run nvidia-modprobe first.
[2024-08-30T15:26:17-0400] [ALPM-SCRIPTLET] If you use GDM on Wayland, you might have to run systemctl enable --now nvidia-resume.service
[2024-08-30T15:26:17-0400] [ALPM] upgraded nvidia (555.58.02-3 -> 560.35.03-2)
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@

`journalctl -r` around the panic, showing "reloads" happening leading up to the crash and signs of broken nvidia packages afterwards (empty .sos were also present during my earlier "full" corruption):

...
ldconfig[513]: /sbin/ldconfig: File /usr/lib32/libnvidia-ml.so is empty, not checked.
...

Aug 30 15:27:18 p17 kernel: Linux version 6.9.9-arch1-1 (linux@archlinux) (gcc (GCC) 14.1.1 20240522, GNU ld (GNU Binutils) 2.42.0) #1 SMP PREEMPT_DYNAMIC Fri, 12 Jul 2024 00:>
-- Boot 4f05e90cdaee4d31a204212959b18fab --
Aug 30 15:26:18 p17 systemd[1]: Reloading finished in 139 ms.
Aug 30 15:26:18 p17 systemd[1]: Reloading...
Aug 30 15:26:18 p17 systemd[1]: Reload requested from client PID 721012 ('systemctl') (unit session-1.scope)...
Aug 30 15:26:17 p17 dbus-broker-launch[534]: Noticed file-system modification, trigger reload.
Aug 30 15:26:16 p17 dbus-broker-launch[534]: Noticed file-system modification, trigger reload.
Aug 30 15:26:05 p17 sudo[720960]: pam_unix(sudo:session): session opened for user root(uid=0) by vich(uid=1000)
Aug 30 15:26:05 p17 sudo[720960]:     vich : TTY=pts/11 ; PWD=/home/vich ; USER=root ; COMMAND=/bin/pacman -S nvidia nvidia-utils lib32-nvidia-utils

Offline

Board footer

Powered by FluxBB