Subject: Kernel compile trouble
To: Rafal Boni <rafal@attbi.com>
From: Robert Boehne <rboehne@attbi.nospam.com>
List: port-sgimips
Date: 05/02/2002 07:37:02
Hello,
I downloaded the latest config file GENERIC from mrynet,
got the latest CVS kernel sources, and applied the patch
to disable the L2 cache for my R5k. I rebuilt the
kernel but it panics when I boot from the drive:
argv[7]:
OSLoadFilename=netbsd
Boot:
scsi(0)disk(1)rdisk(0)partition(0)netbsd
devopen: scsi(0)disk(1)rdisk(0)partition(0) type scsi file
netbsd
1504672\
Exception:
<vector=Normal>
Status register:
0x30004803<CU1,CU0,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE> Cause
register:
0xc000<CE=0,IP8,IP7,EXC=INT>
Exception PC: 0x9fc0e1b0, Exception RA:
0x9fc0d008 Interrupt
exception
CPU Bus Error
Interrupt Local
I/O interrupt register 1: 0xc0
<VIDEO,VR/GIO2> CPU parity error register:
0x400<ADDR> CPU bus error:
address: 0x8082050 Saved
user regs in hex (&gpda 0xa8740e48, &_regs
0xa8741048): arg: a8740000 8900e060 8900f770
0 tmp: a8740000 a87434d8
a8747ae0 a8748ddc e 8900d790 0 200 sve: a8740000 3
400000 8000000 16 3f80 0 8000000 t8
a8740000 t9 0 at 0 v0 0 v1 0 k1
8000 gp a8740000 fp 0 sp 0 ra
0
PANIC: Unexpected
exception
[Press reset or ENTER to restart.]
I had first attemtped this with INET6 set in the kernel config file
but got the same panic (with kernel source a few days older) so I
re-tried it last night. Here is the panic from a few days ago, it
looks to be the same problem. Is there a problem with the CVS head
source for NetBSD/sgimips or something else? To build the kernel,
I just copied the config file, patched the updated source, and built.
I didn't change anything, and I used the GENERIC config (to disable
the L2 cache).
devopen: scsi(0)disk(1)rdisk(0)partition(0) type scsi file netbsd
1691824/
Exception: <vector=Normal>
Status register: 0x30004803<CU1,CU0,IM7,IM4,IPL=???,MODE=KERNEL,EXL,IE>
Cause register: 0xc01c<CE=0,IP8,IP7,EXC=DBE>
Exception PC: 0x89005978, Exception RA: 0x89001fcc
Data Bus error GIO Timeout Interrupt
Local I/O interrupt register 1: 0x80 <VR/GIO2>
GIO parity error register: 0x400<TIME>
GIO bus error: address: 0x90000
Saved user regs in hex (&gpda 0xa8740e48, &_regs 0xa8741048):
arg: a8740000 0 2000 0
tmp: a8740000 2000 8900b6b0 1760b0 80092000 0 8900b480 a87fec38
sve: a8740000 3 400000 8000000 16 3f80 0 8000000
t8 a8740000 t9 9fe20804 at 487d2010 v0 8b628b v1 235c0e0c k1 0
gp a8740000 fp c9e04137 sp 2d18487d ra 20549e00
PANIC: Unexpected exception