Some stuff that happened to me and how I solved it or that I found helpful.
loadenv.shset -o allexport; source .env; set +o allexport
source loadenv.shProblem: autodetect was disabled during update-grub
sudo nano /etc/default/grub GRUB_DISABLE_OS_PROBER=false
sudo update-grubcron spams auth.log (Debian 11)/etc/pam.d/common-session-noninteractive,
insert line session [success=1 default=ignore] pam_succeed_if.so service in cron quiet use_uid
before line session required pam_unix.so
(Debian Ticket)
(Ref, Archive)device descriptor read/64, error -32 and similar(for me) fix was to enable IOMMU in Bios and set kernel boot option iommu=pt (Ref, Archived)
sudo nano /etc/default/grubGRUB_CMDLINE_LINUX_DEFAULT="quiet iommu=pt"
sudo update-grub