Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 1998 10:14:18 +0200 (MET DST)
From:      Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
To:        hm@kts.org
Cc:        freebsd-isdn@FreeBSD.ORG
Subject:   Re: killing and restarting isdnd (FYI)
Message-ID:  <199806080814.KAA14476@rvc1.informatik.ba-stuttgart.de>
In-Reply-To: <m0yijBn-00000XC@bert.kts.org> from Hellmuth Michaelis at "Jun 7, 98 07:25:03 pm"

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

> When the daemon then is started again in this situation, the kernel parts
> of i4b un-freeze in the state they had when the daemon was killed and this
> can lead to all sorts of bad behaviour.

Here an example of what happenes if you kill isdnd *after* the TEI is
assigned:

The exchange sends RRs which are not replied anymore by i4b.
The exchange sends  check TEI requests which are not replied.
The exchange sends TEI removal requests which are not honored by i4b
The exchange finally sends INFO0 and thus shuts down the S0-bus.

If isdnd is restarted, i4b successfully activates the S0-bus but then
tries to reuse the old -- by now invalid -- TEI.

So, if i4b would have replied to the check TEI requests or would
respect the TEI removal requests, everything would have worked fine.

I believe it is *not* necessary to reinitialise the i4b data structures
after a restart of isdnd.
(Especially the finite state machines)

At least my telephone doesn't. It keeps the once assigned TEI even though
the SO-Bus is deactivated inbetween calls.
Somewhere (sorry) the Q921-docs say, that layer2 need not be informed
if layer1 is deactivated.

> I'll try to fix it ASAP, but i'm currently a bit short of time ....

So am I :-(

BTW. I had a look at the Teles 16.3c1 PnP which has an HFC-S chip
instead of HSCX/ISAC. I searched Linux sources for examples to
control this chip--to no avail. I believe this card is not supported
by isdn4linux. There seem to exist two flavours of the Teles PnP
card, one with HSCX/ISAC and one with HFC-S. Can anyone confirm this.
Did anyone else play with HFC-S chips.

Wolfgang

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?199806080814.KAA14476>