System failure after kernel upgrade [SOLVED]

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

System failure after kernel upgrade [SOLVED]

Post by warbear »

I installed LM 19.3 XFCE on my HP Pavilion 15-ec1046ur notebook, Wi-Fi didn't work, so I tried kernell upgrade. With 5.0 the system worked just fine, still no Wi-Fi. After 5.4 upgrade and reboot it gave me this:

5.409235] cgroup1: Unknown subsys name '__DEVEL__sane_behaivior'
5.520141] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
5.530181] ucsi_ccg 1-0008: i2c transfer failed -110
5.530209] ucsi_ccg 1-0008: ucsi_ccg_init failed - -110
5.557097] cgroup1: Unknown subsys name '__DEVEL__sane_behaivior'
15.099008] rtw_pci 0000:03:00.0: failed to wait firmware completion

the last line being repeated numerously.
I've got no idea what to do. Please, help.
Last edited by warbear on Sat Jan 02, 2021 2:49 pm, edited 2 times in total.
User avatar
Larry78723
Level 11
Level 11
Posts: 3536
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: System failure after kernell upgrade

Post by Larry78723 »

Without some technical information we can’t help you. Please post an inxi -Fxxxzr report. This will give us a concise overview of your hardware and on how Mint sees it.

Here is how to generate the report and post it:

Boot from your installation media (USB/DVD)
Open a terminal window (Ctrl-Alt-t). Make it fullscreen to avoid unneeded linebreaks or chopped lines. Execute the command

Code: Select all

 inxi -Fxxxzr 
exactly as it has been typed here.

Mark the complete text output which the command will display with your mouse.
Press the keyboard shortcut <Shift><Ctrl>C to copy the marked text into the clipboard.
Enclose the results between the code markers by selecting </> from the mini toolbar above the textbox where you type your reply then paste <Ctrl>V them in your reply between the code markers [code]Results [/code].

The results will help us to help you.
Image
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernell upgrade

Post by warbear »

Thank you, but everithing works again. I don't know how it happened. Let's say it was magic. I'm happy.
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernell upgrade

Post by warbear »

Well, I'm not as happy as I thought I was any more.
1) No inxi -Fxxxzr report was possible, because I could enter no command. I got those lines I posted above and then - ooops. Nothing. I had but to reboot.
2) I tried the EFI file option from boot menu (ESC+POWER ON > F9). There I had them, three directories: debian, BOOT and linux. In both debian and linux there was a file named grub.efi - it gave me nothing. In BOOT I've found a file named - actually, I don't remember what was the name of it, smth.EFI - it allowed me to enter a boot menu in which I could choose to load LM or load LM with additional options. I chose the latter. And it gave me the opportunity to boot one of the kernels installed to my system. I picked up 5.0 - and it worked! Even wi-fi worked, although I didn't install any drivers for it.
I was happy, I thought from that moment on I would just boot from that .EFI file and it would work, that my troubles were over.

Oh no, they were not.

After restart I had to spend almost four hours to make LM boot again. It's working now, but, frankly speaking, I don't know what to do. If I delete the new kernel, will Wi-Fi still be working? If I don't, how long will it take to get my notebook back to work? Is it safe to suspend it? It's almost midnight here in Saint-Petersburg, Russia, and I should have been in my bed long ago, but I'm afraid to leave it alone.

So I still need help.

Happy new year, everyone.
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

Code: Select all

$ inxi -Fxxxzr 
System:
  Host: nameLaptop Kernel: 5.0.0-32-generic x86_64 bits: 64 compiler: gcc 
  v: 7.4.0 Desktop: Xfce 4.14.1 tk: Gtk 3.22.30 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec1xxx 
  v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
  Mobo: HP model: 87B3 v: 31.20 serial: <filter> UEFI: AMI v: F.11 
  date: 07/22/2020 
Battery:
  ID-1: BAT0 charge: 50.3 Wh condition: 50.3/50.3 Wh (100%) volts: 13.1/11.6 
  model: Hewlett-Packard Primary type: Li-ion serial: <filter> status: Full 
  cycles: 452 
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse M315/235/317 
  serial: <filter> charge: 100% rechargeable: yes status: Discharging 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 92628 
  Speed: 1398 MHz min/max: 1400/2900 MHz boost: enabled Core speeds (MHz): 
  1: 1397 2: 1397 3: 1384 4: 1366 5: 1437 6: 1541 7: 1292 8: 1361 9: 1397 
  10: 1397 11: 1397 12: 1396 13: 1396 14: 1397 15: 1313 16: 1212 
Graphics:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0 
  chip ID: 10de:2191 
  Device-2: AMD vendor: Hewlett-Packard driver: N/A bus ID: 05:00.0 
  chip ID: 1002:1636 
  Display: x11 server: X.Org 1.19.6 driver: ati,fbdev 
  unloaded: modesetting,radeon,vesa resolution: 1024x768~76Hz 
  OpenGL: renderer: llvmpipe (LLVM 10.0.0 128 bits) v: 3.3 Mesa 20.0.8 
  compat-v: 3.1 direct render: Yes 
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:1aeb 
  Device-2: AMD vendor: Hewlett-Packard driver: N/A bus ID: 05:00.5 
  chip ID: 1022:15e2 
  Device-3: AMD vendor: Hewlett-Packard driver: snd_hda_intel v: kernel 
  bus ID: 05:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.0.0-32-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Hewlett-Packard driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
  chip ID: 10ec:8168 
  IF: eno1 state: down mac: <filter> 
  Device-2: Realtek vendor: Hewlett-Packard driver: rtw_pci v: N/A 
  port: d000 bus ID: 03:00.0 chip ID: 10ec:c822 
  IF: wlo1 state: up mac: <filter> 
Drives:
  Local Storage: total: 476.94 GiB used: 32.09 GiB (6.7%) 
  ID-1: /dev/nvme0n1 vendor: Western Digital 
  model: PC SN530 SDBPNPZ-512G-1006 size: 476.94 GiB speed: 31.6 Gb/s 
  lanes: 4 serial: <filter> rev: HPS2 scheme: GPT 
Partition:
  ID-1: / size: 453.72 GiB used: 32.07 GiB (7.1%) fs: ext4 
  dev: /dev/nvme0n1p2 
  ID-2: swap-1 size: 15.36 GiB used: 0 KiB (0.0%) fs: swap 
  dev: /dev/nvme0n1p3 
Sensors:
  Message: No sensors data was found. Is sensors configured? 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com tricia main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ bionic partner
Info:
  Processes: 289 Uptime: 1h 33m Memory: 15.09 GiB used: 1.86 GiB (12.3%) 
  Init: systemd v: 237 runlevel: 5 default: 2 Compilers: gcc: 7.5.0 alt: 5/7 
  Shell: bash v: 4.4.20 running in: xfce4-terminal inxi: 3.0.32
User avatar
Larry78723
Level 11
Level 11
Posts: 3536
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: System failure after kernell upgrade

Post by Larry78723 »

The 5.0 kernel is dead. Update to the 5.4 kernel and see if things work better.
Image
User avatar
SMG
Level 10
Level 10
Posts: 3020
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: System failure after kernel upgrade

Post by SMG »

This cpu, AMD Ryzen 7 4800H, has Renoir graphics with it. You need to be using the 5.8 kernel which is available in Linux Mint 20 to be able to get the drivers for Renoir. You can not use that kernel with LM19.3.

I suggest you back up your personal data and install Linux Mint 20 to get the proper support for your hardware.
-- You will probably need to install Mint 20 in compatibility mode.
-- Then boot using the "nomodeset" kernel parameter. Instruction are in the release notes. Release Notes for Linux Mint 20 Cinnamon Scroll to section on 'Solving freezes during the boot sequence'. That will allow you to get into Mint and then do the updates including the kernel update.
-- Go to Update Manager to install the 5.8 kernel. Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.8 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot the computer.
-- You should now be able to boot normally. Make sure you have run all the updates.
-- Go to Driver Manager to get the driver for your Nvidia card.
-- You will need to reboot for the Nvidia drivers to load properly. Installing the Nvidia driver requires Secure Boot to be turned off (or the drivers signed, but you are better to leave Secure Boot off if you can).

Your computer has switchable graphics. Ubuntu/Mint are set up to pretty much automatically handle switching between Intel/Nvidia computers, but you have an AMD/Nvidia computer so a little "behind the scenes" work has to be done to be able to switch between the AMD and Nvidia gpus. First you make sure both the AMD and Nvidia drivers are installed as I listed above. Then you can do the "behind the scenes" work.

That work is explained in this post viewtopic.php?p=1881334#p1881334
starting with the line: "Open the File Manager. Create a document in Home….."
Then read the next post in that topic, which discusses how to create a script to make switching GPUs easier.

If you have any questions on the process described, let us know.
Last edited by SMG on Sun Jan 10, 2021 11:19 pm, edited 1 time in total.
LM20.1 Cinnamon
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

>>The 5.0 kernel is dead. Update to the 5.4 kernel and see if things work better.

Are you sure you have read what I had posted at the very beginning? It all worked for me just fine with 5.0 and I got a hole load of problems after having upgraded to 5.4

Man, I've tried it. If I haven't I would be sleeping like a baby now.
Last edited by warbear on Fri Jan 01, 2021 7:44 pm, edited 1 time in total.
User avatar
SMG
Level 10
Level 10
Posts: 3020
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: System failure after kernel upgrade

Post by SMG »

warbear wrote:
Fri Jan 01, 2021 7:21 pm
It all worked for me just fine with 5.0
No, 5.0 did not work just fine. There are no graphic drivers installed.

Graphics:
Device-1: NVIDIA vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0
chip ID: 10de:2191
Device-2: AMD vendor: Hewlett-Packard driver: N/A bus ID: 05:00.0
chip ID: 1002:1636
LM20.1 Cinnamon
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

SMG wrote:
Fri Jan 01, 2021 6:28 pm
This cpu, AMD Ryzen 7 4800H, has Renoir graphics with it. You need to be using the 5.8 kernel which is available in Linux Mint 20 to be able to get the drivers for Renoir. You can not use that kernel with LM19.3.

I suggest you back up your personal data and install Linux Mint 20 to get the proper support for your hardware.
........

If you have any questions on the process described, let us know.
Thank you, man. I'll do it as soon as I learn how to install anything in a compatibility mode. I'm a newbe to Linux, see, and a sleepy one. But yes, that's exactly what I'm about to do right now.
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

SMG wrote:
Fri Jan 01, 2021 7:25 pm
warbear wrote:
Fri Jan 01, 2021 7:21 pm
It all worked for me just fine with 5.0
No, 5.0 did not work just fine. There are no graphic drivers installed.

Graphics:
Device-1: NVIDIA vendor: Hewlett-Packard driver: N/A bus ID: 01:00.0
chip ID: 10de:2191
Device-2: AMD vendor: Hewlett-Packard driver: N/A bus ID: 05:00.0
chip ID: 1002:1636
I mean it showed me a nice desktop with a picture on it, buttons and all... It didn't crush at the very first step.
User avatar
SMG
Level 10
Level 10
Posts: 3020
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: System failure after kernel upgrade

Post by SMG »

warbear wrote:
Fri Jan 01, 2021 7:30 pm
I'll do it as soon as I learn how to install anything in a compatibility mode. I'm a newbe to Linux, see, and a sleepy one. But yes, that's exactly what I'm about to do right now.
Go ahead and sleep. Compatibility mode is one of the options on the screen when you boot the usb to install Mint. However, if you did not use it for LM19.3 then you may not need it for LM20.
LM20.1 Cinnamon
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

Thank you. It's all done, the system is OK. Almost. I'm going to start a new topic, I think, but no more kernel/boot issues.
motoryzen
Level 4
Level 4
Posts: 258
Joined: Sun Dec 08, 2019 12:25 am

Re: System failure after kernell upgrade

Post by motoryzen »

Larry78723 wrote:
Fri Jan 01, 2021 6:23 pm
The 5.0 kernel is dead. Update to the 5.4 kernel and see if things work better.
= " With 5.0 the system worked just fine, still no Wi-Fi. After 5.4 upgrade and reboot it gave me this: " He already tried that. He mentioned that in his very first post silly xD =
User avatar
SMG
Level 10
Level 10
Posts: 3020
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: System failure after kernel upgrade

Post by SMG »

warbear wrote:
Sat Jan 02, 2021 11:07 am
Thank you. It's all done, the system is OK. Almost. I'm going to start a new topic, I think, but no more kernel/boot issues.
Glad it is booting. Please edit the first post in this thread and add [SOLVED] so others will know you are no longer seeking help for this issue.
LM20.1 Cinnamon
warbear
Level 1
Level 1
Posts: 30
Joined: Fri Jan 01, 2021 9:49 am

Re: System failure after kernel upgrade

Post by warbear »

SMG wrote:
Sat Jan 02, 2021 2:47 pm
warbear wrote:
Sat Jan 02, 2021 11:07 am
Thank you. It's all done, the system is OK. Almost. I'm going to start a new topic, I think, but no more kernel/boot issues.
Glad it is booting. Please edit the first post in this thread and add [SOLVED] so others will know you are no longer seeking help for this issue.
OK :)
Post Reply

Return to “Installation & Boot”