Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo
Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba
by amjohnson » Tue Sep 11, 2012 7:49 pm
For the last few days I have been investigating and issue where a new cluster I was building was getting an error when starting wanpipe for my sangoma card. I am using vicibox 3.1.15 64 bit. I have built 2 other clusters with the same hardware without any issues. I have narrowed it down to the same reproducible error.
mytestserver:~ # wanrouter start
Starting WAN Router...
Loading WAN drivers: wanpipe FATAL: Module wanpipe_lip not found.
The issue is when I update the OS using zypper refresh && zypper up it installs new wanpipe/dahdi drivers. From what I read on sangoma's website these error's are usually caused by either dahdi, wanpipe or both not being compiled correctly.
Here is what I have tried:
os-install -> zypper refresh && zypper up -> vicibox-install -> wancfg_dahdi = FAIL no dahdi ('dahdi show channels' returns invalid command)
os-install -> vicibox-install -> zypper refresh && zypper up -> wancfg_dahdi = FAIL no dahdi ('dahdi show channels' returns invalid command)
os-install -> zypper refresh && zypper up -> wancfg_dahdi -> vicibox-install = FAIL no dahdi ('dahdi show channels' returns invalid command)
os-install -> wancfg_dahdi -> vicibox-install = WORKS! -> zypper refresh && zypper up = FAIL no dahdi ('dahdi show channels' returns invalid command)
os-install -> wancfg_dahdi -> vicibox-install = WORKS!
The minute I run zypper up everything breaks.
The card used in these test is detected as "AFT-A101-SH SLOT=4 BUS=2 IRQ=16 CPU=A PORT=1 HWEC=0 V=39" by wancfg it is a single port pci-e T1 card which I am connecting to a analog channel bank for 24 FXS extensions for my agent extensions.
Hope this helps track down the issue! I am currently up and running but do not like the idea of not being updated to the latest packages.
-
amjohnson
-
- Posts: 55
- Joined: Sun Apr 22, 2012 5:35 pm
by DomeDan » Wed Sep 12, 2012 3:31 am
when you updated the operating system the kernel gets updated, then you need to recompile dahdi
http://www.vicidial.org/VICIDIALforum/v ... 286#p87454
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
-
DomeDan
-
- Posts: 1226
- Joined: Tue Jan 04, 2011 9:17 am
- Location: Sweden
by amjohnson » Wed Sep 12, 2012 11:25 am
Thanks for the link... I did try recompiling DAHDI and WANPIPE but the WANPIPE compile failed.. I will try just the DAHDI drivers and see what happens..
-Andrew
-
amjohnson
-
- Posts: 55
- Joined: Sun Apr 22, 2012 5:35 pm
by amjohnson » Wed Sep 12, 2012 11:51 am
Yep that fixed it. I didnt know opensuse/zypper's commands to install the sources so I was recompiling using the sources from asterisk and sangoma.. There must be some customizations in the sources somewhere as the DAHDI sources from asterisk compile fine but the wanpipe drivers from sangoma do not.. wanpipe compile fails with a kernel header error.... I have another machine that I was going to wipe and reload because of the failed wanpipe driver compile failed. I will try the rpm sources and see what happens.
Thanks again for your help
-
amjohnson
-
- Posts: 55
- Joined: Sun Apr 22, 2012 5:35 pm
by Kumba » Mon Sep 17, 2012 1:04 am
There is an upgrade path for ViciBox v.3.1 to work with the new packages. You can find that info in this sticky:
viewtopic.php?f=8&t=25851Make sure you read it through the whole way before attempting an upgrade. There are some caveats.
-
Kumba
-
- Posts: 939
- Joined: Tue Oct 16, 2007 11:44 pm
- Location: Florida
Return to ViciBox Server Install and Demo
Who is online
Users browsing this forum: No registered users and 32 guests