- Joined
- Nov 21, 2020
Fun with debugging:
I have a desktop system I sometimes use for AI image generation. After I switched to Flux it would sometimes hard crash after a while. I finally got annoyed enough to debug it. I logged in, opened a couple web windows and started ComfyUI on large run of images. Then I switched to the text console(Control-Alt-F1 for you noobz) logged in as root and ran "dmesg --follow" and waited.
Sure enough a while later I was greeted with an NVMe error and a hard kernel panic. Now, usually drive errors don't kill the kernel but in this case it was swapping memory out or in, and that's a hard fail if the drive goes bye bye.
Armed with this information I upgraded the MB BIOS and NVMe drive Firmware. Not fixed. So I ordered more RAM and a new NVMe drive. More RAM will stop the swapping and hopefully it's a hardware problem with just the drive.
I also got bored and wanted to move some partitions on another system. Gparted refused to boot from Ventoy, likely due to the hybrid graphics. So I booted a Linux Debian Live image instead, logged in, ran "apt install gparted" and went on my merry partition moving way.
I have a desktop system I sometimes use for AI image generation. After I switched to Flux it would sometimes hard crash after a while. I finally got annoyed enough to debug it. I logged in, opened a couple web windows and started ComfyUI on large run of images. Then I switched to the text console(Control-Alt-F1 for you noobz) logged in as root and ran "dmesg --follow" and waited.
Sure enough a while later I was greeted with an NVMe error and a hard kernel panic. Now, usually drive errors don't kill the kernel but in this case it was swapping memory out or in, and that's a hard fail if the drive goes bye bye.
Armed with this information I upgraded the MB BIOS and NVMe drive Firmware. Not fixed. So I ordered more RAM and a new NVMe drive. More RAM will stop the swapping and hopefully it's a hardware problem with just the drive.
I also got bored and wanted to move some partitions on another system. Gparted refused to boot from Ventoy, likely due to the hybrid graphics. So I booted a Linux Debian Live image instead, logged in, ran "apt install gparted" and went on my merry partition moving way.