Re: i4b probleme

From: Hellmuth Michaelis <hm(at)hcs.de>
Date: Wed, 25 Aug 1999 10:42:38 +0200 (METDST)

>From the keyboard of Stephan:

> habe von i4b 0070 auf 0083 upgedated. (unter FBSD 3.2-RELEASE)
>
> seit dem update geht kein spppcontrol isp0 mehr:
> es kommt nur die Meldung:
>
> spppcontrol: SIOCGIFGENERIC (SPPPIOGDEFS): Invalid argument

Neulich, auf der ISDN Mailing-liste:

Date: Tue, 24 Aug 1999 14:53:04 +0200 (CEST)
From: graaf(at)iae.nl
Subject: Re: Upgrade FreeBSD 3.1 to i4b 0.83: spppcontrol Invalid argument
To: freebsd-isdn(at)FreeBSD.ORG
In-Reply-To: <199908042111.XAA94829(at)peedub.muc.de>
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
Message-Id: <19990824125159.D877220F5F(at)iaehv.iae.nl>
Sender: owner-freebsd-isdn(at)FreeBSD.ORG
X-Loop: FreeBSD.org
Precedence: bulk
Status: RO

On 4 Aug, Gary Jennejohn wrote:
> "Ben Bucksch" writes:
>>after running FreeBSD/overinstall.sh, recompiling the kernel and compiling
>>the userspace programs, I got the error:
>>
>>spppcontrol: SIOCGIFGENERIC(SPPPIOGDEFS): Invalid argument
>>
>
> It should be defined in /sys/net/if_sppp.h. Try copying that file
> from the sppp directory to /sys/net.

I had this problem with spppcontrol as wel when I upgraded from 0.70 to
0.83 on FreeBSD 3-STABLE. I have solved the problem by changing the
following piece of code in src/sys/net/if_sppp.h:

#if (defined(__FreeBSD_version) && __FreeBSD_version < 300000) || \
    (defined(__FreeBSD__) && __FreeBSD__ < 3) || \
    defined(__NetBSD__) || defined (__OpenBSD__)
#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */
#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */
#endif

I have taken the two defines out of the #if statement, and now
spppcontrol does not give the error anymore. I do not know if this is a
correct solution, but maybe someone who understands the code can use
this information.

> zweiter Problem:
>
> auf der Console kommt so alle 10 mins immer ein:
> i4b-L1-timer_expired: state = F3 Deactivated
>
> mit isdndebug -z verschwindet es, jedoch was hei_t diese
> "Fehlermeldung"? Ich hatte dies Meldung auch schon unter 0070, hatte
> aber keine Probleme mit Verbindungsaufbauten.

Layer 1 wird abgebaut, und es scheint ein bug im i4b drin zu sein, der
diesen Fakt auch bei normalem Abbauen anzeigt.

hellmuth

-- 
Hellmuth Michaelis                                    Tel   +49 40 559747-70
HCS Hanseatischer Computerservice GmbH                Fax   +49 40 559747-77
Oldesloer Strasse 97-99                               Mail  hm [at] hcs.de
22457 Hamburg                                         WWW   http://www.hcs.de
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 25 Aug 1999 - 10:43:11 CEST

search this site