Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 1999 15:10:43 +0200 (CEST)
From:      Michael Ranner <mranner@netway.at>
To:        Gary Jennejohn <garyj@muc.de>, freebsd-isdn@freebsd.org
Subject:   Re: A new prob with 3.2R and 0.83 Was: 14b L2 and L3 errors
Message-ID:  <XFMail.990927150739.mranner@netway.at>
In-Reply-To: <199909260740.JAA02203@peedub.muc.de>

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

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 <mranner@netway.at>
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




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