Date: Tue, 11 Dec 2001 09:42:06 +0100 (CET) From: Riccardo.Veraldi@fi.infn.it To: Andrew Gallatin <gallatin@cs.duke.edu> Cc: Rich Bud <rbud@fortean.com>, <freebsd-alpha@freebsd.org> Subject: Re: ifconfig gives unaligned access with faith driver Message-ID: <Pine.NEB.4.33.0112110939240.261-100000@dijkstra.fi.infn.it> In-Reply-To: <15381.22096.993339.435960@grasshopper.cs.duke.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
very nice this uac program! here is hte result I got from the ifconfig.core Program terminated with signal 10, Bus error. #0 status (afp=0x12003e538, addrcount=2, sdl=0x30312e3534312e34, ifm=0x12006c134, ifam=0x12006c214) at ifconfig.c:1148 1148 if (allfamilies || afp->af_status == ether_status) (gdb) bt #0 status (afp=0x12003e538, addrcount=2, sdl=0x30312e3534312e34, ifm=0x12006c134, ifam=0x12006c214) at ifconfig.c:1148 #1 0x120000cbc in main (argc=0, argv=0x12006c134) at ifconfig.c:633 (gdb) info registers v0 0xa 10 t0 0x120070038 4832297016 t1 0x3e5453414349544c 4491306268162085964 t2 0x5453414349544c 23735437810553932 t3 0x120056958 4832192856 t4 0x2c 44 t5 0x0 0 t6 0x3d736761 1030973281 t7 0xa6576693d736761 749135107401672545 s0 0x12006c214 4832281108 s1 0x12003e538 4832093496 s2 0x3 3 s3 0x0 0 s4 0x2 2 s5 0x1 1 fp 0x12006c134 4832280884 a0 0x54 84 a1 0x0 0 a2 0x4 4 a3 0x11ffb49c 301970588 a4 0x120070010 4832296976 a5 0x0 0 t8 0x0 0 t9 0x0 0 t10 0x0 0 t11 0x0 0 ra 0x1200022b0 4831847088 t12 0x120034800 4832053248 at 0x120056b80 4832193408 gp 0x12005ef28 4832227112 sp 0x11ffb658 301971032 zero 0x0 0 pc 0x1200022bc 4831847100 vfp 0x11ffba28 301972008 (gdb) info frame Stack level 0, frame at 0x11ffba28: pc = 0x1200022bc in status (ifconfig.c:1148); saved pc 0x120000cbc called by frame at 0x11ffbae8 source language c. frame pointer is at sp+976 Arglist at 0x11ffb9f8, args: afp=0x12003e538, addrcount=2, sdl=0x30312e3534312e34, ifm=0x12006c134, ifam=0x12006c214 Locals at 0x11ffba28, Previous frame's sp is 0x11ffba28 Saved registers: s0 at 0x11ffb660, s1 at 0x11ffb668, s2 at 0x11ffb670, s3 at 0x11ffb678, s4 at 0x11ffb680, s5 at 0x11ffb688, fp at 0x11ffb690, ra at 0x11ffb658, pc at 0x11ffb658 I hope this can be useful ciao Rick On Mon, 10 Dec 2001, Andrew Gallatin wrote: > Date: Mon, 10 Dec 2001 19:41:52 -0500 (EST) > From: Andrew Gallatin <gallatin@cs.duke.edu> > To: Rich Bud <rbud@fortean.com> > Cc: freebsd-alpha@freebsd.org > Subject: Re: ifconfig gives unaligned access with faith driver > > > 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. > > Drew > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.4.33.0112110939240.261-100000>