centos 8 kernel 4.18 patches - linux-kernel

Centos 8 uses 4.18 linux kernel. But the venila Linux kernel 4.18 is heavily patched in centos. from where to get the detail patches which is applied on top of 4.18 for centos 8 stream? I am specifically looking for icelake processor support patches.

Related

Building kernel 5.10 for blueline

I was wondering if there's a way for me to port kernel 5.10 to my device Google Pixel 3 (blueline) as the official Google support ended with kernel 4.9, but there's features that I need of kernel 5.10 that are not present in the kernel 4.9, so can you tell me how can I build kernel 5.10 for blueline? As far as I know, it is completely possible. By the way, I'm using Ubuntu 22.04 for all of this.
I tried using a GKI (Generic Kernel Image) of the kernel 5.10 with an Android 13 ROM but it didn't boot (i used both the boot.img and the uncompressed kernel image, none of them boots). I used fastboot to flash them:
fastboot flash boot boot.img
fastboot boot boot.img
it is not that straightforward. Please take a look at PostMarketOS
https://wiki.postmarketos.org/wiki/SDM845_Mainlining
and AOSP M:
https://github.com/aospm

Virtualbox cannot assign more than 4 cores (8 core host)

I have windows 10 host running virtualbox Version 5.1.22 r115126 (Qt5.6.2)
And an Ubuntu 17.04 x64 guest with guest addition stuff.
The host has AMD 8 core cpu but I get a warning when assigning more than 4 cores to this VM. Would it really harm performance? why is that?
I have tried it in the past on older Ubuntu guest releases and it was the same issue.
Found the answer
AMD says it is 8 core but it is actually 4 physical cores, or that's what Windows tells virtualbox anyway.

Which JDK 8 binary should I install on Raspbian?

I'm trying to upgrade JDK 8 that came with Raspbian Jessie to the latest version, but there are multiple binaries avaiable on Oracle web site:
Java SE Development Kit Linux ARM v6/v7 Hard Float ABI
(jdk-8u73-linux-arm32-vfp-hflt.tar.gz)
Java SE Development Kit Linux ARM v6/v7 Hard Float ABI
(jdk-8u73-linux-arm64-vfp-hflt.tar.gz)
Java SE Embedded Version 8 Update 73 - ARMv5/ARMv6/ARMv7 Linux -
SoftFP ABI, Little Endian 2 (ejdk-8u73-linux-arm-sflt.tar.gz)
Java SE Embedded Version 8 Update 73 - ARM v6/v7 Linux - VFP, HardFP
ABI, Little Endian 1 (ejdk-8u73-linux-armv6-vfp-hflt.tar.gz)
Which one is the right one?
I got some answers here:
https://www.raspberrypi.org/forums/viewtopic.php?f=81&t=135941
Option 1 or 4 is correct for use on a Rasbian system
1. Java SE Development Kit Linux ARM v6/v7 Hard Float ABI (jdk-8u73-linux-arm32-vfp-hflt.tar.gz)
4. Java SE Embedded Version 8 Update 73 - ARM v6/v7 Linux - VFP, HardFP ABI, Little Endian 1 (ejdk-8u73-linux-armv6-vfp-hflt.tar.gz)
Option 2 requires a 64 bit CPU Option 3 requires a "soft-float" linux
system where all applications are compiled not to use a floating
point VFP unit., it uses a different ABI compared to Raspbian.
Go for option 1. Java SE Development Kit Linux ARM v6/v7 Hard Float ABI (jdk-8u73-linux-arm32-vfp-hflt.tar.gz)
stay away from software floating point version, they are very poor performance and you have a hardware floating point calculator in PI so better use it.
Raspbian is a 32 bit operating system , it wont support 64 bit word length JDK or JRE. unless you are on a motorola PC , your architecture is Little Endian

Need Oracle Solaris 10 SPARC VM template for VirtualBox

I have Windows 7 64 bit as host OS on which I've installed VirtualBox 4.2.16. Now I want to install Solaris 10 SPARC vm inside VirtualBox. Can anyone tell me from where can I download Oracle Solaris 10 SPARC VM template for VirtualBox?
This page lists only the 64 bit versions.
This page lists 'Oracle VM Templates for SPARC' but I'm not sure if these templates are for VirtualBox. Can anyone tell me if that will work or not?
Thanks,
AndyT
I do not think that VirtualBox does emulation. It does only virtualization. You would have to use QEMU (or similar software) to emulate SPARC on top of Intel hardware.
You can only use template on virtual box from Oracle.
Or use QEMU for simulation.

OpenGL 3.3 Ubuntu (Virtual Machine)

I need openGL 3.3 or higher to use GLSL 3.3. My problem is that I have Mac Os X which doesn't allow to use a version higher than 2.1 of OpenGL. I've installed a virtual machine of Ubuntu inside my system but also has the version 2.1 of OpenGL. I don't understand what's going on because I have an AMD Radeon HD 6490M 256 MB which is compatible with version 4.1 of OpenGL. Is there any way that I can use openGL 3.3 or higher without doing a disk partition?
I don't understand what's going on because I have an AMD Radeon HD 6490M 256 MB which is compatible with version 4.1 of OpenGL
The GPU serves the host machine. The virtual machine sees only some dumb framebuffer device, or the OpenGL API available to the VM running on the host passed through the guest.
If you want to leverage the OpenGL-4 capabilities you must install an OS that can access the GPU natively. Also, if you want to run Linux you'll have to install the proprietary fglrx drivers (also called Catalyst for Linux), as the open source drivers that ship as distribution default haven't caught up yet.
Is there any way that I can use openGL 3.3 or higher without doing a disk partition?
Upgrade to OS X 10.9 when it comes out or grab the beta.
Or find some VM software for OS X that supports VGA passthrough.
If you're willing to repartition you can install Windows or Linux natively and use the drivers from AMD.

Resources