From owner-freebsd-alpha Sat Apr 17 19:25:12 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from gate.keisu.t.u-tokyo.ac.jp (ns06.t.u-tokyo.ac.jp [133.11.68.1]) by hub.freebsd.org (Postfix) with SMTP id 3966914C34 for ; Sat, 17 Apr 1999 19:25:09 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: (qmail 94175 invoked from network); 18 Apr 1999 02:22:45 -0000 Received: from sylph.sat.t.u-tokyo.ac.jp (10.6.1.20) by ns06.t.u-tokyo.ac.jp with SMTP; 18 Apr 1999 02:22:45 -0000 Received: from achat.sat.t.u-tokyo.ac.jp (achat.sat.t.u-tokyo.ac.jp [10.6.1.121]) by sylph.sat.t.u-tokyo.ac.jp (Postfix) with ESMTP id 707832DAB0; Sun, 18 Apr 1999 11:22:44 +0900 (JST) Received: from achat.sat.t.u-tokyo.ac.jp by achat.sat.t.u-tokyo.ac.jp (8.9.3/sat-V0.6) id LAA47504; Sun, 18 Apr 1999 11:22:45 +0900 (JST) Date: Sun, 18 Apr 1999 11:22:44 +0900 Message-ID: <14105.16884.141648.64658E@achat.sat.t.u-tokyo.ac.jp> From: Hidetoshi Shimokawa To: gallatin@cs.duke.edu Cc: tlambert@primenet.com, alpha@FreeBSD.ORG Subject: Re: egcs ready for alpha? In-Reply-To: In your message of "Sat, 17 Apr 1999 20:55:27 -0400 (EDT)" <14105.8549.100121.12762@grasshopper.cs.duke.edu> References: <199904172332.QAA23509@usr08.primenet.com> <14105.4357.904716.780151@grasshopper.cs.duke.edu> <14105.8549.100121.12762@grasshopper.cs.duke.edu> User-Agent: Wanderlust/0.9.7 (Everything She Wants) SEMI/1.13.2 (Mikawa) FLIM/1.12.5 (Hirahata) MULE XEmacs/21.0 (Poitou) (alpha-unknown-freebsd4.0) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7:#j7i14gu$ jgR\S*&C3R/pJX wrote: > Given that there are multiple sysctl's defining the behaviour, I'm not > sure what what you mean by zero and one, but I assume you mean you > want it to default to machdep.unaligned_sigbus=1? > > Well, currently it defaults to: > > machdep.unaligned_print: 1 > machdep.unaligned_fix: 1 > machdep.unaligned_sigbus: 0 > > This amounts to what I call 'whiny fixup', which is the behaviour > people have come to expect when running on this platform. At least > this is what Digital UNIX, NetBSD and Linux default to. > > All Hidetoshi Shimokawa's commit did was to give you the ability to > easily change this default via a sysctl. > Thank you for your explanation. This is exactly what I did. In my local tree, I replaced uprintf's with printf's for printing unaligned access so that they will be logged by syslogd. I have also 'machdep.unaligned_sigbus=1' in my rc.local to prevent too much warnnings. /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: finger -l simokawa@sat.t.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message