Subject: MP Alphas running kernel code on secondary processor
To: None <ross@netbsd.org, cgd@netbsd.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-alpha
Date: 09/28/1998 14:46:46
Here's a quick status report on my work to support the second processor
on MP Alphas.  BIG BIG BIG thanks to Ross and Chris for insight and PALcode
help, and Chris for a theory that turned out to be correct that got me over
the last major hurdle!

(BTW, the cool part is at the end... that last "cpu1: .." printf was
actually executed by the secondary processor...)

Loading netbsd.thorpej...
2528272+265712 [85+128856+76781]

Entering netbsd.thorpej at 0xfffffc0000301070...
[ preserving 206624 bytes of netbsd symbol table ]
consinit: using prom console
Copyright (c) 1996, 1997, 1998
    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.3H (GENERIC.MP) #20: Mon Sep 28 12:32:15 PDT 1998
    thorpej@bishop:/tmp_mnt/dracul/u5/netbsd/src/sys/arch/alpha/compile/GENERIC.MP
AlphaServer 8200 Model EV56/440, 436MHz
8192 byte page size, 2 processors.
real mem = 2147483648 (2629632 reserved for PROM, 2144854016 used by NetBSD)
avail mem = 1878269952
using 26182 buffers containing 214482944 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: ID 8 (primary), 21164A (pass 2)
cpu1 at mainbus0: ID 9, 21164A (pass 2)
tlsb0 at mainbus0
tlsb0 node 4: Dual CPU, 4MB cache, VID 8 -> cpu
gbus0 at tlsb0 node 4: Dual CPU, 4MB cache
zsc at gbus0 offset 0x10000000 not configured
zsc at gbus0 offset 0x11000000 not configured
mcclock0 at gbus0 offset 0x20000000: mc146818 or compatible
tlsbmem0 at tlsb0 node 5: MS7CC Memory Module
kft0 at tlsb0 node 8: KFTIA I/O interface
dwlpx0 at kft0 hose 0: PCIA rev. 0, STD I/O not present, 32K S/G entries
pci0 at dwlpx0 bus 0
pci0: i/o enabled, memory enabled
isp0 at pci0 dev 0 function 0
isp0: Board Revision 1020, loaded F/W Revision 7.55
isp0: Last F/W revision was 2.10
isp0: interrupting at kn8ae irq 14 vector 0x8400 PCI Interrupt Pin A
scsibus0 at isp0: 16 targets
isp1 at pci0 dev 1 function 0
isp1: Board Revision 1020, loaded F/W Revision 7.55
isp1: interrupting at kn8ae irq 14 vector 0x8401 PCI Interrupt Pin A
scsibus1 at isp1: 16 targets
de0 at pci0 dev 2 function 0
de0: interrupting at kn8ae irq 14 vector 0x8402 PCI Interrupt Pin A
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:00:f8:24:ce:e1
de0: enabling 10baseT port
fpa0 at pci0 dev 3 function 0: DEC DEFPA PCI FDDI SAS Controller
fpa0: FDDI address 08:00:2b:b9:f7:5a, FW=3.10, HW=1, SMT V7.2
fpa0: FDDI Port = S (PMD = ANSI Multi-Mode)
fpa0: interrupting at kn8ae irq 14 vector 0x8403 PCI Interrupt Pin A
isp2 at pci0 dev 4 function 0
isp2: Board Revision 1020, loaded F/W Revision 7.55
isp2: interrupting at kn8ae irq 14 vector 0x8404 PCI Interrupt Pin A
scsibus2 at isp2: 16 targets
isp3 at pci0 dev 5 function 0
isp3: Board Revision 1020, loaded F/W Revision 7.55
isp3: interrupting at kn8ae irq 14 vector 0x8405 PCI Interrupt Pin A
scsibus3 at isp3: 16 targets
sd0 at scsibus3 targ 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd1 at scsibus3 targ 1 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd1: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd2 at scsibus3 targ 2 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd2: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
cd0 at scsibus3 targ 4 lun 0: <DEC, RRD45   (C) DEC, 0436> SCSI2 5/cdrom removable
de1 at pci0 dev 6 function 0
de1: interrupting at kn8ae irq 14 vector 0x8406 PCI Interrupt Pin A
de1: DEC 21040 [10Mb/s] pass 2.4
de1: address 00:00:f8:24:9f:2f
de1: enabling 10baseT port
dwlpx1 at kft0 hose 1: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci1 at dwlpx1 bus 0
pci1: i/o enabled, memory enabled
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci1 dev 3 function 0 not configured
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci1 dev 8 function 0 not configured
kft1 at tlsb0 node 7: KFTHA I/O interface
dwlpx2 at kft1 hose 2: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci2 at dwlpx2 bus 0
pci2: i/o enabled, memory enabled
de2 at pci2 dev 0 function 0
de2: interrupting at kn8ae irq 14 vector 0x8320 PCI Interrupt Pin A
de2: SMC 9332BDT 21140A [10-100Mb/s] pass 2.0
de2: address 00:00:c0:7f:a1:ef
de2: enabling 100baseTX port
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci2 dev 4 function 0 not configured
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci2 dev 8 function 0 not configured
dwlpx3 at kft1 hose 3: PCIA rev. 1, STD I/O not present, 32K S/G entries
pci3 at dwlpx3 bus 0
pci3: i/o enabled, memory enabled
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci3 dev 0 function 0 not configured
Essential Communications RoadRunner HIPPI Interface (ethernet network) at pci3 dev 4 function 0 not configured
kft2 at tlsb0 node 6: KFTHA I/O interface
dwlpx0: node 8 hose 0 error interrupt
        HPC 0: ERR=0x0000c001; DMA read from Memory, Failing Address 0x0
               Illegal CSR Address Error
               Nonexistent PCI Address Error
cpu1: processor ID 9 running
root on sd0a dumps on sd0b
de2: enabling Full Duplex 100baseTX port
root file system type: ffs
Enter pathname of shell or RETURN for sh:
Don't login as root, use the su command.
#