Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BFS and BFQ patches
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Thu Nov 01, 2012 11:09 pm    Post subject: BFS and BFQ patches Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Thu Nov 01, 2012 11:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Fri Nov 02, 2012 12:13 am    Post subject: Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Nov 02, 2012 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Fri Nov 02, 2012 11:49 am    Post subject: Reply with quote

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
View user's profile Send private message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Fri Nov 02, 2012 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Fri Nov 02, 2012 4:26 pm    Post subject: Reply with quote

@arabician : Happy it works as you wish.
A little bit of formalism... (Just because I like it :roll: and suspect that khayyam too... :twisted: ) 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... :wink:
_________________
Back to top
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Fri Nov 02, 2012 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Fri Nov 02, 2012 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
188562
Apprentice
Apprentice


Joined: 22 Jun 2008
Posts: 186

PostPosted: Sat Nov 03, 2012 6:02 am    Post subject: Reply with quote

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
View user's profile Send private message
arabcian
n00b
n00b


Joined: 04 Oct 2012
Posts: 21

PostPosted: Sun Nov 04, 2012 11:04 am    Post subject: Reply with quote

oo nice thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum