From owner-freebsd-current@FreeBSD.ORG Tue Nov 22 01:28:13 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24E6216A41F; Tue, 22 Nov 2005 01:28:13 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 839B443D6A; Tue, 22 Nov 2005 01:27:50 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.4/8.13.4) with ESMTP id jAM1RnDQ039215; Mon, 21 Nov 2005 17:27:49 -0800 (PST) (envelope-from marcel@xcllnt.net) In-Reply-To: <200511211651.36569.jhb@freebsd.org> References: <5D4CE421-AC74-40D6-AB53-836630BB8F19@xcllnt.net> <200511211614.16590.jhb@freebsd.org> <200511211623.35777.jhb@freebsd.org> <200511211651.36569.jhb@freebsd.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <5B81B657-00AF-46C7-A94E-1C330435328C@xcllnt.net> Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Mon, 21 Nov 2005 17:27:48 -0800 To: John Baldwin X-Mailer: Apple Mail (2.746.2) Cc: alpha@freebsd.org, freebsd-sparc64@freebsd.org, current@freebsd.org Subject: Re: dc(4) related misalignment trap X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Nov 2005 01:28:13 -0000 On Nov 21, 2005, at 1:51 PM, John Baldwin wrote: > On Monday 21 November 2005 04:23 pm, John Baldwin wrote: >> 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. > > Ok, so the same change Marcel posted for dc(4) fixed de(4) as well, > so Marcel, > I think you should be good to go to commit your dc(4) patch. Will do. Thanks for taking care of de(4). -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net