Subject: interrupt problems with VME ie on 3/160
To: None <port-sun3@netbsd.org>
From: Kirk Russell <kirk.russell@acm.org>
List: port-sun3
Date: 01/26/2004 22:32:56
I found a sun 3/160 tower at the local hardware surplus.  The tower doesn't
appear to have the SCSI option.  I have been trying to get NetBSD to boot,
but the kernel appears to have trouble with the 2nd NIC.  The
"RAM CONFIG FAILED" doesn't look good.  What am I missing?  TIA.

Here's the 3/160 VME card cage config.  These are the settings that came
with the tower -- I didn't change them:

slot| part#  | VME board desc        | backplane jumpered
----+--------+-----------------------+-------------------
 1   501-1208 SUN-3/160 3004 CPU 4MB   0 1 2
 2   501-1132 4MB RAM                  0 1 2 3 4
 3   501-1132 4MB RAM                  0 1 2 3 4
 4   501-1132 4MB RAM                  0 1 2 3 4
 5   501-1153 NIC 2nd ie               0 1 2
 6   501-1155 xylogics 472 tape ctrl   0 1 2
 7   501-1166 xylogics 451 SMD ctrl    0 1 2
 8   empty                             0 1 2 3 4
 9   empty                             0 1 2 3 4
10   empty                             0 1 2 3 4
11   empty                             0 1 2 3 4
12   empty                             0 1 2 3

When I boot the GENERIC 1.6.1 image:

netboot: trying netbsd
1306108+180892 [115072+84625]=0x19be70
starting program at 0x4000
console is ttya
[ using 200152 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    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.1 (GENERIC) #0: Wed Apr  9 05:48:23 UTC 2003
    autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/sun3/OBJ/autobuild/netbsd-1-6/src/sys/arch/sun3/compile/GENERIC
Model: sun3 160
fpu: mc68881
total memory = 16384 KB
avail memory = 13456 KB
using 115 buffers containing 920 KB of memory
mainbus0 (root)
obio0 at mainbus0
zsc0 at obio0 addr 0x0 ipl 6: (softpri 3)
kbd0 at zsc0 channel 0: baud rate 1200
ms0 at zsc0 channel 1: baud rate 1200
zsc1 at obio0 addr 0x20000 ipl 6: (softpri 3)
zstty0 at zsc1 channel 0 (console i/o)
zstty1 at zsc1 channel 1
eeprom0 at obio0 addr 0x40000
clock0 at obio0 addr 0x60000 ipl 5
memerr0 at obio0 addr 0x80000 ipl 7: (ECC memory)
intreg0 at obio0 addr 0xa0000
ie0 at obio0 addr 0xc0000 ipl 3: macaddr 08:00:20:01:56:a1
obmem0 at mainbus0
bwtwo0 at obmem0 addr 0xff000000 (1152x900)
vme0 at mainbus0: (A16/D16)
xyc0 at vme0 addr 0xee40 ipl 2 vect 0x48: Xylogics 450/451
xy0 at xyc0 drive 0
xy0: drive 0: off-line
xy1 at xyc0 drive 1
xy1: drive 1: off-line
vme1 at mainbus0: (A16/D32)
vme2 at mainbus0: (A24/D16)
ie1 at vme2 addr 0xe88000 ipl 3 vect 0x75: macaddr 08:00:20:01:56:a1
: RAM CONFIG FAILED!
vme3 at mainbus0: (A24/D32)
vme4 at mainbus0: (A32/D16)
vme5 at mainbus0: (A32/D32)
enabling interrupts
isr_vectored: vector=0x75 (not claimed)
isr_vectored: vector=0x75 (not claimed)
isr_vectored: vector=0x75 (not claimed)
[... this line repeats forever ...]
isr_vectored: vector=0x75 (not claimed)
Stopped in pid 0 (swapper) at   cpu_Debugger+0x6:       unlk    a6
db> trace
cpu_Debugger(9,e20c000,e15dee0,e1a3ea0,e11181a) + 6
zs_abort(0) + 26
zstty_stint(e20c134,0) + 7e
zsc_intr_hard(e20c100) + 58
zshard(0) + 2a
isr_autovec(2700,78,e10731a,28,23100e06) + 6c
_isr_autovec(?)
printf(e133945,75,2000,e1a3f5c,e0044b6) + 4
isr_vectored(2700,20,fe0a000,14,20000e10) + 84
_isr_vectored(?)
cpu_initclocks(d,e1a3f74,e06ae60,e05ca1c,e1a3fa4) + 4
initclocks(e05ca1c,e1a3fa4,e05b7d4,1000000,0) + e
configure(1000000,0,0,ffff,1) + 36
main(e1a3fb0) + 3ba
db>

-- 
Kirk Russell