Subject: panic: cache error -- on R5k INDY
To: None <port-sgimips@netbsd.org>
From: sgimips NetBSD list <sgimips@mrynet.com>
List: port-sgimips
Date: 04/22/2004 13:50:48
Owie.   I just reinstalled NetBSD/sgimips on my INDY R5K and got a hole
messa cache errors followed by a panic.  The puppy works fine with my
1.6ZC installed disk.  This occurs with a kernel cvs'd and built yesterday 
as well as from a week ago.

If I revert back to the 1.6 drive, the machine is happy again--disk(2)
has this working 1.6 install.

The following is a boot log (following a previous identical crash).

-scott

>> 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: 128 Mbytes
                 Graphics: Indy 24-bit
                SCSI Disk: scsi(0)disk(1)
                SCSI Disk: scsi(0)disk(2)
                    Audio: Iris Audio Processor: version A2 revision 4.1.0
>> printenv
SystemPartition=scsi(0)disk(1)rdisk(0)partition(8)
OSLoadPartition=scsi(0)disk(1)rdisk(0)partition(0)
OSLoader=boot
OSLoadFilename=netbsd
AutoLoad=No
TimeZone=CST6CDT
console=d1
diskless=0
dbaud=38400
volume=80
sgilogo=y
autopower=y
rebound=y
netaddr=198.182.227.80
eaddr=08:00:69:0b:5e:b1
ConsoleOut=serial(0)
ConsoleIn=serial(0)
cpufreq=150
>> auto


                           Starting up the system...

Loading scsi(0)disk(1)rdisk(0)partition(8)/boot: 
NetBSD/sgimips 2.0C Bootstrap, Revision 1.2
(root@mod50, Fri Apr 16 18:38:42 CDT 2004)

devopen: scsi(0)disk(1)rdisk(0)partition(0) type scsi file netbsd
3112496+353804 [116288+99845]=0x383388
[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0D (GENERIC32_IP2x) #0: Thu Apr 22 10:54:54 CDT 2004
        root@mod52.mrynet.com:/work/sgimips/obj/sys/arch/sgimips/compile/GENERIC32_IP2x
total memory = 128 MB
(768 KB reserved for ARCS)
avail memory = 120 MB
mainbus0 (root): SGI-IP22 [SGI, 690b5eb1], 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
ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guiness), board rev 0
int0 at mainbus0 addr 0x1fbd9880: bus 75MHz, CPU 150MHz
imc0 at mainbus0 addr 0x1fa00000: revision 3
gio0 at imc0
newport0 at gio0 slot 2 addr 0x1f000000: SGI NG1 (board revision 7, cmap revision 7, xmap revision 7, vc2 revision 0), depth 8
wsdisplay0 at newport0 kbdmux 1
wsmux1: connecting to wsdisplay0
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
pckbc0 at hpc0 offset 0x59840
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
sq0: Ethernet address 08:00:69:0b:5e:b1
wdsc0 at hpc0 offset 0x44000: WD33C93B SCSI, rev=0, target 0
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 1 lun 0: <SEAGATE, ST336918N, 0003> disk fixed
sd0: 35242 MB, 56332 cyl, 2 head, 640 sec, 512 bytes/sect x 72176567 sectors
sd0: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <SEAGATE, ST34573N, 6244> disk fixed
sd1: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd1: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
Thu Apr 22 17:35:54 GMT 2004
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0a: 1608 files, 32733 used, 984194 free (306 frags, 122986 blocks, 0.0% fragmentation)
/dev/rsd0a: MARKING FILE SYSTEM CLEAN
/dev/rsd0e: 11571 files, 258601 used, 9906739 free (3475 frags, 1237908 blocks, 0.0% fragmentation)
/dev/rsd0e: MARKING FILE SYSTEM CLEAN
/dev/rsd0f: FREE BLK COUNT(S) WRONG IN SUPERBLK (SALVAGED)
/dev/rsd0f: SUMMARY INFORMATION BAD (SALVAGED)
/dev/rsd0f: BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/rsd0f: 129 files, 47793 used, 969134 free (126 frags, 121126 blocks, 0.0% fragmentation)
/dev/rsd0f: MARKING FILE SYSTEM CLEAN
/dev/rsd0g: 1 files, 1 used, 10165339 free (11 frags, 1270666 blocks, 0.0% fragmentation)
/dev/rsd0g: MARKING FILE SYSTEM CLEAN
/dev/rsd0h: 1 files, 1 used, 1016926 free (14 frags, 127114 blocks, 0.0% fragmentation)
/dev/rsd0h: MARKING FILE SYSTEM CLEAN
/dev/rsd0i: 1 files, 1 used, 10274622 free (14 frags, 1284326 blocks, 0.0% fragmentation)
/dev/rsd0i: MARKING FILE SYSTEM CLEAN
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: mod80.mrynet.com
IPv6 mode: host
Configuring network interfaces: sq0.
add net default: gateway 198.182.227.1
Adding interface aliases:
Building databases...
Starting syslogd.
Checking for core dump...
savecore: reboot after panic: panic: cache error @ EPC 0x882b579c ErrCtl 0x0 CacheErr 0xa03b5519
Apr 22 12:41:24 mod80 savecore: reboot after panic: panic: cache error @ EPC 0x882b579c ErrCtl 0x0 CacheErr 0xa03b5519
savecore: system went down at Thu Apr 22 12:13:22 2004
savecore: writing compressed core to /var/crash/netbsd.1.core.gz
savecore: writing compressed kernel to /var/crash/netbsd.1.gz
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Thu Apr 22 12:43:37 CDT 2004

NetBSD/sgimips (mod80.mrynet.com) (console)

login: root
Password:
Apr 22 13:28:07 mod80 login: Cannot update lastlogx Inappropriate file type or format
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    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 2.0D (GENERIC32_IP2x) #0: Thu Apr 22 10:54:54 CDT 2004

Welcome to NetBSD!

Apr 22 13:28:07 mod80 login: Cannot update lastlogx Inappropriate file type or format
Apr 22 13:28:07 mod80 login: ROOT LOGIN (root) ON console
Apr 22 13:28:07 mod80 login: ROOT LOGIN (root) ON console
bus error: cpu_stat 00000203 addr 0887fe40, gio_stat 00000000 addr 1fbc4003
panic: cache error @ EPC 0x882b0010 ErrCtl 0x3 CacheErr 0xa01934f3
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: TLB out of universe: ksp 0xc54a1f68 epc 0x88221b34 vaddr 0xe529f000
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
panic: cache error @ EPC 0x882b579c ErrCtl 0x3 CacheErr 0xa03b5519
Stopped in pid 305.1 (csh) at   0x882b1b18:     jr      ra
                bdslot: nop
db> bt
882b1904+214 (8ffff000,d,bfbd9830,0) ra 88221cbc sz 0
88221b2c+190 (8ffff000,d,bfbd9830,0) ra 882afb58 sz 40
882afa74+e4 (8ffff000,d,bfbd9830,0) ra 0 sz 0
User-level: pid 305.1
db> c

dumping to dev 10,1 offset 1837327
(Usual dump occurs)