Sparc doesn't build without input support / can't turn off VTs
PATCH 1/1 Sparc doesn't build without input support / can't turn off VTs
Hi.
Tried to build 2.6.6 for my Sparc LX today, which runs headless. Turned off all the input support and it failed to build - VT support couldn't be disabled and this needs input support it seems.
Patch below allows disabling VT support for Sparc. I think it might also want a "select INPUT" in the "config VT" section?
J.
Signature · 32 lines
Revd. Jonathan McDowell, ULC | Death is a nonmaskable interrupt. --- linux-2.6.6/arch/sparc/Kconfig.orig 2004-05-19 00:16:05.320531000 +0100 +++ linux-2.6.6/arch/sparc/Kconfig 2004-05-18 21:30:07.000000000 +0100 @@ -27,7 +27,7 @@ menu "General setup" config VT - bool + bool "Virtual terminal" default y ---help--- If you say Y here, you will get support for terminal devices with @@ -57,7 +57,8 @@ shiny Linux system :-) config VT_CONSOLE - bool + bool "Support for console on virtual terminal" + depends on VT default y ---help--- The system console is the device which receives all kernel messages @@ -79,6 +80,7 @@ config HW_CONSOLE bool + depends on VT default y config SMP
Quoted 3 lines · Jonathan McDowell
Tried to build 2.6.6 for my Sparc LX today, which runs headless. Turned off all the input support and it failed to build - VT support couldn't be disabled and this needs input support it seems.
Correct. Your patch is probably ok, but it doesn't solve the problem the right way. We really need to source the generic configuration files, which would give us CONFIG_EMBEDDED, which in turn would allow disabling VT (and INPUT).
I have patches that do virtually all of this for sparc and sparc64; however, there is a great deal of work needed to include all the driver configs before that part can go in. Specifically, every driver needs to have reasonable dependencies, which requires working with the maintainers to verify that the deps I have are right. If you'd like to pick this up and get it done, please reply to me privately and I'll give you what you need.
Signature · 1 line
Keith M Wesolowski