Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Kernel compiling - Some entries are not available
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
TomaLars
n00b
n00b


Joined: 30 Jul 2019
Posts: 15

PostPosted: Tue Jul 30, 2019 5:50 pm    Post subject: Kernel compiling - Some entries are not available Reply with quote

Hi all,
I am new to Gentoo and I am trying to learn it on a virtual machine.
I am following the handbook, installing a BIOS system and through
Code:
make menuconfig
trying to compile for the first time in my life a kernel using as support the book "Linux Kernel in a Nutshell".

I have found several times that some entries cannot be found and selected because they are not "available".
One example among the others:
I need to enable
Code:
NWBUTTON
but it depends on
Code:
ARCH_NETWINDER

When I search the last one I get as result
Code:
Type: unknown


Do you know what I am missing?
I did some research with no success and I am going forward...
Back to top
View user's profile Send private message
Hieronymus Bosch
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2015
Posts: 76
Location: 31°45′33.14″N 106°29′24.63″W

PostPosted: Tue Jul 30, 2019 6:05 pm    Post subject: Reply with quote

When I tryy to configure the kernel I used https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel and online resource call Linux Sea
by Sven Vermulen (Chapter 7).

My idea could be that the entry could be deprecated.
_________________
Details fueled any investigation ...
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4343
Location: Dallas area

PostPosted: Tue Jul 30, 2019 6:05 pm    Post subject: Reply with quote

ARCH_NETWINDER is an arm config option, if not running arm, it probably won't show.

Code:
config ARCH_NETWINDER
    bool "NetWinder"
    select CLKEVT_I8253
    select CLKSRC_I8253
    select FOOTBRIDGE_HOST
    select ISA
    select ISA_DMA
    select FORCE_PCI
    help
      Say Y here if you intend to run this kernel on the Rebel.COM
      NetWinder.  Information about this machine can be found at:

      <http://www.netwinder.org/>

      Saying N will reduce the size of the Footbridge kernel.


/usr/src/linux/arch/arm/mach-footbridge/Kconfig
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
TomaLars
n00b
n00b


Joined: 30 Jul 2019
Posts: 15

PostPosted: Tue Jul 30, 2019 6:25 pm    Post subject: Reply with quote

Hieronymus Bosch, Anon-E-moose,
thank you both for the answers.

Hieronymus thank you for the book, I have saved it as bookmarks.

Anon-E-moose I think I should have duckduckgo_ed more.
I'll check if the other entries are also for different architectures.

Thanks again
Back to top
View user's profile Send private message
Anon-E-moose
Advocate
Advocate


Joined: 23 May 2008
Posts: 4343
Location: Dallas area

PostPosted: Tue Jul 30, 2019 6:30 pm    Post subject: Reply with quote

cd /usr/src/linux or wherever kernel sources are

find . -name Kconfig\* -exec grep -l ARCH_NETWINDER {} \;

change ARCH_NETWINDER to whatever you want to search for, "grep -l" will list the the file(s) it finds the term in.
_________________
Asus m5a99fx, FX 8320 - nouveau, oss4, rx550 for qemu passthrough
Acer laptop E5-575, i3-7100u - i965, alsa
---both---
5.0.13 zen kernel, profile 17.1 (no-pie & modified) amd64-no-multilib
gcc 8.2.0, eudev, openrc, openbox, palemoon
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6040

PostPosted: Tue Jul 30, 2019 7:14 pm    Post subject: Reply with quote

It would help if you could explain what it is you need to enable CONFIG_NWBUTTON for.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jul 30, 2019 8:22 pm    Post subject: Reply with quote

TomaLars,

The kernel configure system hides things that are not selectable.
If you really want to see all the CONFIG_ symbols, press 'z'.
This toggles the display of hidden symbols. Now the / for search will find them.
They cannot be selected, that's indicated by the - - in front of the prompt but now you can read the Depends on: in the help to see what is preventing the option being selected.

Hmm ... even that does not show things that are not available on your ARCH
_________________
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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat 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