From owner-freebsd-isdn Wed Jan 22 3:59:58 2003 Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C90AB37B401 for ; Wed, 22 Jan 2003 03:59:56 -0800 (PST) Received: from mailout03.sul.t-online.com (mailout03.sul.t-online.com [194.25.134.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBB6F43EB2 for ; Wed, 22 Jan 2003 03:59:50 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from fwd02.sul.t-online.de by mailout03.sul.t-online.com with smtp id 18bJXq-00065x-08; Wed, 22 Jan 2003 12:59:50 +0100 Received: from peedub.jennejohn.org (520017439985-0001@[217.80.233.40]) by fmrl02.sul.t-online.com with esmtp id 18bJXm-0BopKyC; Wed, 22 Jan 2003 12:59:46 +0100 Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.6/8.11.6) with ESMTP id h0MBxbWs002893; Wed, 22 Jan 2003 12:59:38 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200301221159.h0MBxbWs002893@peedub.jennejohn.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.3 To: Ari Suutari Cc: Gary Jennejohn , G Hasse , freebsd-isdn@FreeBSD.ORG Subject: Re: Problem with "no bufferspace" Reply-To: Gary Jennejohn In-reply-to: Your message of "Wed, 22 Jan 2003 09:33:18 +0200." <200301220933.18435.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 22 Jan 2003 12:59:37 +0100 From: Gary Jennejohn X-Sender: 520017439985-0001@t-dialin.net Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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