Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 10:10:34 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        Chris Csanady <ccsanady@friley-185-114.res.iastate.edu>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: kernel traps on boot.. 
Message-ID:  <199810141710.KAA08380@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Tue, 13 Oct 1998 18:42:52 -0400 (EDT) 
 Andrew Gallatin <gallatin@cs.duke.edu> wrote:

 > Yes, as the comment in trap.c says: any unaligned access in the kernel 
 > is a bug.
 > 
 >  > think in NetBSD, they just print it to the console.  Has anyone
 > 
 > Last I looked, NetBSD panics.  Digital UNIX fixes up unaligned
 > accesses in versions prior to 4.0d.

NetBSD, by default, fixes unaligned accesses for user code, and logs them
to the console.  All unaligned accesses in the kernel are bugs, hence the
panic.  Changing the kernel to fixup unaligned access in the kernel is
just plain wrong.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 940 5942

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810141710.KAA08380>