Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 21:17:38 +0100
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        G Hasse <gh@raditex.se>
Cc:        Ari Suutari <ari.suutari@syncrontech.com>, freebsd-isdn@FreeBSD.ORG
Subject:   Re: Problem with "no bufferspace" 
Message-ID:  <200301212017.h0LKHc94041492@peedub.jennejohn.org>
In-Reply-To: Your message of "Wed, 15 Jan 2003 20:50:17 GMT." <20030115204904.L55664-100000@gandalf.raditex.se> 

next in thread | previous in thread | raw e-mail | index | archive | help
G Hasse writes:
> On Wed, 15 Jan 2003, Ari Suutari wrote:
> 
> > > What if i define all interfaces to use a specific isdnchannel
> > > then it might be signaled "busy"? Have anyone tried this?
> >
> >
> > I have boxes with two isp interfaces which both
> > have isdnchannel set to -1. isdnd seems to be smart enough
> > to pick a free channel. Still, when dialling has failed
> > the isp interface is left into 'establish' state and it
> > never recovers without doing ifconfig down & up.
> 
> Ok. Then there seems to be a real "bug" here. (If our configuratons
> are correct). I have many "interfaces" but just two ISDN channels,
> but this don't seems to be the problem then.
> 

OK, assuming you guys are using 4.7 or -stable, I'd appreciate if you
could apply this patch and tell the list what (if anything) comes out
of the new debug printf's when you see the problem. Thanks!

--- driver/i4b_isppp.c.orig	Tue Jan 21 20:58:56 2003
+++ driver/i4b_isppp.c	Tue Jan 21 21:01:34 2003
@@ -580,6 +580,7 @@
 	/* new stuff to check that the active channel is being closed */
 	if (cd != sc->sc_cdp)
 	{
+		printf("isp%d, channel%d not active!", unit, cd->channelid);
 		NDBGL4(L4_ISPDBG, "isp%d, channel%d not active!", unit, cd->channelid);
 		splx(s);
 		return;
@@ -602,6 +603,8 @@
 		sc->sc_state = ST_IDLE;
 		sp->pp_down(sp);	/* tell PPP we have hung up */
 	}
+	else
+		printf("%s: sc->sc_state != ST_CONNECTED\n", __FUNCTION__);
 
 	splx(s);
 }
--- layer4/i4b_l4.c.orig	Tue Jan 21 20:58:33 2003
+++ layer4/i4b_l4.c	Tue Jan 21 21:11:22 2003
@@ -464,6 +464,8 @@
 		(*cd->dlt->line_disconnected)(cd->driver_unit, (void *)cd);
 		i4b_unlink_bchandrvr(cd);
 	}
+	else
+		printf("%s: cd->dlt is NULL\n", __FUNCTION__);
 
 	if((cd->channelid >= 0) && (cd->channelid < ctrl_desc[cd->controller].nbch))
 	{

---
Gary Jennejohn / garyj@jennejohn.org gj@freebsd.org gj@denx.de


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?200301212017.h0LKHc94041492>