Tag Archives: Ubuntu gnome 17.04 error

[Solved] Ubuntu gnome 17.04 error: kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129

 

**Serious problem: the system sometimes gets stuck and has no response at all * *
look at the kernel log, and the error message is as follows:

kernel BUG at /build/linux-7LGLH_/linux-4.10.0/include/linux/swapops.h:129

It seems that it has something to do with swap.17.04 uses swap file by default, not swap partition
information found: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838
* * solution (effect to be observed): * *
Modify fstab and use swap partition instead
Update (May 10, 2017): swap partition is invalid. Looking at the kernel log, it seems that a deadlock has occurred, with the words of Intel API.
the solution given is

sudo vi /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
sudo update-grub
sudo reboot

For the following problems, check the failed items in the startup log through journalctl – B

NVIDIA driver problem:
nvidia-375, tested driver is installed, but there are a lot of failures in the startup log:

[Failed] Failed to start NVIDIA Persistence Daemon. See 'systemctl status nvidia-persistenced.service' for details.
nvidia-persistenced.service: Failed at step EXEC spawning /usr/bin/nvidia-persistenced: No such file
nvidia-persistenced[12507]: Failed to open libnvidia-cfg.so.1: libnvidia-cfg.so.1: cannot open shared object file: No such file

The files are not found (installation package problem?). Using NVIDIA SMI to view the status also prompts that libnvidia ml cannot be found. So
manual solution:

sudo ln -s /usr/lib/nvidia-375/libnvidia-ml.so.1 /usr/lib/
sudo ln -s /usr/lib/nvidia-375/libnvidia-cfg.so.1 /usr/lib/
sudo ln -s /usr/lib/nvidia-375/bin/nvidia-persistenced /usr/bin

error message: could not parse desktop file orca autostart.desktop or it reference
* * reason: * * Orca was uninstalled because it was not necessary to read on the screen
solution:

sudo rm /usr/share/gdm/greeter/autostart/orca-autostart.desktop

error message: spice-vdagent[1434]: Cannot access vdagent virtio channel /dev/virtio-ports/com.redhat.spice
**Cause:** Desktop machine, not virtual machine
Solution.

sudo vim /usr/share/gdm/greeter/autostart/spice-vdagent.desktop
Add: X-GNOME-Autostart-enabled=fals