Subject: Corrupted SRM
To: None <port-alpha@netbsd.org>
From: Ray Phillips <r.phillips@mailbox.uq.edu.au>
List: port-alpha
Date: 10/01/2001 00:21:13
Dear NetBSD/alpha:

I've acquired a used Alpha Station 200 4/166 which came with DU 3.2 on its
disk (for which I don't have the log on details), but without any
documentation.

At power on it printed a sequence of letters and numbers before the SRM >>>
prompt, and when I typed 'b' it booted into DU.  Using any other command
produced the response "Console is secure. Please log in."  I didn't know
how to, so I resorted to open circuiting the button battery on the
motherboard for a minute.  (Is there another way to get out of the secure
mode?)

Unfortunately, I decided to upgrade the firmware.  I used

 http://ftp.digital.com/pub/DEC/Alpha/firmware/readmes/v6.0/alpha200/as200_v7_0.
exe

which I wrote to a DAT tape using

    mkbootfirm as200_v7_0.exe | dd of=/dev/nrmt0h bs=512

then I then booted from it, and ran the update utility as shown in the
listing at the end of this message.  There didn't appear to be a problem
until I cycled power to the machine, but then the never-ending listing of
registry contents (?) and errors began.

Is it possible to recover from this situation?


Ray Phillips


>>>
>>>ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.
ef.df.ee.ed.ec.f4.eb.....ea.e9.e8.e7.e6.e5.
v6.0-943, built on Feb  7 1996 at 12:03:04
>>>show dev
dka0.0.0.6.0               DKA0                          RZ26F  1Q0A
dka400.4.0.6.0             DKA400                        RRD45  1645
dva0.0.0.0.1               DVA0
mka300.3.0.6.0             MKA300                    HP C1537A  L907
ewa0.0.0.11.0              EWA0              08-00-2B-E7-B5-17
pka0.7.0.6.0               PKA0                  SCSI Bus ID 7
>>>b mka300
(boot mka300.3.0.6.0 -flags 0)
boot block format for mka300.3.0.6.0
record 0 of mka300.3.0.6.0 is a valid boot block
2210 records read
bootstrap code read in
base = 13a000, image_start = 0, image_bytes = 114400
initializing HWRPB at 2000
initializing page table at 12c000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
ff.fe.fd.fc.fb.fa.f9.f8.f7.f6.f5.
ef.df.ee.ed.ec.f4.eb.ea.
TIMER_TPS environment variable invalid
Defaulting to 1mS per tick
e9.e8.e7.....e5.
V7.0-9, built on Mar 18 1999 at 13:41:11
>>>(boot pmem:180000 -flags unit=1)
bootstrap code read in
base = 180000, image_start = 0, image_bytes = 800000
initializing HWRPB at 2000
initializing page table at 7fc000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
APU-E Manufacturing Header Incorrect

        ***  AlphaStation 200 4/166 -- Firmware Update   ***

        Use HELP or ? for help

Update
Verify
List
Show
DEbug
NDebug
?
Apu-> Update
APU-I ARE YOU READY TO PROGRAM (SRM  ) ROM DEVICE ? (Y/N) y
APU-I PRECHARGING (SRM  ) ROM DEVICE
APU-I ERASING (SRM  ) ROM DEVICE
APU-I PROGRAMMING (SRM  ) ROM DEVICE
APU-I VERIFY LOADED (SRM  ) ROM IMAGE
APU-I VERIFY LOADED (SRM  ) ROM IMAGE DONE
APU-I PROGRAMMING (SRM  ) ROM COMPLETED
Apu-> Verify
SRM   ROM verify successful
Apu-> List
ROM devices supported:  28F020 Intel/Amd Flash Memory
Apu-> Show
*** ROM: SRM
Firmware    = AVANTI_SRM
Version     = v7.0-9
Apu-> exit


    ...Please Cycle System Power ...


R8  =  00129D7C
R9  =  000EBE50
R10 =  000EBEC0
R11 =  000EBEE0
R12 =  00000000
R13 =  00129AE8
R14 =  00000001
R15 =  000D1954
R29 =  0002A5D0

PC  =  00069A08
PD  =  000EBEE8
FP  =  0002A5D0
SP  =  0002A430

R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R29 saved starting at 0002A740

R2  =  000F7B20
R3  =  00129CE0
R4  =  000D9FD0
R5  =  82810000
R6  =  00129CE0
R7  =  00000000
R8  =  00000274
R9  =  000D1C28
R10 =  00106E58
R11 =  00000001
R29 =  0002A7A0

PC  =  000A3854
PD  =  000F7B20
FP  =  0002A7A0
SP  =  0002A600

R2 R3 R4 R29 saved starting at 0002A7C8

R2  =  000EB520
R3  =  00000001
R4  =  000D1914
R29 =  0002A7F0

PC  =  00064760
PD  =  000EB520
FP  =  0002A7F0
SP  =  0002A650

R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R29 saved starting at 0002A8D8

R2  =  000E6258
R3  =  00000005
R4  =  000D0728
R5  =  000D089C
R6  =  0000001F
R7  =  000D0E78
R8  =  00000001
R9  =  00000000
R10 =  00000000
R11 =  00000000
R12 =  00000000
R13 =  00000000
R14 =  00000000
R15 =  00000000
R29 =  0002A960

PC  =  000A3770
PD  =  000F7B98
FP  =  0002A960
SP  =  0002A7C0

R29 saved starting at 0002A968

R29 =  0002A980

PC  =  00049780
PD  =  000E6258
FP  =  0002A980
SP  =  0002A7E0

R2 R3 R4 R5 R6 R29 saved starting at 0002A988

R2  =  000EAAC0
R3  =  000D18C4
R4  =  00038838
R5  =  00800000
R6  =  00000000
R29 =  0002AA20

PC  =  00062A38
PD  =  000EAAC0
FP  =  0002AA20
SP  =  0002A820

R2 R3 R4 R5 R6 R7 R8 R29 saved starting at 0002AA60

R2  =  000EB9B0
R3  =  00028900
R4  =  00028AD0
R5  =  00000000
R6  =  00000000
R7  =  00000000
R8  =  00000000
R29 =  0002AAB0

PC  =  00068300
PD  =  000EB9B0
FP  =  0002AAB0
SP  =  0002A8B0

R2 R3 R4 R29 saved starting at 0002AAB8

R2  =  00000000
R3  =  00000000
R4  =  00000000
R29 =  00000000

ff.halt code = 5
HALT instruction executed
PC = 11083c
fe.fd.fc.fb.fa.f9.f8.breakpoint at PC 110940 desired, XDELTA not loaded
f7.f6.f5.
ef.df.ee.ed.ec.f4.eb.ea.e9.e8.e7.e6.insufficient dynamic memory for a
request of
 4592 bytes
   PID       bytes  name
-------- ---------- ----
00000000      29248 ????
00000001      28640 idle
00000002        800 dead_eater
00000003        800 poll
00000004        800 timer
00000005     130784 powerup
00000006       2880 tt_control
00000007        800 shell_0

exception context saved starting at 0002A2F0

GPRs:
  0: 00000000 00045200  16: 00000000 0000001E
  1: 00000000 00111740  17: 00000000 00006000
  2: 00000000 000E49D0  18: 00000000 00038240
  3: 00000000 000011F0  19: 00000000 000E4884
  4: 00000000 0000002B  20: 00000000 00000025
  5: 00000000 00038218  21: 00000000 00000007
  6: 00000000 00000020  22: 00000000 000D0EF8
  7: 00000000 00000000  23: 00000000 00000000
  8: 00000000 00000001  24: 00000000 00000001
  9: 00000000 00000000  25: 00000000 00000001
 10: 00000000 0012B900  26: 00000000 0011083C
 11: 00000000 00000001  27: 00000000 00111750
 12: 00000000 00000080  28: 00000000 1F000038
 13: 00000000 00129AE8  29: 00000000 0002A430
 14: 00000000 00000001  30: 00000000 0002A430
 15: 00000000 00129CE0

dump of active call frames:

PC  =  0011083C
PD  =  000E49D0
FP  =  0002A430
SP  =  0002A2F0

R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R29 saved starting at 0002A438

R2  =  000EBC40
R3  =  000EC0D0
R4  =  00000000
R5  =  00000000
R6  =  00000000
R7  =  00000000
R8  =  00001000
R9  =  000EBEE0
R10 =  000EBEC0
R11 =  00000001
R12 =  00000000
R29 =  0002A4A0

PC  =  00068768
PD  =  000EBC40
FP  =  0002A4A0
SP  =  0002A360

R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R12 R13 R14 R15 R29 saved starting at 0002A4E8

R2  =  000EBEE8
R3  =  00000001
R4  =  00038EB8
R5  =  00129D5C
R6  =  00129E40
R7  =  00129EE4
R8  =  00129D7C
R9  =  000EBE50
R10 =  000EBEC0
R11 =  000EBEE0
R12 =  00000000
R13 =  00129AE8
R14 =  00000001
R15 =  000D1954
R29 =  0002A5D0

PC  =  00069A08
PD  =  000EBEE8
FP  =  0002A5D0
SP  =  0002A430

R2 R3 R4 R5 R6 R7 R8 R9 R10 R11 R29 saved starting at 0002A740


and so on....