View previous topic :: View next topic |
Author |
Message |
arabcian n00b
Joined: 04 Oct 2012 Posts: 21
|
Posted: Thu Nov 01, 2012 11:09 pm Post subject: BFS and BFQ patches |
|
|
hello i want to patch default gentoo kernel with bfs and bfq patches but i dont know how to do it
can anyone help me downloading and patching the kernel |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu Nov 01, 2012 11:32 pm Post subject: |
|
|
The easiest way for you to achieve what you want and the easiest way for us to explain how to is certainly to suggest you to rely on portage.
Look at sys-kernel/ck-sources and sys-kernel/pf-sources. _________________
|
|
Back to top |
|
|
arabcian n00b
Joined: 04 Oct 2012 Posts: 21
|
Posted: Fri Nov 02, 2012 12:13 am Post subject: |
|
|
pfsources have both patched but I have strange problems with pf-sources is not booting
my computer freezes at booting kernel
i havent tried ck-sources anyway i will need to patch it for bfq too |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Fri Nov 02, 2012 8:11 am Post subject: |
|
|
arabcian wrote: | pfsources have both patched but I have strange problems with pf-sources is not booting
my computer freezes at booting kernel |
Which version of the pf-sources did you try ?
Do you boot on kvm ? _________________
|
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Nov 02, 2012 11:49 am Post subject: |
|
|
arabcian ...
there is also "geek-sources" (in the init6 overlay), this has both BFQ and BFS patches.
Code: | # equery u =sys-kernel/geek-sources-3.6.5
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for sys-kernel/geek-sources-3.6.5:
U I
+ - aufs : AnotherUnionFS.
+ - bfq : Budget Fair Queueing Budget I/O Scheduler.
+ - branding : Enable Gentoo specific branding.
+ - ck : Enable Con Kolivas' high performance patchset.
+ + deblob : Remove binary blobs from kernel sources to provide libre license compliance.
- - fbcondecor : Use Spock's fbsplash patch.
- - fedora : Use Fedora kernel patches.
- - grsecurity : Use grsecurity patches.
+ - ice : Use TuxOnIce patches.
- - mageia : Use Mandriva/Mageia patches.
- - reiser4 : Use Reiser4 FS patches.
- - rt : Use Ingo Molnar's realtime preempt patches.
- - suse : Use OpenSuSE patches.
+ - uksm : Use Ultra Kernel Samepage Merging patches.
- - vserver : VServer provides virtualization for GNU/Linux systems.
- - zfs : The native Linux kernel port of the ZFS filesystem. |
best ... khay |
|
Back to top |
|
|
arabcian n00b
Joined: 04 Oct 2012 Posts: 21
|
Posted: Fri Nov 02, 2012 3:54 pm Post subject: |
|
|
thanks acos ive tried 3.6.6-pf-sources and 3.6.5-pf-sources both couldnt boot and no im not on kvm but i guess it is a problem with amd cpus and with 8gb ram adding mem=4g to boot options let me boot
thanks hayyam now ive added init6 overlay and installed 3.6.5-geek sources with bfs bfq and fedora patches working so far |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Fri Nov 02, 2012 4:26 pm Post subject: |
|
|
@arabician : Happy it works as you wish.
A little bit of formalism... (Just because I like it and suspect that khayyam too... ) The OP asks for "patching default gentoo kernel".
Be aware that neither the pf-sources nor the geek-sources patch the gentoo kernel. Only the ck-sources do.
@khayyam : I would have bet you were running the geek-sources... I would have lost about the setting of the deblob use flag though... _________________
|
|
Back to top |
|
|
188562 Apprentice
Joined: 22 Jun 2008 Posts: 186
|
Posted: Fri Nov 02, 2012 5:32 pm Post subject: |
|
|
aCOSwt wrote: | The OP asks for "patching default gentoo kernel".
Be aware that neither the pf-sources nor the geek-sources patch the gentoo kernel. Only the ck-sources do. |
man man, man wget, man patch
best answer ^ |
|
Back to top |
|
|
arabcian n00b
Joined: 04 Oct 2012 Posts: 21
|
Posted: Fri Nov 02, 2012 11:44 pm Post subject: |
|
|
thank you again acos because of the informative answer you gave
i really dont know accurately what gentoo-kernel mean vanilla kernel with gentoo patches or something more? if so yes init6 have no gentoo patchset thats why i used fedora patchset because fedora is bleeding edge too like gentoo and have good maintainers then i chose bfq and bfs patches maybe next time ill try to patch ck-sources with bfq patchset thanks again
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein ?????
and you teach them how to break an atom s core??? so einstein is a human too! |
|
Back to top |
|
|
188562 Apprentice
Joined: 22 Jun 2008 Posts: 186
|
Posted: Sat Nov 03, 2012 6:02 am Post subject: |
|
|
arabcian wrote: | thank you again acos because of the informative answer you gave
i really dont know accurately what gentoo-kernel mean vanilla kernel with gentoo patches or something more? if so yes init6 have no gentoo patchset thats why i used fedora patchset because fedora is bleeding edge too like gentoo and have good maintainers then i chose bfq and bfs patches maybe next time ill try to patch ck-sources with bfq patchset thanks again
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein ?????
and you teach them how to break an atom s core??? so einstein is a human too! |
From this commits all version sys-kernel/geek-sources have full gentoo patchset. So if you need gentoo patches Code: | USE="genpatches" emerge sys-kernel/geek-sources | hardened-sources is Code: | USE="grsecurity" sys-kernel/geek-sources |
|
|
Back to top |
|
|
arabcian n00b
Joined: 04 Oct 2012 Posts: 21
|
Posted: Sun Nov 04, 2012 11:04 am Post subject: |
|
|
oo nice thanks |
|
Back to top |
|
|
|