Date: Sun, 28 May 2006 20:14:34 +0200 From: Michael Ortmann <mortmann@googlemail.com> To: freebsd-sparc64@freebsd.org Subject: Re: panic: trap: memory address not aligned (tap/if_bridge/openvpn -> kgdb information) Message-ID: <4479E88A.3050504@googlemail.com> In-Reply-To: <65dcde740605271836p7ead1854j966f0be36da854f5@mail.gmail.com> References: <4476C40B.7060709@googlemail.com> <65dcde740605261009w77a7524ao3db3be74659ffe03@mail.gmail.com> <4478D26A.8010304@googlemail.com> <65dcde740605271836p7ead1854j966f0be36da854f5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4479E88A.3050504>