Subject: Booting on I2/wierd ARCS memory issues
To: None <port-sgimips@netbsd.org>
From: Rafal Boni <rafal.boni@eDial.com>
List: port-sgimips
Date: 02/01/2001 22:05:24
Folks:
The earlier questions about elf2ecoff made me fire up my I2 again
and try and at least get something booting on my I2. Here's what
I've been able and unable to do:
(1) I can't boot any ELF executables from the PROM itself,
though I seem to be able to boot them from the diag.
environment (ide).
(2) I am having trouble TFTP'ing any large file from the
PROM, though I am able to TFTP from the diagnostic
environment.
(3) Booting the kernel from the diag. env. fails due to a
bad memory map.
Attached is the output from my trying to boot the kernel, as well
as from my run of `arcsdiag'.
I'm going to see if I can fit a NetBSD kernel in the volume header
and boot it directly with better results, (but I'm still annoyed
that TFTP'ing from the PROM fails).
--rafal
---8<---8<---8<--- Kernel startup output ---8<---8<---8<---
System Maintenance Menu
1) Start System
2) Install System Software
3) Run Diagnostics
4) Recover System
5) Enter Command Monitor
Option? 5
Command Monitor. Type "exit" to return to the menu.
>> ide
653472+323840+1003632 entry: 0x8851eef0
SGI Version 5.3 IP22 IDE field Nov 3, 1994
System: IP22
Processor: 150 Mhz R4400, with FPU
Primary I-cache size: 16 Kbytes
Primary D-cache size: 16 Kbytes
Secondary cache size: 1024 Kbytes
Memory size: 128 Mbytes
Graphics: XL
SCSI Disk: scsi(0)disk(1)
SCSI Tape: scsi(0)tape(2)
ide>> boot -f bootp():/netbsd.high
Setting $netaddr to 192.168.1.7 (from server ns)
Mem block 1: type 0, base 0, size 1
Mem block 2: type 1, base 1, size 1
Mem block 3: type 3, base 32770, size 1214
Mem block 4: type 5, base 33984, size 131599
Mem block 5: type 6, base 34624, size 192
Mem block 6: type 3, base 34816, size 30720
Mem block 7: type 3, base 165583, size -130959
panic: uvm_page_physload: start >= end
---8<---8<---8<--- arcsdiag output ---8<---8<---8<---
653472+323840+1003632 entry: 0x8851eef0
SGI Version 5.3 IP22 IDE field Nov 3, 1994
System: IP22
Processor: 150 Mhz R4400, with FPU
Primary I-cache size: 16 Kbytes
Primary D-cache size: 16 Kbytes
Secondary cache size: 1024 Kbytes
Memory size: 128 Mbytes
Graphics: XL
SCSI Disk: scsi(0)disk(1)
SCSI Tape: scsi(0)tape(2)
ide>> boot -f bootp():/arcdiag
Setting $netaddr to 192.168.1.7 (from server ns)
default dumpfile = `bootp():/arcdiag.out'
arcdiag> memory
memory 0x0..fff, size: 4096 bytes, type: ExeceptionBlock
memory 0x1000..1fff, size: 4096 bytes, type: SystemParameterBlock
memory 0x8002000..84bffff, size: 4972544 bytes, type: FreeMemory
memory 0x84c0000..286cefff, size: 539029504 bytes, type: LoadedProg
memory 0x8740000..87fffff, size: 786432 bytes, type: FirmwareTemporary
memory 0x8800000..fffffff, size: 125829120 bytes, type: FreeMemory
memory 0x286cf000..873ffff, size: -536408064 bytes, type: FreeMemory
Total memory = 134217728 bytes
arcdiag> argv
argc = 7
argv[0] = `bootp():/arcdiag'
argv[1] = `ConsoleIn=serial(0)'
argv[2] = `ConsoleOut=serial(0)'
argv[3] = `SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)'
argv[4] = `OSLoader=sash'
argv[5] = `OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(0)'
argv[6] = `OSLoadFilename=/unix'
arcdiag> printenv
[AutoLoad=Yes]
[TimeZone=PST8PDT]
[console=d]
[diskless=0]
[keybd=US]
[dbaud=9600]
[volume=80]
[sgilogo=y]
[autopower=y]
[eaddr=08:00:69:07:c8:3c]
[ConsoleOut=serial(0)]
[ConsoleIn=serial(0)]
[cpufreq=150]
[SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)]
[OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(0)]
[OSLoader=sash]
[OSLoadFilename=/unix]
[netaddr=192.168.1.7]
[dlserver=192.168.1.6]
arcdiag> sysparam
magic: SCRA
length: 0x48
version: 1
revision: 10
restart_block: 0xa87488c4
debug_block: 0x0
gen_excep_vec: 0x88542380
utlbmiss_vec: 0x885424d4
firm_vec_len: 0x8c
firmare_vector:
0x9fc315b4
0x9fc31700
0x9fc31a08
0x9fc0060c
0x9fc00614
0x9fc0061c
0x9fc00624
0x9fc0062c
0x0
0x9fc2b050
0x9fc2b05c
0x9fc2b080
0x9fc2b08c
0x9fc2b0dc
0x9fc2b3a0
0x9fc33928
0x9fc2b4cc
0x9fc0f284
0x9fc0f650
0x0
0x9fc0f1ac
0x9fc386c0
0x9fc0f0e4
0x9fc0e710
0x9fc0ef48
0x9fc0eb28
0x9fc0f290
0x9fc0ede8
0x9fc0f018
0x9fc0f354
0x9fc0f420
0x9fc0f400
0x9fc0f440
0x9fc0f4e0
0x9fc0d27c
vend_vec_len: 0x34
vendor_vector:
0x9fc0be64
0x9fc0e598
0x9fc3168c
0x9fc319e4
0x9fc31b2c
0x9fc32c80
0x9fc32d20
0x9fc13a00
0x9fc2f8ec
0x9fc31450
0x9fc0b078
0x9fc38820
0x9fc30d8c
adapter_count: 0
arcdiag> sysid
BIOS Vendor ID: [SGI\x00\x00\x00\x00\x00]
BIOS Product ID: [0x36:0x39:0x30:0x37:0x63:0x38:0x33:0x63]
arcdiag> config
class: System, type: ARC
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x0
config_data_len: 0
id: 9:[SGI-IP22\x00]
class: Processor, type: CPU
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 11:[MIPS-R4400\x00]
class: Processor, type: FPU
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 14:[MIPS-R4400FPC\x00]
class: Cache, type: PrimaryICache
flags:
version: 0, revision: 1
refill-size: 1, line-size: 16, size: 16384
affinity_mask: 0x1
config_data_len: 0
class: Cache, type: PrimaryDCache
flags:
version: 0, revision: 1
refill-size: 1, line-size: 16, size: 16384
affinity_mask: 0x1
config_data_len: 0
class: Cache, type: SecondaryCache
flags:
version: 0, revision: 1
refill-size: 1, line-size: 128, size: 1048576
affinity_mask: 0x1
config_data_len: 0
class: Adapter, type: EISAAdapter
flags:
version: 0, revision: 1
key: 32768
affinity_mask: 0x1
config_data_len: 0
class: Peripheral, type: ParallelController
flags:
version: 80, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 7:[SGI-XL\x00]
class: Memory, type: PrinterPeripheral
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
class: Peripheral, type: DisplayController
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 76
id: 4:[ec0\x00]
config data version: 1, revision: 10, count: -1468759400
resource count -1468759400 too big: use 4 instead
type: #168
share_disposition: #116, flags: 0x82a4
data: [0xa8:0x74:0x82:0xb4:0x0:0x0:0x0:0x0:0x45:0x74:0x68:0x65]
type: #114
share_disposition: #110, flags: 0x6574
data: [0x0:0x74:0x7f:0xac:0x9f:0xc6:0x1e:0x1c:0x0:0x0:0x5:0xdc]
type: Null
share_disposition: Undetermined, flags: 0x6
data: [0x8:0x0:0x69:0x7:0xc8:0x3c:0x0:0x58:0xa8:0x74:0x81:0x58]
type: #159
share_disposition: #196, flags: 0xa8c8
data: [0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x1]
raw count: [0xa8:0x74:0x82:0x98]
raw data: 68:[0xa8:0x74:0x82:0xa4:0xa8:0x74:0x82:0xb4:0x0:0x0:0x0:0x0:0x45:0x74:0x68:0x65:0x72:0x6e:0x65:0x74:0x0:0x74:0x7f:0xac:0x9f:0xc6:0x1e:0x1c:0x0:0x0:0x5:0xdc:0x0:0x0:0x0:0x6:0x8:0x0:0x69:0x7:0xc8:0x3c:0x0:0x58:0xa8:0x74:0x81:0x58:0x9f:0xc4:0xa8:0xc8:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x1:0xbf:0xc2:0xb5:0x80]
class: Memory, type: NetworkPeripheral
flags:
version: 96, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
class: Controller, type: DTIAdapter
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 9:[WD33C93B\x00]
class: Peripheral, type: TapeController
flags:
version: 0, revision: 1
key: 1
affinity_mask: 0x0
config_data_len: 0
id: 20:[SGI SEAGATE ST31200N]
class: Memory, type: FloppyDiskPeripheral
flags:
version: 96, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 28
config data version: 1, revision: 10, count: -1468758088
resource count -1468758088 too big: use 1 instead
type: Null
share_disposition: Undetermined, flags: 0x0
data: [0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x2:0x0]
raw count: [0xa8:0x74:0x87:0xb8]
raw data: 20:[0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x0:0x2:0x0:0x0:0x1f:0xb4:0x88]
class: Peripheral, type: CDROMController
flags:
version: 0, revision: 1
key: 2
affinity_mask: 0x0
config_data_len: 0
id: 24:[ARCHIVE Python 25601-XXX]
class: Memory, type: ModemPeripheral
flags:
version: 100, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
class: Controller, type: DTIAdapter
flags:
version: 0, revision: 1
key: 1
affinity_mask: 0x1
config_data_len: 0
id: 9:[WD33C93B\x00]
class: Peripheral, type: NetworkController
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 9:[IP22 tty\x00]
class: Memory, type: LinePeripheral
flags:
version: 120, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
class: Peripheral, type: NetworkController
flags:
version: 0, revision: 1
key: 1
affinity_mask: 0x1
config_data_len: 0
id: 9:[IP22 tty\x00]
class: Memory, type: LinePeripheral
flags:
version: 120, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
class: Peripheral, type: OtherController
flags:
version: 96, revision: 1
key: 4112
affinity_mask: 0x1
config_data_len: 0
id: 5:[HAL2\x00]
class: Peripheral, type: AudioController
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 7:[pc kbd\x00]
class: Peripheral, type: KeyboardController
flags:
version: 0, revision: 1
key: 0
affinity_mask: 0x1
config_data_len: 0
id: 4:[pcms]
arcdiag> tlb
wired TLB = 0
0: 4K, asid: 0x0, v: 0x0, p0: 0x8000000(3.VG), p1: 0x8001000(3.VG)
1: 4K, asid: 0x0, v: 0x2000, p0: 0x8002000(3.VG), p1: 0x8003000(3.VG)
2: 4K, asid: 0x0, v: 0x4000, p0: 0x8004000(3.VG), p1: 0x8005000(3.VG)
3: 4K, asid: 0x0, v: 0x6000, p0: 0x8006000(3.VG), p1: 0x8007000(3.VG)
4: 4K, asid: 0x0, v: 0x8000, p0: 0x8008000(3.VG), p1: 0x8009000(3.VG)
5: 4K, asid: 0x0, v: 0xa000, p0: 0x800a000(3.VG), p1: 0x800b000(3.VG)
6: 4K, asid: 0x0, v: 0xc000, p0: 0x800c000(3.VG), p1: 0x800d000(3.VG)
7: 4K, asid: 0x0, v: 0xe000, p0: 0x800e000(3.VG), p1: 0x800f000(3.VG)
8: 4K, asid: 0x0, v: 0x10000, p0: 0x8010000(3.VG), p1: 0x8011000(3.VG)
9: 4K, asid: 0x0, v: 0x12000, p0: 0x8012000(3.VG), p1: 0x8013000(3.VG)
10: 4K, asid: 0x0, v: 0x14000, p0: 0x8014000(3.VG), p1: 0x8015000(3.VG)
11: 4K, asid: 0x0, v: 0x16000, p0: 0x8016000(3.VG), p1: 0x8017000(3.VG)
12: 4K, asid: 0x0, v: 0x18000, p0: 0x8018000(3.VG), p1: 0x8019000(3.VG)
13: 4K, asid: 0x0, v: 0x1a000, p0: 0x801a000(3.VG), p1: 0x801b000(3.VG)
14: 4K, asid: 0x0, v: 0x1c000, p0: 0x801c000(3.VG), p1: 0x801d000(3.VG)
15: 4K, asid: 0x0, v: 0x1e000, p0: 0x801e000(3.VG), p1: 0x801f000(3.VG)
16: 4K, asid: 0x0, v: 0x20000, p0: 0x8020000(3.VG), p1: 0x8021000(3.VG)
17: 4K, asid: 0x0, v: 0x22000, p0: 0x8022000(3.VG), p1: 0x8023000(3.VG)
18: 4K, asid: 0x0, v: 0x24000, p0: 0x8024000(3.VG), p1: 0x8025000(3.VG)
19: 4K, asid: 0x0, v: 0x26000, p0: 0x8026000(3.VG), p1: 0x8027000(3.VG)
20: 4K, asid: 0x0, v: 0x28000, p0: 0x8028000(3.VG), p1: 0x8029000(3.VG)
21: 4K, asid: 0x0, v: 0x2a000, p0: 0x802a000(3.VG), p1: 0x802b000(3.VG)
22: 4K, asid: 0x0, v: 0x2c000, p0: 0x802c000(3.VG), p1: 0x802d000(3.VG)
23: 4K, asid: 0x0, v: 0x2e000, p0: 0x802e000(3.VG), p1: 0x802f000(3.VG)
24: 4K, asid: 0x0, v: 0x30000, p0: 0x8030000(3.VG), p1: 0x8031000(3.VG)
25: 4K, asid: 0x0, v: 0x32000, p0: 0x8032000(3.VG), p1: 0x8033000(3.VG)
26: 4K, asid: 0x0, v: 0x34000, p0: 0x8034000(3.VG), p1: 0x8035000(3.VG)
27: 4K, asid: 0x0, v: 0x36000, p0: 0x8036000(3.VG), p1: 0x8037000(3.VG)
28: 4K, asid: 0x0, v: 0x38000, p0: 0x8038000(3.VG), p1: 0x8039000(3.VG)
29: 4K, asid: 0x0, v: 0x3a000, p0: 0x803a000(3.VG), p1: 0x803b000(3.VG)
30: 4K, asid: 0x0, v: 0x3c000, p0: 0x803c000(3.VG), p1: 0x803d000(3.VG)
31: 4K, asid: 0x0, v: 0x3e000, p0: 0x803e000(3.VG), p1: 0x803f000(3.VG)
32: 4K, asid: 0x0, v: 0x40000, p0: 0x8040000(3.VG), p1: 0x8041000(3.VG)
33: 4K, asid: 0x0, v: 0x42000, p0: 0x8042000(3.VG), p1: 0x8043000(3.VG)
34: 4K, asid: 0x0, v: 0x44000, p0: 0x8044000(3.VG), p1: 0x8045000(3.VG)
35: 4K, asid: 0x0, v: 0x46000, p0: 0x8046000(3.VG), p1: 0x8047000(3.VG)
36: 4K, asid: 0x0, v: 0x48000, p0: 0x8048000(3.VG), p1: 0x8049000(3.VG)
37: 4K, asid: 0x0, v: 0x4a000, p0: 0x804a000(3.VG), p1: 0x804b000(3.VG)
38: 4K, asid: 0x0, v: 0x4c000, p0: 0x804c000(3.VG), p1: 0x804d000(3.VG)
39: 4K, asid: 0x0, v: 0x4e000, p0: 0x804e000(3.VG), p1: 0x804f000(3.VG)
40: 4K, asid: 0x0, v: 0x50000, p0: 0x8050000(3.VG), p1: 0x8051000(3.VG)
41: 4K, asid: 0x0, v: 0x52000, p0: 0x8052000(3.VG), p1: 0x8053000(3.VG)
42: 4K, asid: 0x0, v: 0x54000, p0: 0x8054000(3.VG), p1: 0x8055000(3.VG)
43: 4K, asid: 0x0, v: 0x56000, p0: 0x8056000(3.VG), p1: 0x8057000(3.VG)
44: 4K, asid: 0x0, v: 0x58000, p0: 0x8058000(3.VG), p1: 0x8059000(3.VG)
45: 4K, asid: 0x0, v: 0x5a000, p0: 0x805a000(3.VG), p1: 0x805b000(3.VG)
46: 4K, asid: 0x0, v: 0x5c000, p0: 0x805c000(3.VG), p1: 0x805d000(3.VG)
47: 4K, asid: 0x0, v: 0x5e000, p0: 0x805e000(3.VG), p1: 0x805f000(3.VG)
arcdiag> disp
Exception: <vector=UTLB Miss>
Status register: 0x40000<CH,IPL=8,MODE=KERNEL>
Cause register: 0x8008<CE=0,IP8,EXC=RMISS>
Exception PC: 0x884e3c88, Exception RA: 0x880048f8
exception, bad address: 0x5e000
Local I/O interrupt register 0: 0x40 <GE/GIO1>
Local I/O interrupt register 2: 0xc8 <EISA,SLOT0,SLOT1>
Saved user regs in hex (&gpda 0xa8637428, &_regs 0xa8637628):
arg: a8640000 0 0 1
tmp: a8640000 7 a86cbbec a86cb8e4 a86cbbec 1d 9fc4a744 2
sve: a8640000 0 0 0 0 0 0 0
t8 a8640000 t9 0 at 0 v0 0 v1 0 k1 0
gp a8640000 fp 0 sp 0 ra 0
PANIC: Unexpected exception
----
Rafal Boni rafal.boni@eDial.com
PGP key C7D3024C, print EA49 160D F5E4 C46A 9E91 524E 11E0 7133 C7D3 024C
Need to get a hold of me? http://800.eDial.com/rafal.boni@eDial.com