From owner-freebsd-hackers Mon Mar 30 13:39:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27560 for freebsd-hackers-outgoing; Mon, 30 Mar 1998 13:39:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id NAA27504 for ; Mon, 30 Mar 1998 13:38:42 -0800 (PST) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA23325 (5.67b/IDA-1.5 for FreeBSD-hackers@FreeBSD.ORG); Mon, 30 Mar 1998 23:38:25 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.7/8.6.12) id XAA00572; Mon, 30 Mar 1998 23:31:48 +0200 (MET DST) From: Wilko Bulte Message-Id: <199803302131.XAA00572@yedi.iaf.nl> Subject: Re: getting netatalk to work on 2.2.5R In-Reply-To: from John Fieber at "Mar 30, 98 09:09:03 am" To: jfieber@indiana.edu Date: Mon, 30 Mar 1998 23:31:48 +0200 (MET DST) Cc: FreeBSD-hackers@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL32 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG As John Fieber wrote... > On Mon, 30 Mar 1998, Wilko Bulte wrote: > > > As John Fieber wrote... > > > The netatalk port works "out-of-the-box" on and "out-of-the-box" > > > 2.2.6 system. > > > > Right. > > > > And for completeness sake, can you build kernels with > > > > # Digital DEFPA fddi controller > > device fpa0 > > pseudo-device fddi > > > > in the kernel config file? > > Lets see... > [tapity, tap, tap. tap] > [crunchity, crucnch, crunch, crunch] > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -nostdinc -I- -I. -I../.. -I/usr/include -DMFS > -DFFS -DNETATALK -DINET -DCOMPAT_43 -DFAILSAFE -DKERNEL > ../../net/if_fddisubr.c > ../../net/if_fddisubr.c: In function `fddi_output': > ../../net/if_fddisubr.c:233: too many arguments to function > `at_ifawithnet' > *** Error code 1 > > Stop. > > Plonk. I guess a little investigation is in order. It may be > trivial. Then again, it may not be. I'm not a network guru, but I hacked around in if_fddisubr.c along the lines set by the patches for if_ethersubr.c: bash# diff if_fddisubr.c.orig if_fddisubr.c 230a231 > * see comments in if_ethersubr.c XXX 232,234c233,234 < if ((aa = (struct at_ifaddr *)at_ifawithnet( < (struct sockaddr_at *)dst, ifp->if_addrlist)) < == 0) --- > aa = (struct at_ifaddr *) at_ifawithnet((struct sockaddr_at *)dst); > if ( aa == NULL ) { 235a236 > } This gives me both a working fddi and a working netatalk environment. I'd appreciate a second opinion of a network knowledgeable person. If it is an acceptable hack, I'll send-pr a diff. BTW this is 2.2.5R based, but probably fits is 2.2.6R as well. Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko @ yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW: http://www.tcja.nl -------------------------------------------------- Powered by FreeBSD ------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message