This is more of a generic Linux/utilities/hardware question, but it pertains to the use of router.
My Sophos XG-135w was randomly locking up until a few flashes/reboots after I started getting the non-writable partition errors (with ext4 build, not squashfs) or even read errors for /sbin/uci. My guess is that the SSD is going. I bought the router used, so maybe it was used extensively with the Sophos software prior to me getting it.
Anyways, I have the serial cable and my plan is to connect over serial port on the router -- can anyone recommend a Linux distribution/ISO/specific tool which would have serial/CLI tools to test (stress-test?) the SSD and potentially revive it? Is there such a thing as marking bad blocks on SSD?
Even if it's just to confirm that SSD needs to be replaced, I'd prefer to have that done before replacing it.
Trying to put it back on it, as I think SSD is failing. I'm experiencing a lot of freezes with nothing in the log/htop.
Transcend TS64GSSD370. I have no way of connecting it directly to SATA port anywhere and not sure if the USB enclosure I have will allow for checking/updating firmware.
So I'm looking for something lightweight I could boot the router from which would fit on a 2GB flash-drive. I'm not familiar with Linux SSD health checking tools, that's why I'm asking.
Before declaring defeat, try replacing the CMOS battery - it might be down to just that (I have an ivy-bridge ASRock board that plays (totally-) dead whenever the CMOS battery fails).
I don't have experiences with sophos, but yes, my https://www.asrock.com/mb/Intel/H77%20Pro4-M/ is completely dead whenever the CMOS battery is empty (and this board uses the battery up quite quickly, in comparison to other boards). No response to the power button at all (the first time this happened, I had already disassembled the system for scraps completely, before giving that a last chance), but I've also seen other weird side effects (sometimes coming up, sometimes not, various BIOS errors) on other boards (e.g. GHM7X-2L4C-VER.C).