Date: Mon, 29 May 2006 00:30:09 -0400 From: "James Tanis" <jtanis@pycoder.org> To: "Michael Ortmann" <mortmann@googlemail.com> Cc: freebsd-sparc64@freebsd.org Subject: Re: panic: trap: memory address not aligned (tap/if_bridge/openvpn -> kgdb information) Message-ID: <65dcde740605282130s6443a3br3f291951aa9239be@mail.gmail.com> In-Reply-To: <4479E88A.3050504@googlemail.com> References: <4476C40B.7060709@googlemail.com> <65dcde740605261009w77a7524ao3db3be74659ffe03@mail.gmail.com> <4478D26A.8010304@googlemail.com> <65dcde740605271836p7ead1854j966f0be36da854f5@mail.gmail.com> <4479E88A.3050504@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I don't know, think its the blind leading the blind here. I think you need someone wiser in the force then I :P. On 5/28/06, Michael Ortmann <mortmann@googlemail.com> wrote: > James Tanis schrieb: > > I don't really know why it has to be the kernel's fault as you said, > > the error is memory address is not aligned, which unlike i386, is > > illegal under sparc32/64. I'm no kernel hacker either, but it seems to > > me that the userland program is attempting to access memory at an > > inappropriate address. Honestly the error could be caused by anything, > > but if you have searched Google (and you should have by now) you'll > > see the error could be cause by a multitude of things, this was just > > one idea. I've never even used openvpn. I may try installing it today > > or tomorrow, if I put freebsd back on my ultra60 just to see if I get > > the same thing. > > i thought its the kernels fault because a userland program should never > make the kernel panic, but segfault itself. else any userprogram could > just write to an unaligned address and therefore crash the system - thus > any user could crash the system. > > ok, openvpn is suid root but it should not access the kernels memory in > any case, should it? > > im sure openvpn worked on sparc64/freebsd before, so, i could try out > older/different openvpn versions and hunt the bug down there. but i > still feel its not openvpns fault. how can i see if a kerneldriver > (tap/if_brige) or openvpn leads to the crash? ill try to do ifconfig by > hand and do what openvpn does, may be i can reproduce the crash that way.= .. > > regards, > Michael Ortmann > _______________________________________________ > freebsd-sparc64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 > To unsubscribe, send any mail to "freebsd-sparc64-unsubscribe@freebsd.org= " > --=20 James Tanis jtanis@pycoder.org http://pycoder.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?65dcde740605282130s6443a3br3f291951aa9239be>