Subject: Re: port-mac68k universe
To: Brian Wildasinn <bwildasi@csulb.edu>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 10/16/1997 20:20:22
On Thu, 16 Oct 1997, Brian Wildasinn wrote:
> sys.tar.gz from
> netbsd.org/pub/NetBSD/NetBSD-current/tar_files/src/sys.tar.gz.
> 
> Here's what's been a happening:
> 
> > The kernel compiled, but turned out to be bogus since at boot time it dumped
> > its registers giving this explanation:
> >
> > trap type 1, code=0, v=16bccc
> > kernel: Address error trap
> > pid=0, pc=00E2416, p=2000, sfc=0001, dfc=0001...
> > panic: Address error

What's the date on that sys.tar.gz? In particular, what's the date of the
sys/arch/mac68k/mac68k/machdep.c file? That problem sounds exactly like a
bug from around mid-July or so. Make sure the initcpu() function in that
file has the following:

#ifdef M68040
        case CPU_68040:
                vectab[2] = buserr40;
                vectab[3] = addrerr4060;
                break;
#endif

If buserr40 and addrerr4060 are reversed, you have the buggy version of
the file and should upgrade.
-- 
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 21 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++