SSD- Ubuntu 20.04 kernel panic mode on the 5th day,
Solution 1:
Let's first check your Ubuntu file system for errors...
- boot to a Ubuntu Live DVD/USB in “Try Ubuntu” mode
In the terminal
app:
- type
sudo fsck -f /dev/nvme0n1
- type
sudo fsck -f /dev/nvme0n2
- repeat the
fsck
command if there were errors - type
reboot
Update #1:
Let's increase your /swapfile from 2G to 4G and see if that helps...
Note: Incorrect use of the dd
command can cause data loss. Suggest copy/paste.
In the terminal
...
sudo swapoff -a # turn off swap
sudo rm -i /swapfile # remove old /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
sudo chmod 600 /swapfile # set proper file protections
sudo mkswap /swapfile # init /swapfile
sudo swapon /swapfile # turn on swap
free -h # confirm 16G RAM and 4G swap
Edit /etc/fstab, using sudo -H gedit /etc/fstab
or sudo pico /etc/fstab
.
Confirm this /swapfile line in /etc/fstab... and confirm no other “swap” lines... use SPACES in this line... confirm NO TABS...
/swapfile none swap sw 0 0
---
reboot # reboot and verify operation
Update #2:
In reviewing new log files, nvme1 (Kingston) has a problem. It looks like it needs to be re-seated in its socket. Make sure it's pushed all the way in. Also need to check the firmware.