Jump to content


Ubuntu Broke This Morning


  • Please log in to reply
34 replies to this topic

#1 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 15 March 2019 - 04:29 PM

This morning I clicked on Ubuntu Software and unfortunately decided to install the updates it found. It required a reboot and that now gives me a black screen. I can hold the Shift key down while rebooting and choose an old kernel and then log in fine, but would like to know what is going on.

Ubuntu 16.04 LTS

Black screen with 4.4.0-143
Boots okay with 4.4.0.142

The History Log file says:

Start-Date: 2019-03-15  11:10:36
Commandline: aptdaemon role='role-upgrade-system' sender=':1.79'
Install: linux-modules-4.4.0-143-generic:amd64 (4.4.0-143.169, automatic), linux-headers-4.4.0-143:amd64 (4.4.0-143.169, automatic), linux-image-4.4.0-143-generic:amd64 (4.4.0-143.169, automatic), linux-headers-4.4.0-143-generic:amd64 (4.4.0-143.169, automatic), linux-modules-extra-4.4.0-143-generic:amd64 (4.4.0-143.169, automatic)
Upgrade: linux-headers-generic:amd64 (4.4.0.142.148, 4.4.0.143.151), linux-libc-dev:amd64 (4.4.0-142.168, 4.4.0-143.169), linux-image-generic:amd64 (4.4.0.142.148, 4.4.0.143.151), snapd:amd64 (2.34.2ubuntu0.1, 2.37.4), snap-confine:amd64 (2.34.2ubuntu0.1, 2.37.4), ubuntu-core-launcher:amd64 (2.34.2ubuntu0.1, 2.37.4), linux-generic:amd64 (4.4.0.142.148, 4.4.0.143.151)
End-Date: 2019-03-15  11:11:37

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,658 posts

Posted 15 March 2019 - 04:43 PM

You could try the following:

sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade -y

Or you could pass the kernel parameter nomodeset by editing the boot options line and adding 'nomodeset'.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 15 March 2019 - 06:42 PM

Thanks, but I'm afraid of messing up this kernel with another update.

#4 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,658 posts

Posted 15 March 2019 - 06:50 PM

You are not messing with the kernel, you simply edit the boot command before hitting enter. The change only occurs for that boot.

Just select the kernel, hit e and add nomodeset to the kernel line and hit X to boot.

If it works, I can show you how to add that permanently. If not, just reboot and its gone.
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#5 OFFLINE   Hedon James

Hedon James

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 922 posts

Posted 15 March 2019 - 07:13 PM

are you using an Intel video driver?  I've had some issues with lubuntu 16.04 and funky/quirky displays.  I am also on the 4.4.0 kernel series.  Google-fu suggests there's something going on with intel-based drivers and video stack in Ubuntu right now.  One person even posted "ironically, AMD and nVidia are in better places than Intel right now."

I'd just boot with the good kernel until this gets resolved. Might even want to pin the good kernel until the newer ones are fixed, fwiw.

Edited by Hedon James, 15 March 2019 - 07:15 PM.


#6 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 15 March 2019 - 08:22 PM

It is an nvidia driver. Not sure if I got this kernel today or before.

I'll reboot and try nomodeset

#7 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 15 March 2019 - 08:29 PM

After adding nomodeset it says does not recognize command.

#8 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,658 posts

Posted 15 March 2019 - 10:04 PM

Put it between ro and quiet.

Posted Image

I just found a random image of grub for reference.

As shown here: https://askubuntu.co...er-blank-screen
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#9 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 15 March 2019 - 10:31 PM

That sort of works. It boots to the sign-in screen, but after signing in it immediately jumps back to the sign-in screen and plays a drum roll.

#10 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,766 posts

Posted 15 March 2019 - 11:13 PM

Possibly, your old Nvidia drivers (built on the previous kernel) will not load with the new kernel. You'll need to do a fresh install of the Nvidia drivers.

#11 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 16 March 2019 - 01:10 AM

I experimented on a second hard drive and found later versions of Ubuntu, 16.04.6 and 18.04, locking up within a few minutes of logging in. I remember having the same problem last year when I first tested 18.04 when it first came out.

I have already lost 4-5 hours into this kernel problem and finally found a work around by editing the grub boot order.

To fix I did this:
Copy-Paste gksudo gedit /etc/default/grub in terminal
Then change GRUB_DEFAULT=0  to GRUB_DEFAULT="1>3"  so it will choose the 4th kernel choice in the menu.
Then Save, and sudo update-grub to make sure it really saved.

Now it automatically boots into the kernel it did this morning before the ill fated update.

#12 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,658 posts

Posted 16 March 2019 - 09:31 AM

Well that works but eventually you will need to update the latest kernel.

Things like this is one of the reasons I love Archlinux. Archlinux package manager, pacman, would of rebuilt the nvidia driver when the kernel got installed. If there was a problem, you would been told before the update even started downloading (through pacman or from archlinux.org).

The installation is a bit more involved but I find admining arch much simpler that the "easier" distros like Ubuntu and others. A lot of this has to do with all the custom patching that distros do to personalize their user's experience or other reasons. When you use vanilla packages from the upstream source as the dev intended, you end up with less breakage because things were originally built against the vanilla packages. Basically, your systems know what to expect.

Sorry for the rant..

Ubuntu and others do a lot of testing but sometimes bugs creep up because of custom patching. I would do as Eric suggested and reinstall nvidia again. Just out of curiosity, could you give us the output from this command?

lspci | grep VGA

Thanks

PS, I do not suggest that you install Arch, I was just ranting. B)
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#13 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 16 March 2019 - 11:19 AM

I do not think nvidia is the issue. Last night I tried installing 16.04.1 kernel 4.4.0-31, and then updated it, but without nvidia. It unfortunetly updated to 4.4.0-143 and while it let me sign in, it would lock up before fully loading the desktop. And after the update 4.4.0-31 also locked up, probably becouse it is too old. Ubuntu appears to be no longer compatible with my hardware.

#14 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,766 posts

Posted 16 March 2019 - 11:46 AM

"...Ubuntu appears to be no longer compatible with my hardware."

Hmm... I find that hard to believe. Most any Linux is compatible with older hardware. I'm not really up-to-date on Ubuntu (or Debian) these days, so I don't really know.

#15 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 24,658 posts

Posted 16 March 2019 - 01:13 PM

View PostV.T. Eric Layton, on 16 March 2019 - 11:46 AM, said:

"...Ubuntu appears to be no longer compatible with my hardware."

Hmm... I find that hard to believe. Most any Linux is compatible with older hardware. I'm not really up-to-date on Ubuntu (or Debian) these days, so I don't really know.

Well Nvidia announced this back in 2014: NVIDIA to Drop Support for Old Video Cards from Linux Drivers
Posted ImagePosted Image
Configs/PGP Key/comhack π

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#16 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,766 posts

Posted 16 March 2019 - 07:27 PM

Ah... well, what vid is the OP using?

#17 OFFLINE   Hedon James

Hedon James

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 922 posts

Posted 17 March 2019 - 03:20 PM

FWIW, my Lubuntu 16.04 install just updated to the 4.4.0-143-generic kernel (+1 from the prior *142 kernel) and everything seems to be functioning fine, same as before.  If it helps with troubleshooting, here's my system info:

Quote

jim@Asus-SS:~$ inxi -b
System:    Host: Asus-SS Kernel: 4.4.0-143-generic x86_64 (64 bit)
   Desktop: Fluxbox 1.3.5 Distro: Ubuntu 16.04 xenial
Machine:   System: ASUS product: All Series
   Mobo: ASUSTeK model: Z87M-PLUS v: Rev X.0x
   Bios: American Megatrends v: 0311 date: 04/18/2013
CPU:    Quad core Intel Core i7-4770 (-HT-MCP-) speed/max: 3400/3900 MHz
Graphics:  Card: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
   Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
   Resolution: 1920x1080@60.00hz
   GLX Renderer: Mesa DRI Intel Haswell Desktop
   GLX Version: 3.0 Mesa 18.0.5
Network:   Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
   driver: r8169
Drives:    HDD Total Size: 4269.0GB (47.6% used)
Info:   Processes: 274 Uptime: 6 min Memory: 1869.5/15732.2MB
   Client: Shell (bash) inxi: 2.2.35
jim@Asus-SS:~$

based on nothing more than what I've seen in this thread, I'd be looking squarely at the nVidia driver as culprit.  Either pin the *142 kernel that works for you, or try to boot to the terminal with the buggy 143 kernel and update nvidia driver from a terminal, then login from that terminal.  I believe Ubuntu is using lightdm as login service; I know Lubuntu uses LightDM.

Side note...do you NEED proprietary nvidia drivers, or just prefer them?  Or are you using the open source nouveau drivers for nvidia hardware?

#18 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,946 posts

Posted 17 March 2019 - 08:23 PM

View Postsecuritybreach, on 16 March 2019 - 09:31 AM, said:

The installation is a bit more involved but I find admining arch much simpler that the "easier" distros like Ubuntu and others.
I find siduction easier than "easier" distros too, even MX. Once you realise to abort upgrade when many packages are flagged to remove and just wait, it's fairly plain sailing.

Quote

PS, I do not suggest that you install Arch, I was just ranting. B)

I don't suggest to install siduction either. :D

I do agree with Hedon James though, completely uninstall Nvidia drivers and see if nouveau works ok. Nouveau works well for my system with GTX560 Ti.
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#19 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 17 March 2019 - 09:48 PM

Using version 364.19 for a GeForce GTX 660.

Based on my previous experiences with trying to change or update nvidia drivers, and once even permanently losing access to the hard drive, it is not worth the risk to my main computer. The 2nd Hard Drive was locking up without nvidia drivers so...

A couple of years ago I bought a Dell Desktop with the build-in Intel graphics from Goodwill for $25 and yesterday installed the 2nd (experimental) hard drive that was locking up in my main computer and it booted right up and had no issues.

#20 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,766 posts

Posted 17 March 2019 - 10:32 PM

Every time I've ever upgraded a kernel on ANY of my Linux installations (Slackware, Debian, CentOS, etc.), it was a MUST-DO to reinstall the Nvidia drivers. They must be built against the new kernel, modules, and headers or Nvidia will NOT function. I used to do this by booting into run level 3 (no X enabled) and run the Nvidia installer via command line. I still use this method in Slackware.

I still say this is an Nvidia driver issue. The drivers you had installed (built) using the older kernel won't work with the new kernel. It's just not going to happen. Nvidia must be re-installed.

---

NOTE: The above is only true if you manually installed proprietary Nvidia drivers downloaded from their site. If you installed Nvidia drivers from the Ubuntu repos, they should have updated with the kernel, I would think. Could be wrong, though. I haven't messed around with Ubuntu or Debian in quite some time.

#21 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 17 March 2019 - 11:16 PM

With the 2nd hard drive, a new clean install with the new kernel, it locks up too quickly after login for nvidia drivers to be installed.

With the original hard drive and the new kernel it goes to a black screen and I cannot log in.

If there is a way to install nvidia drivers in either case I am missing it.

#22 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 21,766 posts

Posted 18 March 2019 - 12:00 AM

Stand by for help from some of the Ubuntu users, Robert. I'm not at all sure how Ubuntu handles Nvidia updates.

#23 OFFLINE   Robert

Robert

    Message Mogul

  • Members
  • PipPipPipPipPip
  • 356 posts

Posted 18 March 2019 - 12:57 AM

The motherboard is a Gigabyte Z68XP-UD3P.  A Google search turns up problems running Linux the last few years. Some say stay away from Gigabyte if running Linux.

#24 OFFLINE   sunrat

sunrat

    Thread Kahuna

  • Forum Moderators
  • 5,946 posts

Posted 18 March 2019 - 01:36 AM

View PostRobert, on 18 March 2019 - 12:57 AM, said:

The motherboard is a Gigabyte Z68XP-UD3P.  A Google search turns up problems running Linux the last few years. Some say stay away from Gigabyte if running Linux.
I run a couple of Gigabyte mobos and they are fine.
The newer one has a setting in UEFI called something like "OS Type" which I had to change to even get Linux installed. Can't look now, but I have that one multiboot with about 6 Linuxii currently. ;)
registered Linux user number 324659  ||    The importance of Reading The *Fine* Manual! :D
Posted ImagePosted ImagePosted ImagePosted Image
For the things we have to learn before we can do them, we learn by doing them.

#25 OFFLINE   Hedon James

Hedon James

    Topic Cop

  • Members
  • PipPipPipPipPipPipPip
  • 922 posts

Posted 18 March 2019 - 08:12 AM

See if this forum/FAQ advice applies to you:

https://askubuntu.com/questions/162075/my-computer-boots-to-a-black-screen-what-options-do-i-have-to-fix-it

#3 (if an update or something else...) has specific scenarios for nvidia users.  Seems like you need to get booted into a terminal so you can manually uninstall nvidia and either use nouveau or reinstall nvidia against that 4.4.0-143 kernel.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users