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

next in thread | previous in thread | raw e-mail | index | archive | help
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




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