Thanks again, super helpful info! I ran Disk Utility First Aid on the main Mac SSD container (disk1) and it returned without any errors (I scrolled through and each test reported as OK). I reinstalled macOS today - I am hoping that between fixing my corrupted drive and reinstalling the OS it will resolve the issue (I am optimistically working on the assumption that there isn't an underlying hardware fault).
A few weeks ago (before I realised my external drive was corrupt) I had assumed the issue was with my OS install, so I reinstalled MacOS without formatting the dodgy external drive. After I did that first OS reinstall the system still couldn't read the external drive and would freeze etc as before - that's when I realised the external drive was corrupted and causing the problems. After I disconnected the corrupt external drive, I wasn't having the issue of everything freezing when it was trying to read the corrupted disk (that always required a force restart) but I was still getting the kernel panics. I'm trying to work out how much of an impact the bad external drive (or the associated force restarts etc) might have had on that fresh OS install and whether this might have been enough to cause the kernel panics etc even after the drive was disconnected.
Could the dodgy external drive/force reboots have damaged that initial clean OS reinstall I did to the point my Mac would keep getting kernel panics? Would it make any sense if I was still getting kernel panics even after I'd disconnected the bad external drive?
Given how badly the corrupted external drive was previously crashing things I definitely know that the external drive is fixed now (it works fine in Disk Utility, Time Machine etc). But I don't know if the kernel panics are also related to the formerly-corrupt external drive and whatever damage it might have done to the OS, so I want to make sure I've fixed everything in the system/OS that the bad external drive might have corrupted (hence the OS reinstall today now that the disk is working properly). I don't specifically know what the OS reinstall today would have actually fixed to stop the kernel panics occurring, do you have any thoughts on this?
Hopefully all of that makes sense, I'm just trying to work out if I'm dealing with a software/OS issue or if there really is a hardware issue somewhere. Do you think my reinstall today will have resolved anything and is there anything I might have missed? Assuming I haven't got a hardware failure situation on my hands, the lack of panics so far is good but then I thought formatting the external drive the other day had also cured the panics and then they started happening again.
Some broader questions like in terms of working out where to go next if the issues continue:
- Do you have any thoughts on procedures etc for tracking these kernel panics (if they continue) where they are difficult to reproduce?
- If it is an SSD failure, is it likely to get worse? Obviously very broad question but I don't know how these SoC SSDs fail
- Say I eventually present it as absolutely having issues to Apple (complete reset and still getting kernel panics). My AppleCare has long expired on this one (I did actually have it for 3 years initially) so I am assuming they will charge for whatever work I can convince them needs doing. I don't want to throw away the Mac away if it's "working" but given its relative age I imagine major repairs (logic board etc) are probably uneconomical at this point. Do you have any info on what Apple would charge/actually be able to repair? From what you've said I'm guessing it would be a logic board replacement which sounds like £££.
As I said, I reinstalled the OS today (Internet Recovery, not a full system reset) so will see if that improves anything. If there were issues with something in the OS install that remained after fixing the dodgy external drive I am hoping that this should have been enough to clear them out. Would appreciate if you've got any other pointers on deep clean type stuff I should be doing or broader thoughts on how I'm approaching this.
Now that my external drive is working again, I've got TM backups from before today's OS reinstall, and then some more TMs from after today's reinstall. I can wipe and restart my TM from scratch on the new install now if that's worth doing, I just don't want to have TM backups that have these kernel panic problems baked in.
Sorry this has been so long - cheers.