AaeonCM / ubuntu-bionic-up

Other
2 stars 3 forks source link

rt patch fail with 5.4.65 #1

Open elpimous opened 2 years ago

elpimous commented 2 years ago

system : ubuntu 20.04 desktop, UP Xtreme i7C1-8565U RT patch : https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.66-rt38.patch.xz

Hello, trying to patch your kernel, with the correct RT patch. I do the correct process : make defconfig, make menuconfig, activate Fully Preemptible Kernel, make -j7, sudo make modules_install -j2, sudo make install -j7, sudo update-grub and sudo reboot.

after reboot, UUID isn't recognized !! I had success with RT patching a linux-5.4.19 kernel, but not your ! you'll see the error (UUID does not exist, dropping to a shell) here : https://ibb.co/L5kmHFg Don't see anything to change to bios ! Any idea ? Thanks

AaeonCM commented 2 years ago

The command “update-initramfs -c -k all” may need to be executed after changing the folder “/lib/modules”. The detail kernel config and building can refer the link: https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel for Ubuntu UP Kernel.

elpimous commented 2 years ago

Hello, I did it and didn't work ! same error. unable to just run your own kernel on my board : same error. here is my process :


sudo apt install build-essential fakeroot dpkg-dev perl libssl-dev bc gnupg dirmngr libncurses5-dev libelf-dev flex bison

mkdir ~/kernel

cd ~/kernel

git clone https://github.com/AaeonCM/ubuntu-bionic-up.git

cd ubuntu-bionic-up

git checkout hwe-5.4-upboard

wget https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.4/older/patch-5.4.66-rt38.patch.xz

unxz -cd patch-5.4.66-rt38.patch.xz | patch -p1

make defconfig

make menuconfig

activate CONFIG_PREEMPT_RT to yes (I had to activate expert mode, to have access to full preemt RT selection square)

make

sudo make modules_install -j7

update-initramfs -c -k all

sudo make install -j7

sudo update-grub

sudo reboot

well....many tests and many fails..

An idea ?

elpimous commented 2 years ago

hello.. Any help, please ?

tested too like this :

make

sudo make modules_install -j7

sudo make install -j7

update-initramfs -c -k all

sudo update-grub

sudo reboot