Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jan 2000 19:10:51 +0100
From:      "Richard Arends" <r.a.arends@kader.hobby.nl>
To:        <freebsd-isdn@FreeBSD.ORG>
Subject:   No Space in TX FIFO, state = F4 Awaiting Signal
Message-ID:  <000f01bf5d28$74cb0380$0200000a@arends.hobby.nl>

next in thread | raw e-mail | index | archive | help
Hello all,

With OpenBSD i didn't get i4b to work so i'm using FreeBSD 3.3 with i4b 0.90
now. When i'm start a ping to my isp, i4b dails out and returns messages as
shown below...

Jan 12 17:47:10  /kernel: i4b-L1-ph_data_req: No Space in TX FIFO, state =
F4 Awaiting Signal
Jan 12 17:47:12  /kernel: i4b-L1-timer3_expired: state = F4 Awaiting Signal
Jan 12 17:47:12  /kernel: i4b-L1-isic_recover: HSCX B: ISTA = 0x0
Jan 12 17:47:12  /kernel: i4b-L1-isic_recover:   ISAC: ISTA = 0x0
Jan 12 17:47:12  /kernel: i4b-L1-isic_recover: HSCX B: IMASK = 0xff
Jan 12 17:47:12  /kernel: i4b-L1-isic_recover: HSCX A: IMASK = 0xf8
Jan 12 17:47:12  /kernel: i4b-L1-isic_recover:   ISAC: IMASK = 0x2a
Jan 12 17:47:12  /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202 = 3
Jan 12 17:47:12  /kernel: i4b-L1-ph_data_req: still in state F3!
Jan 12 17:47:12  /kernel: i4b-L1-ph_data_req: No Space in TX FIFO, state =
F4 Awaiting Signal
Jan 12 17:47:14  /kernel: i4b-L1-timer3_expired: state = F4 Awaiting Signal
Jan 12 17:47:14  /kernel: i4b-L1-isic_recover: HSCX B: ISTA = 0x0
Jan 12 17:47:14  /kernel: i4b-L1-isic_recover:   ISAC: ISTA = 0x0
Jan 12 17:47:14  /kernel: i4b-L1-isic_recover: HSCX B: IMASK = 0xff
Jan 12 17:47:14  /kernel: i4b-L1-isic_recover: HSCX A: IMASK = 0xf8
Jan 12 17:47:14  /kernel: i4b-L1-isic_recover:   ISAC: IMASK = 0x2a
Jan 12 17:47:14  /kernel: i4b-L3-T303_timeout: SETUP not answered, cr = 12
Jan 12 17:47:14  /kernel: i4b-L3-next_l3state: FSM illegal state, state =
ST_OW - Out Wait EST, event = EV_T303EXP - T303 timeout!

This is my /etc/isdn/isdnd.rc
#---------------------------------------------------------------------------
---
# $FreeBSD: src/etc/isdn/isdnd.rc.sample,v 1.1.2.1 1999/08/29 14:19:16 peter
Exp $
#---------------------------------------------------------------------------
---

#===========================================================================
===
# SYSTEM section: isdnd global configuration parameters
#===========================================================================
===
system

# accounting
# ----------

acctall  = on   # generate info for everything
acctfile = /var/log/isdnd.acct # name & location of accounting file
useacctfile = yes   # generate accouting info to file

# monitor
# -------

monitor-allowed = no   # global switch: monitor on/off
monitor-port = 451   # default monitor TCP port

# Monitor rights are granted due to the most specific host/net spec, i.e. in
# the example below host 192.168.1.2 will have the rights specified on that
# line, even so it belongs to net 192.168.1.0/24 as well.
#
# A monitor specification may either be:
#
#  - the name of a local (UNIX-domain) socket; this MUST start with a "/"
monitor  = "/var/run/isdn-monitor"
monitor-access = fullcmd
monitor-access = channelstate, logevents
monitor-access = callin, callout

# ratesfile
# ---------

ratesfile = /etc/isdn/isdnd.rates.D # name & location of rates file

# regular expression pattern matching
# -----------------------------------

#regexpr = "connected.*XXX" # look for matches in log messages
#regprog = connectXXX  # execute program when match is found

# realtime priority section
# -------------------------

rtprio  = 25   # modify isdnd's process priority

#=======================================================================
# entry section: PPP example
#======================================================================
controller
protocol   = dss1
entry
name   = I4BPPP
usrdevicename  = isp
usrdeviceunit  = 0
isdncontroller   = 0
isdnchannel  = -1
local-phone-incoming = 591622680
remote-phone-incoming = 0599880832
local-phone-dialout = 591622680
remote-phone-dialout = 0599880832
remdial-handling = first
dialin-reaction  = accept
dialout-type  = normal
b1protocol  = hdlc
idletime-incoming = 240
idletime-outgoing = 30
ratetype  = 0
unitlength  = 90
unitlengthsrc  = rate
dialretries  = 3
dialrandincr  = on
recoverytime  = 25
usedown   = off
downtries  = 2
downtime  = 30

# EOF
#########################################################################


And this is my /etc/rc.isdn
#---------------------------------------------------------------------------
# /etc/rc.isdn - isdn4bsd PPP startup script
# --------------------------------------------------

# start isdntrace in background
#run_isdntrace=NO
run_isdntrace=YES

# enable verbose debugging messages in isdnd
#do_isdnddebug=NO
do_isdnddebug=YES

# debugging level
#debuglevel="-d0"
debuglevel="-d0x1f9"

# output device for fullscreen mode
out_dev=/dev/ttyv6

# terminal type for fullscreen mode
out_typ=cons25
restart=0

# check usage
if [ $# -gt 2 ]
then
 echo "usage: /etc/rc.isdn [restart|stop] [www|zzz|yyy]"
 exit 1
fi

# get the first param
if [ $# -ge 1 ]
then
 first=$1
fi

# get the second param
if [ $# -gt 1 ]
then
 second=$2
fi

# restart or stop ?
if [ "x$first" = "xrestart" -o "x$second" = "xrestart" ]
then
 restart=1
 kill `cat /var/run/isdnd.pid`
elif [ "x$1" = "xstop" -o "x$2" = "xstop" ]
 then
  echo 'terminating the isdn4bsd ISDN management daemon ...'
  kill `cat /var/run/isdnd.pid`
  ifconfig ipr0 down
  ifconfig ipr1 down
  ifconfig isp0 down
  ifconfig isp1 down
  exit 0
fi

if [ $restart -eq 0 ]
then
 #echo 'configuring I4BISDN/IP-interface ipr1 to XXX'
 #ifconfig ipr1 194.xxx.xxx.xxx 194.xxx.xxx.xxx netmask 255.255.255.0
 #ifconfig ipr1 down

# always allow incoming calls from YYY
 #echo 'configuring I4BISDN/IP-interface ipr0 to YYY'
 #ifconfig ipr0 194.yyy.yyy.yyy 194.yyy.yyy.yyy netmask 255.255.255.0
 #ifconfig ipr0 down

 echo "configuring I4BISDN/PPP-interface isp0 to ZZZ"
 ifconfig isp0 link1 0.0.0.0 212.19.199.34 netmask 0xffffff00 debug
 ifconfig isp0 down
 spppcontrol isp0 authproto=pap myauthname=loginname myauthsecret=secret
callin

 #echo "configuring I4BISDN/PPP-interface isp1 to WWW"
 #ifconfig isp1 link1 212.19.199.2 212.19.199.34 netmask 0xffffff00 debug
 #ifconfig isp1 down
 #spppcontrol isp1 myauthproto=pap myauthname=loginname myauthsecret=secret
callin
else
 #ifconfig ipr1 down
 #ifconfig ipr0 down
 ifconfig isp0 down
 ifconfig isp1 down
 route delete default
fi

if [ -f /var/log/isdnd.log ]
then
 echo "rotating /var/log/isdnd.log file ..."
 cd /var/log
 if [ -f isdnd.log4 ] ; then mv -f isdnd.log4 isdnd.log5 ; fi
 if [ -f isdnd.log3 ] ; then mv -f isdnd.log3 isdnd.log4 ; fi
 if [ -f isdnd.log2 ] ; then mv -f isdnd.log2 isdnd.log3 ; fi
 if [ -f isdnd.log1 ] ; then mv -f isdnd.log1 isdnd.log2 ; fi
 if [ -f isdnd.log0 ] ; then mv -f isdnd.log0 isdnd.log1 ; fi
 cp -pf isdnd.log isdnd.log0
 cat /dev/null > isdnd.log
fi

# start the isdn daemon
if [ -x /usr/local/bin/isdnd ]
then
 if [ $restart -eq 1 ]
 then
  echo 'restarting the isdn4bsd ISDN management daemon ...'
 else
  echo 'starting the isdn4bsd ISDN management daemon ...'
 fi

 if [ X${do_isdnddebug} = X"YES" ]
 then
  /usr/local/bin/isdnd ${debuglevel} -f -r $out_dev -t $out_typ
 else
  /usr/local/bin/isdnd -f -r $out_dev -t $out_typ
 fi
fi

if [ X${run_isdntrace} = X"YES" ]
then
 if [ -x /usr/local/bin/isdntrace -a $restart -eq 0 ]
 then
  echo 'starting the isdn4bsd ISDN tracing facility ...'
  nohup /usr/local/bin/isdntrace -f/var/tmp/isdn.trace >/dev/null 2>&1 &
 fi
fi

switch=$first
if [ $# -gt 1 ]
then
 if [ "x$first" = "xrestart" -o "x$first" = "xstop" ]
 then
  switch=$second
 fi
fi

case $switch in

*)
 ifconfig isp0 up
 echo 'adding default route to ZZZ'
 route add default -interface isp0
 ;;

www)
 ifconfig isp1 up
 echo 'adding default route to WWW'
 route add default -interface isp1
 ;;


# yyy is the default case
yyy)
 ifconfig ipr0 up
 echo 'adding default route to YYY'
 route add default -interface ipr0
 ;;
esac

# EOF

I start isdnd -f so i can see what is happening en on an other screen i do
sh /etc/rc.isdn . Then i start a ping to my isp. What is wrong or what am i
doing wrong.
Greetings,

Richard.



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?000f01bf5d28$74cb0380$0200000a>