Problem upgrading Kernel in LMDE 3

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
User avatar
Flesh
Level 1
Level 1
Posts: 25
Joined: Thu May 05, 2011 3:57 pm
Location: uSA
Contact:

Problem upgrading Kernel in LMDE 3

Post by Flesh » Sat May 18, 2019 10:33 pm

I followed this thread before and it worked fine,

https://community.linuxmint.com/tutorial/view/2441

this is a new install, Cinnamon, with Nvidia Proprietary installed from stretch-backports,
I have stretch-backports enbabled,

sudo apt-get -t stretch-backports upgrade

worked fine, after reboot it showed:
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded
the Kernel was not list in the 73 not upgraded, mainly just apps like libre office,
and the 4.19 kernel is installed.

sudo update-grub

Code: Select all

Generating grub configuration file ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-4.9.0-9-amd64
Found initrd image: /boot/initrd.img-4.9.0-9-amd64
Found linux image: /boot/vmlinuz-4.9.0-8-amd64
Found initrd image: /boot/initrd.img-4.9.0-8-amd64
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
Adding boot menu entry for EFI firmware configuration
done
but it only showed 4.9 and not 4.19, nor does it reboot into 4.19

sudo apt-get install -t stretch-backports linux-headers-4.19.0-0.bpo.4-amd64 linux-headers-4.19.0-0.bpo.4-common

or

sudo apt-get install linux-headers-4.19.0-0.bpo.4-amd64 linux-headers-4.19.0-0.bpo.4-common

Code: Select all

linux-headers-4.19.0-0.bpo.4-amd64 is already the newest version (4.19.28-2~bpo9+1).
linux-headers-4.19.0-0.bpo.4-amd64 set to manually installed.
linux-headers-4.19.0-0.bpo.4-common is already the newest version (4.19.28-2~bpo9+1).
linux-headers-4.19.0-0.bpo.4-common set to manually installed.
shows they are up to date, I have no idea why grub and even initramfs:

sudo update-initramfs -u

update-initramfs: Generating /boot/initrd.img-4.9.0-9-amd64

Only shows 4.9.

As far as I can tell the other apps upgraded, dkms and other apps are now running from backports, Nvidia was installed from there.

I ran my normal fix all commands:

Code: Select all

sudo dpkg --configure -a
sudo apt-get --fix-broken install
sudo aptitude clean -y
sudo apt-get update -y && sudo aptitude update -y
sudo apt-get upgrade -y && sudo aptitude full-upgrade -y
sudo apt-get dist-upgrade -y && sudo apt-get dist-upgrade -y
The first time I upgraded it worked fine, I did this upgrade the same way, I even used timeshift to go back and try it again with no help, I did this mostly because during the install, when it updated the UPS, it triggered a low battery, and shut down, on start it resumed, I learned to unplug it and timeshifted it so I could give it an uninterrupted install this time, and same issue, and by the way, the first time I got it to work, I had that same issue with the UPS, and it did not hurt the install, 4.19 worked fine after that problem.

I was trying to get sensors to work:

inxi -Fxz

Sensors: Message: No sensors data was found. Is sensors configured?

sudo sensors-detect --auto

I get Sorry, no sensors were detected.

I think it was the OS, and upgrading it fixed this issue, I have an AMD Threadripper 1950 Water cooled with 3 Fans, and the correct die for the CPU, some dies are made for other CPU's, this one is not, and I have two sensors for it, actually 3 if you count the Water Cooler itself, and it over heated and shut down, and why I want this feature to work, I was running at 100% for hours with 32 threads, but I thought lm-sensors was working fine, in the past it has altered me of over heating, otherwise this was a stress test that was not good for the computer, I checked the control and it seemed to worked, but it is clear it does not, I checked after trying to reboot it, the first time the BIOS crashed, I let it sit, the case did not seem all that hot, restarting it showed 190 to 200 on start up in the BIOS, after cooling down, I was running handbrake when this happened, working on cutting down a 5 GB file to 2 GB, while watching another video, as such, I have a reason for wanting to upgrade to a newer OS, but I also have another issue with my QNAP NAS, with LMDE 3 Stretch I can delete files, and they go to my Trash can, with testing they do not, this also effects other OS's like Ubuntu, and Arch Linux or Manjaro, even Suse and Fedora, on CentOS 6 works, 7 fails, and Debian Buster fails as well as testing and sid, aka buster.

Anyone else have this issue, or know how to fix this?

Thanks for any help.

axisofevil
Level 3
Level 3
Posts: 109
Joined: Mon Nov 14, 2011 12:22 pm

Re: Problem upgrading Kernel in LMDE 3

Post by axisofevil » Sun May 19, 2019 9:34 pm

1. Handbrake is a real beast - it will run all cores of your CPU flat-out!
I've written a rather poor script that monitors the CPU temperature and suspends Handbrake until the temperature becomes more sensible.

2. The lm-sensors package (which includes the sensors-detect program works for me)...

3. You could try installing the tiny CLI mbmon package which has a temperature/fan speed output, the parameters are a bit weird, though.

User avatar
Flesh
Level 1
Level 1
Posts: 25
Joined: Thu May 05, 2011 3:57 pm
Location: uSA
Contact:

Re: Problem upgrading Kernel in LMDE 3

Post by Flesh » Mon May 20, 2019 11:57 am

I have read other threads where people say they can not get lm-sensor to work with this Motherboard, it is the ASUS x399, they said upgrading kernal fixed it.

User avatar
Flesh
Level 1
Level 1
Posts: 25
Joined: Thu May 05, 2011 3:57 pm
Location: uSA
Contact:

Re: Problem upgrading Kernel in LMDE 3

Post by Flesh » Wed May 29, 2019 1:26 pm

I retired this with a fresh install, and it did not work this time, it installs the kernel, but grub is not updated to reflex it.

gm10
Level 19
Level 19
Posts: 9199
Joined: Thu Jun 21, 2018 5:11 pm

Re: Problem upgrading Kernel in LMDE 3

Post by gm10 » Wed May 29, 2019 1:33 pm

Flesh wrote:
Wed May 29, 2019 1:26 pm
it installs the kernel
How are you installing it? There's nothing in your OP that indicates you ever installed the kernel, just some kernel headers.
Tune up your LM 19.x: ppa:gm10/linuxmint-tools

MissileCop
Level 2
Level 2
Posts: 52
Joined: Thu Jul 17, 2008 12:21 pm

Re: Problem upgrading Kernel in LMDE 3

Post by MissileCop » Thu May 30, 2019 8:37 am

As gm10 pointed out, you only mention installing the linux-header files.

If not already done, you still need to install the actual kernel file linux-image-4.19.0-0.bpo.4-amd64. Once you install that and update grub, you should see the new kernel listed.

User avatar
Flesh
Level 1
Level 1
Posts: 25
Joined: Thu May 05, 2011 3:57 pm
Location: uSA
Contact:

Re: Problem upgrading Kernel in LMDE 3

Post by Flesh » Thu Jun 06, 2019 12:14 pm

I followed the instructions, and they do install the kernel from back ports, I can verify it is installed, but it does not show up as it should after running grub, as if it is not installed.

Tw Free Thomas
Level 1
Level 1
Posts: 13
Joined: Sun Jan 27, 2019 3:05 am
Location: Taiwan

Re: Problem upgrading Kernel in LMDE 3

Post by Tw Free Thomas » Sun Jun 23, 2019 10:44 am

The release date of Debian 10 Buster has been set to July 6, 2019.
Debian 10 Buster Kernel is 4.19.0-4, maybe LMDE 3 Kernel then rose to 4.19.0-4.

Post Reply

Return to “Installation & Boot”