From owner-freebsd-arm@FreeBSD.ORG Sun Jun 17 07:38:59 2007 Return-Path: X-Original-To: freebsd-arm@FreeBSD.ORG Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F72C16A41F for ; Sun, 17 Jun 2007 07:38:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 3083313C457 for ; Sun, 17 Jun 2007 07:38:59 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.13.8/8.13.4) with ESMTP id l5H7cMm1034406; Sun, 17 Jun 2007 01:38:22 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 17 Jun 2007 01:38:52 -0600 (MDT) Message-Id: <20070617.013852.387192063.imp@bsdimp.com> To: nathanw@uchicago.edu From: "M. Warner Losh" In-Reply-To: <20070616.223540.-1975970124.imp@bsdimp.com> References: <286AD52D-FCA7-4814-97B7-2870B42488C6@uchicago.edu> <20070616.223540.-1975970124.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Sun, 17 Jun 2007 01:38:22 -0600 (MDT) Cc: freebsd-arm@FreeBSD.ORG Subject: Re: PPP Bus Error X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 07:38:59 -0000 In message: <20070616.223540.-1975970124.imp@bsdimp.com> "M. Warner Losh" writes: : In message: <286AD52D-FCA7-4814-97B7-2870B42488C6@uchicago.edu> : Nathan Whitehorn writes: : : I'm trying to establish a PPPoE connection and both ppp and mpd exit : : with bus errors, and weird traces. Reading through the list, I see : : someone experienced a similar error last year. Because they both : : fail, I suspect the bug is in the netgraph ppp stuff (an alignment : : bug, maybe?), but I was interested in knowing whether anyone else has : : solved this problem already. Thanks, : : I'd check all the alignment of structures. I suspect that's what's : doing you in... Not all the code in the FreeBSD kernel has been : carefully audited for proper structure alignment. P.S. Can you send me a traceback? Since it is ppp, the userland program, the bus error is what you get when you do an unaligned access. Warner