View previous topic :: View next topic |
Author |
Message |
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 297
|
Posted: Wed May 11, 2016 4:36 pm Post subject: What are the drawbacks of not using Genpatches? |
|
|
Until now I have always been using the latest kernel from sys-kernel/gentoo-sources and did not bother what the so-called Genpatches modify compared to the vanilla kernel. But now I would like to know:- What are the actual and specific modifications of Genpatches?
- What are the drawbacks I have to expect of not using a Gentoo-flavored kernel?
I already had a look at the website of the Gentoo Kernel Project, at the website of the Genpatches (which is empty) and at the topic about the difference of gentoo and vanilla sources (which does not provide any information).
The reason for my question is that I filed a bug report for the nouveau driver and are now asked to test a patch that presumably resolves a race condition. However, the patch only works for the release candidates of the 4.6 branch and these kernels are only available through the sys-kernel/git-sources packages. I wonder what drawbacks I have to expect by not using the Genpatches and if those drawbacks might tamper the test results of the new patch. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54797 Location: 56N 3W
|
Posted: Wed May 11, 2016 5:34 pm Post subject: |
|
|
nagmat84,
genpatches are typically backports of things that are in newer kernels.
That's fairly generic but it really does vary from kernel to kernel. You need to look at the patches in a particular genpatches to know what they do.
Quote: | I wonder what drawbacks I have to expect by not using the Genpatches and if those drawbacks might tamper the test results of the new patch. |
That can only be determined by code review. Does the new patch depend on genpatches or not? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
nagmat84 Apprentice
Joined: 27 Mar 2007 Posts: 297
|
Posted: Thu May 12, 2016 6:58 pm Post subject: |
|
|
Quote: | That's fairly generic but it really does vary from kernel to kernel. You need to look at the patches in a particular genpatches to know what they do. | Where do I find the set of Genpatchtes for a specific kernel so that I can have a look at it? If I look at the website of the Genpatches it is empty. Of course, I could emerge sys-kernel/gentoo-sources and sys-kernel/vanilla-sources with same version and then perform a recursive diff between both packages, but this way I do not get individual patches.
Quote: | Does the new patch depend on genpatches or not? | Of course not, the new patch is directly from the maintainer of the nouveau driver and needs to be applied to the latest release candidate of kernel 4.6. They do not know anything about Genpatches. That's the reason why I asked for possible drawbacks of sys-kernel/git-sources, because I need to emerge that and then apply the nouveau patch. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54797 Location: 56N 3W
|
Posted: Thu May 12, 2016 7:24 pm Post subject: |
|
|
nagmat84,
genpatches is provided as two tarballs. Code: | emerge gentoo-sources | fetches the vanilla kernel, the patches, then patches the vanilla kernel.
I have for example
Code: | genpatches-4.5-3.base.tar.xz
genpatches-4.5-3.extras.tar.xz |
You can find the rest at https://dev.gentoo.org/~mpagano/genpatches/tarballs/ _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|