Bug 31633

Summary: Backport request: kernel-6.1.15-1.mga8
Product: Mageia Reporter: Thomas Backlund <tmb>
Component: BackportsAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, mageia, tarazed25
Version: 8Keywords: validated_backport
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA8-64-OK
Source RPM: kernel CVE:
Status comment:

Description Thomas Backlund 2023-03-04 18:23:51 CET
Security and bugfixes...


SRPMS:
kernel-6.1.15-1.mga8.src.rpm
kmod-virtualbox-7.0.6-2.7.mga8.src.rpm
kmod-xtables-addons-3.23-2.9.mga8.src.rpm



i586:
bpftool-6.1.15-1.mga8.i586.rpm
cpupower-6.1.15-1.mga8.i586.rpm
cpupower-devel-6.1.15-1.mga8.i586.rpm
dkms-xtables-addons-3.23-1.mga8.i586.rpm
kernel-desktop586-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-desktop586-devel-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-desktop586-devel-latest-6.1.15-1.mga8.i586.rpm
kernel-desktop586-latest-6.1.15-1.mga8.i586.rpm
kernel-desktop-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-desktop-devel-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-desktop-devel-latest-6.1.15-1.mga8.i586.rpm
kernel-desktop-latest-6.1.15-1.mga8.i586.rpm
kernel-doc-6.1.15-1.mga8.noarch.rpm
kernel-server-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-server-devel-6.1.15-1.mga8-1-1.mga8.i586.rpm
kernel-server-devel-latest-6.1.15-1.mga8.i586.rpm
kernel-server-latest-6.1.15-1.mga8.i586.rpm
kernel-source-6.1.15-1.mga8-1-1.mga8.noarch.rpm
kernel-source-latest-6.1.15-1.mga8.noarch.rpm
kernel-userspace-headers-6.1.15-1.mga8.i586.rpm
libbpf1-6.1.15-1.mga8.i586.rpm
libbpf-devel-6.1.15-1.mga8.i586.rpm
perf-6.1.15-1.mga8.i586.rpm

xtables-addons-kernel-6.1.15-desktop-1.mga8-3.23-2.9.mga8.i586.rpm
xtables-addons-kernel-6.1.15-desktop586-1.mga8-3.23-2.9.mga8.i586.rpm
xtables-addons-kernel-6.1.15-server-1.mga8-3.23-2.9.mga8.i586.rpm
xtables-addons-kernel-desktop586-latest-3.23-2.9.mga8.i586.rpm
xtables-addons-kernel-desktop-latest-3.23-2.9.mga8.i586.rpm
xtables-addons-kernel-server-latest-3.23-2.9.mga8.i586.rpm



x86_64:
bpftool-6.1.15-1.mga8.x86_64.rpm
cpupower-6.1.15-1.mga8.x86_64.rpm
cpupower-devel-6.1.15-1.mga8.x86_64.rpm
dkms-virtualbox-7.0.6-1.mga8.x86_64.rpm
dkms-xtables-addons-3.23-1.mga8.x86_64.rpm
kernel-desktop-6.1.15-1.mga8-1-1.mga8.x86_64.rpm
kernel-desktop-devel-6.1.15-1.mga8-1-1.mga8.x86_64.rpm
kernel-desktop-devel-latest-6.1.15-1.mga8.x86_64.rpm
kernel-desktop-latest-6.1.15-1.mga8.x86_64.rpm
kernel-doc-6.1.15-1.mga8.noarch.rpm
kernel-server-6.1.15-1.mga8-1-1.mga8.x86_64.rpm
kernel-server-devel-6.1.15-1.mga8-1-1.mga8.x86_64.rpm
kernel-server-devel-latest-6.1.15-1.mga8.x86_64.rpm
kernel-server-latest-6.1.15-1.mga8.x86_64.rpm
kernel-source-6.1.15-1.mga8-1-1.mga8.noarch.rpm
kernel-source-latest-6.1.15-1.mga8.noarch.rpm
kernel-userspace-headers-6.1.15-1.mga8.x86_64.rpm
lib64bpf1-6.1.15-1.mga8.x86_64.rpm
lib64bpf-devel-6.1.15-1.mga8.x86_64.rpm
perf-6.1.15-1.mga8.x86_64.rpm

virtualbox-kernel-6.1.15-desktop-1.mga8-7.0.6-2.7.mga8.x86_64.rpm
virtualbox-kernel-6.1.15-server-1.mga8-7.0.6-2.7.mga8.x86_64.rpm
virtualbox-kernel-desktop-latest-7.0.6-2.7.mga8.x86_64.rpm
virtualbox-kernel-server-latest-7.0.6-2.7.mga8.x86_64.rpm

xtables-addons-kernel-6.1.15-desktop-1.mga8-3.23-2.9.mga8.x86_64.rpm
xtables-addons-kernel-6.1.15-server-1.mga8-3.23-2.9.mga8.x86_64.rpm
xtables-addons-kernel-desktop-latest-3.23-2.9.mga8.x86_64.rpm
xtables-addons-kernel-server-latest-3.23-2.9.mga8.x86_64.rpm
Comment 1 Len Lawrence 2023-03-07 17:55:15 CET
Kernel: 6.1.15-desktop-1.mga8 x86_64 
10-Core Intel Core i9-7900X
NVIDIA GP102 [GeForce GTX 1080 Ti]

No problems with installation or reboot but had to run `drakboot --boot` to access it.  nvidia driver module rebuilt and virtualb driver.  GL graphics OK.
VirtualBox launches clients OK.  NFS shares mounted.  Falkon, Firefox and Thunderbird working.  VLC video and bluetooth audio working out of the box.

CC: (none) => tarazed25

Comment 2 Frédéric "LpSolit" Buclin 2023-03-08 00:48:43 CET
I don't know why this happens, but newer kernels seem slower and slower on my i7-12700 machine. I ran two benchmarks:

- PixInsight with kernel 5.17.4, 5.18.15, 6.0.9 and 6.1.15.
- PassMark Performance Test with kernel 5.18.15, 5.19.7, 6.0.9, 6.1.2 and 6.1.15.

PixInsight
----------

Operating system ....... 5.17.4-desktop-2.mga8
CPU time ............... 00:15.12

Operating system ....... 5.18.15-desktop-1.mga8
CPU time ............... 00:15.14

Operating system ....... 6.0.9-desktop-1.mga8
CPU time ............... 00:15.63

Operating system ....... 6.1.15-desktop-1.mga8
CPU time ............... 00:16.26

The time to run the benchmark is constantly increasing from kernel 5.17 to 6.1 (+7.5%).


PassMark
--------

kernel 5.18.15
Sorting: 48210 Thousand Strings/s
Encryption: 24605 MB/s

kernel 5.19.7
Sorting: 49549 Thousand Strings/s
Encryption: 25085 MB/s

kernel 6.0.9
Sorting: 52190 Thousand Strings/s
Encryption: 24457 MB/s

kernel 6.1.2
Sorting: 43657 Thousand Strings/s
Encryption: 22174 MB/s

kernel 6.1.15
Sorting: 43374 Thousand Strings/s
Encryption: 22175 MB/s

The other tests in PassMark remain pretty constant across the versions of the kernel I tested. Here, we see a significant decrease for kernel 6.1 for both sorting (-17%) and encryption (-10%). Is that due to some new security mitigation built into kernel 6.1?
Comment 3 Frédéric "LpSolit" Buclin 2023-03-08 01:13:45 CET
Passing mitigations=off to the kernel didn't help, despite lscpu saying that my machine is now vulnerable to Spectre v1 and v2. The benchmarks didn't change.
PC LX 2023-03-08 22:38:14 CET

CC: (none) => mageia

Comment 4 PC LX 2023-03-09 11:24:20 CET
(In reply to Frédéric "LpSolit" Buclin from comment #2)
> Here, we see a significant decrease for kernel 6.1 for
> both sorting (-17%) and encryption (-10%). Is that due to some new security
> mitigation built into kernel 6.1?

Sorting and encryption should not need to touch the kernel much (or at all) so the reason is probably something else. Part of the CPU vulnerabilities mitigations are handled by microcode updates so that may be the cause for the slowdown you are seeing.
Comment 5 Thomas Andrews 2023-03-10 00:25:51 CET
MGA8-64 Plasma on AMD Phenom II 910, AMD HD 8490 graphics, Atheros-based wifi. This system also has the rtl8192eu, bbswitch, and broadcom-wl dkms packages installed, not because it has that hardware, but to see if they will build with the kernel under test. 

This is my last mga8-64 system for testing backported kernels - the rest have been converted to Cauldron testing.

No installation issues to report with this kernel, and no issues noted after the reboot.

CC: (none) => andrewsfarm

Comment 6 PC LX 2023-03-10 11:05:09 CET
Installed and tested without issues.

Tested for 4 days of workstation use.
Lots of applications tested, including proprietary and off repository applications.
Tested OpenGL, Vulkan, and OpenCL using amdgpu driver.
Tested vdpau video decoding GPU acceleration.
Tested games from repository and Steam.
Tested containers including Mageia 8, Mageia 9/cauldron, Fedora 36, Fedora 37, and Kali full systems in containers.
Tested QEMU/KVM VM including Mageia 8 x86_64, Mageia 8 aarch64, Mageia 9/cauldron x86_64, Kali, Android x86 9, Fedora 36, Fedora 37, Windows 10, MacOS Catalina.
Tested QEMU/KVM VM with GPU pass through.
Tested UEFI boot, reboot and poweroff.


Host system: Mageia 8, x86_64, AMD Ryzen 5 5600G, Radeon RX 6500 XT, Plasma DE, LXQt DE.

$ uname -a
Linux jupiter 6.1.15-desktop-1.mga8 #1 SMP PREEMPT_DYNAMIC Sat Mar  4 11:14:54 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep -- -6.1.15- | sort -u
cpupower-6.1.15-1.mga8
kernel-desktop-6.1.15-1.mga8-1-1.mga8
kernel-desktop-devel-6.1.15-1.mga8-1-1.mga8
kernel-desktop-devel-latest-6.1.15-1.mga8
kernel-desktop-latest-6.1.15-1.mga8
kernel-userspace-headers-6.1.15-1.mga8
lib64bpf1-6.1.15-1.mga8
perf-6.1.15-1.mga8
$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev c1)
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 24 [Radeon RX 6400 / 6500 XT] (rev c1)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
04:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 XHCI Controller (rev 01)
04:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller (rev 01)
04:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Bridge (rev 01)
05:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:06.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
05:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset PCIe Port (rev 01)
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 26)
0b:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. Device 500f (rev 03)
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c9)
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller
0c:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
0c:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
0c:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1
0c:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
0d:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)



Guest system 1: QEMU/KVM, Mageia 8, x86_64, Radeon RX 6500 XT PCI pass through, LXQt DE.

$ uname -a
Linux jupiter-vm-mageia-8 6.1.15-desktop-1.mga8 #1 SMP PREEMPT_DYNAMIC Sat Mar  4 11:14:54 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep -- -6.1.15- | sort -u
cpupower-6.1.15-1.mga8
kernel-desktop-6.1.15-1.mga8-1-1.mga8
kernel-desktop-latest-6.1.15-1.mga8
kernel-userspace-headers-6.1.15-1.mga8
lib64bpf1-6.1.15-1.mga8
perf-6.1.15-1.mga8
$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
00:01.0 VGA compatible controller: Red Hat, Inc. Virtio GPU (rev 01)
00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.7 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode] (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
01:00.0 PCI bridge: Red Hat, Inc. Device 000e
03:00.0 Ethernet controller: Red Hat, Inc. Virtio network device (rev 01)
04:00.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01)
05:00.0 Communication controller: Red Hat, Inc. Virtio console (rev 01)
06:00.0 SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)
07:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon (rev 01)
08:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG (rev 01)
09:00.0 Unclassified device [0002]: Red Hat, Inc. Virtio filesystem (rev 01)



Guest system 2: QEMU/KVM, Mageia 8, aarch64, LXQt DE.

$ uname -a
Linux jupiter-vm-mageia-8-aarch64 6.1.15-desktop-1.mga8 #1 SMP PREEMPT_DYNAMIC Sat Mar  4 10:47:46 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
$ rpm -qa | grep -- -6.1.15- | sort -u
kernel-desktop-6.1.15-1.mga8-1-1.mga8
kernel-desktop-latest-6.1.15-1.mga8
kernel-userspace-headers-6.1.15-1.mga8
lib64bpf1-6.1.15-1.mga8
perf-6.1.15-1.mga8
$ lspci
00:00.0 Host bridge: Red Hat, Inc. QEMU PCIe Host bridge
00:01.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.2 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.3 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.4 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.5 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:01.6 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
01:00.0 Ethernet controller: Red Hat, Inc. Virtio network device (rev 01)
02:00.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01)
03:00.0 Communication controller: Red Hat, Inc. Virtio console (rev 01)
04:00.0 SCSI storage controller: Red Hat, Inc. Virtio block device (rev 01)
05:00.0 Unclassified device [00ff]: Red Hat, Inc. Virtio RNG (rev 01)
06:00.0 Unclassified device [0002]: Red Hat, Inc. Virtio filesystem (rev 01)
07:00.0 PCI bridge: Red Hat, Inc. Device 000e
08:01.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
08:02.0 VGA compatible controller: Red Hat, Inc. QXL paravirtual graphic card (rev 05)
Thomas Backlund 2023-03-11 18:26:42 CET

Keywords: (none) => validated_backport
Whiteboard: (none) => MGA8-64-OK

Comment 7 Thomas Backlund 2023-03-11 20:30:54 CET
moved

Status: NEW => RESOLVED
Resolution: (none) => FIXED