07.31.03
Sangoma S514 T1 Card installation on Debian
So I have a Sangoma S514 card I’m trying to install in my firewall box. The installation manual provides a good bit of info fot a stock tgz and rpm install. However, nothing in the linux world is totally straight forward. So my firewall box is too slow to compile a kernel, so i decided to try to compile the drivers on my server.
1. cd /usr/src/; mkdir /usr/src/built (localize src code)
2. put latest src code in /usr/src/linux
3. Get the latest tgz from ftp.sangoma.com/linux/current_wanpipe
4. tar xzvf wanpipe-xxx.tgz
5. Change ./util/wanpipemon/wanpipemon.c all multiline string constants to use ‘\n’ per gcc 3 ANSI C compatibility
6. ./Setup –builddir=/usr/src/built/ [--with-linux=/usr/src/kernel-source-xyz/] install
7. cd /usr/src/linux
8. make menuconfig
9. Aside from normal firewall opts, make sure the two following are modules: CONFIG_WAN_ROUTER=m, CONFIG_VENDOR_SANGOMA=m
10. export INSTALL_MOD_PATH=/usr/src/built/ (modules are used on other machine)
11. Edit modules, add -DEXPORT_SYMTAB to MODFLAGS. (this is req’d for 2.4.21 kernel)
12. make dep bzImage modules modules_install
13. install kernel and utility on firewall
James S said,
July 31, 2003 at 10:54 pm
I changed the Makefile and added -DEXPORT_SYMTAB to CFLAGS
James S said,
July 31, 2003 at 11:40 pm
Gotta make sure CONFIG_VGA_CONSOLE=y is set or the box will freeze after it decompresses the kernel at "Uncompressing Linux…OK. Booting the kernel".
Also MODVERSIONS must not be set (this one is per the sangoma web site.) I dont quite remember, but I believe if this is yes, then you’ll still get symbol problems
Also the make modules_install will report missing symbols, which will be fixed when the modules are compiled by the sangoma software.