Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 12:59:37 +0100
From:      Gary Jennejohn <garyj@jennejohn.org>
To:        Ari Suutari <ari.suutari@syncrontech.com>
Cc:        Gary Jennejohn <garyj@jennejohn.org>, G Hasse <gh@raditex.se>, freebsd-isdn@FreeBSD.ORG
Subject:   Re: Problem with "no bufferspace" 
Message-ID:  <200301221159.h0MBxbWs002893@peedub.jennejohn.org>
In-Reply-To: Your message of "Wed, 22 Jan 2003 09:33:18 %2B0200." <200301220933.18435.ari.suutari@syncrontech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Ari Suutari writes:
> I tried this on test environment, which tries to open connection
> to another box which has been changed so that in never answers
> the incoming call.
> 

Thanks!

> Here is what happens (on freebsd 4.7-stable which tries to dial)
> 
> # ifconfig isp1
> isp1: flags=a011<UP,POINTOPOINT,LINK1,MULTICAST> mtu 1500
>         inet 192.168.99.1 --> 192.168.99.2 netmask 0xffffff00
> 
> # ping 192.168.99.2
> PING 192.168.99.2 (192.168.99.2): 56 data bytes
> ^C
> 
> On console I now see:
> Jan 22 09:17:18 test /kernel: i4b: unit 0, assigned TEI 67 0x43
> Jan 22 09:17:19 test /kernel: i4b_l4_disconnect_ind: cd->dlt is NULL

This is the culprit. The routine which detaches the isp is never called
because the pointer is NULL. I wonder why? Might need to add more debugging
to the kernel to find out. Either dlt is never getting set, or it's being
set to NULL too early.

> Now, if I try to ping the remote again, nothing happens, because
> the interface is in 'establish' state and it thinks that something
> is still going on. The packet is just queued... keep on pinging and:
> 
> # ping 192.168.99.2
> PING 192.168.99.2 (192.168.99.2): 56 data bytes
> ping: sendto: No buffer space available
> ping: sendto: No buffer space available
> 
> So there is something wrong when isdnd sends dial response:
> Jan 22 09:17:19 test isdnd[69]: DBG dialresponse: sent [temporary failure]
> 
> it must be so that this is not catched by isp device -- it should
> go back to 'idle', shoudn't it ?
> 

It should, but since dlt is NULL it can't happen. Examine the code, it's
pretty obvious.

---
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?200301221159.h0MBxbWs002893>