Skip to contentSkip to conversation

kernel 2.6.3 compile problem

parisc-linux Eggert Ehmke 6 participants 6 messages Feb 27, 2004 – Feb 28, 2004

lore
Share & tools
lore
#0 lore raw

Hello!

This is my first message on this list. If need some kind of registration, please let me know.

I run a HP PA-RISC B132L+ with Debian Woody as a DSL Gateway/Firwall for our home network. Right now we have the kernel 2.4.25-pa0 running. The kernel is compiled from sources by gcc 3.0.4. The system runs fine.

Now I tried to compile kernel 2.6.2-pa0 and 2.6.3-pa2 with the same result:
the compile fails with this message:

-- CC drivers/char/tty_io.o
In file included from include/linux/selection.h:11,

                 from drivers/char/tty_io.c:101:

include/linux/vt_buffer.h:19:21: asm/vga.h: No such file or directory make[2]: *** [drivers/char/tty_io.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

There is indeed no file include/asm/vga.h. But if I understand the documentation right, I need to include VGA support. Can you please tell me where I am wrong? These are my console settings in .config:

CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_STI_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=160
CONFIG_DUMMY_CONSOLE_ROWS=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

Eggert Ehmke
mailto:[email protected]

receive my pgp public key from: blackhole.pca.dfn.de
ID: F237 0537

#1 lore raw
Quoted 3 lines

There is indeed no file include/asm/vga.h. But if I understand the documentation right, I need to include VGA support. Can you please tell me where I am wrong? These are my console settings in .config:

no, you don't want VGA console. STI console (and possibly serial console) is the one you want.

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#2 lore raw
In reply to Eggert Ehmke
Quoted 4 lines · Eggert Ehmke

Hello!

This is my first message on this list. If need some kind of registration, please let me know.

Registration is not required, but I maybe you like to register your here:

http://hwdb.parisc-linux.org/view.php3?type=machine&name=B132L%2B

Quoted 11 lines

Now I tried to compile kernel 2.6.2-pa0 and 2.6.3-pa2 with the same result:
the compile fails with this message:

-- CC drivers/char/tty_io.o
In file included from include/linux/selection.h:11,

                 from drivers/char/tty_io.c:101:

include/linux/vt_buffer.h:19:21: asm/vga.h: No such file or directory make[2]: *** [drivers/char/tty_io.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

Quoted 5 lines

There is indeed no file include/asm/vga.h. But if I understand the documentation right, I need to include VGA support. Can you please tell me where I am wrong? These are my console settings in .config:

CONFIG_VGA_CONSOLE=y

I think this is the culprit. There is not VGA support on Linux/PA-RISC.

Quoted 10 lines

# CONFIG_MDA_CONSOLE is not set
CONFIG_STI_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=160
CONFIG_DUMMY_CONSOLE_ROWS=64
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

Greetings,
Max

#3 lore raw
Quoted 3 lines · M. Grabert
Quoted 1 line

CONFIG_VGA_CONSOLE=y

I think this is the culprit. There is not VGA support on Linux/PA-RISC.

This is the culprit, and I stumble across it all the time. How do we go about setting this to CONFIG_VGA_CONSOLE=n as the default?

c.

#4 lore raw
Quoted 7 lines · Carlos O'Donell
Quoted 3 lines · M. Grabert
Quoted 1 line

CONFIG_VGA_CONSOLE=y

I think this is the culprit. There is not VGA support on Linux/PA-RISC.

This is the culprit, and I stumble across it all the time. How do we go about setting this to CONFIG_VGA_CONSOLE=n as the default?

Done.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
#5 lore raw
In reply to Carlos O'Donell
Quoted 2 lines · Carlos O'Donell

This is the culprit, and I stumble across it all the time. How do we go about setting this to CONFIG_VGA_CONSOLE=n as the default?

change drivers/video/console/Kconfig:
config VGA_CONSOLE

        bool "VGA text console" if EMBEDDED || !X86
        depends on !ARCH_ACORN && !ARCH_EBSA110 && !4xx && !8xx && !SPARC32 && !SPARC64 && !M68K
        default y

...

I'm not sure why, but is arch/parisc/defconfig being ignored? It seems to disable VGA_CONSOLE by default as do all the sample configs in arch/parisc/configs/*.

grant