Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440116 - sys-kernel/ck-sources-3.6.2 : Version bump
Summary: sys-kernel/ck-sources-3.6.2 : Version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2012-10-29 12:17 UTC by Eric F. GARIOUD
Modified: 2012-10-29 20:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
3.6.2 release ebuild (ck-sources-3.6.2.ebuild,2.42 KB, text/plain)
2012-10-29 12:21 UTC, Eric F. GARIOUD
Details
Patch designed to allow boot on kvm (ck-sources-3.6-Fix_Boot_Issue_On_Kvm-aCOSwt_P6.patch,367 bytes, patch)
2012-10-29 12:24 UTC, Eric F. GARIOUD
Details | Diff
New package metadata (metadata.xml,883 bytes, text/plain)
2012-10-29 12:27 UTC, Eric F. GARIOUD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric F. GARIOUD 2012-10-29 12:17:59 UTC
@ proxy-maintainers, please update the tree with the ebuild and metadata attached.

Reproducible: Always
Comment 1 Eric F. GARIOUD 2012-10-29 12:21:21 UTC
Created attachment 327676 [details]
3.6.2 release ebuild

Ebuild for the 3.6.2 release.

Honors a new useflag : kvm to be set in order to use the kernel on kvm.
Comment 2 Eric F. GARIOUD 2012-10-29 12:24:04 UTC
Created attachment 327678 [details, diff]
Patch designed to allow boot on kvm

This patch will be committed if the kvm useflag is set and will enable to boot the kernel on kvm.
Comment 3 Eric F. GARIOUD 2012-10-29 12:27:25 UTC
Created attachment 327680 [details]
New package metadata

Metadatas updated to describe the new "kvm" useflag.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2012-10-29 12:35:56 UTC
Please don't CC people yourself. Let the bug-wranglers do their job ;)
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2012-10-29 12:37:32 UTC
Conditional patching? why? Can't we just apply it unconditionally? This means that the rest of the *-sources (pf, gentoo, vanilla) wont work on a kvm?
Comment 6 Eric F. GARIOUD 2012-10-29 13:26:59 UTC
(In reply to comment #5)
> Conditional patching? why? Can't we just apply it unconditionally? This
> means that the rest of the *-sources (pf, gentoo, vanilla) wont work on a
> kvm?

A/ This just concerns BFS-ized kernels starting from 3.6 => gentoo and vanilla are not concerned.

B/ It has been observed that these kernels can't boot on kvm for possibly different reasons among which one has been clearly isolated :
The "culprit" is a sequence of code enabling BFS to operate in a "voluntary preempt" context when rescheduling.

C/ The patch basically deletes this sequence of code. Hence, with the side effect of possibly breaking a CONFIG_PREEMPT_VOLUNTARILY=y configured kernel.

=>

Applying this patch unconditionally would have the consequence to possibly break "voluntary preempt" for everybody. v.g : Even for the standard user who, of course, does not boot on kvm.

I do not feel sensible to break standard user's configuration => a standard emerge with default settings will bring a kernel working whatever his config options.
The kvm user is supposed to know what he is doing as well as the consequences of his choices in terms of potential limitations.

Hence the justification of conditional patching.
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2012-10-29 13:34:39 UTC
Well I still don't like it but again, this is a kernel patchset that has no upstream support (upstream as in LKML) so I guess it is ok to treat it that way.
Comment 8 Eric F. GARIOUD 2012-10-29 14:21:30 UTC
(In reply to comment #7)
> Well I still don't like it.

I never expected anyone to like the workaround of the side effects of a disliked workaround.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2012-10-29 20:52:06 UTC
+*ck-sources-3.6.2 (29 Oct 2012)
+
+  29 Oct 2012; Markos Chandras <hwoarang@gentoo.org> +ck-sources-3.6.2.ebuild,
+  +files/ck-sources-3.6-Fix_Boot_Issue_On_Kvm-aCOSwt_P6.patch, metadata.xml:
+  Version bump. Bug #440116. Thanks to Eric F. GARIOUD
+  <eric-f.garioud@wanadoo.fr>
+