Subject: Re: "-mcpu=21264a" for kernel compile?
To: NetBSD/alpha Discussion List <port-alpha@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: port-alpha
Date: 12/12/2004 15:46:14
[ On Sunday, December 12, 2004 at 12:15:16 (+0100), Tobias Nygren wrote: ]
> Subject: Re: "-mcpu=21264a" for kernel compile?
>
> I tried a 2.0 -mcpu=21164pc kernel yesterday. It seems everything works ok,
> except when an unaligned access occurs in userland and machdep.unaligned_fix=1.
> Then after the exception handling the kernel will crash. (repeatable by trying
> to run for instance chat/centericq).
> I'll try to find out wether or not this is pca56 specific.

I've been running an "-O2 -mno-soft-float -mcpu-21164a" compiled 1.6.x
system on my AS4000, and sporadically on an ES40, for weeks now without
problems:

$ uptime
15:40:24  up 23 days,  7:08, 29 users, load averages: 0.40, 0.51, 0.73
$ /sbin/sysctl machdep
machdep.console_device = ttyC0
machdep.root_device = ld0
machdep.unaligned_print = 1
machdep.unaligned_fix = 1
machdep.unaligned_sigbus = 0
machdep.booted_kernel = netbsd
machdep.fp_sync_complete = 0

This dual-CPU AS4000 is "heavily" used (lots of builds, lots of emacs,
named, ntpd, rsync, NFS server, etc.).

I can't say I've ever run any kind of ICQ client though....   :-)


The only problem I've noticed has been the weird varargs/stdargs
vs. double problem in a printf() in bonnie.c (but apparently not in
anything else) that I've reported here before.


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>