Subject: Eliminating rasterconsole support from 1.3.3 kernel
To: None <port-pmax@netbsd.org>
From: Philip Tait <Philip.Tait@phxase.allied.com>
List: port-pmax
Date: 05/12/1999 15:05:10
I'd appreciate some advice on the following:

I'm trying to build a kernel without rasterconsole support, in the hope
that this will allow me to use the mouse and keyboard ports as two
additional serial ports.  The goal is to upgrade some systems from
OpenBSD/pmax 2.1 to NetBSD/pmax 1.3.3.

Here are my changes to the configuration file and tc.options, followed
by the error messages during kernel build.  Any ideas would be
appreciated:

< options       MIPS3                   # R4000/R4400/R4600 CPUs
---
> #options      MIPS3                   # R4000/R4400/R4600 CPUs
17,18c17,18
< options       DS5000_25               # MAXINE (kn02ca/xine) support
< options       DS5000_100              # 3MIN (kn02ba/kmin) support
---
> #options      DS5000_25               # MAXINE (kn02ca/xine) support
> #options      DS5000_100              # 3MIN (kn02ba/kmin) support
24c24
< options       DDB                     # in-kernel debugger
---
> #options      DDB                     # in-kernel debugger
28c28
< options       "COMPAT_43"             # compatibility with 4.3BSD
binaries
---
> #options      "COMPAT_43"             # compatibility with 4.3BSD
binaries
32c32
< #options      SCSIVERBOSE             # Verbose SCSI errors
---
> options       SCSIVERBOSE             # Verbose SCSI errors
47c47
< file-system   LFS             # Log-based filesystem (still
experimental)
---
> #file-system  LFS             # Log-based filesystem (still
experimental)
49c49
< file-system   FDESC           # /dev/fd
---
> #file-system  FDESC           # /dev/fd
52c52
< file-system   PORTAL          # portal filesystem (still experimental)

---
> #file-system  PORTAL          # portal filesystem (still experimental)

134,135c134,135
< 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


tc.options:

< #cfb0 at tc?
< #mfb0 at tc?
< #sfb0 at tc?
---
> cfb0  at tc?
> mfb0  at tc?
> sfb0  at tc?
8c8
< #px0  at tc?
---
> px0   at tc?


error messages:

ld -Ttext 0x80030000 -T ../../../../arch/mips/conf/kern.ldscript -e
start -G 0 -x -o netbsd ${SYSTEM_OBJ} vers.o
dc.o: In function `dcrint':
../../../../arch/pmax/dev/dc.c(.text+0xf70): undefined reference to
`rcons_input'
../../../../arch/pmax/dev/dc.c(.text+0xf70): relocation truncated to
fit: R_MIPS_26 rcons_input
../../../../arch/pmax/dev/dc.c(.text+0xfa4): undefined reference to
`mouseInput'
../../../../arch/pmax/dev/dc.c(.text+0xfa4): relocation truncated to
fit: R_MIPS_26 mouseInput
dtop.o: In function `dtop_keyboard_handler':
../../../../arch/pmax/dev/dtop.c(.text+0x10d0): undefined reference to
`rcons_input'
../../../../arch/pmax/dev/dtop.c(.text+0x10d0): relocation truncated to
fit: R_MIPS_26 rcons_input
dtop.o: In function `dtop_keyboard_repeat':
../../../../arch/pmax/dev/dtop.c(.text+0x1260): undefined reference to
`rcons_input'
../../../../arch/pmax/dev/dtop.c(.text+0x1260): relocation truncated to
fit: R_MIPS_26 rcons_input
pm.o: In function `pmattach':
../../../../arch/pmax/dev/pm.c(.text+0x1dc): undefined reference to
`init_pmaxfbu'
../../../../arch/pmax/dev/pm.c(.text+0x1dc): relocation truncated to
fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/pm.c(.text+0x21c): undefined reference to
`fbconnect'
../../../../arch/pmax/dev/pm.c(.text+0x21c): relocation truncated to
fit: R_MIPS_26 fbconnect
xcfb.o: In function `xcfbinit':
../../../../arch/pmax/dev/xcfb.c(.text+0x1ac): undefined reference to
`init_pmaxfbu'
../../../../arch/pmax/dev/xcfb.c(.text+0x1ac): relocation truncated to
fit: R_MIPS_26 init_pmaxfbu
../../../../arch/pmax/dev/xcfb.c(.text+0x1f4): undefined reference to
`tb_kbdmouseconfig'
../../../../arch/pmax/dev/xcfb.c(.text+0x1f4): relocation truncated to
fit: R_MIPS_26 tb_kbdmouseconfig
../../../../arch/pmax/dev/xcfb.c(.text+0x20c): undefined reference to
`fbconnect'
../../../../arch/pmax/dev/xcfb.c(.text+0x20c): relocation truncated to
fit: R_MIPS_26 fbconnect
*** Error code 1

Stop.


--

Philip J. Tait.....AlliedSignal Engines, Phoenix, Az.....pjt@phxase.allied.com