mvickers@real.com
2003-Jul-14 22:14 UTC
[Asterisk-Users] insmod wcfxo failed ( b8zs, esf, wink start is what I'm trying to do.)
Thanks in advance root@asterisk01:~# modprobe wcfxo /lib/modules/2.4.20/misc/wcfxo.o: init_module: No such device /lib/modules/2.4.20/misc/wcfxo.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg /lib/modules/2.4.20/misc/wcfxo.o: insmod /lib/modules/2.4.20/misc/wcfxo.o failed /lib/modules/2.4.20/misc/wcfxo.o: insmod wcfxo failed root@asterisk01:~# root@asterisk01:~# cat /etc/zaptel.conf |grep -v "#" span=1,1,0,esf,b8zs dynamic=eth,eth0/00:02:b3:35:43:9c,24,0 e&m=1-24 loadzone = us defaultzone=us root@asterisk01:~# BTW what the hell is the line "dynamic=" ;-) root@asterisk01:~# cat /etc/asterisk/zapata.conf |grep -v ";" [channels] context=default switchtype=national signalling=em_w usecallerid=yes hidecallerid=no callwaiting=yes callwaitingcallerid=yes threewaycalling=yes transfer=yes cancallforward=yes callreturn=yes echocancel=yes echocancelwhenbridged=yes rxgain=0.0 txgain=0.0 group=1 callgroup=1 pickupgroup=1 immediate=no root@asterisk01:~# root@asterisk01:~# cat /etc/modules.conf options torisa base=0xd0000 alias char-major-196 torisa post-install tor2 /sbin/ztcfg post-install wcfxo /sbin/ztcfg post-install wct1xxp /sbin/ztcfg post-install wcfxs /sbin/ztcfg post-install wcfxsusb /sbin/ztcfg post-install torisa /sbin/ztcfg post-install wct4xxp /sbin/ztcfg root@asterisk01:~# root@asterisk01:~# lsmod Module Size Used by Not tainted zaptel 179712 0 (unused) ppp_generic 15776 0 [zaptel] slhc 4384 0 [ppp_generic] root@asterisk01:~# root@asterisk01:~# root@asterisk01:~# cat /proc/pci PCI devices found: Bus 0, device 0, function 0: Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory Controller Hub] (rev 3). Bus 0, device 1, function 0: VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset Graphics Controller] (rev 3). IRQ 11. Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff]. Non-prefetchable 32 bit memory at 0xffa80000 [0xffafffff]. Bus 0, device 30, function 0: PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 2). Master Capable. No bursts. Min Gnt=2. Bus 0, device 31, function 0: ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 2). Bus 0, device 31, function 1: IDE interface: Intel Corp. 82801AA IDE (rev 2). I/O at 0xffa0 [0xffaf]. Bus 0, device 31, function 2: USB Controller: Intel Corp. 82801AA USB (rev 2). IRQ 10. I/O at 0xef80 [0xef9f]. Bus 0, device 31, function 3: SMBus: Intel Corp. 82801AA SMBus (rev 2). IRQ 9. I/O at 0xefa0 [0xefaf]. Bus 1, device 1, function 0: Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8). IRQ 10. Master Capable. Latency=64. Min Gnt=8.Max Lat=56. Non-prefetchable 32 bit memory at 0xff8fe000 [0xff8fefff]. I/O at 0xdf00 [0xdf3f]. Non-prefetchable 32 bit memory at 0xff700000 [0xff7fffff]. Bus 1, device 9, function 0: Network controller: Tiger Jet Network Inc. Model 300 128k (rev 0). IRQ 9. Master Capable. Latency=64. Min Gnt=1.Max Lat=128. I/O at 0xd800 [0xd8ff]. Non-prefetchable 32 bit memory at 0xff8ff000 [0xff8fffff]. root@asterisk01:~# root@asterisk01:~# root@asterisk01:~# cat /proc/interrupts CPU0 0: 163838 XT-PIC timer 1: 2 XT-PIC keyboard 2: 0 XT-PIC cascade 10: 7553 XT-PIC eth0 14: 3349 XT-PIC ide0 NMI: 0 LOC: 163790 ERR: 0 MIS: 0 root@asterisk01:~# Thanks again! Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588
mvickers@real.com
2003-Jul-14 22:28 UTC
[Asterisk-Users] Re: insmod wcfxo failed ( b8zs, esf, wink start is what I'm trying to do.)
also output of ztcfg... root@asterisk01:~# ztcfg -vvv Zaptel Configuration ===================== SPAN 1: ESF/B8ZS Build-out: 0 db (CSU)/0-133 feet (DSX-1) Dynamic span 1: driver eth, addr eth0/00:02:b3:35:43:9c, channels 24, timing 0 Channel map: Channel 01: E & M (Default) (Slaves: 01) Channel 02: E & M (Default) (Slaves: 02) Channel 03: E & M (Default) (Slaves: 03) Channel 04: E & M (Default) (Slaves: 04) Channel 05: E & M (Default) (Slaves: 05) Channel 06: E & M (Default) (Slaves: 06) Channel 07: E & M (Default) (Slaves: 07) Channel 08: E & M (Default) (Slaves: 08) Channel 09: E & M (Default) (Slaves: 09) Channel 10: E & M (Default) (Slaves: 10) Channel 11: E & M (Default) (Slaves: 11) Channel 12: E & M (Default) (Slaves: 12) Channel 13: E & M (Default) (Slaves: 13) Channel 14: E & M (Default) (Slaves: 14) Channel 15: E & M (Default) (Slaves: 15) Channel 16: E & M (Default) (Slaves: 16) Channel 17: E & M (Default) (Slaves: 17) Channel 18: E & M (Default) (Slaves: 18) Channel 19: E & M (Default) (Slaves: 19) Channel 20: E & M (Default) (Slaves: 20) Channel 21: E & M (Default) (Slaves: 21) Channel 22: E & M (Default) (Slaves: 22) Channel 23: E & M (Default) (Slaves: 23) Channel 24: E & M (Default) (Slaves: 24) 24 channels configured. ZT_SPANCONFIG failed on span 1: No such device or address (6) root@asterisk01:~# Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588 On Mon, 14 Jul 2003 mvickers@real.com wrote:> > Thanks in advance > > root@asterisk01:~# modprobe wcfxo > /lib/modules/2.4.20/misc/wcfxo.o: init_module: No such device > /lib/modules/2.4.20/misc/wcfxo.o: Hint: insmod errors can be caused by > incorrect module parameters, including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg > /lib/modules/2.4.20/misc/wcfxo.o: insmod /lib/modules/2.4.20/misc/wcfxo.o > failed > /lib/modules/2.4.20/misc/wcfxo.o: insmod wcfxo failed > root@asterisk01:~# > > > > root@asterisk01:~# cat /etc/zaptel.conf |grep -v "#" > > span=1,1,0,esf,b8zs > dynamic=eth,eth0/00:02:b3:35:43:9c,24,0 > e&m=1-24 > loadzone = us > defaultzone=us > root@asterisk01:~# > > BTW what the hell is the line "dynamic=" ;-) > > > root@asterisk01:~# cat /etc/asterisk/zapata.conf |grep -v ";" > > [channels] > context=default > switchtype=national > signalling=em_w > usecallerid=yes > hidecallerid=no > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > group=1 > callgroup=1 > pickupgroup=1 > > immediate=no > > root@asterisk01:~# > > root@asterisk01:~# cat /etc/modules.conf > options torisa base=0xd0000 > alias char-major-196 torisa > post-install tor2 /sbin/ztcfg > post-install wcfxo /sbin/ztcfg > post-install wct1xxp /sbin/ztcfg > post-install wcfxs /sbin/ztcfg > post-install wcfxsusb /sbin/ztcfg > post-install torisa /sbin/ztcfg > post-install wct4xxp /sbin/ztcfg > root@asterisk01:~# > > > root@asterisk01:~# lsmod > Module Size Used by Not tainted > zaptel 179712 0 (unused) > ppp_generic 15776 0 [zaptel] > slhc 4384 0 [ppp_generic] > root@asterisk01:~# > root@asterisk01:~# > > > root@asterisk01:~# cat /proc/pci > PCI devices found: > Bus 0, device 0, function 0: > Host bridge: Intel Corp. 82810E DC-133 GMCH [Graphics Memory > Controller Hub] (rev 3). > Bus 0, device 1, function 0: > VGA compatible controller: Intel Corp. 82810E DC-133 CGC [Chipset > Graphics Controller] (rev 3). > IRQ 11. > Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff]. > Non-prefetchable 32 bit memory at 0xffa80000 [0xffafffff]. > Bus 0, device 30, function 0: > PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 2). > Master Capable. No bursts. Min Gnt=2. > Bus 0, device 31, function 0: > ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 2). > Bus 0, device 31, function 1: > IDE interface: Intel Corp. 82801AA IDE (rev 2). > I/O at 0xffa0 [0xffaf]. > Bus 0, device 31, function 2: > USB Controller: Intel Corp. 82801AA USB (rev 2). > IRQ 10. > I/O at 0xef80 [0xef9f]. > Bus 0, device 31, function 3: > SMBus: Intel Corp. 82801AA SMBus (rev 2). > IRQ 9. > I/O at 0xefa0 [0xefaf]. > Bus 1, device 1, function 0: > Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 8). > IRQ 10. > Master Capable. Latency=64. Min Gnt=8.Max Lat=56. > Non-prefetchable 32 bit memory at 0xff8fe000 [0xff8fefff]. > I/O at 0xdf00 [0xdf3f]. > Non-prefetchable 32 bit memory at 0xff700000 [0xff7fffff]. > Bus 1, device 9, function 0: > Network controller: Tiger Jet Network Inc. Model 300 128k (rev 0). > IRQ 9. > Master Capable. Latency=64. Min Gnt=1.Max Lat=128. > I/O at 0xd800 [0xd8ff]. > Non-prefetchable 32 bit memory at 0xff8ff000 [0xff8fffff]. > root@asterisk01:~# > > > > root@asterisk01:~# > root@asterisk01:~# cat /proc/interrupts > CPU0 > 0: 163838 XT-PIC timer > 1: 2 XT-PIC keyboard > 2: 0 XT-PIC cascade > 10: 7553 XT-PIC eth0 > 14: 3349 XT-PIC ide0 > NMI: 0 > LOC: 163790 > ERR: 0 > MIS: 0 > root@asterisk01:~# > > > Thanks again! > > > Mark Vickers, RealNetworks Inc. Desk: (206) 674-2391 Fax: (206)674-3588 >
Steven Critchfield
2003-Jul-14 22:57 UTC
[Asterisk-Users] insmod wcfxo failed ( b8zs, esf, wink start is what I'm trying to do.)
Time for lots of knowledge transfer. On Tue, 2003-07-15 at 00:14, mvickers@real.com wrote:> Thanks in advance > > root@asterisk01:~# modprobe wcfxo > /lib/modules/2.4.20/misc/wcfxo.o: init_module: No such device > /lib/modules/2.4.20/misc/wcfxo.o: Hint: insmod errors can be caused by > incorrect module parameters, including invalid IO or IRQ parameters. > You may find more information in syslog or the output from dmesg > /lib/modules/2.4.20/misc/wcfxo.o: insmod /lib/modules/2.4.20/misc/wcfxo.o > failed > /lib/modules/2.4.20/misc/wcfxo.o: insmod wcfxo failed > root@asterisk01:~# > > > > root@asterisk01:~# cat /etc/zaptel.conf |grep -v "#"This is a very wasteful and not always going to work correctly command. There is no need to use cat when grep will work by itself. Next config lines can have comments on them, and your pattern will eliminate them from your listing. So you should really do something like... grep -v '^#' /etc/zaptel.conf This will just get rid of lines beginning with the comment delimiter. You might want to add a grep in the pipeline after that that looks for a alpha character so you can eliminate empty lines. So try using grep -v '^#' /etc/zaptel.conf | grep '[a-zA-Z0-9]'> span=1,1,0,esf,b8zs > dynamic=eth,eth0/00:02:b3:35:43:9c,24,0 > e&m=1-24 > loadzone = us > defaultzone=us > root@asterisk01:~# > > BTW what the hell is the line "dynamic=" ;-)dynamic is a way to do TDM phone signaling over ethernet. If you don't have a T1 interface, you don't need the span line. Also, I think it has been mentioned on the list, e&m isn't supported on the analog interfaces. From the looks of the output below, you have a single X100P or X101P card, and only need to specify the 1 channel as FXO.> root@asterisk01:~# cat /etc/asterisk/zapata.conf |grep -v ";"Same lesson as above goes here.> [channels] > context=default > switchtype=national > signalling=em_w > usecallerid=yes > hidecallerid=no > callwaiting=yes > callwaitingcallerid=yes > threewaycalling=yes > transfer=yes > cancallforward=yes > callreturn=yes > echocancel=yes > echocancelwhenbridged=yes > rxgain=0.0 > txgain=0.0 > group=1 > callgroup=1 > pickupgroup=1 > > immediate=noYou need to have a channel definition. Of course it may have been excluded by the grep you used.> root@asterisk01:~# > > root@asterisk01:~# cat /etc/modules.conf > options torisa base=0xd0000 > alias char-major-196 torisa > post-install tor2 /sbin/ztcfg > post-install wcfxo /sbin/ztcfg > post-install wct1xxp /sbin/ztcfg > post-install wcfxs /sbin/ztcfg > post-install wcfxsusb /sbin/ztcfg > post-install torisa /sbin/ztcfg > post-install wct4xxp /sbin/ztcfg > root@asterisk01:~# > > > root@asterisk01:~# lsmod > Module Size Used by Not tainted > zaptel 179712 0 (unused) > ppp_generic 15776 0 [zaptel] > slhc 4384 0 [ppp_generic] > root@asterisk01:~# > root@asterisk01:~# > > > root@asterisk01:~# cat /proc/pciThis is more useful if you use the command lspci.> PCI devices found: > Bus 0, device 0, function 0:Now for the fix you need, try placing the card in a different PCI slot. This card can be finicky about it's environment. -- Steven Critchfield <critch@basesys.com>