Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I activate this in the kernel?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
brutico
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2014
Posts: 130

PostPosted: Thu Feb 22, 2018 7:06 pm    Post subject: How do I activate this in the kernel? Reply with quote

I want to install systemd and have compiled this message.

* CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
* Checking for suitable kernel configuration options...
* CONFIG_CGROUP_BPF: is not set when it should be.



I do not find these options. Help
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43755
Location: 56N 3W

PostPosted: Thu Feb 22, 2018 7:13 pm    Post subject: Reply with quote

brutico,

Use the search in make menuconfig. Press / and enter the symbol name.
Code:
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
was a default setting.

If the search won't show the symbol, its hidden by something that it depends or being off too.
Press z and search again. This shows all the hidden symbols too.

Find your symbol and look at the Depends On:
That's a boolean expression that must evaluate to true before you can select the option you want.
Fix that boolean expression.
You may need to apply this process recursively.

The z key is a toggle.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
brutico
Tux's lil' helper
Tux's lil' helper


Joined: 16 Feb 2014
Posts: 130

PostPosted: Thu Feb 22, 2018 7:31 pm    Post subject: Reply with quote

Sorry but I can not find

Code:
│ Symbol: CGROUP_BPF [=n]                                                                                                      │ 
  │ Type  : boolean                                                                                                              │ 
  │ Prompt: Support for eBPF programs attached to cgroups                                                                        │ 
  │   Location:                                                                                                                  │ 
  │     -> General setup                                                                                                         │ 
  │ (1)   -> Control Group support (CGROUPS [=y])                                                                                │ 
  │   Defined at init/Kconfig:847                                                                                                │ 
  │   Depends on: CGROUPS [=y] && BPF_SYSCALL [=n]                                                                               │ 
  │   Selects: SOCK_CGROUP_DATA [=n]


I look for BPF_SYSCALL and this appears

Code:
Symbol: BPF_SYSCALL [=n]                                                                                                     │ 
  │ Type  : boolean                                                                                                              │ 
  │ Prompt: Enable bpf() system call                                                                                             │ 
  │   Location:                                                                                                                  │ 
  │ (1) -> General setup                                                                                                         │ 
  │   Defined at init/Kconfig:1391                                                                                               │ 
  │   Selects: ANON_INODES [=y] && BPF [=y]                                                                                      │ 
  │   Selected by: AF_KCM [=n] && NET [=y] && INET [=y]                                                                          │ 
  │


I look for AF_KCM and this appears

Code:
│ Symbol: AF_KCM [=n]                                                                                                          │ 
  │ Type  : tristate                                                                                                             │ 
  │ Prompt: KCM sockets                                                                                                          │ 
  │   Location:                                                                                                                  │ 
  │ (1) -> Networking support (NET [=y])                                                                                         │ 
  │   Defined at net/kcm/Kconfig:2                                                                                               │ 
  │   Depends on: NET [=y] && INET [=y]                                                                                          │ 
  │   Selects: BPF_SYSCALL [=n] && STREAM_PARSER [=n]


Here I lose myself
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43755
Location: 56N 3W

PostPosted: Thu Feb 22, 2018 8:15 pm    Post subject: Reply with quote

brutico,

From that, you should be able to see.
Code:
KCM sockets
in
Code:
   Location:                                                                                                                  │
  │ (1) -> Networking support (NET [=y])


Notice the
Code:
(1)
, other numbers are used too.
Press 1 to go to the option, if its visible.

You are doing all the right things.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
brownandsticky
n00b
n00b


Joined: 19 Nov 2014
Posts: 4

PostPosted: Wed Mar 06, 2019 10:45 pm    Post subject: Reply with quote

Kudos to brutico and NeddySeagoon.
'helped me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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