Subject: Re: Kernel compile trouble
To: sgimips NetBSD list <sgimips@mrynet.com>
From: Robert Boehne <rboehne@attbi.nospam.com>
List: port-sgimips
Date: 05/03/2002 06:49:14
Scott,

Well, it looks like that was the culprit.  I made the change
below, took out the other patches for disablnig the cache,
and built a kernel with CVS of May-3 1:00 GMT.

Thanks,

Robert

sgimips NetBSD list wrote:
> 
> Robert,
> 
> Here's one thing you should address:
> 
> Index: std.sgimips
> ===================================================================
> RCS file: /cvsroot/syssrc/sys/arch/sgimips/conf/std.sgimips,v
> retrieving revision 1.12
> diff -r1.12 std.sgimips
> 10c10
> < makeoptions   DEFTEXTADDR="0x80069000"
> ---
> > makeoptions   DEFTEXTADDR="0x88069000"
> 
> That TEXTADDR needs to be 88069000 instead of 80069000.  The O2
> uses the 800xxxxx address.
> 
> Let me know if that resolves the issue.
> 
> I'm performing a "cvs diff" right now to update a log of where
> I differ from the cvs tree.  I'll check for anything else
> differing in my tree.
> 
> -scott
> 
> > 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: 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.]
> >
> >