Getting the exact same error on Lubuntu 20.04.2 after update to kernel 
5.11.0-25-generic (x86_64)
 
Boot is stuck at "Finished update UTMP about system runlevel changes". No login 
screen and no GUI.

After doing Ctl+Alt+F1 , logging in as a sudo capable user and starting
LxQt with 'startx', the GUI appears and works. But the fonts are huge
and windows are extremely zoomed in.

Tried to reinstall NVIDIA drivers with

$ sudo apt-get remove --purge nvidia-*
$ sudo ubuntu-drivers autoinstall

and that is when the error trace quoted by Christopher Deverill appeared

Verified the version of libc6 as there had been some problems in the
past when it had bumped up to 2.31-0ubuntu9.3 when installing some other
packages. But it was only 2.31-0ubuntu9.2 which has never had any issues
with NVIDIA 340.108 on this system

$ dpkg-query --list | grep libc6
ii  libc6:amd64                                   2.31-0ubuntu9.2               
          amd64        GNU C Library: Shared libraries
ii  libc6-dev:amd64                               2.31-0ubuntu9.2               
          amd64        GNU C Library: Development Libraries and Header Files
ii  libc6-i386                                    2.31-0ubuntu9.2               
          amd64        GNU C Library: 32-bit shared libraries for AMD64


There are absolutely no issues when booting into kernel 5.8.0-63-generic

Grub has always had kernel parameters to avoid NVRM Warnings in dmesg 
GRUB_CMDLINE_LINUX="video=vesa:off vga=normal"

NVIDIA flash has already been turned off with 
$ sudo nvidia-xconfig --no-logo

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1938978

Title:
   nvidia-340 kernel module failed to build (ERROR: Kernel configuration
  is invalid)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-340/+bug/1938978/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to