Subject: O2 issues.
To: None <port-sgimips@netbsd.org>
From: josh lynch <strike@bitstream.net>
List: port-sgimips
Date: 11/26/2002 18:04:30
Hi,
I'm running into a few weird issues with my 180Mhz O2 w/o secondary
cache. First of all when the machine boots cold, the kernel comes all
the way up perfectly. On any warm reboot, it panic's in
macepci_conf_read(), apparently the PERR_MEMORY_ADDR bit is set in
the PCI_ERROR_FLAGS register. Which leads me to believe somewhere in
PCI land there is something not getting (re)initialized properly?
I have an fxp card installed into the slot. Has anyone else seen this?

Also, when it does boot successfully (/ on NFS), after an unknown period of
sitting idle, the machine becomes almost totally unresponsive, but
it's not completely locked up (I wrote a routine to cycle though
colors on the front panel led so I could see if interrupts were
still being delivered). Has anyone run into this?

I haven't had much time to look more into either of them, sorry. Oh, 
this is on -CURRENT as of a few days ago. Thanks.


--josh



>  bootp():/netbsd
Setting $netaddr to 192.168.0.20 (from server 192.168.0.17)
Obtaining /netbsd from server 192.168.0.17
1227264+131440 entry: 0x80069000
Using ARCS for console I/O.
argv[0]: bootp():/netbsd
argv[1]: ConsoleIn=serial(0)
argv[2]: ConsoleOut=serial(0)
argv[3]: SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
argv[4]: OSLoader=sash
argv[5]: OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
argv[6]: OSLoadFilename=/unix
  [ no symbols available ]
CPU clock speed = 180.00Mhz
Mem block 1: type 0, base 0x0, size 0x1
Mem block 2: type 1, base 0x1, size 0x1
Mem block 3: type 3, base 0x2, size 0x67
Mem block 4: type 5, base 0x69, size 0x14c
Mem block 5: type 3, base 0x1b5, size 0xb9b
Mem block 6: type 6, base 0xd50, size 0x2b0
Mem block 7: type 7, base 0x1000, size 0x100
Mem block 8: type 6, base 0x1100, size 0x300
Mem block 9: type 3, base 0x1400, size 0x4c00
Loading cluster 2: 0x2 / 0x69
Cluster 3 contains kernel
Loading cluster 4: 0x1b5 / 0xd50
Loading cluster 8: 0x1400 / 0x6000
Using ARCS for console I/O.
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.6K (O2) #5: Tue Nov 26 14:15:40 CST 2002
     joshl@calvin:/usr/src/sys/arch/sgimips/compile/O2
98304 KB memory, 82472 KB free, 6848 KB for ARCS, 5016 KB in 1254 buffers
mainbus0 (root): SGI-IP32 [SGI, c], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 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
crime0 at mainbus0 addr 0x14000000: rev 10.1
mace0 at mainbus0 addr 0x1f000000
mace0: isa sts e000
mace0: isa msk ffffffff
com0 at mace0 offset 0x390000 intr 4: ns16550a, working fifo
com0: console
com1 at mace0 offset 0x398000 intr 4: ns16550a, working fifo
pckbc0 at mace0 offset 0x320000 intr 5: stub
lpt0 at mace0 offset 0x380000 intr 4: stub
mcclock0 at mace0 offset 0x3a0000
mec0 at mace0 offset 0x280000 intr 3: MAC-110 Ethernet, rev 1
mec0: station address 08:00:69:02:fe:2c
OUI 0x1000e8 model 0x0000 rev 1 at mec0 phy 11 not configured
macepci0 at mace0 offset 0x80000 intr 7: rev 1
panic: pcierr: 200006 80003000
Stopped in pid 0 (swapper) at   0x8014a684:     jr      ra
                 bdslot: nop
db> t
8014a680+4 (85fff000,0,5,d) ra 800eb630 sz 0
800eb50c+124 (80173294,0,5,30) ra 8015b4b4 sz 40
8015b46c+48 (80173294,0,5,30) ra 8015b2e8 sz 24
8015b268+80 (80173294,0,5,30) ra 800e4db8 sz 80
800e4a90+328 (c001af00,0,8003acb8,80159c8c) ra 80159d78 sz 72
80159cfc+7c (c001af00,0,8003acb8,80000) ra 800e44d8 sz 48
800e4458+80 (c001af00,0,8003acb8,80000) ra 800e4728 sz 32
800e4690+98 (80159cfc,0,0,80000) ra 80159c78 sz 64
80159bf8+80 (80159cfc,0,0,80000) ra 800e4db8 sz 32
800e4a90+328 (c001afc0,0,8003ae40,80159814) ra 801597e0 sz 72
80159768+78 (c001afc0,0,8003ae40,80159814) ra 800e44d8 sz 40
800e4458+80 (c001afc0,0,8003ae40,80159814) ra 800e4728 sz 32
800e4690+98 (80159768,0,8003ae40,80159814) ra 80159758 sz 64
801596d8+80 (80159768,0,8003ae40,80159814) ra 800e4db8 sz 48
800e4a90+328 (0,0,8017d280,0) ra 800e491c sz 72
800e48c4+58 (0,0,8017d280,0) ra 8015c2b8 sz 32
8015c290+28 (0,0,8017d280,0) ra 800e4060 sz 32
800e4028+38 (0,0,8017d280,0) ra 800c76fc sz 24
main+46c (0,0,8017d280,0) ra 8006908c sz 80
User-level: pid 0
db>