Welcome!

The kernel problem with recent updates has been solved. Find the solution here

Important information
-- Required MX 15/16 Repository Changes
-- Information on torrent hosting changes
-- Information on MX15/16 GPG Keys
-- Spectre and Meltdown vulnerabilities

News
-- Introducing our new Website
-- MX Linux on social media: here

Current releases
-- MX-18.3 Point Release release info here
-- Migration Information to MX-18 here
-- antiX-17.4.1 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

Report Bugs, Issues and non- package Requests
User avatar
BitJam
Developer
Posts: 3347
Joined: Sat Aug 22, 2009 11:36 pm

RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#1

Post by BitJam » Thu Jun 20, 2019 3:30 am

Some people with nvidia graphics booted to a blank screen after the recent kernel upgrade.

The solution is pretty easy. After you boot to the blank screen press <Alt><F2> (both keys together) to get to a console login screen. Log in with your user name and password and then run:

Code: Select all

sudo dpkg-reconfigure nvidia-kernel-dkms
Once that's done, reboot your machine with:

Code: Select all

sudo reboot
I hope this works for you and we are very sorry for the inconvenience.

There are probably other similar problems that need to be fixed but I imagine it will be more pleasant to address those from your familiar graphical desktop.
Will I cry when it's all over?
When I die will I see Heaven?

User avatar
JayM
Qualified MX Guide
Posts: 1874
Joined: Tue Jan 08, 2019 4:47 am

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#2

Post by JayM » Thu Jun 20, 2019 8:48 am

It didn't just break nvidia graphics but all dkms kernel modules for drivers. See viewtopic.php?f=108&p=510467#p510467
Please read How To Ask For Help and How to Break Your System.
MX User Manual: hold down ALT and press F1. Further information may be found in the MX Wiki.

User avatar
kmathern
Developer
Posts: 9687
Joined: Wed Jul 12, 2006 2:26 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#3

Post by kmathern » Thu Jun 20, 2019 10:30 am

JayM wrote:
Thu Jun 20, 2019 8:48 am
It didn't just break nvidia graphics but all dkms kernel modules for drivers. See viewtopic.php?f=108&p=510467#p510467

Try this, it should rebuild all dkms kernel modules, not just nvidia. Let us know how it works.

Code: Select all

sudo /usr/share/mx-packageinstaller-pkglist/rebuild_dkms_packages.sh

User avatar
CrackMeUp
Forum Novice
Forum  Novice
Posts: 63
Joined: Thu Jun 13, 2019 8:59 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#4

Post by CrackMeUp » Thu Jun 20, 2019 10:36 am

So far I haven't had any issues :crossfingers: ... neither with the tens of installations of MX-18 for friends and family (only because of a lot of emailing to warn them to not upgrade for the moment). I do find ...
Important Alert
Do not upgrade your MX 17 or MX18 system installed or live until further notice. A problem with a kernel upgrade has occurred. A fix will be posted when available.
a bit troubling insofar that users affected by this obviously cannot access the warning ... even if they could, the "fixes" and reports are scattered on the Forum.

Out of curiosity, and perhaps helpful, is this script created by dolphin_oracle that I stashed a couple of years ago, and am wondering if it could still be valid(?) ...

Code: Select all

rebuild-dkms
#!/bin/bash

#script to rebuild dkms modules installed from deb packages
#dolphin oracle, March 2017


for i in $(dpkg-query -l |grep "\-dkms" |awk '{print $2'}); do
dpkg-reconfigure $i |tee -a /var/log/rebuild-dkms.log
done

User avatar
kmathern
Developer
Posts: 9687
Joined: Wed Jul 12, 2006 2:26 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#5

Post by kmathern » Thu Jun 20, 2019 10:45 am

CrackMeUp wrote:
Thu Jun 20, 2019 10:36 am
Out of curiosity, and perhaps helpful, is this script created by dolphin_oracle that I stashed a couple of years ago, and am wondering if it could still be valid(?) ...
The /usr/share/mx-packageinstaller-pkglist/rebuild_dkms_packages.sh script does the same thing (I think it's an improved version of dolphin_oracle's original script).

Code: Select all

$ cat /usr/share/mx-packageinstaller-pkglist/rebuild_dkms_packages.sh
#!/bin/bash

#force rebuild of dkms packages (virtualbox, nvidia, fglrx, broadcom, ndiswrapper)
#part of mx-packageinstaller


[[ $(dpkg-query --show $1 2>/dev/null && echo $?) ]] || exit 0


for i in $(dpkg-query -l |grep "\-dkms" |awk '{print $2'}); do
 dpkg-reconfigure $i |tee -a /var/log/rebuild-dkms.log
done

exit 0

User avatar
richb
Administrator
Posts: 19285
Joined: Wed Jul 12, 2006 2:17 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#6

Post by richb » Thu Jun 20, 2019 10:52 am

A message was posted to Facebook, Twitter and the Website. There is so much we can do with the announcement. Courier service is not available to us.
A definitive Fix liked to the announcement is being worked on. Also people affected by this who can get to the desktop can see the announcement. Whether they read it or not is a different matter.
Forum Rules
Guide - How to Ask for Help

Rich
SSD Production: MX 18.1
AMD A8 7600 FM2+ CPU R7 Graphics, 16 GIG Mem. Three Samsung EVO SSD's 250 GB, 350 GB HD

User avatar
Stevo
Developer
Posts: 19887
Joined: Fri Dec 15, 2006 8:07 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#7

Post by Stevo » Thu Jun 20, 2019 4:08 pm

We've also pulled the kernel update responsible. We'll probably wait for Debian to update their Buster kernel with the same security fixes and a different kernel version before we port it over, which they still haven't done two weeks after updating the Stretch kernel, so apparently they don't consider it that much of an issue.

User avatar
Head_on_a_Stick
Forum Regular
Forum Regular
Posts: 488
Joined: Sun Mar 17, 2019 3:37 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#8

Post by Head_on_a_Stick » Thu Jun 20, 2019 4:22 pm

Stevo wrote:
Thu Jun 20, 2019 4:08 pm
We'll probably wait for Debian to update their Buster kernel with the same security fixes and a different kernel version before we port it over, which they still haven't done two weeks after updating the Stretch kernel, so apparently they don't consider it that much of an issue.
The Debian developers are rather busy with the imminent release and testing is not covered by the Security Team — I had to add the stretch security repositories to my buster system to get the fixed firefox-esr version.

Anybody with older hardware could switch to the Debian stable kernel instead.
"The state, therefore, is the most flagrant, the most cynical, and the most complete negation of humanity." — Mikhail Bakunin

User avatar
timkb4cq
Developer
Posts: 5123
Joined: Wed Jul 12, 2006 4:05 pm

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#9

Post by timkb4cq » Thu Jun 20, 2019 5:03 pm

It's in sid.
MSI 970A-G43 MB, AMD FX-6300 (six core), 16GB RAM, GeForce 730, Samsung 850 EVO 250GB SSD, Seagate Barracuda XT 3TB

User avatar
Ghost67
Forum Novice
Forum  Novice
Posts: 72
Joined: Sat Sep 27, 2014 5:04 am

Re: RECENT KERNEL UPGRADE BROKE NVIDIA GRAPHICS -- SOLUTION

#10

Post by Ghost67 » Wed Jul 03, 2019 3:13 am

It seems I picked the wrong time to do a fresh install!

I fresh installed a recent MX-18.3 snapshot (built on a non nvidia machine without nvidia drivers),
The install went flawlessly of course, so I then installed Steam followed by the nvidia drivers (via the installer in the menu).
Everything seemed pukka, so I went ahead and brought my games down and tested them all on the new install with great success.

Upon rebooting this morning I find I can get to the login screen and enter my user name and password which gives me just the grey login wallpaper and a mouse cursor, from where:

Alt + Backspace doesn't take me to a command line,
F4 invokes a drop-down terminal which is invisible (the cursor changes to the text pipe when at the top of the screen).
Alt +F1 doesn't take me to a prompt.

I note the 4.19 bug that is affecting nvidia driver users here: https://mxlinux.org/blog/our-recent-kernel-problem/ so i tried the 'add '3' at the end of the linux line' part to no effect unfortunately. No command prompt.

I also cannot opt to boot with another kernel as 4.19 appears to be the only one available.

I'm not sure what to do about this. My knee-jerk reaction is to slap on a new install of something else instead, but I'm certain this problem has an easy fix, as others with similar issues recently have found. I just don't know what that may be?
https://www.youtube.com/c/GhostSixtyseven
'Quo, quo scelesti ruitis?'

Post Reply

Return to “Bugs and Non-Package Requests Forum”