Subject: NetBSD on AlphaServer ES40
To: None <port-alpha@netbsd.org>
From: Ray Phillips <r.phillips@jkmrc.uq.edu.au>
List: port-alpha
Date: 05/23/2003 16:47:32
Dear port-alpha:

Recently I had access to an ES40 for a few hours and thought you'd 
like to hear what happened when I installed NetBSD on it (1.6T 
compiled from source cvs-updated on 25 May).

There wasn't enough time to give it a significant task like building 
a release from source but I ran lmbench.

I'll append what I have to this email--I expect a lot of it will mean 
much more to you than me.


Ray


SRM info
--------

  SROM V2.0 CPU # 00 @  0500  MHz
SROM program starting
Reloading SROM

  SROM V2.12-F CPU # 00 @  0667  MHz
SROM program starting
Starting secondary on CPU #1
Bcache data tests in progress
Bcache address test in progress
CPU parity and ECC detection in progress
Bcache ECC data tests in progress
Bcache TAG lines tests in progress
Memory sizing in progress
Memory configuration in progress
Memory data test in progress
Memory address test in progress
Memory pattern test in progress
Memory thrashing test in progress
Memory initialization
Loading console
Code execution complete (transfer control)


OpenVMS PALcode V1.96-103, Tru64 UNIX PALcode V1.90-104

starting console on CPU 0
initialized idle PCB
initializing semaphores
initializing heap
initial heap 240c0
memory low limit = 1ae000 heap = 240c0, 17fc0
initializing driver structures
initializing idle process PID
initializing file system
initializing hardware
initializing timer data structures
lowering IPL
CPU 0 speed is 667 MHz
create dead_eater
create poll
create timer
create powerup
access NVRAM
Memory size 2048 MB
testing memory
...
probe I/O subsystem
probing hose 1, PCI
probing PCI-to-PCI bridge, hose 1 bus 2
bus 0, slot 3 -- mca -- DEC PCI MC
bus 2, slot 4 -- eia -- DE602-AA
bus 2, slot 5 -- eib -- DE602-AA
probing hose 0, PCI
probing PCI-to-PCI bridge, hose 0 bus 2
probing PCI-to-ISA bridge, bus 1
bus 0, slot 1 -- pka -- NCR 53C895
bus 0, slot 3 -- mcb -- DEC PCI MC
bus 2, slot 4 -- eic -- DE602-AA
bus 2, slot 5 -- eid -- DE602-AA
bus 0, slot 15 -- dqa -- Acer Labs M1543C IDE
bus 0, slot 15 -- dqb -- Acer Labs M1543C IDE
starting drivers
entering idle loop
starting console on CPU 1
initialized idle PCB
initializing idle process PID
lowering IPL
CPU 1 speed is 667 MHz
create powerup
Partition 0, Memory base: 000000000, size: 080000000
initializing GCT/FRU at 1cc000
Initializing pka dqa dqb eic eid eia eib
Memory Testing and Configuration Status
   Array       Size       Base Address    Intlv Mode
---------  ----------  ----------------  ----------
     0       2048Mb     0000000000000000    1-Way

      2048 MB of System Memory
Testing the System
Testing the Disks (read only)
Testing the Network
AlphaServer ES40 Console V6.3-2, built on Aug 14 2002 at 07:23:58
P00>>>
P00>>>
P00>>>show dev
dka0.0.0.1.0               DKA0              COMPAQ BF01863644  3B05
dka100.1.0.1.0             DKA100            COMPAQ BF01863644  3B05
dka200.2.0.1.0             DKA200            COMPAQ BF01863644  3B05
dka300.3.0.1.0             DKA300            COMPAQ BF01863644  3B05
dqa0.0.0.15.0              DQA0             Compaq   CRD-8402B  1.03   
dva0.0.0.1000.0            DVA0                              
eia0.0.0.2004.1            EIA0              00-02-A5-5C-1F-3C
eib0.0.0.2005.1            EIB0              00-02-A5-5C-1F-3D
eic0.0.0.2004.0            EIC0              00-02-A5-5C-3D-F0
eid0.0.0.2005.0            EID0              00-02-A5-5C-3D-F1
pka0.7.0.1.0               PKA0                  SCSI Bus ID 7
P00>>>show mem
   Array       Size       Base Address    Intlv Mode
---------  ----------  ----------------  ----------
     0       2048Mb     0000000000000000    1-Way

      2048 MB of System Memory
P00>>>show config
                            hp AlphaServer ES40

Firmware
SRM Console:    V6.3-2
ARC Console:    v5.71
PALcode:        OpenVMS PALcode V1.96-103, Tru64 UNIX PALcode V1.90-104
Serial ROM:     V2.12-F 
RMC ROM:        V1.0
RMC Flash ROM:  V2.7

Processors
CPU 0           Alpha EV67 pass 2.6 666 MHz  8MB Bcache
CPU 1           Alpha EV67 pass 2.6 666 MHz  8MB Bcache

Core Logic
Cchip           DECchip 21272-CA Rev 9(C4)
Dchip           DECchip 21272-DA Rev 2
Pchip 0         DECchip 21272-EA Rev 2
Pchip 1         DECchip 21272-EA Rev 2
TIG             Rev 10

Memory
   Array       Size       Base Address    Intlv Mode
---------  ----------  ----------------  ----------
     0       2048Mb     0000000000000000    1-Way

      2048 MB of System Memory

  Slot   Option                  Hose 0, Bus 0, PCI
    1    NCR 53C895              pka0.7.0.1.0            SCSI Bus ID 7
                                 dka0.0.0.1.0            COMPAQ BF01863644
                                 dka100.1.0.1.0          COMPAQ BF01863644
                                 dka200.2.0.1.0          COMPAQ BF01863644
                                 dka300.3.0.1.0          COMPAQ BF01863644
    3    DEC PCI MC              mcb0.0.0.3.0            Rev: 23, mcb0
    4    DECchip 21154-AA                                Bridge to Bus 2, PCI
    7    Acer Labs M1543C                                Bridge to Bus 1, ISA
   15    Acer Labs M1543C IDE    dqa.0.0.15.0       
                                 dqb.0.1.15.0       
                                 dqa0.0.0.15.0           Compaq   CRD-8402B
   19    Acer Labs M1543C USB                       

         Option                  Hose 0, Bus 1, ISA
         Floppy                  dva0.0.0.1000.0    

  Slot   Option                  Hose 0, Bus 2, PCI
    4    DE602-AA                eic0.0.0.2004.0         00-02-A5-5C-3D-F0
    5    DE602-AA                eid0.0.0.2005.0         00-02-A5-5C-3D-F1

  Slot   Option                  Hose 1, Bus 0, PCI
    3    DEC PCI MC              mca0.0.0.3.1            Rev: 23, mca0
    4    DECchip 21154-AA                                Bridge to Bus 2, PCI

  Slot   Option                  Hose 1, Bus 2, PCI
    4    DE602-AA                eia0.0.0.2004.1         00-02-A5-5C-1F-3C
    5    DE602-AA                eib0.0.0.2005.1         00-02-A5-5C-1F-3D
P00>>>
P00>>>show fru
FRUname         E  Part#              Serial#    Model/Other Alias/Misc
SMB0            00 54-25385-01.E07     AY03607701                            
SMB0.CPU0       80 54-30362-01.D01     AY13000740                            
SMB0.CPU1       80 54-30362-01.D01     AY00415397                            
SMB0.MMB0       00 54-25582-01.B05     AY04300911                            
SMB0.MMB0.DIM1  00 20-01ESA-08         007dc115   29          ce             
SMB0.MMB0.DIM2  00 20-01ESA-08         007dc015   29          ce             
SMB0.MMB1       00 54-25582-01.B05     AY04300677                            
SMB0.MMB1.DIM1  00 20-01ESA-08         007dc515   29          ce             
SMB0.MMB1.DIM2  00 20-01ESA-08         007dc415   29          ce             
SMB0.MMB2       00 54-25582-01.B05     AY04300678                            
SMB0.MMB3       00 54-25582-01.B05     AY04812513                            
SMB0.CPB0       00 54-30156-01.D03     AY04500512                            
JIO0            00 54-25575-01        -          Junk I/O                   
SMB0.CPB0.PCI1  00 NCR 53C895                                               
SMB0.CPB0.PCI3  00 CCMAB-AA:C04       ay05008551 54-24962-0  AYO            
SMB0.CPB0.PCI4  00 DECchip 21154-AA                                         
SMB0.CPB0.PCI7  00 CCMAB-AA:C04       ay04211728 54-24962-0  AYO            
SMB0.CPB0.PCI8  00 DECchip 21154-AA                                         
OCP0            00 70-33894-0x        -          OCP                        
PWR0            00 30-49448-01. C06    2P02443915 API-7650    7f             
PWR1            00 30-49448-01. C06    2P02443904 API-7650    7f             
PWR2            00 30-49448-01. C06    2P11856241 API-7650    7f             
FAN1            00 70-40073-01        -          Fan                        
FAN2            00 70-40073-01        -          Fan                        
FAN3            00 70-40072-01        -          Fan                        
FAN4            00 70-40071-01        -          Fan                        
FAN5            00 70-40073-02        -          Fan                        
FAN6            00 70-40074-01        -          Fan                        


Single-CPU Kernel Boot
----------------------

P00>>>b dka0
(boot dka0.0.0.1.0 -flags A)
block 0 of dka0.0.0.1.0 is a valid boot block
reading 15 blocks from dka0.0.0.1.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1e00(7680)
initializing HWRPB at 2000
initializing page table at 3fd56000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 1.6T FFS Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 1.6T Secondary Bootstrap, Revision 1.13
(root@pws500.jkmrc.uq.edu.au, Tue May 20 23:34:13 EST 2003)

VMS PAL rev: 0x4006700010160
OSF PAL rev: 0x400680002015a
Switch to OSF PAL code succeeded.

Boot flags: A
6693472+374872 [397392+239784]=0x7597f0

Entering netbsd at 0xfffffc00003012e0...
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.6T (GENERIC) #0: Wed May 21 00:32:44 EST 2003
 
root@pws500.jkmrc.uq.edu.au:/usr2/cvs-20-05-03/obj/usr2/cvs-20-05-03/srC
AlphaServer ES40, 666MHz, s/n S304600034
8192 byte page size, 2 processors.
total memory = 2048 MB
(4800 KB reserved for PROM, 2043 MB used by NetBSD)
avail memory = 1895 MB
using 13090 buffers containing 102 MB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21264A-14
cpu0: Architecture extensions: 307<PAT,MVI,CIX,FIX,BWX>
cpu1 at mainbus0: ID 1, 21264A-14
cpu1: processor off-line; multiprocessor support not present in kernel
tsc0 at mainbus0: 21272 Core Logic Chipset, Cchip rev 0
tsc0: 8 Dchips, 2 memory buses of 32 bytes
tsc0: arrays present: 2048MB, 0MB, 0MB, 0MB, Dchip 0 rev 1
tsp0 at tsc0
pci0 at tsp0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
siop0 at pci0 dev 1 function 0: Symbios Logic 53c895 (ultra2-wide scsi)
siop0: using on-board RAM
siop0: interrupting at dec 6600 irq 8
scsibus0 at siop0: 16 targets, 8 luns per target
Digital Equipment product 0x0018 (miscellaneous network, revision 
0x23) at pci0d
ppb0 at pci0 dev 4 function 0: Digital Equipment DECchip 21154 
PCI-PCI Bridge ()
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
fxp0 at pci1 dev 4 function 0: i82558 Ethernet, rev 5
fxp0: interrupting at dec 6600 irq 20
fxp0: Ethernet address 00:02:a5:5c:3d:f0
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1 at pci1 dev 5 function 0: i82558 Ethernet, rev 5
fxp1: interrupting at dec 6600 irq 21
fxp1: Ethernet address 00:02:a5:5c:3d:f1
inphy1 at fxp1 phy 1: i82555 10/100 media interface, rev. 0
inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
sio0 at pci0 dev 7 function 0: Acer Labs M1543 PCI-ISA Bridge (rev. 0xc3)
pciide0 at pci0 dev 15 function 0: Acer Labs M5229 UDMA IDE 
Controller (rev. 0x)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
atapibus0 at pciide0 channel 0: 2 targets
cd0 at atapibus0 drive 0: <Compaq  CRD-8402B, 2000/05/10, 1.03> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: primary channel interrupting at isa irq 14
cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
ohci0 at pci0 dev 19 function 0: Acer Labs M5237 USB Host Controller 
(rev. 0x03)
ohci0: interrupting at isa irq 10
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
isa0 at sio0
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
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
tsp1 at tsc0
pci2 at tsp1 bus 0
pci2: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
Digital Equipment product 0x0018 (miscellaneous network, revision 
0x23) at pci2d
ppb1 at pci2 dev 4 function 0: Digital Equipment DECchip 21154 
PCI-PCI Bridge ()
pci3 at ppb1 bus 2
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
fxp2 at pci3 dev 4 function 0: i82558 Ethernet, rev 5
fxp2: interrupting at dec 6600 irq 36
fxp2: Ethernet address 00:02:a5:5c:1f:3c
inphy2 at fxp2 phy 1: i82555 10/100 media interface, rev. 0
inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp3 at pci3 dev 5 function 0: i82558 Ethernet, rev 5
fxp3: interrupting at dec 6600 irq 37
fxp3: Ethernet address 00:02:a5:5c:1f:3d
inphy3 at fxp3 phy 1: i82555 10/100 media interface, rev. 0
inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
stray isa irq 10
stray isa irq 10
stray isa irq 10
stray isa irq 10
stray isa irq 10; stopped logging
uhub0: port 3, device disappeared after reset
sd0 at scsibus0 target 0 lun 0: <COMPAQ, BF01863644, 3B05> disk fixed
sd0: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 1 lun 0: <COMPAQ, BF01863644, 3B05> disk fixed
sd1: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd1: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd2 at scsibus0 target 2 lun 0: <COMPAQ, BF01863644, 3B05> disk fixed
sd2: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd2: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd3 at scsibus0 target 3 lun 0: <COMPAQ, BF01863644, 3B05> disk fixed
sd3: 17365 MB, 7001 cyl, 20 head, 254 sec, 512 bytes/sect x 35565080 sectors
sd3: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
sd1: no disk label
sd2: no disk label
sd3: no disk label
root on sd0a dumps on sd0b
root file system type: ffs
Tue May 20 16:07:05 GMT 2003
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0a: file system is clean; not checking
/dev/rsd0d: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: es40.jkmrc.uq.edu.au
IPv6 mode: host
Configuring network interfaces:.
writing to routing socket: Network is unreachable
add net default: gateway 192.168.37.30: Network is unreachable
Building databases...
Starting syslogd.
Checking for core dump...
savecore: no core dump
May 20 16:07:10 es40 /netbsd: stray isa irq 10
May 20 16:07:10 es40 last message repeated 3 times
May 20 16:07:10 es40 /netbsd: stray isa irq 10; stopped logging
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Tue May 20 16:07:11 GMT 2003
May 20 16:07:11 es40 /netbsd: stray isa irq 10
May 20 16:07:11 es40 last message repeated 3 times
May 20 16:07:11 es40 /netbsd: stray isa irq 10; stopped logging

NetBSD/alpha (es40.jkmrc.uq.edu.au) (console)

login:


MP Kernel Boot
--------------

P00>>>b dka0 -fi netbsd.mp
(boot dka0.0.0.1.0 -file netbsd.mp -flags A)
block 0 of dka0.0.0.1.0 is a valid boot block
reading 15 blocks from dka0.0.0.1.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1e00(7680)
initializing HWRPB at 2000
initializing page table at 3fd56000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 1.6T FFS Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 1.6T Secondary Bootstrap, Revision 1.13
(root@pws500.jkmrc.uq.edu.au, Tue May 20 23:34:13 EST 2003)

VMS PAL rev: 0x4006700010160
OSF PAL rev: 0x400680002015a
Switch to OSF PAL code succeeded.

Boot file: netbsd.mp
Boot flags: A
|
Boot failed!  Halting...

halted CPU 0

halt code = 5
HALT instruction executed
PC = 20004048       
P00>>>