Subject: panic during boot indy R5000
To: None <port-sgimips@netbsd.org>
From: Zafer Aydogan <zafer@aydogan.de>
List: port-sgimips
Date: 01/29/2007 22:41:37
hello list,

I recently powered on my old indy r5000, running 1.6ZC and wanted to
update to current.
The problem is, that I can't netboot into current, neither 3.1, 3.0, 2.0.
But I can boot properly into 1.6:

zs channel 0 had address 0xbfbd9830
 [ no symbols available ]
IOC re 1, machine Indy (Giness), board rev 3
Timer calibration, got 900000 cycles (900000, 900000, 900000)
CPU clock speed = 180.00Mhz
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 (RAMDISK_INDY) #0: Mon Sep  9 06:23:24 UTC 2002
    autobuild@tgm.daemon.org:/autobuild/sgimips/OBJ/autobuild/src/sys/arch/sgimips/compile/RAMDISK_INDY
160 MB memory, 140 MB free, 768 KB for ARCS, 8292 KB in 2073 buffers
mainbus0 (root): SGI-IP22 [SGI, 690af326], 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
cpu0: 512KB/32B direct-mapped write-back L2 Data cache
cpu0: disabling IP22 SysAD L2 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:0a:f3:26
wdsc0 at hpc0 offset 0x44000: WD33C93B SCSI, rev=0, target 7
scsibus2 at wdsc0: 8 targets, 8 luns per target
dsclock0 at hpc0 offset 0x60000
biomask 07 netmask 07 ttymask 0f clockmask bf
scsibus2: waiting 2 seconds for devices to settle...
sd0 at scsibus2 target 1 lun 0: <SEAGATE, ST34573N, 6244> SCSI2 0/direct fixed
sd0: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd0: sync (200.0ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd1 at scsibus2 target 2 lun 0: <INSITE, I325VM        *F, 0387> SCSI1
0/direct removable
sd1: drive offline
sd1: async, 8-bit transfers
md0: internal 3072 KB image area
boot device: sd0
root on md0a dumps on md0b
WARNING: clock gained 1603 days -- CHECK AND RESET THE DATE!
root file system type: ffs
Terminal type? [vt100]



and this is the Netbsd 3.1 Kernel:

Obtaining /netbsd31 from server 192.168.1.252
  -||\-\-/\\[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
    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 3.1 (GENERIC32_IP2x) #0: Tue Oct 31 08:23:52 UTC 2006
        builds@b1.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/sgimips/20061030

2053Z-obj/home/builds/ab/nebsd-3-1-RELEASE/src/sys/arch/sgimips/compile/GENERIC3
                                             2_IP2x
total memory = 160 MB
(768 KB reserved for ARCS)
avail memory = 151 MB
mainbus0 (root): SGI-IP22 [SGI, 690af326], 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
cpu0: 512KB/32B direct-mapped write-through L2 Data cache
ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guiness), board rev 0
int0 at mainbus0 addr 0x1fbd9880: bus 90MHz, CPU 180MHz
imc0 at mainbus0 addr 0x1fa00000: revision 3
gio0 at imc0
unknown GIO card (product 0x61 revision 0x00) at gio0 slot 0 addr
0x1f400000 not
configured
newport0 at gio0 slot 2 addr 0x1f000000: SGI NG1 (board revision 6,
cmap revisio                                              n 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
sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
sq0: Ethernet address 08:00:69:01:23:45
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, ST34573N, 6244> disk fixed
sd0: 4340 MB, 7501 cyl, 5 head, 237 sec, 512 bytes/sect x 8888924 sectors
sd0: sync (200.00ns offset 12), 8-bit (5.000MB/s) transfers, tagged queueing
sd1 at scsibus0 target 2 lun 0: <INSITE, I325VM        *F, 0387> disk removable
sd1(wdsc0:0:2:0):  Check Condition on CDB: 0x00 00 00 00 00 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Logical Unit Not Ready, Cause Not Reportable

sd1: drive offline
sd1: async, 8-bit transfers
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
panic: init died (signal 0, exit 1)
Stopped in pid 1.1 (init) at    0x882dadf8:     jr      ra
                bdslot: nop
db> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
 5                0        0          0 2 0x20200    1         aiodoned aiodone
 4                0        0          0 2 0x20200    1          ioflush  syncer
 3                0        0          0 2 0x20200    1       pagedaemon pgdaemo
 2                0        0          0 2 0x20200    1         scsibus0  sccomp
>1                0        0          0 2  0x4000    1             init
 0               -1        0          0 2 0x20200    1          swapper schedul
     db> bt
882dabe4+214 (91fff000,d,0,0) ra 8824177c sz 0
882415ec+190 (91fff000,d,0,0) ra 88216dec sz 40
88216aec+300 (91fff000,d,0,0) ra 0 sz 0
User-level: pid 1.1
db>



and this is current:

  \--//\\|-[ Kernel symbol table missing! ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  Al rights reserved.

NetBSD 4.99.9 (GENERIC32_IP2x) #2: Sat Jan 27 12:32:51 CET 2007

zafer@mia2:/home/zafer/netbsd/usr/objdir/sys/arch/sgimips/compile/GENERIC32_IP2x
total memory = 160 MB
(768 KB reserved for ARCS)
avail memory = 151 MB
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root): SGI-IP22 [SGI, 690af326], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 with built-in PU 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
cpu0: 512KB/32B direct-mapped write-through L2 Data cache
ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guinness), board rev 0
int0 at mainbs0 addr 0x1fbd9880
int0: bus 90MHz, CPU 180MHz
imc0 at mainbus0 addr 0x1fa00000: revision 3
gio0 at imc0
panic: cache error @ EPC 0x882d1bcc ErrCtl 0x2 CacheErr 0xa406a07a
Stopped in pid 0.1 (swapper) at 0x882d27b4:     jr      ra
                bdslot: nop

db> ps
 PID           PPID     PGRP        UID S   FLAGS LWPS          COMMAND    WAIT
>0               -1        0          0 2 0x20200    1          swapper
db> bt
882d1f1c+898 (91fff000,d,0,bfbd9830) ra 88251afc sz 0
88251964+198 (91fff000,d,0,bfbd9830) ra 0 sz 0
User-level: pid 0.1
db>

Any ideas how to get current running ?
Thanks, Zafer.