Software > Operating Systems and Porting
New Kernel 5.16 and new problem
MauryG5:
Well then in theory maybe already in the next Kernel 5.17.4, there could be the correction without the need to insert it manually ...
ClassicHasClass:
I agree with the comments on that thread that skipping initialization is probably the wrong approach. The fact it works is likely a weird side effect. But great work on localizing where the problem is and I don't think it will take them long to find a better solution.
MauryG5:
Hi MatGraf, unfortunately, having never patched the kernel, I'm not practical and I don't understand where to apply this patch exactly. I read in this guide on the net, which must be applied in the path of / usr / src but in the downloaded kernel there is only the usr directory, the src is not there and I don't understand where to apply this patch. That path is present in the root system directory, that is the one that is identified with the symbol / but in the directory of the Kernel just downloaded I can't find this path ... Can you tell me better how to do it kindly? So I too start learning how to patch kernels ... Thanks
MauryG5:
No matgraf, as not mentioned, I only understood afterwards what you meant in your explanation and how to insert the patch. Just up and running in version 5.17.4, your patch apparently works very well, congratulations. I'm testing it on Ubuntu, then compiling it for Debian. Thanks
matgraf:
Hi MauryG5, I am glad you got it running!
Using debian as well and compiled my latest kernel as follows:
--- Code: ---cd
mkdir mylinux
cd mylinux
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
tar xf linux-5.17.4.tar.xz
wget http://ftp.de.debian.org/debian/pool/main/l/linux/linux-config-5.17_5.17.3-1_ppc64el.deb
dpkg-deb -x linux-config-5.17_5.17.3-1_ppc64el.deb ./
cp usr/src/linux-config-5.17/config.ppc64el_none_powerpc64le.xz ./
xz -d config.ppc64el_none_powerpc64le.xz
cd linux-5.17.4
curl -o fpu_exeption_fix_for_ppc64le_with_amdgpu.patch 'https://forums.raptorcs.com/index.php?action=dlattach;topic=332.0;attach=388'
patch -p1 < fpu_exeption_fix_for_ppc64le_with_amdgpu.patch
cp ../config.ppc64el_none_powerpc64le .config
echo CONFIG_PPC_4K_PAGES=y >> .config
make olddefconfig
make -j32 bindeb-pkg
sudo dpkg -i ../linux-headers-5.17.4_5.17.4-1_ppc64el.deb ../linux-image-5.17.4_5.17.4-1_ppc64el.deb
sudo reboot
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version