There seems to be a problem with 980 PRO SSD Firmware, where it can go read-only and from which it won’t be able to recover. There is also a problem on the 990 PRO where the disk health seems to degrade unusually quickly, but there is no firmware update for that at this time. It should however works the same way.
Samsung offers an .ISO (at Samsung Magician & SSD Tools & Software Update | Samsung Semiconductor Global) you can boot into, but that didn’t work on my 12th gen Intel device, so I went and extracted it and did the manually.
As root user execute the following:
cd $(mktemp -d)
wget https://semiconductor.samsung.com/resources/software-resources/Samsung_SSD_980_PRO_5B2QGXA7.iso
mkdir ./iso
mount -o loop Samsung_SSD_980_PRO_5B2QGXA7.iso ./iso
gzip -dc iso/initrd | cpio -div --no-absolute-filenames
nix-shell -p unzip
cd root/fumagician
./fumagician
You’ll find an executable named fumagician
in the CWD that will guide you through and do the actual upgrade.
You can see your current firmware version via nix-shell -p nvme-cli --run nvme list
as root. The new firmware will be active after reboot.
Good luck.