Subject: port-alpha/24506: AlphaServer 800 specific kernel config requires apecs*
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fair@netbsd.org>
List: netbsd-bugs
Date: 02/20/2004 13:10:47
>Number:         24506
>Category:       port-alpha
>Synopsis:       AlphaServer 800 specific kernel config requires apecs*
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 20 21:11:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Erik E. Fair
>Release:        NetBSD 1.6.2
>Organization:
The NetBSD Project
>Environment:
	
	
System: NetBSD digital.clock.org 1.6.2_RC4 NetBSD 1.6.2_RC4 (GENERIC) #0: Fri Jan 9 14:05:21 CET 2004 he@kveite.urc.uninett.no:/usr/users/he/build-1-6/obj/sys/arch/alpha/compile/GENERIC alpha
Architecture: alpha
Machine: alpha

[ using 560952 bytes of netbsd ELF symbol table ]
consinit: not using prom console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6.2_RC4 (GENERIC) #0: Fri Jan  9 14:05:21 CET 2004
    he@kveite.urc.uninett.no:/usr/users/he/build-1-6/obj/sys/arch/alpha/compile/GENERIC
DIGITAL Server 3000 Model 3305 6500A, 500MHz, s/n NI82407HTJ
8192 byte page size, 1 processor.
total memory = 512 MB
(2096 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 467 MB
using 3276 buffers containing 26208 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
isp0 at pci0 dev 5 function 0: QLogic 1020 Ultra Wide SCSI HBA
isp0: interrupting at dec_1000a irq 0
scsibus0 at isp0: 16 targets, 8 luns per target
vga0 at pci0 dev 6 function 0: S3 Trio32/64 (rev. 0x54)
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
pci_mem_find: void region
wsdisplay0 at vga0 (kbdmux ignored)
pceb0 at pci0 dev 7 function 0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x15)
Lucent Technologies product 0x5811 (Firewire serial bus, interface 0x10, revision 0x04) at pci0 dev 11 function 0 not configured
ppb0 at pci0 dev 13 function 0: Digital Equipment DECchip 21152 PCI-PCI Bridge (rev. 0x02)
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
tlp0 at pci1 dev 4 function 0: DECchip 21140A Ethernet, pass 2.2
tlp0: interrupting at dec_1000a irq 5
tlp0: Adaptec ANA-6944A, Ethernet address 00:00:92:a7:7c:04
nsphy0 at tlp0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp1 at pci1 dev 5 function 0: DECchip 21140A Ethernet, pass 2.2
tlp1: sharing interrupt with tlp0
tlp1: Adaptec ANA-6944A, Ethernet address 00:00:92:a7:7c:05
nsphy1 at tlp1 phy 1: DP83840 10/100 media interface, rev. 1
nsphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp2 at pci1 dev 6 function 0: DECchip 21140A Ethernet, pass 2.2
tlp2: sharing interrupt with tlp0
tlp2: Adaptec ANA-6944A, Ethernet address 00:00:92:a7:7c:06
nsphy2 at tlp2 phy 1: DP83840 10/100 media interface, rev. 1
nsphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlp3 at pci1 dev 7 function 0: DECchip 21140A Ethernet, pass 2.2
tlp3: sharing interrupt with tlp0
tlp3: Adaptec ANA-6944A, Ethernet address 00:00:92:a7:7c:07
nsphy3 at tlp3 phy 1: DP83840 10/100 media interface, rev. 1
nsphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isp1 at pci0 dev 14 function 0: QLogic 1080 Ultra-2 Wide SCSI HBA
isp1: interrupting at dec_1000a irq 7
scsibus1 at isp1: 16 targets, 8 luns per target
eisa0 at pceb0
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
lpt0 at isa0 port 0x3bc-0x3bf irq 7
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <IBM, DGHS09Y, 03E0> SCSI3 0/direct fixed
sd0: 8748 MB, 8152 cyl, 10 head, 219 sec, 512 bytes/sect x 17916240 sectors
sd0: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <IBM-PSG, DRHS36D       !#, 0272> SCSI3 0/direct fixed
sd1: 34715 MB, 11494 cyl, 20 head, 309 sec, 512 bytes/sect x 71096640 sectors
sd1: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 2 lun 0: <IBM-PSG, DRHS36D       !#, 0272> SCSI3 0/direct fixed
sd2: 34715 MB, 11494 cyl, 20 head, 309 sec, 512 bytes/sect x 71096640 sectors
sd2: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
sd3 at scsibus0 target 3 lun 0: <IBM-PSG, DRHS36D       !#, 0272> SCSI3 0/direct fixed
sd3: 34715 MB, 11494 cyl, 20 head, 309 sec, 512 bytes/sect x 71096640 sectors
sd3: sync (50.0ns offset 8), 16-bit (40.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 4 lun 0: <DEC, RRD46   (C) DEC, 1337> SCSI2 5/cdrom removable
cd0: sync (100.0ns offset 8), 8-bit (10.000MB/s) transfers
scsibus1: waiting 2 seconds for devices to settle...
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: mclpool limit reached; increase NMBCLUSTERS

>Description:
	The DEC AlphaServer 800 (nee DigitalServer 3300) has a cia* for PCI
	bus, but not an apecs*. However, when you eliminate apecs* from the
	kernel config and attempt to compile, the final link fails with:

	ld -N -Ttext fffffc0000300000 -e __transfer -G 4 -S -o netbsd ${SYSTEM_OBJ} vers.o
	dec_1000a.o: In function `dec_1000a_cons_init':
	dec_1000a.o(.text+0x190): undefined reference to `apecs_configuration'
	dec_1000a.o(.text+0x1a0): undefined reference to `apecs_init'
	dec_1000a.o(.text+0x1a4): undefined reference to `apecs_init'
	*** Error code 1

	Stop.
	make: stopped in /usr/obj/sys/arch/alpha/compile/DS3305

>How-To-Repeat:
	Take GENERIC or ALPHA, and edit down to just the devices you have.
	Attempt to compile kernel.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: