How to update your kernel for Meltdown and Spectre
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Re: How to update your kernel for Meltdown
Being a newbie I find this all a bit confusing to be honest I am running 18.3 and currently my kernel is 4.10.0-38 and the latest kernel is in the list of available updates and given that I am getting dire warnings about wrecking my system I am just wondering what to do.
If in the event that the system crashes is the worst thing that can happen is that I have to reinstall because to be honest I don't have any worries about doing that except that I have to set up all my programs and sites again I could I suppose clone the drive and do the kernel on the clone and see what happens but it seems a lot of mucking around if I don't need to do that.
Any advice really appreciated.
If in the event that the system crashes is the worst thing that can happen is that I have to reinstall because to be honest I don't have any worries about doing that except that I have to set up all my programs and sites again I could I suppose clone the drive and do the kernel on the clone and see what happens but it seems a lot of mucking around if I don't need to do that.
Any advice really appreciated.
- Arch_Enemy
- Level 6
- Posts: 1491
- Joined: Tue Apr 26, 2016 3:28 pm
Re: How to update your kernel for Meltdown
Already done, my friend! Been watching for kernel updates daily.xenopeek wrote:Some changes are being worked on for Update Manager so below instructions are temporary. However if you want to upgrade your kernel right now to fix Meltdown (variant 3), these are the general instructions. The patches for Spectre (variant 1 and 2) aren't available yet.
Make sure you have also updated your web browser and you're running Firefox version 57.0.4 or newer, as that has mitigation that makes it impossible for JavaScript on websites to exploit these bugs. Average home users only run untrusted code in their web browser so this mitigation is key to being safe from these bugs.
For more information also see Security notice: Meltdown and Spectre
NOTE: It's recommended you use Timeshift and take a system snapshot before upgrading the kernel. That way you have the option to roll back if needed. Timeshift has been made available on all Linux Mint versions and can be installed through Software Manager.
Instructions for Linux Mint 17.x (any release):
- Open Update Manager
- From its View menu open Linux kernels
- Scroll to the end and from there back up till you see 4.4.0-109 and install that version (on Linux Mint 17 or 17.1, that use the kernel 3.13.0 series, you could instead use 3.13.0-139).
- Reboot your system
- If it booted fine you can remove other kernels from View > Linux kernels menu and if it didn't boot fine you can boot your previous kernel from GRUB
But, nice write up!
I have travelled 37629424162.9 miles in my lifetime
One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
One thing I would suggest, create a partition as a 50G partition as /. Partition the rest as /Home. IF the system fails, reinstall and use the exact same username and all your 'stuff' comes back to you.
Re: How to update your kernel for Meltdown
Ok well I am going to take a chance with the kernel update as I can see right now that if the worst comes to the worst I shall have to reinstall.
- AZgl1800
- Level 20
- Posts: 11183
- Joined: Thu Dec 31, 2015 3:20 am
- Location: Oklahoma where the wind comes Sweeping down the Plains
- Contact:
Re: How to update your kernel for Meltdown
I just upgraded to Kernal 4.13 successfully,
then ran Timeshift.... a bit too late, but at least I have a copy now.
What I am wondering about now, are these two errors.
Are they important, and how do I get rid of them?
------------------------------------------------------------------------------
0 > 2018-01-11_21-47-37 O
john@john-TP500LA ~ $ sudo timeshift --list
(process:8607): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(process:8607): Gtk-CRITICAL **: gtk_icon_theme_append_search_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed
Device : /dev/sda1
UUID : 2366e397-979a-4520-a83c-741ef1fe9990
Path : /
Mode : RSYNC
Device is OK
1 snapshots, 462.4 GB free
Num Name Tags Description
------------------------------------------------------------------------------
then ran Timeshift.... a bit too late, but at least I have a copy now.
What I am wondering about now, are these two errors.
Are they important, and how do I get rid of them?
------------------------------------------------------------------------------
0 > 2018-01-11_21-47-37 O
john@john-TP500LA ~ $ sudo timeshift --list
(process:8607): Gtk-CRITICAL **: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
(process:8607): Gtk-CRITICAL **: gtk_icon_theme_append_search_path: assertion 'GTK_IS_ICON_THEME (icon_theme)' failed
Device : /dev/sda1
UUID : 2366e397-979a-4520-a83c-741ef1fe9990
Path : /
Mode : RSYNC
Device is OK
1 snapshots, 462.4 GB free
Num Name Tags Description
------------------------------------------------------------------------------
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: How to update your kernel for Meltdown
Unless you uninstall the old kernel, it would still be there at bootup screen in another section like "Previous ......" to boot from it instead, then you can remove the problem kernel.ICIT2 wrote:Ok well I am going to take a chance with the kernel update as I can see right now that if the worst comes to the worst I shall have to reinstall.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Re: How to update your kernel for Meltdown
@ jazz.h, .......
If you have a computer that is less than 5 years old, you should install the Level 5 update for Linux kernel 4.4 lts. Otherwise, go to >Update Manager >View >Linux kernels >Install kernel 3.13.xxx. Reboot.
... Ensure that your computer system remains stable. If not, revert to previous kernel 3.19.32 by rebooting, >Grub menu >Advanced options. Then go back to >Update Manager >View >Linux kernels >Remove the unstable kernel. Better to stay unpatched than to have an unstable system.
Refresh Update Manager(= update Ubuntu repos) = the Meltdown/KPTI patch for the kernel should then be available for install.
Again, go to >Update Manager >View >Linux kernels, and install kernel 4.4.108 / .109 / .110 or 3.13.139/.140. Reboot. Ensure that system remains stable. If not revert and remove, and wait for the release of a newer patched kernel, eg 4.4.111 or 3.13.141.
.jazz.h wrote:Hello xenopeek!
My config is:but the highest in my list of kernels in mint update is 4.4.0-98 and 3.19.0-80.Code: Select all
System: Host: dk-MATE Kernel: 3.19.0-32-generic x86_64 (64 bit) Desktop: MATE 1.12.0 Distro: Linux Mint 17.3 Rosa
What should I do?
If you have a computer that is less than 5 years old, you should install the Level 5 update for Linux kernel 4.4 lts. Otherwise, go to >Update Manager >View >Linux kernels >Install kernel 3.13.xxx. Reboot.
... Ensure that your computer system remains stable. If not, revert to previous kernel 3.19.32 by rebooting, >Grub menu >Advanced options. Then go back to >Update Manager >View >Linux kernels >Remove the unstable kernel. Better to stay unpatched than to have an unstable system.
Refresh Update Manager(= update Ubuntu repos) = the Meltdown/KPTI patch for the kernel should then be available for install.
Again, go to >Update Manager >View >Linux kernels, and install kernel 4.4.108 / .109 / .110 or 3.13.139/.140. Reboot. Ensure that system remains stable. If not revert and remove, and wait for the release of a newer patched kernel, eg 4.4.111 or 3.13.141.
Re: How to update your kernel for Meltdown
I tried the suggestion of installing 4.4.0-109 for my version of Linux Mint 17.3 [Cinnamon Rosa 3.19.0-32 generic (x86_64) 64bit AMD processor].
What happened was "Cinnamon has crashed and is running in fallback mode".
Back to 3.19.0-32 generic (x86_64) for the time being.
I suppose I should wait this out until a stable patched kernel is available?
What happened was "Cinnamon has crashed and is running in fallback mode".
Back to 3.19.0-32 generic (x86_64) for the time being.
I suppose I should wait this out until a stable patched kernel is available?
Re: How to update your kernel for Meltdown
You can try to use the latest release of kernel 3.13; this series is still supported and will be during during the life time of Mint 17.x
There is a small problem with it: Linux systems boot by default always the newest installed kernel. To boot with 3.13 you have to do this - at least once - manually. You press and hold the shift key immediately after powering in and select from th upcoming grub menu the kernel 3.13. If this works for you you can uninstall from update manager -> Linux kernel the newer kernel, so that 3.13 boots automatically.
There is a small problem with it: Linux systems boot by default always the newest installed kernel. To boot with 3.13 you have to do this - at least once - manually. You press and hold the shift key immediately after powering in and select from th upcoming grub menu the kernel 3.13. If this works for you you can uninstall from update manager -> Linux kernel the newer kernel, so that 3.13 boots automatically.
Re: How to update your kernel for Meltdown
Kernel updates go well here
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Re: How to update your kernel for Meltdown
Thank you Cosmo.Cosmo. wrote:You can try to use the latest release of kernel 3.13; this series is still supported and will be during during the life time of Mint 17.x
There is a small problem with it: Linux systems boot by default always the newest installed kernel. To boot with 3.13 you have to do this - at least once - manually. You press and hold the shift key immediately after powering in and select from th upcoming grub menu the kernel 3.13. If this works for you you can uninstall from update manager -> Linux kernel the newer kernel, so that 3.13 boots automatically.
Installing Kernel v 3.13.0-139 has worked sweetly.
Appreciate your help as always.............
Cheers!
-
- Level 6
- Posts: 1347
- Joined: Thu Dec 26, 2013 10:19 am
- Location: N.E. AR USA
Re: How to update your kernel for Meltdown
Installing 3.13.0-139 went without issue. Thanks for the direction on which kernel to go to based on currently installed kernel.
Re: How to update your kernel for Meltdown
I don't even know man. I feel reluctant feeling that anything is safe these days.xenopeek wrote:You should do what makes you comfortable. Your browser is already immune on its own to JavaScript attacks that would use these bugs.linux_rules wrote:Do you think NoScript is necessary if I use FF inside Firejail sandbox ?
(If you don't use Flash, Java or other such unsafe plugins.)
There was this thing recently about bad cpows in Firefox; the whole "cliqz" affair. I checked out these entries in about:config:
Code: Select all
dom.ipc.cpows.allow-cpows-in-compat-addons
media.getusermedia.screensharing.allowed_domains
Cisco Annual Security Reports:
https://www.cisco.com/c/en/us/products/ ... ports.html
I will guarantee that the worst sites in terms of malware listed in these reports are not what most people will be expecting.
Official (polite) explanation of what cliqz is for.
https://www.mozilla.org/en-US/privacy/firefox-cliqz/
- Spearmint2
- Level 16
- Posts: 6900
- Joined: Sat May 04, 2013 1:41 pm
- Location: Maryland, USA
Re: How to update your kernel for Meltdown
Have you done the simplest which is go into about:config and changing settings you don't want in there. You can find a lot of dom stuff there too. Search o nthings like telemetry, onboard, video, http, newtab, and so forth.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
Re: How to update your kernel for Meltdown
im a total newbie... there is a nice gui for the kernels... called UKUU
its a kernel update utility with a gui, very handy for beginners.
it also has newer kernels wich are not availible throught the package manager if u dont install them through the bash..
this programm works like a charm...
im on 4.14.13 now..
http://www.teejeetech.in/p/ukuu-kernel- ... ility.html
(sorry if somebody already mentioned it, i didnt read through all posts)
greetz
its a kernel update utility with a gui, very handy for beginners.
it also has newer kernels wich are not availible throught the package manager if u dont install them through the bash..
this programm works like a charm...
im on 4.14.13 now..
http://www.teejeetech.in/p/ukuu-kernel- ... ility.html
(sorry if somebody already mentioned it, i didnt read through all posts)
greetz
Last edited by davester on Sat Jan 13, 2018 8:21 am, edited 2 times in total.
Re: How to update your kernel for Meltdown
Thanks Xenoppek for the tuto and advices.
I'm running LM18.3 with i5-4460 CPU and my actual kernel is 4.10.0-42.
I was waiting few days before to upgrade.
So, before to do that, I would like to be sure of the procedure.
I was heard that the intel-microcode should be upgraded before. Do you confirm ?
After that, I should upgrade the kernel to 4.13.0-26-29 using update manger then reboot. Right ?
Then, if things are OK, I will have to delete older kernel's, eventually keeping 4.4.0-109 if issues raise. Is it still OK ?
If not, the procedure consists of booting with the 2nd line in grub choosing a previous kernel. Still right ?
Thanks in advance for confirmation.
Cheers
P.S. English is not my native language, so my apologizes for mistakes.
I'm running LM18.3 with i5-4460 CPU and my actual kernel is 4.10.0-42.
I was waiting few days before to upgrade.
So, before to do that, I would like to be sure of the procedure.
I was heard that the intel-microcode should be upgraded before. Do you confirm ?
After that, I should upgrade the kernel to 4.13.0-26-29 using update manger then reboot. Right ?
Then, if things are OK, I will have to delete older kernel's, eventually keeping 4.4.0-109 if issues raise. Is it still OK ?
If not, the procedure consists of booting with the 2nd line in grub choosing a previous kernel. Still right ?
Thanks in advance for confirmation.
Cheers
P.S. English is not my native language, so my apologizes for mistakes.
Re: How to update your kernel for Meltdown
Please keep in mind that these are not guaranteed to work with Mint. There's usually a reason why they're not available through the Mint tools.davester wrote:im a total newbie... there is a nice gui for the kernels... called UKUU
its a kernel update utility with a gui, very handy for beginners.
it also has newer kernels wich are not availible throught the package manager if u dont install them manual..
If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Re: How to update your kernel for Meltdown
LOL i personally think NOTHING is guaranteed to work if u play with the kernels yourselfMoem wrote: Please keep in mind that these are not guaranteed to work with Mint. There's usually a reason why they're not available through the Mint tools.
im not sure but they are third party why should they be availible inside of the mint basic tools?
it says clear it is for Ubuntu-based Distributions (Ubuntu, Linux Mint, etc)
they worked perfect for me and a ton of other users on 4.14.
if the kernels werent for mint they shouldnt work at all i think.
like i said i had no problems so far and im on 4.14.14 at the moment.
there are also several linux mint blogs where users are using this tool without any problems on MINT.
i suggest u try it out yourself, if the kernel dont work (wich i dont think) u can always deinstall it and use the grub to go back to the kernel u was before..
Re: How to update your kernel for Meltdown
i know another "nice gui for the kernels", it is called Update Manager -> Linux Kernels. It is already installed on every Mint system.
Re: How to update your kernel for Meltdown
Yeah, for Linux Mint, I have to agree that using
mintupdate
for kernel changes is best, if you don't wind up using the terminal. That other program sounds handy for other distributions, however.I'm also Terminalforlife on GitHub.
Re: How to update your kernel for Meltdown
As a quarter-century Windows user and Ubuntu / Mint user since 10.04 LTS, I haven't seen any security issue like this one, ever. There are no reported exploits. The vulnerability is recently discovered, goes to the very foundation of how hardware chips are designed, and the patches are of doubtful quality. The developers themselves all repeatedly refer to the possibility that current performance impacts are likely, and are likely to be resolved in future improvements - both to the patches and eventually to new hardware chips.
My suspicion is that on my machines the OS patch "cures" being released have a very high probability of damaging their performance, while the exploit "disease" still has a microscopic probability of affecting me at all. That of course might change any day now, as some global villain exploits unpatched PCs, and we get something like WannaCry affecting thousands - I took that seriously. On a similarly credible threat, I'll reconsider what I'm doing now. But it hasn't happened yet, and in the meantime I've made my mind up to disable both Windows and Mint Linux updates to the OS. (I've updated browsers and other related software as released.)
Obviously it's a situation worth attention, but not worth jumping at a media-driven hair-on-fire "emergency" that just isn't. (For a little grim humor, I'd compare this to an asymptomatic prostate diagnosis: "watchful waiting" rather than an intrusive surgery with serious risk of side effects.)
My suspicion is that on my machines the OS patch "cures" being released have a very high probability of damaging their performance, while the exploit "disease" still has a microscopic probability of affecting me at all. That of course might change any day now, as some global villain exploits unpatched PCs, and we get something like WannaCry affecting thousands - I took that seriously. On a similarly credible threat, I'll reconsider what I'm doing now. But it hasn't happened yet, and in the meantime I've made my mind up to disable both Windows and Mint Linux updates to the OS. (I've updated browsers and other related software as released.)
Obviously it's a situation worth attention, but not worth jumping at a media-driven hair-on-fire "emergency" that just isn't. (For a little grim humor, I'd compare this to an asymptomatic prostate diagnosis: "watchful waiting" rather than an intrusive surgery with serious risk of side effects.)
TRUST BUT VERIFY any advice from anybody, including me. Mint/Ubuntu user since 10.04 LTS. LM20 64 bit XFCE (Dell 1520). Dual boot LM20 XFCE / Win7 (Lenovo desktop and Acer netbook). Testing LM21.1 Cinnamon and XFCE Live for new Lenovo desktop.