Subject: Re: panic: cache error -- on R5k INDY
To: Christopher SEKIYA <wileyc@rezrov.net>
From: sgimips NetBSD list <sgimips@mrynet.com>
List: port-sgimips
Date: 04/22/2004 22:02:44
On Fri, Apr 23, 2004 at  9:33am, Christopher SEKIYA wrote:
> Subject: Re: panic: cache error -- on R5k INDY

> On Thu, Apr 22, 2004 at 07:21:06PM -0500, sgimips NetBSD list wrote:
> 
> > Woi.   No, for the simple reason that I just realised I don't always
> > get the bus error:
> 
> Blast.  Okay, what does 2.0 do?

See below.   Pretty much the same, just less of it :)

> (my best guess right now is that it's trying to use a MIPS1 cache strategy or
> suchlike.  Time to read code.)
> 
> > Apr 22 18:06:15 mod80 login: Cannot update lastlogx Inappropriate file type or format
> 
> What is this error about?

Prolly fallout from a previous crash munging inodes.   I'll report back if it is
exceptional.

-scott

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
3097520+351372 [116096+99650]=0x37eddc
[ 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.0_BETA (GENERIC32_IP2x) #0: Thu Apr 22 19:33:53 CDT 2004
        staylor@mrynet.com:/grand/src/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 5, xmap revision 5, 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
Fri Apr 23 02:27:08 GMT 2004
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0a: file system is clean; not checking
/dev/rsd0e: file system is clean; not checking
/dev/rsd0f: file system is clean; not checking
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: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Thu Apr 22 21:27:28 CDT 2004

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

login: root
Password:
Apr 22 21:27:33 mod80 login: Cannot update lastlogx Inappropriate file type or format
Apr 22 21:27:33 mod80 login: Cannot update lastlogx Inappropriate file type or format
Apr 22 21:27:33 mod80 login: ROOT LOGIN (root) ON console
Apr 22 21:27:33 mod80 login: ROOT LOGIN (root) ON console
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.0_BETA (GENERIC32_IP2x) #0: Thu Apr 22 19:33:53 CDT 2004

Welcome to NetBSD!

spurious interrupt, ipending 4000
panic: cache error @ EPC 0x882ada30 ErrCtl 0x3 CacheErr 0xa002528b
Stopped in pid 266.1 (csh) at   0x882af538:     jr      ra
                bdslot: nop
db> bt
882af324+214 (8ffff000,d,bfbd9830,0) ra 8821fb2c sz 0
8821f99c+190 (8ffff000,d,bfbd9830,0) ra 882ada20 sz 40
panic: cache error @ EPC 0x882b4178 ErrCtl 0x3 CacheErr 0xa0025283
Stopped in pid 266.1 (csh) at   0x882af538:     jr      ra
                bdslot: nop
db> c

dumping to dev 10,1 offset 1837327
dump panic: wd33c93_scsicmd: busy
Stopped in pid 266.1 (csh) at   0x882af538:     jr      ra
                bdslot: nop
db> c

dumping to dev 10,1 offset 1837327
dump device not ready


rebooting...