[SOLVED] LM 19.3 upgrade vs clean install kernel version

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
cstamas
Level 1
Level 1
Posts: 26
Joined: Fri Sep 20, 2019 10:07 am

[SOLVED] LM 19.3 upgrade vs clean install kernel version

Post by cstamas »

Howdy,

I wonder what is "default" kernel with this release. Also, is there some doco (maybe Ubuntu?) providing mapping for LM release Linux kernel version mapping? Here is why am asking this:

- my desktop LM was installed while LM 18.2 or alike, and I used "upgrade" (from Update Manager) all way to 19.3.
- got new laptop last week, and performed a clean install of LM 19.3 on it ("default" install, checked 3rd party software and partitioned manually).

So, both computers are on LM 19.3, but desktop has kernel 4.15, while laptop 5.3. Why?

As I read somewhere, Ubuntu 18.04 (the LM 19.3 is based on) is only about to get 5.3 kernel in 2020 February. So how come my laptop installed 5.3 kernel? Or in other words, upgrade of desktop why did not "follow" the kernel version?

TIA
T
Last edited by cstamas on Fri Jan 24, 2020 7:21 am, edited 3 times in total.
cstamas
Level 1
Level 1
Posts: 26
Joined: Fri Sep 20, 2019 10:07 am

Re: LM 19.3 Tricia kernel version

Post by cstamas »

Here are the specs of the two machine (desktop and laptop, in this order). I found in forum that nvidia + 5.3 kernel has issues. Is it possible that updater is so
"smart" so it prevented kernel upgrade on desktop? Just to be clear, I have no issues, just wanted same (software-wise) setup on both machines, and this kernel diff 4.15 vs 5.3 struck me :D

Desktop:

Code: Select all

System:    Host: Urnebes Kernel: 4.15.0-74-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Console: tty 4 dm: LightDM 1.26.0 
           Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Desktop System: Gigabyte product: X299 UD4 Pro v: N/A serial: <filter> 
           Mobo: Gigabyte model: X299 UD4 Pro-CF v: x.x serial: <filter> UEFI: American Megatrends v: F7c date: 11/28/2019 
CPU:       Topology: 6-Core model: Intel Core i7-7800X bits: 64 type: MT MCP arch: Skylake rev: 4 L2 cache: 8448 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 84000 
           Speed: 1200 MHz min/max: 1200/4000 MHz Core speeds (MHz): 1: 1200 2: 1200 3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 
           8: 1200 9: 1200 10: 1200 11: 1200 12: 1200 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ASUSTeK driver: nvidia v: 435.21 bus ID: 65:00.0 
           chip ID: 10de:1c82 
           Display: server: X.org 1.19.6 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa tty: 139x46 
           Message: Advanced graphics data unavailable in console. Try -G --display 
Audio:     Device-1: Intel 200 Series PCH HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           chip ID: 8086:a2f0 
           Device-2: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 65:00.1 
           chip ID: 10de:0fb9 
           Device-3: Logitech HD Webcam C525 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-1.3:9 chip ID: 046d:0826 
           serial: <filter> 
           Device-4: Texas Instruments PCM2902 Audio Codec type: USB driver: hid-generic,snd-usb-audio,usbhid 
           bus ID: 1-2.4.2:10 chip ID: 08bb:2902 
           Sound Server: ALSA v: k4.15.0-74-generic 
Network:   Device-1: Intel Ethernet I219-V vendor: Gigabyte driver: e1000e v: 3.2.6-k port: 3000 bus ID: 00:1f.6 
           chip ID: 8086:15b8 
           IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: br-57d496a52eae state: down mac: <filter> 
           IF-ID-2: br-a1fc2472d056 state: down mac: <filter> 
           IF-ID-3: docker0 state: down mac: <filter> 
           IF-ID-4: vboxnet0 state: up speed: 10 Mbps duplex: full mac: <filter> 
           IF-ID-5: vboxnet1 state: down mac: <filter> 
Drives:    Local Storage: total: 6.36 TiB used: 365.42 GiB (5.6%) 
           ID-1: /dev/sda vendor: Samsung model: SSD 850 PRO 512GB size: 476.94 GiB speed: 6.0 Gb/s serial: <filter> rev: 4B6Q 
           scheme: GPT 
           ID-2: /dev/sdb vendor: Kingston model: SHPM2280P2H 480G size: 447.13 GiB speed: 6.0 Gb/s serial: <filter> rev: 05T2 
           scheme: GPT 
           ID-3: /dev/sdc type: USB vendor: Western Digital model: WD60EZRX-00MVLB1 size: 5.46 TiB speed: 1.5 Gb/s 
           rotation: 5700 rpm serial: <filter> rev: 1065 scheme: MBR 
Partition: ID-1: / size: 105.98 GiB used: 28.91 GiB (27.3%) fs: ext4 dev: /dev/sdb5 
           ID-2: /home size: 469.33 GiB used: 191.51 GiB (40.8%) fs: ext4 dev: /dev/sda1 
           ID-3: swap-1 size: 31.71 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sdb6 
Sensors:   System Temperatures: cpu: 32.0 C mobo: N/A gpu: nvidia temp: 33 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 24% 
Info:      Processes: 379 Uptime: 13h 00m Memory: 62.62 GiB used: 6.63 GiB (10.6%) Init: systemd v: 237 runlevel: 5 Compilers: 
           gcc: 7.4.0 alt: 7 Shell: bash v: 4.4.20 running in: tty 4 (SSH) inxi: 3.0.32 
Laptop:

Code: Select all

System:    Host: Albert Kernel: 5.3.0-26-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 Desktop: Cinnamon 4.4.8 
           wm: muffin 4.4.2 dm: LightDM 1.26.0 Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic 
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X530FA_S530FA v: 1.0 serial: <filter> 
           Mobo: ASUSTeK model: X530FA v: 1.0 serial: <filter> UEFI: American Megatrends v: X530FA.305 date: 05/30/2019 
Battery:   ID-1: BAT0 charge: 26.6 Wh condition: 40.9/42.1 Wh (97%) volts: 11.8/11.8 model: ASUSTeK ASUS Battery 
           type: Li-ion serial: <filter> status: Discharging cycles: 2 
CPU:       Topology: Quad Core model: Intel Core i7-8565U bits: 64 type: MT MCP arch: Kaby Lake rev: B L2 cache: 8192 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31999 
           Speed: 800 MHz min/max: 400/4600 MHz Core speeds (MHz): 1: 800 2: 801 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800 
Graphics:  Device-1: Intel vendor: ASUSTeK driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:3ea0 
           Display: x11 server: X.Org 1.20.5 driver: modesetting unloaded: fbdev,vesa tty: N/A 
           OpenGL: renderer: Mesa DRI Intel UHD Graphics (Whiskey Lake 3x8 GT2) v: 4.5 Mesa 19.2.1 compat-v: 3.0 
           direct render: Yes 
Audio:     Device-1: Intel vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9dc8 
           Sound Server: ALSA v: k5.3.0-26-generic 
Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel port: efa0 bus ID: 02:00.0 chip ID: 8086:24fd 
           IF: wlo1 state: up mac: <filter> 
           IF-ID-1: docker0 state: down mac: <filter> 
Drives:    Local Storage: total: 953.88 GiB used: 39.17 GiB (4.1%) 
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 PRO 512GB size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: 1B2QEXP7 scheme: GPT 
           ID-2: /dev/sda vendor: Samsung model: SSD 860 PRO 512GB size: 476.94 GiB speed: 6.0 Gb/s serial: <filter> 
           rev: 1B6Q scheme: GPT 
Partition: ID-1: / size: 233.68 GiB used: 13.87 GiB (5.9%) fs: ext4 dev: /dev/nvme0n1p1 
           ID-2: /home size: 468.32 GiB used: 25.24 GiB (5.4%) fs: ext4 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 45.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 268 Uptime: 23m Memory: 31.22 GiB used: 1.90 GiB (6.1%) Init: systemd v: 237 runlevel: 5 Compilers: 
           gcc: 7.4.0 alt: 7 Shell: bash v: 4.4.20 running in: gnome-terminal inxi: 3.0.32 
User avatar
Pjotr
Level 22
Level 22
Posts: 16227
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: LM 19.3 Tricia kernel version

Post by Pjotr »

Everything is OK and as expected. The 4.15.x kernel series is LTS and will remain your active kernel series when you do an in-place upgrade to 19.3. It's only when you do a clean install of 19.3 that you get its default 5.x kernel.

Mint never forces an unnecessary kernel upgrade on you. :wink:
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
karlchen
Level 21
Level 21
Posts: 13710
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: LM 19.3 Tricia kernel version

Post by karlchen »

Hello, cstamas.

Linux Mint 19.3 ISO image, which you used for installing from scratch, comes with kernel 5.0.0-32.
The kernel series 5.0.0 is already end of life by now (January 2020). This is why Update Manager makes sure that 5.0.0 is ugraded to kernel series 5.3.0.
Beware:
Kernel series 5.3.0 is short term support like 5.0.0 and will expire in a few months as well.

Linux Mint 19.3, upgraded from previous Mint releases:
Here things are a bit more tricky. By default, Mint 19 / 19.1 / 19.2 come with the long term support kernel series 4.15.0. This kernel series will be supported till Mint 19.3 will reach the end of its supported life in April 2023.
Whether or not Update Manager will try to make your system switch from kernel 4.15.0 to 5.0.0 and then to 5.3.0, when you upgrade from 19 / 19.1 / 19.2 to 19.3, depends on several factors:
+ is the package linux-kernel-generic present on the system?
+ which kernel does it point to?
On my systems kernel series 4.15.0 was kept in place during the in-place upgrade to Mint 19.3 by Update Manager. - Personally, on my hardware, I am glad that this is the case.
Your requirements may be different.

For more details on ther kernel series confusion when installing Mint 19.3 from scratch and when upgrading to Mint 19.3 -in-place through Update Manager, see. e.g. here:
+ A warning about potential unwanted kernel change during the in-place upgrade
+ Kernel confusion 19.3 - Kernel 5. vs 4.15 [Solved]

Hope this explains it.
In the end it is your decision to stay with kernel series 4.15.0 till April 2023 or to switch to 5.3.0 instead.

Best regards,
Karl
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
cstamas
Level 1
Level 1
Posts: 26
Joined: Fri Sep 20, 2019 10:07 am

Re: LM 19.3 Tricia kernel version

Post by cstamas »

Cool, so mint updater is after all not a "black magic AI" (to figure out that nvidia + 5.3 kernel is a no no), phew :D

Yup, as I wrote, no issues here, I was just "w00t???" after clean install of new laptop.

Also, after getting inxi outputs, I see there is also some version divergence in X server version as well (1.20 vs 1.19), so yes, it might be time to "consolidate" the two machines. Perform a clean install (instead of in-situ) on desktop as well. Might do it with LM 20...

So, as to be expected, in-situ upgraded LM (from 18.1 or alike, don't remember exactly) to 19.3 vs "clean" installed LM 19.3 has some notable divergences in packages, but nothing problematic. Thanks!
User avatar
karlchen
Level 21
Level 21
Posts: 13710
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: LM 19.3 Tricia kernel version

Post by karlchen »

Pjotr wrote:
Fri Jan 24, 2020 5:38 am
Everything is OK and as expected. The 4.15.x kernel series is LTS and will remain your active kernel series when you do an in-place upgrade to 19.3. It's only when you do a clean install of 19.3 that you get its default 5.x kernel.
Mint never forces an unnecessary kernel upgrade on you. :wink:
It is not as simple as that. In the linked second thread, I had to learn from gm10, why it is more complicated. - Hm, actually, the learning took place in this thread: here
I had never noticed, because the package linux-kernel-generic is one of the first packages, which, after an installation from scratch, bites the dust on my systems.
Mint 19.3 is pretty likely to force unnecessary kernel upgrades on its users. The more so because this little nag, Mint Report, will also tell you about the available new kernel series.
Image
Linux Mint 19.3 64-bit Cinnamon, Total Commander 9.51 64-bit
User avatar
Pjotr
Level 22
Level 22
Posts: 16227
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: LM 19.3 Tricia kernel version

Post by Pjotr »

karlchen wrote:
Fri Jan 24, 2020 5:52 am
Pjotr wrote:
Fri Jan 24, 2020 5:38 am
Everything is OK and as expected. The 4.15.x kernel series is LTS and will remain your active kernel series when you do an in-place upgrade to 19.3. It's only when you do a clean install of 19.3 that you get its default 5.x kernel.
Mint never forces an unnecessary kernel upgrade on you. :wink:
It is not as simple as that. In the linked second thread, I had to learn from gm10, why it is more complicated. - Hm, actually, the learning took place in this thread: here
I had never noticed, because the package linux-kernel-generic is one of the first packages, which, after an installation from scratch, bites the dust on my systems.
Mint 19.3 is pretty likely to force unnecessary kernel upgrades on its users.
That's not so good, and a deviation from Mint's former cautious release upgrade policy. :shock:

Anyway: apparently this can be avoided by removing the meta package linux-kernel-generic before starting the release upgrade. Thanks for sharing this information!
Tip: 10 things to do after installing Linux Mint 20.1 Ulyssa
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
Post Reply

Return to “Installation & Boot”