Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to properly add custom configuration to -bin kernel
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
picarica
Guru
Guru


Joined: 11 Aug 2018
Posts: 327

PostPosted: Sat Dec 28, 2024 10:28 am    Post subject: how to properly add custom configuration to -bin kernel Reply with quote

so hello i have been using gentoo for years, i tried compiling my own kernel but i settled on using prebuild kernel
Code:

Linux gentoo 6.6.67-gentoo-dist #1 SMP PREEMPT_DYNAMIC Thu Dec 19 22:09:00 -00 2024 x86_64 AMD Ryzen 5 5600X 6-Core Processor AuthenticAMD GNU/Linux

and it works fine, many adjustmend i was making in the past was just adding support for some new hardware, and i didnt enjoy it that much, i really love portage tho.

well my question is then when using this kernel, how can i change some options for the kernel? what would be the best gentoo-way of changing some options?

for example i wanted to play with preempt=full, and i wonder is it worth recompiling kernel? or adding it to grub? or is there way to build it into kernel without having to do it by scratch every kernel upgrade?
Thank you

and i was looking into Cachyos-srouces kernel for gentoo, i really like that bore scheduler, is it compatibel with preemtp-full? or scx?
and i cant find mucch info on all the USe flags for tthis kernel would like to learn ore about ithis somehow like for exmaple difference between bore use flag vs bore-sched , very intresting :wq
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5271
Location: Bavaria

PostPosted: Sat Dec 28, 2024 1:15 pm    Post subject: Reply with quote

I guess you searched this article? ->
https://wiki.gentoo.org/wiki/Project:Distribution_Kernel#Modifying_kernel_configuration
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1811
Location: Germany

PostPosted: Sat Dec 28, 2024 2:08 pm    Post subject: Reply with quote

I do find the thread title kind of confusing. Do you want to change the -dist kernel options https://packages.gentoo.org/packages/sys-kernel/gentoo-kernel
or do you want to change the -bin kernel options https://packages.gentoo.org/packages/sys-kernel/gentoo-kernel-bin ?
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
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