tags: Troubleshooting_Lentezza_Estrema_Linux Soft_lockup_Troubleshooting_Linux
Nel caso in cui in computer si dovesse presentare estremamente lento anche dopo un riavvio e un aggiornamento come segue:
sudo apt update
sudo apt full-upgrade
sudo apt autoremove
shutdown nowPossiamo provare a lanciare il seguente comando:
journalctl -p 3 -xbIn questo esempio ci appare questo:
journalctl -p 3 -xb
Aug 29 11:12:03 kali systemd-udevd[517]: /usr/lib/udev/rules.d/90-alsa-restore.rules:18 GOTO="alsa_restore_std" has no matching label, ignoring.
Aug 29 11:12:03 kali systemd-udevd[517]: /usr/lib/udev/rules.d/90-alsa-restore.rules:22 GOTO="alsa_restore_std" has no matching label, ignoring.
Aug 29 11:12:12 kali kernel: Bluetooth: hci0: Reading Intel version command failed (-110)
Aug 29 11:12:49 kali kernel: watchdog: BUG: soft lockup - CPU#14 stuck for 26s! [(udev-worker):577]
Aug 29 11:13:17 kali kernel: amdgpu 0000:04:00.0: amdgpu: Secure display: Generic Failure.
Aug 29 11:13:17 kali kernel: amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
Aug 29 11:13:24 kali kernel:
Aug 29 11:13:49 kali systemd[1]: Failed to start systemd-modules-load.service - Load Kernel Modules.
░░ Subject: A start job for unit systemd-modules-load.service has failed
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit systemd-modules-load.service has finished with a failure.
░░
░░ The job identifier is 34 and the job result is failed.
Aug 29 11:15:06 kali gdm-password][2344]: gkr-pam: unable to locate daemon control fileChe indica questi errori:
-
Soft Lockup: Il blocco avviene durante il lavoro di
udev, che è il servizio che gestisce l’hardware. -
Errori
amdgpu: Subito dopo il blocco, compaiono errori specifici del driver video AMD (amdgpu: Secure display: Generic Failure). -
Fallimento Caricamento Moduli: Il sistema fallisce nel caricare i moduli del kernel (
Failed to start systemd-modules-load.service).
Per risolvere prova i seguenti comandi:
sudo apt install --reinstall firmware-amd-graphics
sudo apt install --reinstall xserver-xorg-video-amdgpuSe con il primo comando ti esce questo errore:
sudo apt install --reinstall firmware-amd-graphics
Summary:
Upgrading: 0, Installing: 0, Reinstalling: 1, Removing: 0, Not Upgrading: 0
Download size: 15.1 MB
Space needed: 0 B / 1569 GB available
Get:1 http://kali.download/kali kali-rolling/non-free-firmware amd64 firmware-amd-graphics all 20250410-2 [15.1 MB]
Fetched 15.1 MB in 2s (7561 kB/s)
(Reading database ... 493306 files and directories currently installed.)
Preparing to unpack .../firmware-amd-graphics_20250410-2_all.deb ...
Unpacking firmware-amd-graphics (20250410-2) over (20250410-2) ...
Setting up firmware-amd-graphics (20250410-2) ...
Processing triggers for initramfs-tools (0.148.3) ...
update-initramfs: Generating /boot/initrd.img-6.12.38+kali-amd64
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.conf
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.conf
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.conf
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.conf
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.conf
libkmod: ERROR: conf_files_filter_out: Directories inside directories are not supported: /etc/modprobe.d/virtualbox-dkms.confSignifica che c’è una cartella di Virtualbox che crea problemi, rimuovilo con i seguenti comandi:
#Controlla che sia una cartella
ls -ld /etc/modprobe.d/virtualbox-dkms.conf
#Rimuovi la cartella
sudo rm -rf /etc/modprobe.d/virtualbox-dkms.conf
#Genera l'initramfs
sudo update-initramfs -u
#Reinstalla il Kernel
sudo apt install --reinstall linux-image-amd64