Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Oct 1998 11:33:18 -0700
From:      David Greenman <dg@root.com>
To:        Jason Thorpe <thorpej@nas.nasa.gov>
Cc:        Andrew Gallatin <gallatin@cs.duke.edu>, Chris Csanady <ccsanady@friley-185-114.res.iastate.edu>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: kernel traps on boot.. 
Message-ID:  <199810141833.LAA01067@implode.root.com>
In-Reply-To: Your message of "Wed, 14 Oct 1998 10:10:34 PDT." <199810141710.KAA08380@lestat.nas.nasa.gov> 

next in thread | previous 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.

   Kernel printf's spewing on the console are a pretty annoying way to
encourage someone to fix the problem. I think I'd rather see that than a
panic.

-DG

David Greenman
Co-founder/Principal Architect, The FreeBSD Project

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?199810141833.LAA01067>