Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 1999 14:33:03 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        isdn@FreeBSD.ORG
Subject:   i4b 00.70 - L1 error abort
Message-ID:  <199902151333.OAA16103@gilberto.physik.RWTH-Aachen.DE>

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

As soon as some activity occurs on my ipr1 interface (or may be 0)
I'm getting an endless loop of

i4b-L1-isic_hscx-irq Receive message aborted
i4b-L1-isic_hscx-irq Receive message aborted
i4b-L1-isic_hscx-irq Receive message aborted
i4b-L1-isic_hscx-irq Receive message aborted

and have to hit the reset button. System cannot be recovered by any other
means.

My card is a Creatix S0/16 and I left all settings as they were
and worked under BISDN.

Here are my config files:

#
# GENERIC -- Generic machine with WD/AHx/NCR/BTx family disks
#
#	$Id: GENERIC,v 1.69 1996/05/01 03:26:58 bde Exp $
#

machine		"i386"
cpu		"I486_CPU"
ident		BGATEBISDN
maxusers	32

options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
options		NFS			#Network Filesystem
options		MSDOSFS			#MSDOS Filesystem
options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3 [KEEP THIS!]
options		SCSI_DELAY=15		#Be pessimistic about Joe SCSI device
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers
options		UCONSOLE		#Allow users to grab the console
options		FAILSAFE		#Be conservative
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG


config		kernel	root on wd0

controller	isa0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0

controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr


controller	scbus0	#base SCSI code
device		ch0	#SCSI media changers
device		sd0	#SCSI disks
device		st0	#SCSI tapes
device		cd0	#SCSI CD-ROMs
device		od0	#SCSI optical disk

# A single entry for any of these controllers (ncr, ahb, ahc) is sufficient
# for any number of installed devices.

# syscons is the default console driver, resembling an SCO console
device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa? port "IO_KBD" tty irq 1 vector pcrint
#options		PCVT_FREEBSD=210	# pcvt running on FreeBSD >= 2.0.5
#options		XSERVER			# include code for XFree86
#options		FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options		PCVT_SCANSET=2		# IBM keyboards are non-std

# Mandatory, don't remove
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

#
# Laptop support (see LINT for more options)
#

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr

# Order is important here due to intrusive probes, do *not* alphabetize
# this list of network interfaces until the probes have been fixed.
# Right now it appears that the ie0 must be probed before ep0. See
# revision 1.20 of this file.

device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#---------------------------------------------------------------------------
#
#	ISDN - parts of an example config file for bisdn
#	------------------------------------------------
#
#	last edit-date: [Sun May 26 10:35:22 1996]
#
#---------------------------------------------------------------------------

options		IPI_VJ			# Van Jacobsen header compression support
options		"IPI_DIPA=3"		# send ip accounting packets every 3 seconds
#---------------------------------------------------------------------------
#
#	i4b FreeBSD kernel configuration
#	--------------------------------
#
#	last edit-date: [Wed Dec 16 14:50:03 1998]
#
#	$Id: CONFIG,v 1.18 1998/12/16 13:48:27 hm Exp $
#
#---------------------------------------------------------------------------
#
# i4b passive ISDN cards support (isic - I4b Siemens Isdn Chipset driver)
# note that the ``options'' and ``device'' lines must BOTH be defined !
#
# Non-PnP Cards:
# --------------
#
# Teles S0/8 or Niccy 1008
#options "TEL_S0_8"
#device	isic0 at isa? iomem 0xd0000 net irq 5 flags 1 vector isicintr 
#
# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
options "TEL_S0_16"
device	isic0 at isa? port 0xd80 iomem 0xdc000 net irq 15 flags 2 vector isicintr
#
# Teles S0/16.3 
#options "TEL_S0_16_3"
#device	isic0 at isa? port 0xd80 net irq 5 flags 3 vector isicintr
#
# AVM A1 or AVM Fritz!Card
#options "AVM_A1"
#device	isic0 at isa? port 0x340 net irq 5 flags 4 vector isicintr
#
# USRobotics Sportster ISDN TA intern
#options "USR_STI"
#device isic0 at isa? port 0x268 net irq 5 flags 7 vector isicintr
#
# ITK ix1 Micro
#options "ITKIX1"
#device isic0 at isa? port 0x398 net irq 10 flags 18 vector isicintr
#
# PnP-Cards:
# ----------
#
# Teles S0/16.3 PnP
#options "TEL_S0_16_3_P"
#device	isic0 at isa? port ? net irq ? vector isicintr
#
# Creatix ISDN-S0 P&P
#options "CRTX_S0_P"
#device	isic0 at isa? port ? net irq ? vector isicintr
#
# Dr. Neuhaus Niccy Go@
#options "DRN_NGO"
#device	isic0 at isa? port ? net irq ? vector isicintr 
#
# Sedlbauer Win Speed
#options "SEDLBAUER"
#device	isic0 at isa? port ? net irq ? vector isicintr 
#
# Dynalink IS64PH
#options "DYNALINK"
#device	isic0 at isa? port ? net irq ? vector isicintr 
#
# ELSA QuickStep 1000pro ISA
#options "ELSA_QS1ISA"
#device	isic0 at isa? port ? net irq ? vector isicintr 
#
# PCI-Cards:
# ----------
#
# ELSA QuickStep 1000pro PCI
#options "ELSA_QS1PCI"
#device  isic0
#
# PCMCIA-Cards:
# -------------
#
# AVM PCMCIA Fritz!Card
#options "AVM_A1_PCMCIA"
#device	isic0 at isa? port 0x340 net irq 5 flags 10 vector isicintr
#
# Active Cards:
# -------------
#
# Stollmann Tina-dd control device
#device tina0 at isa? port 0x260 net irq 10 vector tinaintr
#
# ISDN Protocol Stack
# -------------------
# 
# Q.921 / layer 2 - i4b passive cards D channel handling
pseudo-device	"i4bq921"
#
# Q.931 / layer 3 - i4b passive cards D channel handling
pseudo-device	"i4bq931"
#
# layer 4 - i4b common passive and active card handling
pseudo-device	"i4b"
#
# ISDN devices
# ------------
#
# userland driver to do ISDN tracing (for passive cards only)
pseudo-device   "i4btrc"	4
#
# userland driver to control the whole thing
pseudo-device   "i4bctl"
#
# userland driver for access to raw B channel
pseudo-device   "i4brbch"       4
#
# userland driver for telephony
pseudo-device   "i4btel"        2
#
# network driver for IP over raw HDLC ISDN
pseudo-device   "i4bipr"	4
# enable VJ header compression detection for ipr i/f
options		IPR_VJ
#
# network driver for sync PPP over ISDN
pseudo-device	"i4bisppp"	4
pseudo-device	sppp		4
#
#---------------------------------------------------------------------------


pseudo-device	loop
pseudo-device	ether
pseudo-device	bpfilter 4
pseudo-device	log

pseudo-device	sl	1
pseudo-device	tun	1
pseudo-device	pty	16
# keep this if you want to be able to continue to use /stand/sysinstall
pseudo-device	gzip		# Exec gzipped a.out's

rc.isdn:
#!/bin/sh
# -- from rc.bisdn --
if [ "X"$1 != "Xrestart" ] ; then
sysctl -w net.inet.ip.forwarding=1
# config isdn interface 0,1
echo 'configuring ISDN/IP-interface ipr0 ...'
ifconfig ipr0 inet 134.122.144.12 134.122.144.1 netmask 255.255.255.255
ifconfig ipr1 inet 192.168.0.1 192.168.1.119 netmask 255.255.255.255
ifconfig ipr0
ifconfig ipr1
route add -net default 134.122.144.1
route add -net 192.168.1.0 192.168.0.1
netstat -rn
#---------------------------------------------------------------------------
#
#	/etc/rc.isdn - isdn4bsd EXAMPLE startup script
#	----------------------------------------------
#
#	$Id: rc.isdn,v 1.3 1998/07/09 12:19:02 hm Exp $
#
#       NOTICE:
#       =======
#       This startup script file is an EXAMPLE only and MUST be edited
#       ==============================================================
#       carefully to get the desired results !!!!
#       =========================================
#       
#	last edit-date: [Thu Jul  9 13:40:15 1998]
#
#	accepts argument "restart" to kill and restart the isdnd or
#	argument "stop" to kill isdnd.
#
#---------------------------------------------------------------------------
fi

# rotate isdnd's logfile at startup ?
rotate_log=NO
#rotate_log=YES

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

# flags for isdntrace
isdntraceflags=""
#isdntraceflags="-i"

# trace logfile for isdntrace
isdntracefile=/var/tmp/isdn.trace

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

# debugging level
debuglevel="-d0"
#debuglevel="-d0xf9 -dn"

# output device for fullscreen mode, this device must have no getty running !
out_dev=/dev/ttyv6

# terminal type for fullscreen mode (this is for the pcvt VT220 emulator)
out_typ=cons25

# restart daemon ?
restart=0

# check for restart or stop arguments

if [ $# -eq 1 ]
then
	if [ $1 = restart ]
	then
		restart=1
		kill `cat /var/run/isdnd.pid`
	elif [ $1 = stop ]
	then
		echo 'terminating the isdn4bsd ISDN management daemon ...'
		kill `cat /var/run/isdnd.pid`
		exit 0
	fi
fi

# rotate log file

if [ X${rotate_log} = X"YES" ]
then
	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
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} -b -f -r $out_dev -t $out_typ
	else
		/usr/local/bin/isdnd -b -f -r $out_dev -t $out_typ
	fi
fi

# start the isdntrace utility

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 ${isdntraceflags} -f${isdntracefile} >/dev/null 2>&1 &
	fi
fi

# EOF

/etc/isdn/isdnd.rc:
#------------------------------------------------------------------------------
#
#	example of a configuration file for the isdn daemon
#	---------------------------------------------------
#
#	$Id: isdnd.rc,v 1.7 1998/07/09 12:12:58 hm Exp $
#
#	last edit-date: [Thu Jul  9 14:14:54 1998]
#
#	NOTICE:
#	=======
#	This configuration file is an EXAMPLE only and MUST be edited
#	carefully to get the desired results!
#
#	Please read the "isdnd.rc" manual page (execute "man isdnd.rc")
#	for reference !
#
#------------------------------------------------------------------------------

#==============================================================================
# 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	= yes			# 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
##
##  - a dotted-quad host spec
#monitor		= "192.168.0.1"
#monitor-access	= restrictedcmd, channelstate, callin, callout
##
##  - a dotted-quad net spec with "/len" (CIDR-style) netmask spec
#monitor		= "192.168.0.0/24"
#monitor-access	= restrictedcmd, channelstate, callin, callout
##
##  - a resolveable host name
#monitor		= "rumolt"
#monitor-access	= restrictedcmd, channelstate, callin, callout
##
##  - a resolveable net name with "/len" netmask (s.a.) appended
#monitor		= "up-vision-net/24"
#monitor-access	= restrictedcmd, channelstate, callin, callout
#
# ratesfile
# ---------

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

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

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

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

rtprio		= 25			# modify isdnd's process priority

#==============================================================================
# entry section: IP over ISDN 
#==============================================================================
entry				

name        		= rwth          # name for reference. This name will
					# be used in the logfile to identfy
					# this entry.

					# the network or telephone device
					# the data traffic should be routed to:
usrdevicename		= ipr		# ipr, isppp, tel, rbch
usrdeviceunit		= 0		# unit number

					# the ISDN controller number to be
					# used for this entry:
isdncontroller		= 0		# contoller to use or -1 to use any
isdnchannel		= -1		# channel (1/2) to use or 0 or -1 for any

					# incoming only, outgoing only or both:
direction		= inout		# in, out, inout

					# numbers used to verify a DIAL IN:
local-phone-incoming	= MYNUMBER 	# my number
					# numbers used at DIAL OUT time:
local-phone-dialout	= MYNUMBER	# this is my number
remote-phone-dialout	= 0241RWTH000      # i call this remote number
remote-phone-incoming   = 0241RWTH000      # can call in
remote-phone-incoming   = 0241RWTH003      # can call in


					# in case i have several remote 
					# telephone numbers specified, this 
					# is used to specify which one is 
					# used next on dial fail or retry:
remdial-handling	= first		# first, last or next

					# what happenes if someone dials in:
dialin-reaction		= accept        # reject, ignore, answer, callback

					# normal dialout or do i call back:
dialout-type		= normal	# normal / calledback

callbackwait		= 1		# no of secs to wait before calling back

					# type of protocol on the B-channel:
					# hdlc must be specified for IP (the
					# ipr and isppp drivers), raw must be
					# specified for telephone answering
b1protocol		= hdlc          # hdlc, raw

					# shorthold mode and idle time 
					# configuration:
ratetype		= 0		# ratesfile entry to use
unitlength		= 90		# unitlength to assume
unitlengthsrc		= rate		# none, rate, cmdl, conf, aocd
idletime-incoming	= 120		# incoming call idle timeout
idletime-outgoing	= 60		# outgoing call idle timeout
earlyhangup		= 5		# time to hangup before an expected
					# next charging unit will occur

					# retry and recovery parameters
dialretries		= 3		# # of dial retries
dialrandincr		= off		# random dial increment time
recoverytime		= 5		# time to wait between 2 dial tries
usedown			= off		# set i/f down
downtries		= 5		# retry cycles before set down
downtime		= 30		# time to be in down before going up
##==========================================================================
entry				
name        		= townoffice    # name for reference. This name will
					# be used in the logfile to identfy
					# this entry.

					# the network or telephone device
					# the data traffic should be routed to:
usrdevicename		= ipr		# ipr, isppp, tel, rbch
usrdeviceunit		= 1		# unit number

					# the ISDN controller number to be
					# used for this entry:
isdncontroller		= 0		# contoller to use or -1 to use any
isdnchannel		= -1		# channel (1/2) to use or 0 or -1 for any

					# incoming only, outgoing only or both:
direction		= inout		# in, out, inout

					# numbers used to verify a DIAL IN:
local-phone-incoming	= 2405MYNUMBER       # my number
					# numbers used at DIAL OUT time:
local-phone-dialout	= 02405MYNUMBER	# this is my number
remote-phone-dialout	= 0241OTHERSITE	# i call this remote number
remote-phone-incoming	= 241OTHERSITE

					# in case i have several remote 
					# telephone numbers specified, this 
					# is used to specify which one is 
					# used next on dial fail or retry:
remdial-handling	= first		# first, last or next

					# what happenes if someone dials in:
dialin-reaction		= accept        # reject, ignore, answer, callback

					# normal dialout or do i call back:
dialout-type		= normal	# normal / calledback

callbackwait		= 1		# no of secs to wait before calling back

					# type of protocol on the B-channel:
					# hdlc must be specified for IP (the
					# ipr and isppp drivers), raw must be
					# specified for telephone answering
b1protocol		= hdlc           # hdlc, raw

					# shorthold mode and idle time 
					# configuration:
ratetype		= 0		# ratesfile entry to use
unitlength		= 90		# unitlength to assume
unitlengthsrc		= rate		# none, rate, cmdl, conf, aocd
idletime-incoming	= 120		# incoming call idle timeout
idletime-outgoing	= 60		# outgoing call idle timeout
earlyhangup		= 5		# time to hangup before an expected
					# next charging unit will occur

					# retry and recovery parameters
dialretries		= 3		# # of dial retries
dialrandincr		= off		# random dial increment time
recoverytime		= 5		# time to wait between 2 dial tries
usedown			= off		# set i/f down
downtries		= 5		# retry cycles before set down
downtime		= 30		# time to be in down before going up

#==============================================================================
# entry section: answering machine example
#==============================================================================
#entry				

#name        		= I4BTEL	# name for reference
#usrdevicename		= tel		# ipr, tel, rbch
#usrdeviceunit           = 0             # unit number
				
#isdncontroller		= 0		# contoller to use or -1 to use any
#isdnchannel		= -1		# channel (1/2) to use or 0 or -1 for any

					# numbers used to verify at DIAL IN
#local-phone-incoming	= MYNUMBER      # this is my number
#remote-phone-incoming	= *		# anyone can call in
				
#dialin-reaction		= answer	# accept, reject, ignore, answer

#answerprog		= answer	# program to run

#b1protocol		= raw		# hdlc, raw

#idletime-incoming	= 10		# 5 seconds idle timeout

#=======================================================================
# entry section: PPP example
#======================================================================
#entry
#name			= rwth-reze
#usrdevicename		= isppp	
#usrdeviceunit		= 0
#isdncontroller  	= 0
#isdnchannel		= -1
#local-phone-incoming	= 2405MYNUMBER
#remote-phone-incoming	= 241RWTH
#local-phone-dialout	= 02405MYNUMBER
#remote-phone-dialout	= 0241RWTH
#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 #########################################################################

-- 
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.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?199902151333.OAA16103>