From owner-freebsd-alpha Tue Dec 11 0:48: 0 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from postino.fi.infn.it (postino.fi.infn.it [192.84.145.9]) by hub.freebsd.org (Postfix) with ESMTP id 4791737B416; Tue, 11 Dec 2001 00:47:54 -0800 (PST) Received: from dijkstra.fi.infn.it (dijkstra.fi.infn.it [192.84.145.11]) by postino.fi.infn.it (8.11.5/8.11.5) with ESMTP id fBB8loK83536; Tue, 11 Dec 2001 09:47:50 +0100 (CET) From: Riccardo.Veraldi@fi.infn.it Received: by dijkstra.fi.infn.it (Postfix, from userid 1001) id D4DEE1E02; Tue, 11 Dec 2001 09:46:30 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by dijkstra.fi.infn.it (Postfix) with ESMTP id 8520418601; Tue, 11 Dec 2001 09:46:30 +0100 (CET) Date: Tue, 11 Dec 2001 09:46:29 +0100 (CET) X-X-Sender: To: John Baldwin Cc: Andrew Gallatin , , Rich Bud Subject: Re: ifconfig gives unaligned access with faith driver In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Filter-Version: 1.7 (postino.fi.infn.it) 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 In my case ifconfig reports unaligned access on dc0 and fxp0 the 2 NICs dc0: flags=8843 mtu 1500 inet6 fe80::200:f8ff:fe75:81c0%dc0 prefixlen 64 scopeid 0x1 ether 00:00:f8:75:81:c0 media: Ethernet autoselect (10baseT/UTP) status: active pid 14068 (ifconfig): unaligned access: va=0x12006c154 pc=0x1200022bc ra=0x1200022b0 op=ldq pid 14068 (ifconfig): unaligned access: va=0x12006c14c pc=0x1200022d8 ra=0x1200022b0 op=ldq fxp0: flags=8843 mtu 1500 inet 172.16.16.254 netmask 0xffffff00 broadcast 172.16.16.255 inet6 fe80::202:b3ff:fe2b:2591%fxp0 prefixlen 64 scopeid 0x2 ether 00:02:b3:2b:25:91 media: Ethernet autoselect (10baseT/UTP) status: active pid 14068 (ifconfig): unaligned access: va=0x12006c2c4 pc=0x1200022bc ra=0x1200022b0 op=ldq pid 14068 (ifconfig): unaligned access: va=0x12006c2bc pc=0x1200022d8 ra=0x1200022b0 op=ldq Rick On Mon, 10 Dec 2001, John Baldwin wrote: > Date: Mon, 10 Dec 2001 16:52:23 -0800 (PST) > From: John Baldwin > To: Andrew Gallatin > Cc: freebsd-alpha@freebsd.org, Rich Bud > Subject: Re: ifconfig gives unaligned access with faith driver > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message