2

I was trying to install Ubuntu 16.04-2 on my new machine now and it was pretty much working until I do apt upgrade. After upgrade, the kernel was updated from 4.8 to 4.10 and thereafter the ubuntu refuses to login.

It manages to get into the login session(GUI), but after I type in the password, the whole system freezes and doesn't respond to any key press and I am forced to power off the computer. However, I can boot into 4.8 from grub.

How can I report this kernel issue to ubuntu team? Where can I get the log from?


The exact kernel version is the following:

4.10.0-27-generic

4.8.0-36-generic

  • I suggest you boot with the working kernel and then fully update: sudo apt update && sudo apt full-upgrade and then try again. Other possibility: Have you installed proprietary Nvidia drivers not from the official repositories, using a binary downloaded from Nvidia? That creates a problem because the driver need to be reinstalled for any new kernel version. – user692175 Jul 25 '17 at 2:34
  • @MichaelBay man you rock! indeed i just tried to install nvidia driver and solved this issue. – Jason Hu Jul 25 '17 at 2:35
  • Nice. I'll convert it into an answer then. – user692175 Jul 25 '17 at 2:40
  • worth noting is that one can try to freeze kernel update if knowing it might not be necessary without having to worry yet-another driver issue. following post askubuntu.com/questions/678630/how-can-i-avoid-kernel-updates shows how to freeze kernel updates. – Jason Hu Jul 25 '17 at 3:00
  • Indeed, but there are good reason to keep the OS fully updated including the currently supported kernel. Freezing the kernel because of the Nvidia driver IMO is not a good reason. The recommendation in the answer's last paragraph is all about that ;-) – user692175 Jul 25 '17 at 3:03
1

The comments indicate a problem with Nvidia graphics drivers. The driver was installed using a binary downloaded directly from Nvidia and that needs to be reinstalled for any new kernel version. As such. the following procedure is recommended:

  • Boot using the old kernel - 4.8.0-36-generic -, the one that currently works;
  • Fully update the OS->

    sudo apt update && sudo apt full-upgrade
    
  • Reinstall the Nvidia driver using the same procedure as before.
  • Reboot

In order to avoid this issues please follow the recommended installation method for Nvidia drivers in Ubuntu, as outlined in "NVIDIA drivers provided by the Ubuntu repositories".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.