Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 16:52:23 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@freebsd.org, Rich Bud <rbud@fortean.com>
Subject:   Re: ifconfig gives unaligned access with faith driver
Message-ID:  <XFMail.011210165223.jhb@FreeBSD.org>
In-Reply-To: <15381.22096.993339.435960@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011210165223.jhb>