From owner-freebsd-alpha Fri Jan 25 2:29:55 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id B6A3837B402 for ; Fri, 25 Jan 2002 02:29:45 -0800 (PST) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.11.6/8.11.6) with UUCP id g0PASNJ72755; Fri, 25 Jan 2002 11:28:23 +0100 (CET) (envelope-from ticso@cicely8.cicely.de) Received: from mail.cicely.de (cicely20.cicely.de [10.1.1.22]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g0PASeZ9000839; Fri, 25 Jan 2002 11:28:40 +0100 (CET)?g (envelope-from ticso@cicely8.cicely.de) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by mail.cicely.de (8.11.0/8.11.0) with ESMTP id g0PASeW21708; Fri, 25 Jan 2002 11:28:40 +0100 (CET) Received: (from ticso@localhost) by cicely8.cicely.de (8.11.6/8.11.6) id g0PARO082998; Fri, 25 Jan 2002 11:27:24 +0100 (CET) (envelope-from ticso) Date: Fri, 25 Jan 2002 11:27:24 +0100 From: Bernd Walter To: Peter Wemm Cc: Wilko Bulte , Andrew Gallatin , Volker Stolz , freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/34232: rpc.statd throws alignment errors Message-ID: <20020125112723.U75106@cicely8.cicely.de> References: <20020124221130.T75106@cicely8.cicely.de> <20020125052258.534753BAB@overcee.wemm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020125052258.534753BAB@overcee.wemm.org> User-Agent: Mutt/1.3.23i X-Operating-System: FreeBSD cicely8.cicely.de 5.0-CURRENT i386 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 On Thu, Jan 24, 2002 at 09:22:58PM -0800, Peter Wemm wrote: > Bernd Walter wrote: > > > That was also the theory on the ifconfig alignment errors. > > > > The ifconfig thing is simply a programming error when transfering > > structures over sysctl. > > I already stated to provide a fix over the weekend. > > If I'm guessing right that get_myaddress() also reads the interface > > list this might have the same reason. > > Can you be a little more specific? Is the kernel generating an unaligned > sysctl data buffer? Yes - it concatenates structs where at least one of them is not n*8 bytes long son the next one get missaligned. > I've also noticed that it only seems to happen for lo0. It's gif0 and gif3 in my case. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message