Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2002 08:45:59 -0500 (EST)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Bernd Walter <ticso@cicely8.cicely.de>
Cc:        Peter Wemm <peter@wemm.org>, Wilko Bulte <wkb@freebie.xs4all.nl>, Volker Stolz <stolz@hyperion.informatik.rwth-aachen.de>, freebsd-alpha@FreeBSD.ORG
Subject:   Re: alpha/34232: rpc.statd throws alignment errors
Message-ID:  <15441.24983.522465.946392@grasshopper.cs.duke.edu>
In-Reply-To: <20020125112723.U75106@cicely8.cicely.de>
References:  <20020124221130.T75106@cicely8.cicely.de> <20020125052258.534753BAB@overcee.wemm.org> <20020125112723.U75106@cicely8.cicely.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15441.24983.522465.946392>