All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] kernel 2.6.3 compile problem
@ 2004-02-27 10:10 Eggert Ehmke
  2004-02-27 10:21 ` Randolph Chung
  2004-02-27 10:22 ` M. Grabert
  0 siblings, 2 replies; 6+ messages in thread
From: Eggert Ehmke @ 2004-02-27 10:10 UTC (permalink / raw)
  To: parisc-linux

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:eggert.ehmke@berlin.de

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] kernel 2.6.3 compile problem
  2004-02-27 10:10 [parisc-linux] kernel 2.6.3 compile problem Eggert Ehmke
@ 2004-02-27 10:21 ` Randolph Chung
  2004-02-27 10:22 ` M. Grabert
  1 sibling, 0 replies; 6+ messages in thread
From: Randolph Chung @ 2004-02-27 10:21 UTC (permalink / raw)
  To: Eggert Ehmke; +Cc: parisc-linux

> 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
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] kernel 2.6.3 compile problem
  2004-02-27 10:10 [parisc-linux] kernel 2.6.3 compile problem Eggert Ehmke
  2004-02-27 10:21 ` Randolph Chung
@ 2004-02-27 10:22 ` M. Grabert
  2004-02-27 22:49   ` Carlos O'Donell
  1 sibling, 1 reply; 6+ messages in thread
From: M. Grabert @ 2004-02-27 10:22 UTC (permalink / raw)
  To: Eggert Ehmke; +Cc: parisc-linux

On Fri, 27 Feb 2004, Eggert Ehmke wrote:

> 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

> 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

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

> # 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] kernel 2.6.3 compile problem
  2004-02-27 10:22 ` M. Grabert
@ 2004-02-27 22:49   ` Carlos O'Donell
  2004-02-27 22:58     ` Matthew Wilcox
  2004-02-28  1:06     ` Grant Grundler
  0 siblings, 2 replies; 6+ messages in thread
From: Carlos O'Donell @ 2004-02-27 22:49 UTC (permalink / raw)
  To: parisc-linux; +Cc: Randolph Chung

On Fri, Feb 27, 2004 at 10:22:22AM +0000, M. Grabert wrote:
> > 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] kernel 2.6.3 compile problem
  2004-02-27 22:49   ` Carlos O'Donell
@ 2004-02-27 22:58     ` Matthew Wilcox
  2004-02-28  1:06     ` Grant Grundler
  1 sibling, 0 replies; 6+ messages in thread
From: Matthew Wilcox @ 2004-02-27 22:58 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: Randolph Chung, parisc-linux

On Fri, Feb 27, 2004 at 05:49:26PM -0500, Carlos O'Donell wrote:
> On Fri, Feb 27, 2004 at 10:22:22AM +0000, M. Grabert wrote:
> > > 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.

-- 
"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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] kernel 2.6.3 compile problem
  2004-02-27 22:49   ` Carlos O'Donell
  2004-02-27 22:58     ` Matthew Wilcox
@ 2004-02-28  1:06     ` Grant Grundler
  1 sibling, 0 replies; 6+ messages in thread
From: Grant Grundler @ 2004-02-28  1:06 UTC (permalink / raw)
  To: Carlos O'Donell; +Cc: Randolph Chung, parisc-linux

On Fri, Feb 27, 2004 at 05:49:26PM -0500, Carlos O'Donell wrote:
> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-02-28  1:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-27 10:10 [parisc-linux] kernel 2.6.3 compile problem Eggert Ehmke
2004-02-27 10:21 ` Randolph Chung
2004-02-27 10:22 ` M. Grabert
2004-02-27 22:49   ` Carlos O'Donell
2004-02-27 22:58     ` Matthew Wilcox
2004-02-28  1:06     ` Grant Grundler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.