The officially official Devuan Forum!

You are not logged in.

#1 Today 02:06:21

deepforest
Member
Registered: 2020-03-24
Posts: 501  

how apply patch to kernel?

Hi again:)

I need apply patch to my current kernel 6.12.107 and after install patched kernel
How do that please help.

here patches to allow remove hdmi clock limit at radeon old cards (pre Southern Islands (GCN 1, released in 2012))

https://gitlab.freedesktop.org/xorg/dri … ote_306722

https://github.com/Swell61/radeon-kernel-module

PS
why this patch still not included at officially at kernel?
i tried use such kernel parameter
radeon.hdmimhz=250
but nothing happens

Last edited by deepforest (Today 02:29:56)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile
pyzNi 3.14zDa! smile

Offline

#2 Today 15:38:14

blackhole
Member
Registered: 2020-03-16
Posts: 294  

Re: how apply patch to kernel?

Looks like a few modified files from 6 years ago, rather than a patch file.

You would need to create your own patch from those files - e.g. using diff(1), then apply the patch to kernel source using the patch(1) command, then compile the kernel.

As the patched files are 6 years old, there's no guarantee any of this would work with a modern kernel however.

Offline

#3 Today 17:29:03

deepforest
Member
Registered: 2020-03-24
Posts: 501  

Re: how apply patch to kernel?

blackhole
huh, thanks, its so hard way,
overall process is understood,
but how exactly build kernel from source at Devuan i do not find any good instructions.


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile
pyzNi 3.14zDa! smile

Offline

#4 Today 17:48:01

blackhole
Member
Registered: 2020-03-16
Posts: 294  

Re: how apply patch to kernel?

I suggest you search the web. There are numerous articles on compiling a kernel out there.

I don't think compiling is going to be the main concern however. You have some source code changes from 6 years ago. You'd need to find out what was changed and apply that to newer kernel sources and recompile.

Offline

#5 Today 17:56:30

dzz
Member
From: Exmouth, South West England
Registered: 2016-12-01
Posts: 137  

Re: how apply patch to kernel?

Tried a backport kernel yet? Maybe it's been fixed already.

Offline

Board footer