View previous topic :: View next topic |
Author |
Message |
TomaLars n00b

Joined: 30 Jul 2019 Posts: 31
|
Posted: Tue Jul 30, 2019 5:50 pm Post subject: Kernel compiling - Some entries are not available |
|
|
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 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 but it depends on
When I search the last one I get as result
Do you know what I am missing?
I did some research with no success and I am going forward... |
|
Back to top |
|
 |
Hieronymus Bosch Tux's lil' helper


Joined: 29 Jan 2015 Posts: 76 Location: 31°45′33.14″N 106°29′24.63″W
|
Posted: Tue Jul 30, 2019 6:05 pm Post subject: |
|
|
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 |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Tue Jul 30, 2019 6:05 pm Post subject: |
|
|
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 _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
TomaLars n00b

Joined: 30 Jul 2019 Posts: 31
|
Posted: Tue Jul 30, 2019 6:25 pm Post subject: |
|
|
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 |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Tue Jul 30, 2019 6:30 pm Post subject: |
|
|
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. _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6866
|
Posted: Tue Jul 30, 2019 7:14 pm Post subject: |
|
|
It would help if you could explain what it is you need to enable CONFIG_NWBUTTON for. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47018 Location: 56N 3W
|
Posted: Tue Jul 30, 2019 8:22 pm Post subject: |
|
|
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 |
|
 |
|