From owner-freebsd-alpha Fri Jan 25 5:50:29 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 73E0237B404 for ; Fri, 25 Jan 2002 05:50:26 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id IAA10854; Fri, 25 Jan 2002 08:46:29 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g0PDjxx77087; Fri, 25 Jan 2002 08:45:59 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15441.24983.522465.946392@grasshopper.cs.duke.edu> Date: Fri, 25 Jan 2002 08:45:59 -0500 (EST) To: Bernd Walter Cc: Peter Wemm , Wilko Bulte , Volker Stolz , freebsd-alpha@FreeBSD.ORG Subject: Re: alpha/34232: rpc.statd throws alignment errors In-Reply-To: <20020125112723.U75106@cicely8.cicely.de> References: <20020124221130.T75106@cicely8.cicely.de> <20020125052258.534753BAB@overcee.wemm.org> <20020125112723.U75106@cicely8.cicely.de> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Bernd Walter writes: > 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. Exactly. > > I've also noticed that it only seems to happen for lo0. > > It's gif0 and gif3 in my case. It seems to be every other interface in the list.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message