upgrade from deb12 to deb13 breaks my machines
IPv6 #
after the update from debian 12 to 13 I've encountered a strange issue on multiple machines
after the full-upgrade reboot the system hanged in boot sequence throwing:
job networking.service/start running (1m46s / no limit)
Commenting iface eno1 inet6 auto in /etc/network/interfaces fixes boot because Proxmoxs ifupdown2 mistakenly combines it with the IPv4 DHCP stanza, starts an unnecessary dhclient -6 that never completes, and therefore leaves networking.service blocking the rest of the boot indefinitely.
Nvidia drivers #
another issue is related to my Nvidia GPU and drivers: I have a Pascal family GPU,
so I need to remove the drivers with:
apt remove --purge nvidia*
apt install build-essential binutils dkms proxmox-headers-$(uname -r)
echo "blacklist nouveau" '>>' /etc/modprobe.d/blacklist.conf
wget https://download.nvidia.com/XFree86/Linux-x86_64/580.178.04/NVIDIA-Linux-x86_64-580.178.04-no-compat32.run
wget https://download.nvidia.com/XFree86/Linux-x86_64/580.178.04/NVIDIA-Linux-x86_64-580.178.04-no-compat32.run.sha256sum
sha256sum -c NVIDIA-Linux-x86_64-580.178.04-no-compat32.run.sha256sum
sh NVIDIA-Linux-x86_64-580.178.04-no-compat32.run --dkms --no-x-check --no-opengl-files --no-wine-files --no-install-libglvnd --rebuild-initramfs
if it asks
The target kernel has CONFIG_MODULE_SIG set, which means that it supports
cryptographic signatures on kernel modules. On some systems, the kernel may
refuse to load modules without a valid signature from a trusted key. This
system also has UEFI Secure Boot enabled; many distributions enforce module
signature verification on UEFI systems when Secure Boot is enabled. Would you
like to sign the NVIDIA kernel module?
sign the kernel module
Would you like to sign the NVIDIA kernel module with an existing key pair, or
would you like to generate a new one?
Generate a new key pair
The NVIDIA kernel module was successfully signed with a newly generated key
pair. Would you like to delete the private signing key?
No
An X.509 certificate containing the public signing key will be installed to
/usr/share/nvidia/nvidia-modsign-crt-12345678.der. The SHA1 fingerprint of this
certificate is: 01:....:FF.
This certificate must be added to a key database which is trusted by your
kernel in order for the kernel to be able to verify the module signature.
The private signing key will be installed to
/usr/share/nvidia/nvidia-modsign-key-12345678.key. After the public key is
added to a key database which is trusted by your kernel, you may reuse the
saved public/private key pair to sign additional kernel modules, without
needing to re-enroll the public key. Please take some reasonable precautions to
secure the private key: see the README for suggestions.
The signed kernel module failed to load. Secure boot is enabled on this system,
so this is likely because the kernel does not trust any key which is capable of
verifying the module signature. Would you like to install the signed kernel
module anyway?
Note that if this module loading failure is due to the lack of a trusted
signature, you will not be able to load the installed module until after a key
that can verify the module signature is added to a key database that is trusted
by the kernel. This will likely require rebooting your computer.
Yes
Would you like to register the kernel module sources with DKMS? This will allow
DKMS to automatically build a new module, if your kernel changes later.
Yes
Would you like to run the nvidia-xconfig utility to automatically update your X
configuration file so that the NVIDIA X driver will be used when you restart X?
Any pre-existing X configuration file will be backed up.
No
Installation of the NVIDIA Accelerated Graphics Driver for Linux-x86_64
(version: 580.178.04) is now complete. Please update your xorg.conf file as
appropriate; see the file /usr/share/doc/NVIDIA_GLX-1.0/README.txt for
details.
Enroll key in mokutil:
mokutil --import /usr/share/nvidia/nvidia-modsign-crt-12345678.der
give your password for the import as always
then reboot and proceed in the import of the signing key
- Next: tailcat
- Previous: Kindle 5.19.4+ jailbreak and apps