Subject: Alpha 8400 support...
To: None <port-alpha@netbsd.org>
From: None <ragge@ludd.luth.se>
List: port-alpha
Date: 09/11/2004 17:53:39
Hi,

I just tried to boot NetBSD on an 8400, but with not so good result,
so I need some hints from Alpha experts :-)

First:  How do I enable Control-P on the console?  It feels sad to
have to power-recycle the machine each time it hangs...

The do not support any devices that NetBSD can use as root file system,
does someone have any hints about how I could set it up in a simple
way to not have to write a CD each time I testboot a kernel? :-)

Anyway, sho config says:

P00>>>sho config

        Name                  Type      Ext   Rev  Mnemonic
  TLSB
  0++   KN7CE-AB              8014        0  0000  kn7ce-ab0 
  7+    MS7CC                 5000        0  0000  ms7cc0
  8+    KFTHA                 2000        0  0000  kftha0
    
  C0 XMI connected to kftha0                       xmi0
  8+    DWLMA                 102A        0  0205  dwlma0
  B+    CIXCD                  C2F        0  2711  cixcd0
  D+    CIXCD                  C2F        0  2711  cixcd1
  E+    KZMSA                  C36        0  5356  kzmsa0

  C1 PCI connected to kftha0                       pci0

When trying to boot it says:

P00>>>boot dka400
(boot dka400.4.0.14.0 -flags 2,0)
SRM boot identifier: scsi 0 14 0 4 400 102a 0c36
boot adapter: kzmsa0  rev 5356 in bus slot 14 off of kftha0 in TLSB slot 8
block 0 of dka400.4.0.14.0 is a valid boot block
reading 14 blocks from dka400.4.0.14.0
bootstrap code read in
Building FRU table.......
FRU table size = 1eae(7854)
base = 200000, image_start = 0, image_bytes = 1c00
initializing HWRPB at 2000
initializing page table at 1f0000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code

NetBSD/alpha 1.6.2_RC4 ISO 9660 Primary Bootstrap
Jumping to entry point...

NetBSD/alpha 1.6.2_RC4 Secondary Bootstrap, Revision 1.13
(he@spurv.urc.uninett.no, Mon Feb  9 14:12:45 CET 2004)

VMS PAL rev: 0x10000100010115
OSF PAL rev: 0x10000100020117
Switch to OSF PAL code succeeded.

Boot flags: 2,0
open netbsd: No such file or directory
open netbsd.gz: No such file or directory
open netbsd.bak: No such file or directory
open netbsd.bak.gz: No such file or directory
open netbsd.old: No such file or directory
open netbsd.old.gz: No such file or directory
open onetbsd: No such file or directory
open onetbsd.gz: No such file or directory
8091592+227072=0x7ef208

Entering netbsd.alpha at 0xfffffc0000301290...
Unrecognized boot flag '2'.
Unrecognized boot flag ','.
Unrecognized boot flag '0'.
[ netbsd ELF symbol table not valid ]
[ no symbol table formats found ]
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 (INSTALL) #2: Mon Feb  9 10:20:40 CET 2004
    he@spurv.urc.uninett.no:/usr/obj/sys/arch/alpha/compile/INSTALL
AlphaServer 8400 5/440, 437MHz, s/n ga24627652
8192 byte page size, 2 processors.
total memory = 1024 MB
(2720 KB reserved for PROM, 1021 MB used by NetBSD)
avail memory = 941 MB
using 6549 buffers containing 52392 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2
cpu0: Architecture extensions: 1<BWX>
cpu1 at mainbus0: ID 1, 21164A-2
cpu1: processor off-line; multiprocessor support not present in kernel
tlsb0 at mainbus0
tlsb0 node 0: Dual CPU, 4MB cache
gbus0 at tlsb0 node 0: 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 7: MS7CC Memory Module
kft0 at tlsb0 node 8: KFTHA I/O interface
dwlpx0 at kft0 hose 0
SYSFAULT CPU1 - pc = 0006a624

exception context saved starting at 00111B30

GPRs:
  0: 00000000 0003FC44  16: 00000000 00000011
  1: 00000000 0006B2D0  17: 00000000 0516B85C
  2: 00000000 00061E70  18: 00000000 0516B85D
  3: 00000000 00000001  19: 00000000 0000001F
  4: 00000000 00005D20  20: 00000000 00400303
  5: 00000000 0006B6C0  21: 00000000 00406060
  6: 00000000 000200F8  22: 00000000 0006B6C0
  7: 00000000 000205F0  23: 00000000 0000001F
  8: 00000000 0011483C  24: 00000000 00000012
  9: 00000000 00000000  25: 00000000 00000001
 10: 00000000 00000000  26: 00000000 0006A624
 11: 00000000 00000000  27: 00000000 0006B260
 12: 00000000 00000000  28: 00000000 00022BD4
 13: 00000000 00000000  29: 00000000 00111C70
 14: 00000000 00000000  30: 00000000 00111C70
 15: 00000000 00000000


Overlay name                       memadr   topadr    size   ref
turbo                               20000    7fe00  392704  0
ashshell                            abee0    acce0    3584  2
eeprom                              9a080    a2480   33792  2
environ                             a24a0    a7aa0   22016  2
flash                               97260    9a060   11776  2
phase3                              a7ac0    abec0   17408  2
boot                                7fe20    8a220   41984  2
xmi                                 d5fa0    d77a0    6144  1
pci                                 bb540    c5b40   42496  3
scsi                                8a240    8f440   20992  3
dump of active call frames:

PC  =  0006A624
PD  =  00061E70       Processor Machine Check (670), Code 0x10000fffa
	PAL temp[0-1]		= 0x               0 0x               0
	PAL temp[2-3]		= 0xfffffc0000300484 0x            5200
	PAL temp[4-5]		= 0xfffffc000052d900 0xfffffc000052d940
	PAL temp[6-7]		= 0xfffffc000052d9a0 0xfffffc0000300390
	PAL temp[8-9]		= 0x1f1e161514020100 0xfffffc000030041c
	PAL temp[10-11]		= 0xfffffc0000529a5c 0xfffffc00003003c0
	PAL temp[12-13]		= 0xfffffc0000300360 0x      5555400000
	PAL temp[14-15]		= 0x               0 0x       6440585d9
	PAL temp[16-17]		= 0x      9806700001 0x               0
	PAL temp[18-19]		= 0x               0 0xfffffc0000af3a68
	PAL temp[20-21]		= 0x          c2a000 0xfffffc00003003ec
	PAL temp[22-23]		= 0xfffffc0000aa7230 0x          af0000
	shadow[0-1]			= 0x               0 0x               0
	shadow[2-3]			= 0x               0 0x               0
	shadow[4-5]			= 0x               0 0x               0
	shadow[6-7]			= 0x               0 0x               0

        Excepting Instruction Addr     = 0xfffffc0000529a5c
        Summary of arithmetic traps    = 0x0000000000000000
        Exception mask                 = 0x0000000000000000
        Base address for PALcode       = 0x0000000000018000
        Interrupt Status Reg           = 0x0000000040400000
        Current setup of EV5 IBOX      = 0x0000006160020000
        I-CACHE Reg Tag parity error   = 0x0000000000002000
        D-CACHE error Reg              = 0x0000000000000000
        Effective VA                   = 0xfffffe0000157f80
        Reason for D-stream            = 0x0000000000014850
        EV5 SCache address             = 0xffffff000001d32f
        EV5 SCache TAG/Data parity     = 0x0000000000000000
        EV5 BC_TAG_ADDR                = 0xffffff80000f1fff
        EV5 EI_ADDR Phys addr of Xfer  = 0xffffff000080315f
        Fill Syndrome                  = 0x0000000000009000
        ei_stat reg                    = 0xfffffff005ffffff
        ld_lock                        = 0xffffff0000ae71cf

unexpected machine check:

    mces    = 0x1
    vector  = 0x660
    param   = 0xfffffc0000005690
    pc      = 0xfffffc0000529a5c
    ra      = 0xfffffc0000529a24
    code    = 0x10000fffa
    curproc = 0xfffffc0000adb290
        pid = 0, comm = swapper

panic: machine check
Stopped in pid 0 (swapper) at   0xfffffc0000564324:     ret     zero,(ra)
db> 
db> 
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
>0                 -1          0          0 7 0x20204          swapper
db> trace
db> c
halted.

Then it just hangs.

If someone could give me a hint about what to do now I would be happy :-)

-- Ragge