0

Since two days ago the shutdown of my laptop doesn't work anymore. It freezes on the last screen that shows the Ubuntu logo and then my laptop starts working really hard, gets hot and the cooler is going crazy.

I pressed F1 to see what's happening in the background, but it doesn't help me because I have little knowledge about Linux.

After pressing F1 my computer gets stuck at a black screen with the following text:

[2454.246223] xhci_hcd 0000:3b:00.0: Controller not ready at resume -19
[2454.246280] xhci_hcd 0000:3b:00.0: PCI post-resume error -19!
[2454.246297] xhci_hcd 0000:3b:00.0: HC died; cleaning up
[2454.396556] xhci_hcd 0000:3b:00.0: Host halt failed, -19
karel
  • 122,292
  • 133
  • 301
  • 332
kerf
  • 13

2 Answers2

3

The problem is that the computer is not shutting down properly. This is made explicit in the 2nd line of the shutdown messages. If this is caused by a software issue it would be better to reinstall Ubuntu than to keep on repeatedly manually shutting down the computer by holding down the power button.

Reinstalling Ubuntu would only make sense if you can prove that this freezing during shutdown is a software issue, not a hardware issue. If this problem doesn't occur when running an Ubuntu live session from the Ubuntu live USB that you used to install Ubuntu this would indicate that reinstalling Ubuntu would indeed solve the problem.

karel
  • 122,292
  • 133
  • 301
  • 332
0

I had a similar issue, this generally happens when

  1. some process is hindering the shutdown of computer, this problem is generally solved by reinstalling ubnutu, apt update, upgrade,auto driver install, or adding force shutdown to GRUB.
  2. in other cases such as mine, i had two gpus driving my display at a time, an amd gpu and an nvidia gpu, both were showing on and running. Inbuilt driver for nvidia gpu which gets installed while installing ubuntu, sometimes keeps displaying the logo of ubuntu and freezes the shutdown. In that case, best shot is to uninstall that driver, or disable that driver. Seemingly unpopular way to disable that driver is to download run the executable file for device suitable nvidia driver from official nvidia drivers page. While intallation you have to exit X server mode and work in text based terminal, the new installation asks to give permission to create a file which disables the existing nvidia drivers, after that it does not matter if your driver installation is a success or not, since inbuilt nvidia support is disabled, the issue gets solved.