From owner-freebsd-alpha Mon Dec 10 16:52:33 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id CDC2237B41B for ; Mon, 10 Dec 2001 16:52:27 -0800 (PST) Received: (qmail 17173 invoked from network); 11 Dec 2001 00:52:26 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail12.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 11 Dec 2001 00:52:26 -0000 Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <15381.22096.993339.435960@grasshopper.cs.duke.edu> Date: Mon, 10 Dec 2001 16:52:23 -0800 (PST) From: John Baldwin To: Andrew Gallatin Subject: Re: ifconfig gives unaligned access with faith driver Cc: freebsd-alpha@freebsd.org, Rich Bud Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 11-Dec-01 Andrew Gallatin wrote: > > Rich Bud writes: > > > kernel to pop the error messages? If not, do i plug in va,pc,ra or op > > somewhere to track unaligned accesses down? > > > > Run uac -s in the shell you're debugging from, then run ifconfig under > gdb. The program should die with a sigbus at the site of the > unaligned access trap. Compiling with -Wcast-align might help track down problems as well. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message