From owner-freebsd-isdn Mon Sep 27 6:13:12 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from jawa.at (t2p053.at-316.netway.at [195.96.17.53]) by hub.freebsd.org (Postfix) with ESMTP id CF87D14A2F for ; Mon, 27 Sep 1999 06:13:07 -0700 (PDT) (envelope-from mranner@netway.at) Received: from mike.netway.at (mike.jawa.at [192.168.0.51]) by jawa.at (8.9.3/8.9.3) with ESMTP id PAA00377; Mon, 27 Sep 1999 15:13:03 +0200 (CEST) (envelope-from mranner@netway.at) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) In-Reply-To: <199909260740.JAA02203@peedub.muc.de> Date: Mon, 27 Sep 1999 15:10:43 +0200 (CEST) Reply-To: mranner@netway.at From: Michael Ranner To: Gary Jennejohn , freebsd-isdn@freebsd.org Subject: Re: A new prob with 3.2R and 0.83 Was: 14b L2 and L3 errors Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 26-Sep-99 Gary Jennejohn wrote: > Michael Ranner writes: >>Yes. "spppcontrol isp0" failed with: >> >>spppcontrol: SIOCGIFGENERIC(SPPPIOGDEFS): Invalid argument >> >>but it's compiled with the correct if_sppp.h. I have also checked the >>other includes and the date of the spppcontrol binary. The includes are all >>linked to the 0.83 source directory and spppcontrol is the correct compiled >>version, so I have no idea. >> > > OK, I did some poking around. Is /sys/net/if_sppp.h identical to the > file used to compile spppcontrol ? And is SPPP_VJ defined in > /sys/net/if_spppsubr.c (it is in spppcontrol.c) ? > > If these 2 things are not correct then some of the structures used in > the kernel and spppcontrol will have different sizes which leads to the > reported error. > /sys/net/if_sppp.h is identical to the file used to compile spppcontrol! But SPPP_VJ is not defined in /sys/net/if_spppsubr.c but in spppcontrol.c. I put an DEFINE SPPP_VJ at the top of if_spppsubr.c and compiled the kernel and spppcontrol new. But now my kernel panics on boot time while starting natd?!?! Should I define SPPP_VJ elsewhere. Has this to do something with IPR_VJ in the kernel config file? the 0.83 spppcontrol works with the old kernel (compiled from 0.82) but not with the new (compiled with 0.83 i4b)! /\/\ichael Ranner - Michael Ranner Michael.Ranner@netway.at - webmaster@mariazell.org ---------------------------------------------------------------------- Homepage: http://www.netlounge.at/mranner/ Mariazell Online: http://www.mariazell.at/ ---------------------------------------------------------------------- What makes the universe so hard to comprehend is that there's nothing to compare it with. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message