Amigos,
Tengo ciertos problemas configurando una tarjeta B600 de Sangoma, a
ver si me pueden dar luz:
Estoy usando lo siguiente: Espero me puedan ayudar amigos, soy muy
novaton con Sangoma
Asterisk 1.4.26.1
DAHDI Version: 2.2.0.2
Este es el resultado del log de mi instalacion del board:
[root@localhost wanpipe-3.4.4]# ./Setup install
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
WANPIPE INSTALLATION
You are about to install WANPIPE Multi-Protocol
TDM Voice & WAN Router into your system.
This script will examine your system, then install, create
and/or modify necessary files and directories.
You must have Linux Kernel Headers along with
full development tools (i.e. GNU C compiler and utilities)
installed in order to be able to install this product.
This script will automatically compile all WANPIPE kernel
drivers and install them in their appropriate directory.
If you are installing Wanpipe for ASTERISK/ZAPTEL this
script will will prompt you for zaptel source location.
If you have previoulsy installed WANPIPE, this release
will overrite/upgrade full release without the need to
uninstall first!
IMPORTANT:
It is always recommended to say YES to all options
prompted during the install!
Please visit:
http://wiki.sangoma.com for more info.
Would you like to install WANPIPE now? [y] (y/n) y
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
Fixing file permissions...
Verifying files and fixing permissions ...Done
Checking for C developement tools ...(gcc) OK
Checking for C++ developement tools ...OK
Checking for Make utility ...OK
Checking for ncurses library ... OK
Checking for Perl developement tools ...OK
Checking for AWK ...OK
Checking for FLEX ...OK
Checking for Patch ...OK
Checking for libtermcap-devel...OK
Checking for bison...OK
Press [Enter] to continue...
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
Installing WANPIPE Device Drivers: Linux KERNEL
To integrate WANPIPE Multi-Protocol Voice & WAN Router
modules into the Linux kernel, the kernel has to be
updated with latest wanpipe sources. Install will only
modify existing wanpipe source that is already in the
Kernel.
IMPORTANT:
It is always recommended to say YES to all options
prompted during the install!
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
Please specify absolute path name of your linux headers/source
directory
Press Enter for Default: /lib/modules/2.6.9-78.ELsmp/build
#>
Setting linux directory to /lib/modules/2.6.9-78.ELsmp/build
Current WANPIPE kernel patch is 3.4.4
Upgrading WANPIPE kernel documentation ...Done.
Upgrading WANPIPE kernel headers ...Done.
Upgrading WANPIPE kernel drivers ...Done.
WANPIPE device drivers upgraded successfully!
Press [Enter] to continue...
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
WANPIPE KERNEL DRIVER COMPILATION
The next step in WANPIPE installation involves compiling
WANPIPE kernel modules.
This script will compile and install WANPIPE modules
into the currently running linux kernel.
For greater customization you will be prompted to
select which Protocol/Drivers you would like to
build into the WANPIPE kernel modules.
Wanpipe for Asterisk/Dahdi/Zaptel
Default for Asterisk/Dahdi/Zaptel
Wanpipe for Wan Routing/API
Default for Wan/IP Routing and Data API
Wanpipe for Asterisk SMG/SS7
Default for Asterisk SS7
Wanpipe for TDM API
Default for FreeSwitch and Voice API
Custom Compilation:
------------------
Customise WANPIPE driver compilation to add only the
protocols that you need. This way one can reduce
the size of the WANPIPE kernel drivers.
Refer to
http://wiki.sangoma.com for more info
----------------------------------------------------------
WANPIPE v3.4.4 Installation Script
Copyright (c) 1995-2009, Sangoma Technologies Inc.
----------------------------------------------------------
Please Select Compilation Mode
1. WAN Protocols Support
Protocols: Frame Relay, CHDLC, PPP, ATM, X25, ADSL, TDM API
Default for: Wan Routing, Data & Voice API devel.
2. TDM Voice (Dahdi/Zaptel) Support
Protocols: TDMV (Dahid/Zaptel), TDM API on AFT adatpers.
Default for: Asterisk & CallWeaver
3. TDM Voice (Dahid/Zaptel) + WAN Protocol Support
4. SMG (SS7) (Default for Asterisk SMG/SS7 install)
5. SMG (SS7) + TDM Voice (Dahdi/Zaptel)
Default for: Asterisk SS7 + PRI
6. SMG (BRI) (Default for Asterisk SMG/BRI install)
7. SMG (BRI) + TDM Voice (Dahdi/Zaptel)
Default for: Asterisk BRI + PRI + Analog
8. TDM API
Protocols: TDM API on AFT adapters:
Default for: FreeSwitch, Yate, Sunrise
Custom voice development
9. Custom Compilation Mode
Specify protocols to be added into the WANPIPE
kernel drivers.
Please select (1,2,3,4,5,6,7,8 or 9) [Default: 1]: 2
Looking for zaptel/dahdi directory in /usr/src ...
-------------------------------------------
1 : /usr/src/dahdi-linux-complete-2.2.0.2+2.2.0
------------------------------------------
2 : /usr/src/dahdi-linux-complete-2.2.0.2+2.2.0/linux (entered
manually)
------------------------------------------
m : Enter zaptel path manually
(ctrl-c to Exit)
Please select working zaptel directory [1-2][m]: 1
Enabling the TDM Voice Asterisk Support
Dahdi HW HDLC Support Detected: Enabling DCHAN Feature
Native Dahdi HW HDLC Support Detected - No patch required
Dahdi source unmodified
Checking for UDEV Zaptel compatibility...OK
Press [Enter] to continue...
Enabling the AFT TE1 Support
Checking for SMP support ...Enabled.
Checking current processor type ...x86_64
Wan Update Flags: -DWANPIPE_MOD_266_FORCE_UPDATE
--------------------------------------------------
CFLAGS: gcc -Wp,-MD,.wanpipe.o.d -nostdinc -iwithprefix include -
D__LINUX__ -Dlinux -D__KERNEL__ -I/lib/modules/2.6.9-78.ELsmp/build/
include -DMODULE -DWANPIPE_MOD_266_FORCE_UPDATE -Wall -Wstrict-
prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -fomit-
frame-pointer -g -Wdeclaration-after-statement -mno-red-zone -
mcmodel=kernel -pipe -fno-reorder-blocks -Wno-sign-compare -
funit-at-a-time -D__KERNEL__ -Iinclude
--------------------------------------------------
Checking for REGPARM kernel option ...Disabled.
Compiling General WANPIPE Driver for 2.6.X Kernel .
---------------------------------------------
WANPIPE DRIVER COMPILE LOG
Thu Aug 27 23:07:00 VET 2009
-----------------------------------
make -C /lib/modules/2.6.9-78.ELsmp/build SUBDIRS=/usr/src/
wanpipe-3.4.4/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv_src.o
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv_fe.o
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv_utils.o
LD [M] /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv.o
Building modules, stage 2.
MODPOST
CC /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv.mod.o
LD [M] /usr/src/wanpipe-3.4.4/kdrvtmp/sdladrv.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
make -C /lib/modules/2.6.9-78.ELsmp/build SUBDIRS=/usr/src/
wanpipe-3.4.4/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/wanmain.o
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/wanproc.o
/usr/src/wanpipe-3.4.4/kdrvtmp/wanproc.c: In function
`wanrouter_proc_add_protocol':
/usr/src/wanpipe-3.4.4/kdrvtmp/wanproc.c:1488: warning: cast to
pointer from integer of different size
/usr/src/wanpipe-3.4.4/kdrvtmp/wanproc.c:1507: warning: cast to
pointer from integer of different size
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/waniface.o
LD [M] /usr/src/wanpipe-3.4.4/kdrvtmp/wanrouter.o
Building modules, stage 2.
MODPOST
CC /usr/src/wanpipe-3.4.4/kdrvtmp/wanrouter.mod.o
LD [M] /usr/src/wanpipe-3.4.4/kdrvtmp/wanrouter.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
make -C /lib/modules/2.6.9-78.ELsmp/build SUBDIRS=/usr/src/
wanpipe-3.4.4/kdrvtmp CC=gcc KBUILD_VERBOSE=0 modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
CC [M] /usr/src/wanpipe-3.4.4/kdrvtmp/af_wanpipe_src.o
/usr/src/wanpipe-3.4.4/kdrvtmp/af_wanpipe_src.c:2013: error: unknown
field `compat_ioctl' specified in initializer
/usr/src/wanpipe-3.4.4/kdrvtmp/af_wanpipe_src.c:2013: warning:
initialization from incompatible pointer type
make[2]: *** [/usr/src/wanpipe-3.4.4/kdrvtmp/af_wanpipe_src.o] Error 1
make[1]: *** [_module_/usr/src/wanpipe-3.4.4/kdrvtmp] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-78.EL-smp-x86_64'
make: *** [all] Error 2
---------------------------------------------