Subject: Re: NetBSD-current on Amiga?
To: John Klos <john@ziaspace.com>
From: Ignatios Souvatzis <is@netbsd.org>
List: port-amiga
Date: 09/19/2006 11:38:46
On Mon, Sep 18, 2006 at 09:59:12PM +0200, Ignatios Souvatzis wrote:
> On Mon, Sep 18, 2006 at 10:35:04AM -0700, John Klos wrote:
> > Hi,
> > 
> > > And it was indeed using a cached page for the segment tables.  The uvm
> > >changes resulted in the page allocated for the segment tables to be
> > >entered in a manner that the current method of makeing the page non-cached
> > >no longer works.  I have fixed the amiga pmap to directly change the PTE
> > >bits and my amiga now is quite happy, without excessive faulting.
> > 
> > Followup: I was confused about the emulated instruction problem partly 
> > because a standard netbsd-4 kernel (such as one from NetBSD-daily/netbsd4) 
> > would basically be unusable, but a kernel compiled with -m68060 doesn't 
> > exhibit any of the problems you're seeing.
> 
> Wait. A standard GENERIC kernel should be compiled with -m68060
> -Wa,-m68020 -Wa,-m68851 (IIRC), unless somebody broke the kernel
> Makefile. 
> 
> -m68060 is omitted if the 68060 CPU isn't supported.

I checked a -current build out of the box, source date 20060907 (top
level Makefile).

Citing from the build window:

/usr/local/sources/cur/src/../tools/bin/m68k--netbsdelf-gcc  -m68060
-Wa,-m68030 -Wa,-m68851 -msoft-float -ffreestanding
-fno-zero-initialized-in-bss   -O2 [...] vers.c

How exactly did you manage to build a kernel with
options M68060 but without -m68060?

Regards,
	-is
-- 
seal your e-mail: http://www.gnupg.org/