Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2004 13:37:52 -0700
From:      Tom Ponsford <tponsford@theriver.com>
To:        Andrew Gallatin <gallatin@cs.duke.edu>, freebsd-alpha@FreeBSD.ORG, Wilko Bulte <wkb@freebie.xs4all.nl>
Subject:   AS2100A machine checks
Message-ID:  <40196F20.3000102@theriver.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000506030003020100090801
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi All

OK I had some time the other night and I decided to build a debug kernel on a 
alphastation 255 I had. I decided to use an external hard drive setup so I can 
switch disks between the AS 2100A and the 255. I found this is easier to do 
than netbooting the new kernel. I decided to build the kernel on a native 
alpha machine (slower) rather than a cross-build on a faster x86 to eliminate 
most stupid pilot errors. (although do expect some).

After building the debug kernel, I set the cpu_enabled environment to a single 
CPU. I have a chart of the hexidecimal values attached for reference. I also 
included the environmental values for the machine (show_env.txt)
I then attached the disk and booted off the external drive. (see boot.text)

As expected the as2100a panicked with a machine check. I attached the trace.
I'll have all week to play with this, before Ihave to put the alpha station 
255 back on the vms cluster, although I can take it off again later.

One note: I noticed that there are several environmental variables for the pci 
bus:
bus_probe_algorithm   new | old # OLD: should be set on older VMS <V6.1 . 
Failure to do so could result in bugcheck errors when booting form an EISA device
pci_arb		Partial-Rotating     #This variable has no information or reference 
in the firmware handbook!
pci_parity	ON | OFF
pci_read_multi  ON | OFF	# This variable has not been set in my machine! ON 
enables a PCI bus read ahead. OFF diables a pci bus read ahead. (ROM default)




Cheers

Tom

--------------000506030003020100090801
Content-Type: text/plain;
 name="boot.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="boot.txt"

P00>>>boot dkb100
(boot dkb100.1.0.6.0)
block 0 of dkb100.1.0.6.0 is a valid boot block
reading 15 blocks from dkb100.1.0.6.0
bootstrap code read in
base = 200000, image_start = 0, image_bytes = 1e00
initializing HWRPB at 2000
initializing page table at 27ff0000
initializing machine state
setting affinity to the primary CPU
jumping to bootstrap code
Loading /boot/loader
Console: SRM firmware console
VMS PAL rev: 0x4000700010538
OSF PAL rev: 0x4000c0002012d
Switch to OSF PAL code succeeded.

FreeBSD/alpha SRM disk boot, Revision 1.2
(root@mithlond.btc.adaptec.com, Sat Jan 10 12:51:13 GMT 2004)
Memory: 655360 k
Loading /boot/defaults/loader.conf
/boot/kernel/kernel data=0x409cc0+0x43180 syms=[0x8+0x52bd8+0x8+0x418dd]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Entering /boot/kernel/kernel at 0xfffffc000033fb80...
sio1: gdb debugging port
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.2-RELEASE #0: Thu Jan 29 18:51:04 MST 2004
    root@tomzbox9.tomznet.lan:/usr/src/sys/alpha/compile/TOMZBOX9
Preloaded elf kernel "/boot/kernel/kernel" at 0xfffffc00007e4000.
DEC AlphaServer 2100A
AlphaServer 2100A 4/275, 274MHz
8192 byte page size, 1 processor.
CPU: EV45 (21064A) major=6 minor=2
OSF PAL rev: 0x4000c0002012d
real memory  = 668917760 (637 MB)
avail memory = 643284992 (613 MB)
t20: using interrupt type 1 on pci bus 0
t20: <T2 Core Logic chipset>
pcib0: <T2 PCI host bus adapter> on t20
pci0: <PCI bus> on pcib0
eisab0: <PCI-EISA bridge> at device 2.0 on pci0

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006000
    pc      = 0xfffffc000038b7f4
    ra      = 0xfffffc000038b828
    curproc = 0xfffffc0000712728
        pid = 0, comm = swapper

Stopped at      eisa_probe+0x84:        ldq     t0,0(a0) <0xfffffc0000730e10>   <t0=0x1,a0=0xfffffc0000730e10>
db>

--------------000506030003020100090801
Content-Type: text/plain;
 name="hex_digit_values.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="hex_digit_values.txt"

Hex digit values for CPU's

Hex Digit Value			Binary Equiv		Enabled Cpu's

0				0000			No Cpu's (Cpu 0 still
							comes up)

1				0001			CPU 0
2				0010			CPU 1
3				0011			CPU 0,1
4				0011			CPU 2
5				0100			CPU 0,2
6				0110			CPU 1,2
7				0111			CPU 0,1,2
8				1000			CPU 3
9				1001			CPU 0,3	
A				1010			CPU 1,3
B				1011			CPU 0,1,3
C				1100			CPU 2,3
D				1101			CPU 0,2,3
E				1110			CPU 1,2,3
F				1111			CPU 0,1,2,3

--------------000506030003020100090801
Content-Type: text/plain;
 name="kernel_debug_trace.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="kernel_debug_trace.txt"

b> tr
eisa_probe() at eisa_probe+0x84
device_probe_child() at device_probe_child+0x128
device_probe_and_attach() at device_probe_and_attach+0x54
bus_generic_attach() at bus_generic_attach+0x28
eisab_attach() at eisab_attach+0xcc
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
pci_attach() at pci_attach+0xdc
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
device_probe_and_attach() at device_probe_and_attach+0xbc
bus_generic_attach() at bus_generic_attach+0x28
t2_attach() at t2_attach+0x6c
device_probe_and_attach() at device_probe_and_attach+0xbc
root_bus_configure() at root_bus_configure+0x38
configure() at configure+0x40
mi_startup() at mi_startup+0x144
locorestart() at locorestart+0x64
--- root of call graph ---
db>

--------------000506030003020100090801
Content-Type: text/plain;
 name="show_env.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="show_env.txt"

P00>>>show
auto_action             HALT
boot_dev                dka0.0.0.2001.0
boot_file
boot_osflags
boot_reset              ON
bootdef_dev             dka0.0.0.2001.0
booted_dev
booted_file
booted_osflags
bus_probe_algorithm     new
char_set                0
com1_baud               9600
com1_flow               SOFTWARE
com1_modem              OFF
com2_baud               9600
com2_flow               SOFTWARE
com2_modem              OFF
console                 serial
controlp                ON
cpu_enabled             1
d_bell                  off
d_cleanup               on
d_complete              off
d_eop                   off
d_group                 field
d_harderr               halt
d_loghard               on
d_logsoft               off
d_omit
d_oper                  on
d_passes                1
d_quick                 off
d_report                full
d_runtime               0
d_softerr               continue
d_startup               off
d_status                off
d_trace                 off
d_verbose               0
dump_dev
enable_audit            ON
exdep_data              0
exdep_location          0
exdep_size              0
exdep_space             pmem
exdep_type              3
full_powerup_diags      ON
heap_expand             NONE
i                       g
j                       u
kbd_hardware_type       PCXAL
language                36
language_name           English (American)
license                 MU
mopv3_boot              1
ocp_text                FREEBSD
ocp_text_default        Model 4/200
os_type                 UNIX
pal                     VMS PALcode V5.56-7, OSF PALcode V1.45-12
pci_arb                 Partial-Rotating
pci_parity              ON
pka0_disconnect         1
pka0_fast               1
pka0_host_id            7
pkb0_disconnect         1
pkb0_fast               1
pkb0_host_id            7
rcm_answer
rcm_dialout
rcm_init
screen_mode             OFF
scsi_poll               ON
scsi_reset              ON
scsnode
scssystemid             65534
scssystemidh            0
srm2dev
sys_serial_num          NI727024JM
tga_sync_green          0
tt_allow_login          1
tty_dev                 0
version                 V5.3-10 Oct 16 1998 14:06:58
P00>>>

--------------000506030003020100090801--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40196F20.3000102>