Subject: port-sparc/8178: cgtwo and cgsix always require sbus
To: None <gnats-bugs@gnats.netbsd.org>
From: None <j.d.coleman@newcastle.ac.uk>
List: netbsd-bugs
Date: 08/09/1999 03:10:47
>Number: 8178
>Category: port-sparc
>Synopsis: sparc kernel will not build with cgtwo/cgsix but without sbus
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-sparc-maintainer (NetBSD/sparc Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 9 02:05:01 1999
>Last-Modified:
>Originator: Julian Coleman
>Organization:
Computing Service, University of Newcastle upon Tyne, UK
>Release: NetBSD-current 1999 Aug 09 <NetBSD-current source date>
>Environment:
System: NetBSD aire.ncl.ac.uk 1.4 NetBSD 1.4 (AIRE) #1: Tue Jun 22 16:34:55 BST 1999 root@aire.ncl.ac.uk:/usr/src-1.4/sys/arch/sparc/compile/AIRE sparc
>Description:
A kernel configured with :
#### Bus types found on SPARC systems.
#sbus0 at mainbus0 # sun4c
obio0 at mainbus0 # sun4 and sun4m
sparcvme0 at mainbus0 # sun4
#iommu0 at mainbus0 # sun4m
#sbus0 at iommu0 # sun4m
#sparcvme0 at iommu0 # sun4m
vme0 at sparcvme0 # mi VME attachment
and :
## Sun "cgtwo" VME color framebuffer
cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
## Sun "cgsix" accelerated color framebuffer.
#cgsix0 at sbus? slot ? offset ?
#cgsix* at sbus? slot ? offset ?
cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
#cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
will fail to compile :
ld -Ttext F0004000 -e start -n -X -o netbsd ${SYSTEM_OBJ} vers.o
bwtwo.o: In function `bwtwoattach_sbus':
bwtwo.o(.text+0x2c8): undefined reference to `sbus_establish'
cgsix_obio.o: In function `cgsixattach':
cgsix_obio.o(.text+0x98): undefined reference to `cgsix_sbus_ca'
cgsix_obio.o(.text+0x9c): undefined reference to `cgsix_sbus_ca'
*** Error code 1
Stop.
There don't appear to be problems with bwtwo0 and cgeight0.
>How-To-Repeat:
Try to build a kernel with the above combination of options.
>Fix:
Unknown.
>Audit-Trail:
>Unformatted: