From owner-freebsd-sparc64@FreeBSD.ORG Mon Nov 21 21:26:29 2005 Return-Path: X-Original-To: sparc64@freebsd.org Delivered-To: freebsd-sparc64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D88F716A41F; Mon, 21 Nov 2005 21:26:28 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B0F643E76; Mon, 21 Nov 2005 21:23:38 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 2381563 for multiple; Mon, 21 Nov 2005 16:23:41 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jALLNRMM071658; Mon, 21 Nov 2005 16:23:27 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-sparc64@freebsd.org Date: Mon, 21 Nov 2005 16:23:33 -0500 User-Agent: KMail/1.8.2 References: <5D4CE421-AC74-40D6-AB53-836630BB8F19@xcllnt.net> <200511210949.12455.jhb@freebsd.org> <200511211614.16590.jhb@freebsd.org> In-Reply-To: <200511211614.16590.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511211623.35777.jhb@freebsd.org> X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: alpha@freebsd.org, current@freebsd.org, freebsd-alpha@freebsd.org, sparc64@freebsd.org Subject: Re: dc(4) related misalignment trap X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Nov 2005 21:26:29 -0000 On Monday 21 November 2005 04:14 pm, John Baldwin wrote: > On Monday 21 November 2005 09:49 am, John Baldwin wrote: > > > Register s3 holds the sp variable ($2 in kgdb) > > > Register t0 holds the result the left-hand side of the statement, which > > > is not properly aligned for a 16-bit load ($7 = register t0 + 8). > > > > > > Rough patch to fix the problem attached: > > > > I think de(4) would need the same fix as well at least. > > Once I fixed another bug with de(4) due to ru@'s recent changes I wasn't > able to reproduce an alignment trap with de(4) on my alpha, so although I > have a patch for de(4) I can't test it. How are you triggering the > alignment fault? Do you have something other than 'ifconfig_dc0="DHCP"' in > /etc/rc.conf? Check that, it would help to let the multiuser boot finish before firing off the e-mail. I did indeed get the alignment fault during dhcp, so I'll be testing that alignment patch in a minute or so. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org