NetBSD Problem Report #9113
Received: (qmail 26072 invoked from network); 3 Jan 2000 21:13:59 -0000
Message-Id: <200001032113.NAA21676@nbwww.isc.org>
Date: Mon, 3 Jan 2000 13:13:59 -0800 (PST)
From: pjt@phxase.allied.com
Reply-To: pjt@phxase.allied.com
To: gnats-bugs@gnats.netbsd.org
Subject: Cannot build a kernel without framebuffer support
X-Send-Pr-Version: www-1.0
>Number: 9113
>Category: port-pmax
>Synopsis: Cannot build a kernel without framebuffer support
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: port-pmax-maintainer
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jan 03 13:15:01 +0000 2000
>Closed-Date: Sun Sep 23 09:10:52 +0000 2001
>Last-Modified: Sun Sep 23 09:10:52 +0000 2001
>Originator: Philip Tait
>Release: 1.4.1
>Organization:
Honeywell Engines & Systems
>Environment:
NetBSD phxtst05 1.4.1 NetBSD 1.4.1 (GENERIC) #38: Mon Aug 9 22:19:29 EST 1999
root@vlad:/usr/src/sys/arch/pmax/compile/GENERIC pmax
>Description:
In trying to work around the problem reported in port-pmax/9109, I
tried (unsuccessfully) to build a kernel without framebuffer support.
There appear to be hardcoded dependencies to the framebuffer code,
that are not eliminated by removing the framebuffer options.
>How-To-Repeat:
Here is the diff of the configuration file I used, followed by the
output from 'make':
10c10
< options MIPS3 # R4000/R4400 CPUs
---
> #options MIPS3 # R4000/R4400 CPUs
15c15
< options DEC_5100 # DECsystem 5100 (kn230)
---
> #options DEC_5100 # DECsystem 5100 (kn230)
17,18c17,18
< options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
< options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
---
> #options DEC_3MIN # DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
> #options DEC_MAXINE # Personal DECstation 5000/xx (kn02ca)
80,85c80
< options NETATALK # AppleTalk networking protocols
< #options PPP_BSDCOMP # BSD-Compress compression support for PPP
< #options PPP_DEFLATE # Deflate compression support for PPP
< #options PPP_FILTER # Active filter support for PPP (requires bpf)
< #options PFIL_HOOKS # pfil(9) packet filter hooks
< options IPFILTER_LOG # ipmon(8) log support
---
> #options NETATALK # AppleTalk networking protocols
90c85
< options COMPAT_12 # Netbsd 1.2 reboot()
---
> #options COMPAT_12 # Netbsd 1.2 reboot()
119c114
< include "arch/pmax/conf/builtin.maxine"
---
> #include "arch/pmax/conf/builtin.maxine"
163,164c158,159
< pseudo-device rasterconsole 1 # NB: raster console requires "fb"
< pseudo-device fb 1 # up to 3 framebuffers
---
> #pseudo-device rasterconsole 1 # NB: raster console requires "fb"
> #pseudo-device fb 1 # up to 3 framebuffers
After fixing a couple of trivial issues in pmax/dev/dc.c and
pmax/tc/scc.c,
here is the end of the output from make:
ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
ioconf.o(.data+0x2d0): undefined reference to `kn230bus_ca'
pm.o: In function `pmattach':
../../../../arch/pmax/dev/pm.c(.text+0x150): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/pm.c(.text+0x150): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/pm.c(.text+0x194): undefined reference to `fbconnect'
../../../../arch/pmax/dev/pm.c(.text+0x194): relocation truncated to fit: R_MIPS_26 fbconnect
cfb.o: In function `cfbinit':
../../../../arch/pmax/dev/cfb.c(.text+0x204): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/cfb.c(.text+0x204): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/cfb.c(.text+0x218): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/cfb.c(.text+0x218): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/cfb.c(.text+0x230): undefined reference to `fbconnect'../../../../arch/pmax/dev/cfb.c(.text+0x230): relocation truncated to fit: R_MIPS_26 fbconnect
sfb.o: In function `sfbinit':
../../../../arch/pmax/dev/sfb.c(.text+0x23c): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/sfb.c(.text+0x23c): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/sfb.c(.text+0x250): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/sfb.c(.text+0x250): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/sfb.c(.text+0x268): undefined reference to `fbconnect'../../../../arch/pmax/dev/sfb.c(.text+0x268): relocation truncated to fit: R_MIPS_26 fbconnect
mfb.o: In function `mfbinit':
../../../../arch/pmax/dev/mfb.c(.text+0x1c8): undefined reference to `defCursor'../../../../arch/pmax/dev/mfb.c(.text+0x1cc): undefined reference to `defCursor'../../../../arch/pmax/dev/mfb.c(.text+0x20c): undefined reference to `init_pmaxfbu'
../../../../arch/pmax/dev/mfb.c(.text+0x20c): relocation truncated to fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/mfb.c(.text+0x220): undefined reference to `tb_kbdmouseconfig'
../../../../arch/pmax/dev/mfb.c(.text+0x220): relocation truncated to fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/mfb.c(.text+0x248): undefined reference to `fbconnect'../../../../arch/pmax/dev/mfb.c(.text+0x248): relocation truncated to fit: R_MIPS_26 fbconnect
*** Error code 1
Stop.
>Fix:
Any ideas welcome!
>Release-Note:
>Audit-Trail:
From: Simon Burge <simonb@NetBSD.ORG>
To: pjt@phxase.allied.com
Cc: gnats-bugs@gnats.netbsd.org, port-pmax@NetBSD.ORG
Subject: Re: port-pmax/9113: Cannot build a kernel without framebuffer support
Date: Thu, 06 Jan 2000 21:51:26 +1100
pjt@phxase.allied.com wrote:
> In trying to work around the problem reported in port-pmax/9109, I
> tried (unsuccessfully) to build a kernel without framebuffer support.
> There appear to be hardcoded dependencies to the framebuffer code,
> that are not eliminated by removing the framebuffer options.
Can you try also commenting out all the framebuffer-type devices? Ie,
sfb, cfb, px, etc. This may or may not result in a serial-only console.
I'm guessing that you want to use the graphics console as a text-only
console?
Simon.
State-Changed-From-To: open->closed
State-Changed-By: chs
State-Changed-When: Sun Sep 23 02:09:17 PDT 2001
State-Changed-Why:
it is indeed possible to build a kernel with no framebuffers.
here's a diff against GENERIC, rev. 1.90:
# diff GENERIC Q
111,116d110
< # Raster console options
< options FONT_BOLD8x16 # Font for fb devices
< options FONT_LUCIDA16x29 # Font for px devices
< #options FONT_GALLANT12x22
< #options FONT_QVSS8x15
<
145d138
< dtop* at ioasic? offset ? # MAXINE kbd and mouse
157,163d149
< mfb* at tc? slot ? offset ? # PMAG-A MX Monochrome Framebuffer
< cfb* at tc? slot ? offset ? # PMAG-B CX Color Framebuffer
< #tfb* at tc? slot ? offset ? # PMAG-RO TX True Color Framebuffer
< sfb* at tc? slot ? offset ? # PMAGB-B HX Smart Framebuffer
< px0 at tc? slot ? offset ? # PMAG-C,D,E,F PX family
< #sfbp* at tc? slot ? offset ? # PMAGD HX+ Smart Framebuffer
< xcfb* at tc? slot ? offset ? # PMAG-DV Color Framebuffer at MAXINE
172d157
< pm* at ibus0 addr ? # 3100 onboard fb
212,213d196
< pseudo-device rasterconsole 1 # NB: raster console requires "fb"
< pseudo-device fb 3 # up to 3 framebuffers
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.