You are not logged in.
Sorry I never been applying kernel patch I dont know how to do it It comes in 5.12? It is long time, if there is only 5.10 version so far, why these critical bugs aren't deployed as fast as possible?
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
https://github.com/freedesktop/drm-tip/ … 4b47.patch applies to 5.10.6
git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/linux"
cd packages/trunk
edit PKGBUILD to add the patch and its checksum, the PKGBUILD auto applies .patches
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index 53d7d5a..f87e5d7 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -18,6 +18,7 @@ _srcname=archlinux-linux
source=(
"$_srcname::git+https://git.archlinux.org/linux.git?signed#tag=$_srctag"
config # the main kernel config file
+ https://github.com/freedesktop/drm-tip/commit/eebfb32e26851662d24ea86dd381fd0f83cd4b47.patch
)
validpgpkeys=(
'ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
@@ -25,7 +26,8 @@ validpgpkeys=(
'A2FF3A36AAA56654109064AB19802F8B0D70FC30' # Jan Alexander Steffens (heftig)
)
sha256sums=('SKIP'
- 'd3e7adf5fcfc632887058ca84ca7b849a824dda5a03de854c8d3480ef0124ad1')
+ 'd3e7adf5fcfc632887058ca84ca7b849a824dda5a03de854c8d3480ef0124ad1'
+ 'b2fb9237fc57e81d9ec1125c8bdcc80df047f8d766c919d9634d3e75daf1b519')
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
Then build the package
Offline
The patch will come to mainline in 5.12 or 5.13 since the merge window for 5.11 is already closed. After that happens, the patch may be backported to older stable kernel series.
I have no idea why that patch took so long. It seems it was failing some tests, so that may have been a factor: https://gitlab.freedesktop.org/drm/inte … ote_729531
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Thank you Arch community! Patch works, Im on 5.10.7-arch1-1 right now, with that patch and Unreal Engine works Thank you again + thank you loqs and seth that you were guiding me through kernel bisect, Im newbie I know
So until new kernel 5.12 or 5.13 comes out with patched that thing, should I just ignore kernel updates for now or should I everytime apply that patch?
Last edited by tomsk (2021-01-13 18:53:13)
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
You could use the lts kernel until the patch is available if you don't want to patch the kernel w/ every update.
This way you'd get security updates (which will not be the case if you just ignore the kernel package)
If the LTS kernel doesn't work, you'll have to make up your mind - it's usually "safe" to ignore kernel updates from a package management perspective, but if you read sth. in the news abotu a super epic kernel bug that's exploited by a virus in the wild, you probably want to have a patch for that one way or another ;-)
Offline
The fix is now in the drm-intel-fixes branch of the drm-intel tree from there it should hopefully go to the drm-fixes branch of the drm tree then be pulled to Linus's tree as bug fix for 5.11-rcX saving the wait for 5.12.
https://github.com/freedesktop/drm-inte … 85443611a8
https://cgit.freedesktop.org/drm/drm/log/?h=drm-fixes
Edit:
Now in Linus's tree so will be included in 5.11-rc4:
https://git.kernel.org/pub/scm/linux/ke … 85443611a8
See also https://git.kernel.org/pub/scm/linux/ke … b3e9df6333
Last edited by loqs (2021-01-16 19:29:24)
Offline
That's great thank you
I use several linux distros like: Archlinux, Ubuntu, Fedora, Linux Mint
Offline
Fixes were backported to 5.10.9 as 48b8c6689efa7cd65a72f620940a4f234b944b73 and 481e27f050732b8c680f26287dd44967fddf9a79
https://cdn.kernel.org/pub/linux/kernel … Log-5.10.9
Offline