From owner-freebsd-sparc64@FreeBSD.ORG Sun May 28 18:41:15 2006 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C50B416C6B2 for ; Sun, 28 May 2006 18:41:15 +0000 (UTC) (envelope-from mortmann@googlemail.com) Received: from hu-out-0102.google.com (hu-out-0102.google.com [72.14.214.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08C0E43DAF for ; Sun, 28 May 2006 18:40:56 +0000 (GMT) (envelope-from mortmann@googlemail.com) Received: by hu-out-0102.google.com with SMTP id 28so352245hug for ; Sun, 28 May 2006 11:40:55 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=HXFbuVwEEe8RBQxYoZ5KLkY6Nm1I+sUh7Hoyg0FkmYn1PPgCbz4KzJsTJASQ92EBgrmEj6vWqz6r065T9CPxjy8ktNddIozbHEdCfkIt0lhfUHvYFlP8tZCpKYi8OmmtiyU8uz5vpjsLSPZcocUbFdnmYSVla9LHyYErFCcW5mg= Received: by 10.49.32.10 with SMTP id k10mr1067203nfj; Sun, 28 May 2006 11:14:37 -0700 (PDT) Received: from ?192.168.1.22? ( [217.91.92.201]) by mx.gmail.com with ESMTP id x1sm2923875nfb.2006.05.28.11.14.36; Sun, 28 May 2006 11:14:37 -0700 (PDT) Message-ID: <4479E88A.3050504@googlemail.com> Date: Sun, 28 May 2006 20:14:34 +0200 From: Michael Ortmann User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: de-DE, de, en-us, en MIME-Version: 1.0 To: freebsd-sparc64@freebsd.org References: <4476C40B.7060709@googlemail.com> <65dcde740605261009w77a7524ao3db3be74659ffe03@mail.gmail.com> <4478D26A.8010304@googlemail.com> <65dcde740605271836p7ead1854j966f0be36da854f5@mail.gmail.com> In-Reply-To: <65dcde740605271836p7ead1854j966f0be36da854f5@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: panic: trap: memory address not aligned (tap/if_bridge/openvpn -> kgdb information) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 18:41:22 -0000 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