From owner-freebsd-alpha Wed Oct 14 11:36:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA05974 for freebsd-alpha-outgoing; Wed, 14 Oct 1998 11:36:17 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA05962 for ; Wed, 14 Oct 1998 11:36:13 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id LAA01067; Wed, 14 Oct 1998 11:33:18 -0700 (PDT) Message-Id: <199810141833.LAA01067@implode.root.com> To: Jason Thorpe cc: Andrew Gallatin , Chris Csanady , freebsd-alpha@FreeBSD.ORG Subject: Re: kernel traps on boot.. In-reply-to: Your message of "Wed, 14 Oct 1998 10:10:34 PDT." <199810141710.KAA08380@lestat.nas.nasa.gov> From: David Greenman Reply-To: dg@root.com Date: Wed, 14 Oct 1998 11:33:18 -0700 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >On Tue, 13 Oct 1998 18:42:52 -0400 (EDT) > Andrew Gallatin 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