Subject: Data Exception while loading kernel.
To: None <port-sparc@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: port-sparc
Date: 09/23/2002 10:59:38
Mostly FYI, but if anyone has any explaination that would be cool.
I upgraded my gateway box from 1.5 to 1.6 over the weekend.
Its a sparc/Classic. In an effort to minimized downtime, I pre-build
the needed packages and custom kernel on an SS20 (also
running 1.6). The Classic came up ok and all was well, but when
I booted it with the custom kernel I got:
Boot device: /iommu/sbus/espdma@4,8400000/esp@4,8800000/
sd@3,0 File and args: netbsd.n -s
>> NetBSD/sparc Secondary Boot, Revision 1.12
>> (autobuild@tgm.daemon.org, Mon Sep 9 08:12:32 UTC 2002)
Booting netbsd.n
4477624Data Access Exception
ok boot netbsd
Resetting ...
having replaced the bootblocks, I re-built the kernel after
removing the following from /etc/mk.conf
DBG= -O1
COPTS+= -mcpu=v8
without these the kernel loaded fine.
BTW pkgsrc/devel/cpuflags/files/cpuflags.NetBSD suggests -msupersparc
for both the Classic and SS20 btw. I've not tried that yet.
Nor have I tested whether it was -O1 or -mcpu=v8 causing the problem.
Thanks
--sjg