Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779544 - gentoo-sources-5.4.97: make menuconfig: item present in Kconfig is missing from menu screen.
Summary: gentoo-sources-5.4.97: make menuconfig: item present in Kconfig is missing fr...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-31 14:43 UTC by Alan Mackenzie
Modified: 2021-03-31 19:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Mackenzie 2021-03-31 14:43:51 UTC
The item in make menuconfig for setting/clearing CONFIG_VGA_CONSOLE is missing.

Reproducible: Always

Steps to Reproduce:
1. Start make menuconfig.
2. Go to menu screen Device Drivers/Graphics Support/Console Display driver support.
 
Actual Results:  
The item for "VGA text console" is missing.

Expected Results:  
That item should be present on the screen.

Note the first item in .../drivers/video/console/Kconfig, that for VGA_CONSOLE.

Tentative analysis:
The item VGA_CONSOLE is conditional on lots of other items, including !SPARC.
SPARC appears not to be defined.  Therefore !SPARC isn't defined either, and the condition for VGA_CONSOLE fails.  Several other needed items also aren't defined.

Guess:
The Kconfig which defines SPARC has been excluded from the kernel configuration as an optimisation, since SPARC was supposedly "not relevant" any more.
Comment 1 Mike Pagano gentoo-dev 2021-03-31 14:47:47 UTC
Attach your .config, please
Comment 2 Alan Mackenzie 2021-03-31 15:01:16 UTC
(In reply to Mike Pagano from comment #1)
> Attach your .config, please

Hello, Mike.

As yet, that kernel version on my machine is new - it has no .config.

The same problem has occurred on earlier versions, in particular 5.4.80-gentoo and 5.4.80-gentoo-r1.  It did not occur on 4.19.97, for example.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-31 15:55:23 UTC
Not a bug:

https://github.com/torvalds/linux/blob/v5.4/drivers/video/console/Kconfig#L9:

> menu "Console display driver support"
> 
> config VGA_CONSOLE
> 	bool "VGA text console" if EXPERT || !X86

You need to enable CONFIG_EXPERT in "General setup" -> "Configure standard kernel features (expert users)" which is disabled by default to see that item.
Comment 4 Alan Mackenzie 2021-03-31 19:56:06 UTC
(In reply to Thomas Deutschmann from comment #3)
> Not a bug:
> 
> https://github.com/torvalds/linux/blob/v5.4/drivers/video/console/Kconfig#L9:
> 
> > menu "Console display driver support"
> > 
> > config VGA_CONSOLE
> > 	bool "VGA text console" if EXPERT || !X86
> 
> You need to enable CONFIG_EXPERT in "General setup" -> "Configure standard
> kernel features (expert users)" which is disabled by default to see that
> item.

Sorry for the noise.  What threw me was that the "if EXPERT || !X86" was not displayed in the help entry for VGA_CONSOLE.  Next time around, I'll check the Kconfig sources first.