From owner-freebsd-arm@FreeBSD.ORG Tue Jun 26 23:06:17 2007 Return-Path: X-Original-To: freebsd-arm@FreeBSD.org Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67BEB16A421 for ; Tue, 26 Jun 2007 23:06:17 +0000 (UTC) (envelope-from nathanw@uchicago.edu) Received: from relay00.uchicago.edu (relay00.uchicago.edu [128.135.12.75]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE7813C4AD for ; Tue, 26 Jun 2007 23:06:17 +0000 (UTC) (envelope-from nathanw@uchicago.edu) Received: from harper.uchicago.edu (harper.uchicago.edu [128.135.12.7]) by relay00.uchicago.edu (8.13.8/8.12.9) with ESMTP id l5QN4okl024938; Tue, 26 Jun 2007 18:04:50 -0500 (CDT) Received: from localhost (nathanw@localhost) by harper.uchicago.edu (8.12.10/8.12.10) with ESMTP id l5QN4nMo000989; Tue, 26 Jun 2007 18:04:49 -0500 (CDT) X-Authentication-Warning: harper.uchicago.edu: nathanw owned process doing -bs Date: Tue, 26 Jun 2007 18:04:49 -0500 (CDT) From: Nathan Whitehorn To: Robert Watson In-Reply-To: <20070626211249.T6716@fledge.watson.org> Message-ID: References: <46815A9D.5010803@errno.com> <20070626211249.T6716@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-arm@FreeBSD.org Subject: Re: Netatalk and named broken on arm? X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 23:06:17 -0000 On Tue, 26 Jun 2007, Robert Watson wrote: > > On Tue, 26 Jun 2007, Sam Leffler wrote: > >> Nathan Whitehorn wrote: >> >>> I'm having problems with both netatalk and named on my Avila system -- in >>> particular AARP seems to be broken (it sends out bogus packets asking >>> about address 0.0.0 from 0.0, and it works on other big-endian systems >>> like sparc64), and named hangs when starting. Are these known problems, >>> and do they have known solutions? >> >> Not sure about named but it's unlikely anyone has tried netatalk. > > As I understand it, issues of alignment/packing often come up with network > code when running on ARM. Try adding __packed to the definition of sturct > ether_aarp in aarp.h and rebuilding the kernel? > > Robert N M Watson > Computer Laboratory > University of Cambridge That was it. I now have a very functional AppleTalk router. The patches that are needed are here: http://hep.uchicago.edu/~nathanw/netatalk-sys.diff (to the kernel bits of netatalk) http://hep.uchicago.edu/~nathanw/netatalk-port.diff (to the netatalk port, which I'll send over to the netatalk people) Could someone commit the kernel one? -Nathan