Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2000 23:45:30 +0200
From:      Martin Portmann <map@infinitum.ch>
To:        freebsd-isdn@freebsd.org
Subject:   i4b on OpenBSD
Message-ID:  <A8D409E4AC8DA542940762C7FB2B1B3101EC9F@nt.infinitum.ch>

next in thread | raw e-mail | index | archive | help
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_000_01C00638.F7563DF0
Content-Type: text/plain;
	charset="iso-8859-1"


   [using OpenBSD 2.7 stable and latest i4b package with patches]

   I have some problems with i4b on OpenBSD. I try to connect to
   my ISP mit MPP. When the second link comes up I find myself
   normally in the kernel debuger. It seems to work with only
   one link. The ddb hangs constantly in 'i4brchselect + 0x134'
   called from 'softclock'.

   - Boot hangs sometimes on isic0: ISAC 2085 Version A1/A2 or 
     2086/2186 Version 1.1 (IOM-2)
   - I got sometimes CRC errors (see attachment isdn-crc)

   I also included the dmesg, isdnd.conf and ppp.conf. Perhaps
   I have also a configuration problem (replaced phone numbers
   and passwords).

   Thanks for any help or hints ... I would like to make this
   hapen also on OpenBSD ...

   ------------------------------------------------------------
   Martin Portmann                         Phone +41-41-7832720
   infinitum AG, Switzerland                 Fax +41-41-7832721
   Software Solutions                          www.infinitum.ch

   "Time is the best teacher, unfortunately it kills all its 
    students"



------_=_NextPart_000_01C00638.F7563DF0
Content-Type: application/octet-stream;
	name="isdn-dmesg"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="isdn-dmesg"

Dec 11 15:23:16 infsec-test /bsd: OpenBSD 2.7-stable (kernel) #0: Mon =
Aug 14 19:34:14 MEST 2000
Dec 11 15:23:16 infsec-test /bsd:     root@infsec:/data/conf/gt/kernel
Dec 11 15:23:16 infsec-test /bsd: cpu0: Intel Pentium II (Celeron) =
("GenuineIntel" 686-class, 128KB L2 cache) 532 MHz
Dec 11 15:23:16 infsec-test /bsd: cpu0: =
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,F=
XSR
Dec 11 15:23:16 infsec-test /bsd: real mem  =3D 132493312 (129388K)
Dec 11 15:23:16 infsec-test /bsd: avail mem =3D 118132736 (115364K)
Dec 11 15:23:16 infsec-test /bsd: using 1642 buffers containing 6725632 =
bytes (6568K) of memory
Dec 11 15:23:16 infsec-test /bsd: mainbus0 (root)
Dec 11 15:23:16 infsec-test /bsd: bios0 at mainbus0: AT/286+(00) BIOS, =
date 03/29/00
Dec 11 15:23:16 infsec-test /bsd: apm0 at bios0: Power Management spec =
V1.2 (BIOS mgmt disabled)
Dec 11 15:23:16 infsec-test /bsd: apm0: AC on, battery charge unknown
Dec 11 15:23:16 infsec-test /bsd: pci0 at mainbus0 bus 0: configuration =
mode 1 (no bios)
Dec 11 15:23:16 infsec-test /bsd: pchb0 at pci0 dev 0 function 0 "Intel =
82810E Memory Controller Hub" rev 0x03: RNG(26)
Dec 11 15:23:17 infsec-test /bsd: "Intel 82810E Graphics Controller" =
rev 0x03 at pci0 dev 1 function 0 not configured
Dec 11 15:23:17 infsec-test /bsd: ppb0 at pci0 dev 30 function 0 "Intel =
82801AA Hub-to-PCI" rev 0x02
Dec 11 15:23:17 infsec-test /bsd: pci1 at ppb0 bus 1
Dec 11 15:23:17 infsec-test /bsd: fxp0 at pci1 dev 1 function 0 "Intel =
82557" rev 0x08: irq 9, address 00:d0:b7:ac:5e:59
Dec 11 15:23:17 infsec-test /bsd: inphy0 at fxp0 phy 1: i82555 10/100 =
media interface, rev. 4
Dec 11 15:23:17 infsec-test /bsd: eap0 at pci1 dev 7 function 0 =
"Ensoniq AudioPCI97" rev 0x06: irq 11
Dec 11 15:23:17 infsec-test /bsd: ac97: codec id 0x43525914
Dec 11 15:23:17 infsec-test /bsd: ac97: codec features headphone, 20 =
bit DAC, 18 bit ADC, Spatializer 3D
Dec 11 15:23:17 infsec-test /bsd: audio0 at eap0
Dec 11 15:23:17 infsec-test /bsd: isic0 at pci1 dev 9 function 0 =
unknown vendor 0x1244 product 0x0a00 rev 0x02: Fritz!Card
Dec 11 15:23:17 infsec-test /bsd: isic0: ISAC 2085 Version A1/A2 or =
2086/2186 Version 1.1 (IOM-2)
Dec 11 15:23:17 infsec-test /bsd: isic0: interrupting at irq 10
Dec 11 15:23:17 infsec-test /bsd: pcib0 at pci0 dev 31 function 0 =
"Intel 82801AA LPC Interface" rev 0x02
Dec 11 15:23:17 infsec-test /bsd: pciide0 at pci0 dev 31 function 1 =
"Intel 82801AA IDE" rev 0x02: DMA, channel 0 wired to compatibility, =
channel 1 wired to compatibility
Dec 11 15:23:17 infsec-test /bsd: wd0 at pciide0 channel 0 drive 0: =
<IBM-DTLA-305020>
Dec 11 15:23:17 infsec-test /bsd: wd0: can use 32-bit, PIO mode 4, DMA =
mode 2, Ultra-DMA mode 4
Dec 11 15:23:17 infsec-test /bsd: wd0: 16-sector PIO, LBA, 19623MB, =
16383 cyl, 16 head, 63 sec, 40188960 sectors
Dec 11 15:23:17 infsec-test /bsd: pciide0: channel 0 interrupting at =
irq 14
Dec 11 15:23:17 infsec-test /bsd: wd0(pciide0:0:0): using PIO mode 4, =
Ultra-DMA mode 4 (using DMA data transfers)
Dec 11 15:23:17 infsec-test /bsd: atapiscsi0 at pciide0 channel 1
Dec 11 15:23:17 infsec-test /bsd: scsibus0 at atapiscsi0: 2 targets
Dec 11 15:23:17 infsec-test /bsd: cd0 at scsibus0 targ 0 lun 0: <TEAC, =
CD-540E, 1.0A> SCSI0 5/cdrom removable
Dec 11 15:23:17 infsec-test /bsd: cd0: can use 32-bit, PIO mode 4, DMA =
mode 2, Ultra-DMA mode 2
Dec 11 15:23:17 infsec-test /bsd: pciide0: channel 1 interrupting at =
irq 15
Dec 11 15:23:17 infsec-test /bsd: cd0(pciide0:1:0): using PIO mode 4, =
Ultra-DMA mode 2 (using DMA data transfers)
Dec 11 15:23:17 infsec-test /bsd: "Intel 82801AA USB" rev 0x02 at pci0 =
dev 31 function 2 not configured
Dec 11 15:23:17 infsec-test /bsd: "Intel 82801AA SMBus" rev 0x02 at =
pci0 dev 31 function 3 not configured
Dec 11 15:23:17 infsec-test /bsd: isa0 at pcib0
Dec 11 15:23:17 infsec-test /bsd: isadma0 at isa0
Dec 11 15:23:17 infsec-test /bsd: pcppi0 at isa0 port 0x61
Dec 11 15:23:17 infsec-test /bsd: midi0 at pcppi0: <PC speaker>
Dec 11 15:23:17 infsec-test /bsd: sysbeep0 at pcppi0
Dec 11 15:23:17 infsec-test /bsd: lpt0 at isa0 port 0x378/4 irq 7
Dec 11 15:23:17 infsec-test /bsd: npx0 at isa0 port 0xf0/16: using =
exception 16
Dec 11 15:23:17 infsec-test /bsd: pccom0 at isa0 port 0x3f8/8 irq 4: =
ns16550a, 16 byte fifo
Dec 11 15:23:17 infsec-test /bsd: pccom1 at isa0 port 0x2f8/8 irq 3: =
ns16550a, 16 byte fifo
Dec 11 15:23:17 infsec-test /bsd: vt0 at isa0 port 0x60/16 irq 1: vga =
80 col, color, 8 scr, mf2-kbd
Dec 11 15:23:17 infsec-test /bsd: pms0 at vt0 irq 12
Dec 11 15:23:17 infsec-test /bsd: fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
Dec 11 15:23:17 infsec-test /bsd: fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 =
head, 18 sec
Dec 11 15:23:17 infsec-test /bsd: biomask c040 netmask c640 ttymask =
d6c2
Dec 11 15:23:17 infsec-test /bsd: i4b: ISDN call control device =
attached
Dec 11 15:23:17 infsec-test /bsd: i4btrc: 1 ISDN trace device(s) =
attached
Dec 11 15:23:17 infsec-test /bsd: i4bctl: ISDN system control port =
attached
Dec 11 15:23:17 infsec-test /bsd: i4brbch: 1 raw B channel access =
device(s) attached
Dec 11 15:23:17 infsec-test /bsd: i4btel: 1 ISDN telephony interface =
device(s) attached
Dec 11 15:23:17 infsec-test /bsd: i4bipr: 1 IP over raw HDLC ISDN =
device(s) attached (VJ header compression)
Dec 11 15:23:17 infsec-test /bsd: pctr: 686-class user-level =
performance counters enabled
Dec 11 15:23:17 infsec-test /bsd: mtrr: Pentium Pro MTRR support
Dec 11 15:23:17 infsec-test /bsd: dkcsum: wd0 matched BIOS disk 80
Dec 11 15:23:17 infsec-test /bsd: root on wd0a
Dec 11 15:23:17 infsec-test /bsd: rootdev=3D0x0 rrootdev=3D0x300 =
rawdev=3D0x302

------_=_NextPart_000_01C00638.F7563DF0
Content-Type: text/plain;
	name="isdn-crc.txt"
Content-Disposition: attachment;
	filename="isdn-crc.txt"

Dec 11 12:58:51 infsec-test /bsd: i4b-L1-isic_isac_irq: unit 0: CRC error
Dec 11 12:58:51 infsec-test /bsd: i4b-L1-isic_isac_irq: unit 0: Receive Aborted error

------_=_NextPart_000_01C00638.F7563DF0
Content-Type: application/octet-stream;
	name="ppp.conf"
Content-Disposition: attachment;
	filename="ppp.conf"

default:

eunet:
	set device /dev/i4brbch0
#	set phone 0840840888
	set phone 0622960101
	set authname XXXXXXXXX
	set authkey XXXXXXXXX
	set timeout 90
	set ifaddr X.X.X.X X.X.X.X
	add default HISADDR
	set mrru 1500
	clone 1,2
	link deflink remove
	link 1 set device /dev/i4brbch0
	link 2 set device /dev/i4brbch1
	link * set mode auto


------_=_NextPart_000_01C00638.F7563DF0
Content-Type: application/octet-stream;
	name="isdnd.rc"
Content-Disposition: attachment;
	filename="isdnd.rc"


#
#
#
# XXXXXXXXXXXXXXXXx
#
# --- system -------------------------------------------------------------
system
acctall		= on			# generate info for everything
acctfile	= /var/log/isdnd.acct	# name & location of accounting file
useacctfile	= yes			# generate accouting info to file
monitor-allowed	= yes			# global switch: monitor on/off
monitor-port	= 451			# default monitor TCP port
monitor		= "/var/run/isdn-monitor" 
monitor-access	= fullcmd
monitor-access	= channelstate, logevents
monitor-access	= callin, callout
ratesfile	= /etc/isdn/isdnd.rates	# name & location of rates file
#
#
#
# --- entry --------------------------------------------------------------
entry
name			= userppp0	# name of entry
usrdevicename		= rbch		# use the raw b channel access device
usrdeviceunit		= 0		# unit 0
isdncontroller  	= 0		# use isdn controller 0
isdnchannel		= 1		# use any channel on this controller
local-phone-incoming	= 0000000 
remote-phone-incoming	= 0000000 
local-phone-dialout	= 0000000
remote-phone-dialout	= 0000000	# ppp(8) will override this
remdial-handling	= first
dialin-reaction		= ignore	# no dialins allowed
dialout-type		= normal
b1protocol		= hdlc		# b channel layer 1 protocol
idletime-incoming	= 900		# Should be larger than ppps timeout
idletime-outgoing	= 900		# Should be larger than ppps timeout
ratetype		= 0  
unitlength		= 1000
unitlengthsrc		= conf
dialretries		= 1
dialrandincr		= on
recoverytime		= 25
usedown			= off
downtries		= 2
downtime		= 30

entry
name			= userppp1
usrdevicename		= rbch
usrdeviceunit		= 1
isdncontroller  	= 0
isdnchannel		= 2
local-phone-incoming	= 0000000
remote-phone-incoming	= 0000000
local-phone-dialout	= 0000000
remote-phone-dialout	= 0000000	# ppp(8) will override this
remdial-handling	= first
dialin-reaction		= accept
dialout-type		= normal
b1protocol		= hdlc
idletime-incoming	= 900		# Should be larger than ppps timeout
idletime-outgoing	= 900		# Should be larger than ppps timeout
ratetype		= 0  
unitlength		= 1000
unitlengthsrc		= conf
dialretries		= 1
dialrandincr		= on
recoverytime		= 25
usedown			= off
downtries		= 2
downtime		= 30
#
#
#
# -------------------------------------------------------------------------
#


------_=_NextPart_000_01C00638.F7563DF0--


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?A8D409E4AC8DA542940762C7FB2B1B3101EC9F>