Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

Which kernel should I use ?

Help for Current Versions of MX
Message
Author
User avatar
baldyeti
Forum Novice
Forum  Novice
Posts: 76
Joined: Sat Dec 05, 2009 4:37 pm

Re: Which kernel should I use ?

#21 Post by baldyeti » Fri Sep 28, 2018 5:33 am

oops wrote:
Fri Sep 28, 2018 5:16 am
Yes, version number is by CPU model.
Old examples: https://downloadcenter.intel.com/downlo ... a-File?v=t
thanks for that link, oops. So we all have the latest intel-provided microcode loaded, good to know.
Last edited by baldyeti on Fri Sep 28, 2018 6:51 am, edited 2 times in total.

User avatar
zorzi
Forum Regular
Forum Regular
Posts: 103
Joined: Fri Apr 20, 2018 7:41 pm

Re: Which kernel should I use ?

#22 Post by zorzi » Fri Sep 28, 2018 6:11 am

Stevo wrote:
Thu Sep 27, 2018 7:30 pm
oops wrote:
Thu Sep 27, 2018 6:11 pm
baldyeti wrote:
Thu Sep 27, 2018 6:05 pm
I've got the exact same intel microcode package installed, yet i am getting: microcode : 0x2e
... If so, it is probably not the latest one
Debian pushed the upstream version into Stretch as a security update, so 3.20180807a is going to be the latest:

https://packages.debian.org/search?keyw ... ection=all

I think just about all the latest threats you've seen for the kernels require that the hacker actually have physical access to your machine. If you're worried about Spectre and other similar exploits, you should be running the latest kernels we provide, or the Debian 4.9 kernel which gets updated. Unfortunately, backporting that newer kernel code to security patches for the 4.15 kernel is beyond our capabilities.
In fact, maybe unsupported kernels (4.13, 4.15...) should be removed from MX Repos after end of life. I suppose this requires a MX package installer update too, since MXPI still links to some of these kernels.

User avatar
Mauser
Forum Regular
Forum Regular
Posts: 636
Joined: Mon Jun 27, 2016 7:32 pm

Re: Which kernel should I use ?

#23 Post by Mauser » Fri Sep 28, 2018 11:39 am

azrielle wrote:
Fri Sep 28, 2018 2:34 am
In light of recent revelation that NSA's security algorithm was incorporated into 4.17, 18, & 19, but will be removed in 20, I'd wait until a stable version of 4.20 came out!
I concur, but if you can it looks like switching to the Debian 4.9 kernel is the way to go in the mean time like what I did. With the NSA's (National Spy Agency) history they can't be trusted. Even if that NSA gift in the kernel is not enabled on Debian and MX Linux, what's going to stop the NSA from enabling it?

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16286
Joined: Fri Dec 15, 2006 8:07 pm

Re: Which kernel should I use ?

#24 Post by Stevo » Fri Sep 28, 2018 3:28 pm

azrielle wrote:
Fri Sep 28, 2018 2:34 am
In light of recent revelation that NSA's security algorithm was incorporated into 4.17, 18, & 19, but will be removed in 20, I'd wait until a stable version of 4.20 came out!
Debian never enabled the NSA spec module, so it's not in any of those backported kernels. Liquorix did, but there aren't any userspace programs that use it, either.

User avatar
Stevo
Forum Veteran
Forum Veteran
Posts: 16286
Joined: Fri Dec 15, 2006 8:07 pm

Re: Which kernel should I use ?

#25 Post by Stevo » Fri Sep 28, 2018 3:31 pm

I concur, but if you can it looks like switching to the Debian 4.9 kernel is the way to go in the mean time like what I did. With the NSA's (National Spy Agency) history they can't be trusted. Even if that NSA gift in the kernel is not enabled on Debian and MX Linux, what's going to stop the NSA from enabling it?
Even if the module is built, how exactly is the NSA supposed to reach out into your computer and "enable it"? If they can already do that to your machine, you have much bigger problems to worry about.

User avatar
Hierax_ca
Forum Regular
Forum Regular
Posts: 119
Joined: Sun Nov 08, 2015 6:46 pm

Re: Which kernel should I use ?

#26 Post by Hierax_ca » Tue Oct 02, 2018 6:05 pm

FWIW, the MX Stable Repo now has the Debian LTS Kernel 4.9.0-8/4.9.110-3+debu5 (2018-09-30) for both 32- and 64-bit.

I also noticed that the Linux Kernel Archives (https://www.kernel.org/category/releases.html) have recently moved the 4.9 LTS EoL from 2019 to 2023 so it looks like there's a lot of life left in 4.9.x (vs. 4.14 which still expires in 2020).
MX-14.4/16.1 (32-bit) Thinkpad 600x*;
MX-17.1 (32-bit): Thinkpad A31p, T43p, T60p;
MX-17.1 (64-bit): Thinkpad x60t*, x61t*, x61s, T61p, T601pF, x200, x200t*, x301*, T500, W500, W700(ds), W701, x220, x220t*, W520.

arky217
Forum Novice
Forum  Novice
Posts: 21
Joined: Mon Jun 19, 2017 6:00 pm

Re: Which kernel should I use ?

#27 Post by arky217 » Wed Oct 03, 2018 7:19 pm

I am the original poster and I have read through all these posts
and I am still confused as to what to do.

Do I keep the MX kernel 4.15.0-1 or do I download and use the 4.9
kernel ?

If the 4.9 kernel, which one, the Debian, the AntiX, or the LiquorX ?

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9390
Joined: Sun Dec 16, 2007 1:17 pm

Re: Which kernel should I use ?

#28 Post by dolphin_oracle » Wed Oct 03, 2018 8:14 pm

If you are really concerned and want to ensure automatic updates use the debian 4.9 and install from mx-packageinstaller.

Personally I use the default that ships with mx.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Richard
Posts: 2070
Joined: Fri Dec 12, 2008 10:31 am

Re: Which kernel should I use ?

#29 Post by Richard » Wed Oct 03, 2018 9:27 pm

This discussion brought up some questions concerning the large
variety of kernels available. I was curious as well about which kernel to use.
The 4.15 kernel runs fine with no problems. Also, the 4.18-MX kernel runs fine.
Even the latest 4.18-liquorix kernel runs very well and has some advantageous effects.

My main concern is heat on my older, reconditioned Lenovo T430.
My old 64bit desktop with MX ran about 10°C cooler than this laptop
when running the MX Snapshot utility. Probably just a laptop thing.
I usually point a fan at it while running MX Snapshot.

To that end, I installed several kernels and then ran the MX Snapshot utility
to observe the average temperatures during the first 6 to 10% or so.
Snapshot using only 2 of 4 threads.

Code: Select all

The pairs of numbers represent the values from the Xfce4 Sensor plugin: 
Snapshot Temps:	Core,°C		acpitz,°C	Fan, rpm	ACPI, °C
	idle temps<->snapping temps	etc.		etc		etc.
Click on the image below to make it legible.
T430-snapshot-vs-kernel.png
Based on these results
I chose to use the 4.9 kernel since it ran cooler at idle and it as well as the others
passed the spectre-meltdown-checker with good results.
And maybe it is more secure during these interesting times.

Applying intel-pstate doesn't seem to have a beneficial effect on this processor.
Could be just pebkac.

All in all, we have a large selection of solid kernels. I didn't test the antiX kernels
although the 4.18 performed well and also passed the spectre-meltdown.
Real life got in the way. :)

Perhaps this data will be useful to someone.

Regards.

Code: Select all

root@mx171:/home/richard# pinxi -Fxz
System:    Host: mx171 Kernel: 4.9.0-8-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-17.1_x64 Horizon March 14  2018 
           base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: LENOVO product: 2347AY1 v: ThinkPad T430 serial: <filter> 
           Mobo: LENOVO model: 2347AY1 v: NO DPK serial: <filter> UEFI [Legacy]: LENOVO 
           v: G1ET73WW (2.09 ) date: 10/19/2012 
Battery:   ID-1: BAT0 charge: 18.6 Wh condition: 18.8/56.2 Wh (34%) model: SANYO 45N1001 
           status: Unknown 
CPU:       Topology: Dual Core model: Intel Core i5-3320M bits: 64 type: MT MCP arch: Ivy Bridge 
           rev: 9 L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 20750 
           Speed: 1801 MHz min/max: 1200/3300 MHz Core speeds (MHz): 1: 1801 2: 1725 3: 1841 
           4: 1933 
Graphics:  Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.19.2 driver: intel resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel Ivybridge Mobile v: 3.3 Mesa 13.0.6 
           direct render: Yes 
Audio:     Device-1: Intel 7 Series/C216 Family High Definition Audio driver: snd_hda_intel 
           v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k4.9.0-8-amd64 
Network:   Device-1: Intel 82579LM Gigabit Network driver: e1000e v: 3.2.6-k port: 5080 
           bus ID: 00:19.0 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter> 
           Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi v: kernel 
           port: efa0 bus ID: 03:00.0 
           IF: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 148.30 GiB used: 82.12 GiB (55.4%) 
           ID-1: /dev/mmcblk0 model: SA32G size: 29.05 GiB block size: physical: 512 B logical: 512 B 
           ID-2: /dev/sda vendor: Samsung model: SSD 840 PRO Series size: 119.24 GiB block size: 
           physical: 512 B logical: 512 B 
           Optical-1: /dev/sr0 vendor: Optiarc model: DVD RW AD-7740H rev: 1.S1 dev-links: cdrom,cdrw,dvd,dvdrw 
           Features: speed: 62 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram 
           state: running 
Partition: ID-1: / raw size: 21.00 GiB size: 20.54 GiB (97.83%) used: 11.49 GiB (55.9%) fs: ext4 dev: /dev/sda2 
           label: MX171 
           ID-2: /DATA raw size: 98.25 GiB size: 96.20 GiB (97.92%) used: 70.63 GiB (73.4%) fs: ext4 
           dev: /dev/sda1 label: DATA 
Sensors:   System Temperatures: cpu: 62.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 3994 
Info:      Processes: 232 Uptime: 3h 45m Memory: 7.49 GiB used: 2.22 GiB (29.6%) Init: SysVinit 
           runlevel: 5 Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 pinxi: 3.0.26-1 
root@mx171:/home/richard# 
You do not have the required permissions to view the files attached to this post.
Last edited by Richard on Wed Oct 03, 2018 10:10 pm, edited 1 time in total.
MX171: Lenovo T430: Intel DualCore i5-3320M, 8 GB RAM, 4.18.7-antix.1-amd64-smp, 119GB SSD
MX171: AA1-ZG5/EeePC-1005HA: DualCore N270, 1 GB RAM, 4.9.126-antix.1-686-smp-pae, 150GB HDD
Doublecmd84, LibO61, Dropbx, PMoon, CherryT,Vbox. LinuxCounter #208633

arky217
Forum Novice
Forum  Novice
Posts: 21
Joined: Mon Jun 19, 2017 6:00 pm

Re: Which kernel should I use ?

#30 Post by arky217 » Wed Oct 03, 2018 9:42 pm

dolphin_oracle wrote:
Wed Oct 03, 2018 8:14 pm
If you are really concerned and want to ensure automatic updates use the debian 4.9 and install from mx-packageinstaller.

Personally I use the default that ships with mx.
I haven't had any problems with the 4.15.0-1 kernel thus far.
(Well, I had some printer recognition problems, but I managed to fix those,
except the one I described under my post "Printer not working on installed snapshot".)

So, I guess I'll just continue using the 4.15 kernel unless I run into some problem,
and if so, I'll give the 4.9 kernel a try.

Thank you for the advice.

Post Reply

Return to “MX Help”