Subject: netbsd-INSTALL32_IP2x fails to load
To: None <port-sgimips@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sgimips
Date: 11/19/2003 13:17:30
Hi,
trying to load netbsd-INSTALL32_IP2x on my indy fails. loading from disk,
it just hangs and I have to power-cycle the box:
>> boot netbsd-INSTALL32_IP2x
45936+0+384 entry: 0x88002000

NetBSD/sgimips 1.6.2_RC1 Bootstrap, Revision 1.1
(bouyer@pop, Tue Oct 28 04:25:03 CET 2003)

Mem block: type 0 base 0x0 size 0x1000
Mem block: type 1 base 0x1000 size 0x1000
Mem block: type 5 base 0x8002000 size 0xc000
Mem block: type 3 base 0x800e000 size 0x732000
Mem block: type 6 base 0x8740000 size 0xc0000
Mem block: type 3 base 0x8800000 size 0x3800000
Local storage 887fe168
argv[0]: scsi(0)disk(3)rdisk(0)partition(8)/boot
argv[1]: netbsd-INSTALL32_IP2x
argv[2]: ConsoleIn=serial(0)
argv[3]: ConsoleOut=serial(0)
argv[4]: SystemPartition=scsi(0)disk(3)rdisk(0)partition(8)
argv[5]: OSLoader=boot
argv[6]: OSLoadPartition=scsi(0)disk(3)rdisk(0)partition(0)
argv[7]: OSLoadFilename=/netbsd
Boot: scsi(0)disk(3)rdisk(0)partition(0)netbsd-INSTALL32_IP2x
devopen: scsi(0)disk(3)rdisk(0)partition(0) type scsi file netbsd-INSTALL32_IP2x
7028464+292796~~


                         Running power-on diagnostics...

Loading from network, it's a bit more verbose:
>> boot -f bootp():netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server juliard.antioche.eu.org
7028464+0+292796
Cannot load bootp():netbsd-INSTALL32_IP2x.
Range check failure: bss start 0x8871cef0, size 0x477bc.
Bss section would overwrite an already loaded program.
Unable to load bootp():netbsd-INSTALL32_IP2x: not enough space


Any idea ?

GENERIC can be loaded, but fails later:
>> boot -f bootp():netbsd.ecoff-GENERIC32_IP2x
Obtaining netbsd.ecoff-GENERIC32_IP2x from server juliard.antioche.eu.org
2832560+0+292732 entry: 0x88069000
[ Kernel symbol table missing! ]
IOC rev 1, machine Indy (Guiness), board rev 3
Timer calibration, got 750000 cycles (750000, 750000, 750000)
CPU clock speed = 150.00MHz
zs channel 0 had address 0xbfbd9830
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.6ZF (GENERIC32_IP2x) #1: Sun Nov 16 22:36:33 CET 2003
        bouyer@pop:/local/pop1/bouyer/tmp/sgimips/obj/local/pop1/bouyer/current/src/sys/arch/sgimips/compile/GENERIC32_IP2x
65536 KB memory, 56556 KB free, 768 KB for ARCS, 3376 KB in 844 buffers
mainbus0 (root): SGI-IP22 [SGI, 6906de17], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU Rev. 1.0
cpu0: 32KB/32B 2-way set-associative L1 Instruction cache, 48 TLB entries
cpu0: 32KB/32B 2-way set-associative write-back L1 Data cache
imc0 at mainbus0 addr 0x1fa00000
imc0: Revision 3
gio0 at imc0
hpc0 at gio0 addr 0x1fb80000: SGI HPC3
zsc0 at hpc0 offset 0x59830
zstty0 at zsc0 channel 1 (console i/o)
zstty1 at zsc0 channel 0
sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
sq0: Ethernet address 08:00:69:06:de:17
wdsc0 at hpc0 offset 0x44000: WD33C93B SCSI, rev=0, target 7
scsibus0 at wdsc0: 8 targets, 8 luns per target
dsclock0 at hpc0 offset 0x60000
haltwo0 at hpc0 offset 0x58000: HAL2 revision 4.1.0
audio0 at haltwo0: half duplex
biomask 07 netmask 07 ttymask 0f clockmask bf
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <QUANTUM, FIREBALL ST3.2S, 0F0C> disk fixed
sd0: 3090 MB, 7068 cyl, 4 head, 223 sec, 512 bytes/sect x 6328861 sectors
sd0: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 4 lun 0: <IBM, DPES-31080, S31Q> disk fixed
sd1: fabricating a geometry
sd1: 1034 MB, 1034 cyl, 64 head, 32 sec, 512 bytes/sect x 2118144 sectors
sd1: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
trap: TLB miss (load or instr. fetch) in kernel mode
status=0xff03, cause=0x8, epc=0x882bd5f0, vaddr=0x0
pid=2 cmd=scsibus0 usp=0x0 ksp=0xc61b9e70
Stopped in pid 2.1 (scsibus0) at        0x882bd5f0:     lw      v1,4(s0)
db> tr
882bd55c+94 (ff01,0,8,ffffffff) ra 882bd5f0 sz 0
stacktrace: loop!
db> 

Again, any idea ?

Here is the hinv for this box:
>> hinv
                   System: IP22
                Processor: 150 Mhz R5000, with FPU
     Primary I-cache size: 32 Kbytes
     Primary D-cache size: 32 Kbytes
     Secondary cache size: 512 Kbytes
              Memory size: 64 Mbytes
                SCSI Disk: scsi(0)disk(3)
                SCSI Disk: scsi(0)disk(4)
                    Audio: Iris Audio Processor: version A2 revision 4.1.0
>> 

Runs fine under 1.6.x (the 1.6.2_RC1 X sets has been built on this box).

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 24 ans d'experience feront toujours la difference
--