Subject: ISDN
To: None <tech-install@netbsd.org>
From: Richard Ibbotson <richard@sheflug.co.uk>
List: tech-install
Date: 04/29/2002 13:07:37
Hi

I would have sent this to a Free BSD list but a Net BSD list would 
seem to be more appropriate.

I've been working away at installing the i4b software into my i386 
1.5.2 based machine for some time now.  I started by having a look at 
...

http://www.freebsd-support.de/i4b/

and then I downloaded this package ...   isdn4bsd release 0.96 
(October 2000).   I've installed it with make , make install etc  and 
then I've started to add options and other required i4b bits to the 
kernel config.

Looking under .... /sys/arch/i386/conf/  .....  I can see that there 
are several kernel configs that might or might not work.  Just to get 
some kernel compiling experience I compiled the GENERIC kernel.  I 
found that this works well.   The machine re-booted without problems. 
 However, when I try to add the options that are decribed in the 
isdn4bsd 0.96 package I find that the kernel will not compile and 
exits with erors.  If I run 'config GENERIC_ISDN' which is the file 
with the ISDN options included and I put a line in the top of it 
which says " include "/sys/arch/i386/conf/GENERIC"  "   I get the 
errors...  the GENERIC_ISDN file is the same as the one at the bottom 
of this e-mail.  The errors that I get are as folows....

GENERIC_ISDN: 65: undefined psuedo-device i4b
GENERIC_ISDN: 67: undefined psuedo-device i4btrc
GENERIC_ISDN: 69: undefined psuedo-device i4bctl
GENERIC_ISDN: 71: undefined psuedo-device i4brbch
GENERIC_ISDN: 73: undefined psuedo-device i4btel
GENERIC_ISDN: 76: undefined psuedo-device i4bipr
GENERIC_ISDN: 78: undefined psuedo-device i4bisppp
*** Stop

Can anyone explain to me how to get round the problems of the above 
errors when I compile the kernel and also have I built in some things 
that I do not need.  The ISDN card is an Elsa Quick Step 1000 PCI Pro.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

include "/sys/arch/i386/conf/GENERIC"
#---------------------------------------------------------------------
# i4b hardware support (isic - I4b Siemens Isdn Chipset driver)
#
#---------------------------------------------------------------------
# Legacy ISA cards (no P&P support):
#
# Teles S0/8 or Niccy 1008
options TEL_S0_8
# isic0 at isa? iomem 0xd0000 irq 2
# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
options TEL_S0_16
# isic0 at isa? port 0xd80 iomem 0xd0000 irq 9
# Teles S0/16.3 
options TEL_S0_16_3
# isic0 at isa? port 0xd80 irq 12
# AVM A1 or AVM Fritz!Card
options AVM_A1
# isic0 at isa? port 0x340 irq 10
# USRobotics Sportster ISDN TA intern
options USR_STI
# isic0 at isa? port 0x268 irq 10
# ITK ix1 micro
options ITKIX1
# isic0 at isa? port 0x398 irq 10
#
#---------------------------------------------------------------------
# Supported ISA Plug & Play cards:
#
options TEL_S0_16_3_P	# Teles S0/16PnP (but not 16.3c !)
options CRTX_S0_P	# Creatix ISDN-S0 P&P
options DRN_NGO		# Dr. Neuhaus Niccy GO@
options	ELSA_QS1ISA	# ELSA QuickStep 1000 (ISA Version)
options SEDLBAUER	# Sedlbauer WinSpeed
options DYNALINK	# Dynalink IS64PH
# isic* at isapnp?
#
#---------------------------------------------------------------------
# Supported PCI cards:
#
options	ELSA_QS1PCI	# ELSA QuickStep 1000 (PCI Version)
options AVM_A1_PCI	# AVM Fritz!Card (PCI Version)
# isic* at pci?
#
#---------------------------------------------------------------------
# Supported PCMCIA cards:
#
options AVM_A1_PCMCIA		# Fritz!Card PCMCIA Version
options ELSA_ISDNMC		# ELSA MicroLink ISDN/MC
options ELSA_MCALL		# ELSA MicroLink MC/all
# isic* at pcmcia? function ?
#
#---------------------------------------------------------------------
# Amiga only: BSC ISDN Master/ITH ISDN Master II/VMC ISDN Blaster at 
Z-bus:
#aster* at zbus?
#isic* at aster? port ?
#
#---------------------------------------------------------------------
# ISDN user land devices, drivers and pseudo-devices.
# All these are needed, but you may adjust the count of the
# pseudo-devices.
#
pseudo-device	"i4b"
# userland driver to do ISDN tracing
pseudo-device   "i4btrc"	2
# 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
options IPR_VJ			# compile support for VJ compression
pseudo-device   "i4bipr"	2
# synchronous PPP over ISDN
pseudo-device	i4bisppp	2

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Any help greatly appreciated :)



-- 
Richard