I also have the same laptop: Dell Inspiron 7559. I managed to boot by adding nouveau.modeset=0
to GRUB's linux
line.
When you are in the GRUB menu, press E to enter the GRUB editor. Add nouveau.modeset=0
to the end of the line that starts with linux
. After you've added it, press F10 to boot. Your system should start. After that, go to System Settings > Software & Updates > Additional Drivers and then select the NVIDIA driver. Right now I'm using NVIDIA binary driver- version 367.57 from nvidia-367 (proprietary, tested).
However I also have problems. Firstly, the NVIDIA card consumes a lot of power. My battery life is 2 hours with Linux (because it only uses NVIDIA GTX 960). With Windows I get 6 hours if I use it mildly. If I do prime-select intel
, and try to log off, it gets stuck and I have to reboot it multiple times to make it boot. Sometimes it never boots back so I have to boot in recovery and switch back to NVIDIA by prime-select nvidia
. I have installed all the Dell graphics card drivers and nothing changed - still doesn't boot with Intel selected. However once I managed to boot with Intel and it gave me 6:30 hours of battery life. Something is weird.
Possible swap/memory problem.
BIOS
Your have BIOS version S1200SP.86B.03.01.0042.013020190050 dated 01/30/2019.
There's a newer BIOS available, dated June 2020, and it can be downloaded here.
Note: Have good backups before updating the BIOS.
Memtest
Go to https://www.memtest86.com/ and download/run their free memtest
to test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete.
Update #1:
As I previously thought... you have swap problems.
You have THREE swap locations, as seen in /etc/fstab!
UUID="X-X-X-X-X" swap swap defaults 0 0
UUID="X-X-X-X-X" swap swap defaults 0 0
/swapfile swap swap defaults 0 0
Do sudo swapoff -a
# turn off swap
Then comment out ALL three of the above lines in /etc/fstab.
It's never ok to completely disable swap. It's not appropriate to have too small of a swap. You have both problems.
Let's create an appropriate /swapfile for your system.
Note: Incorrect use of the dd
command can cause data loss. Suggest copy/paste.
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 32G RAM and 4G swap
Add this line to /etc/fstab...
/swapfile none swap sw 0 0
Then reboot
the system and verify operation.
If it all works, you can use gparted
to delete the two disk partitions with the UUIDs shown in the commented out lines in /etc/fstab. Be careful here, and assure that you've got the correct partitions to delete. Then delete those three commented out lines in /etc/fstab.
Best Answer
From: What are all these "Bug: soft lockup" messages about?
The error message itself doesn't tell you what is causing the problem.
Reducing server load is normal solution: