Hello everybody, After going through multiple posts on Internet and trying different things I can't seems get zaptel wcfxo loaded on the server correctly. I run dual P3 500 Mhz box. After reading README.udev I put a file 60-zaptel.rules /etc/udev/rules.d # Section for zaptel device KERNEL="zapctl", NAME="zap/ctl" KERNEL="zaptimer", NAME="zap/timer" KERNEL="zapchannel", NAME="zap/channel" KERNEL="zappseudo", NAME="zap/pseudo" KERNEL="zap[0-9]*", NAME="zap/%n" In /etc/udev/permissions.d/50-udev.permissions I added: # zaptel devices zap/ctl:root:root:0664 zap/timer:root:root:0664 zap/channel:root:root:0664 zap/pseudo:root:root:0664 zap/*:root:root:0644 I then ran make linux26, make install, make config. I replaced insmod and rmmod in /etc/init.d/zaptel with modprobe and modprobe -r according to suggestions made in groups. When I run modprobe wcfxo I get following: Notice: Configuration file is /etc/zaptel.conf line 0: Unable to open master device '/dev/zap/ctl' 1 error(s) detected FATAL: Error running install command for wcfxo I see zaptel and wcfxo is loaded if I run lsmod though. In 1 minute my box crashes Rebooting the box and running it again, same thing. /var/log/messages before crash Dec 10 17:24:30 conference kernel: Zapata Telephony Interface Registered on major 196 Dec 10 18:36:03 conference kernel: wcfxo: DAA mode is 'FCC' Dec 10 18:36:03 conference kernel: Uhhuh. NMI received for unknown reason 15 on CPU 0. Dec 10 18:36:03 conference kernel: Dazed and confused, but trying to continue Dec 10 18:36:03 conference kernel: Do you have a strange power saving mode enabled? Dec 10 18:36:03 conference kernel: Found a Wildcard FXO: Generic Clone Dec 10 17:24:33 conference udev[4636]: configured rule in '/etc/udev/rules.d/60-zaptel.rules' at line 4 applied, ' zapchannel' becomes 'zap/channel' Dec 10 17:24:33 conference udev[4635]: configured rule in '/etc/udev/rules.d/60-zaptel.rules' at line 3 applied, ' zaptimer' becomes 'zap/timer' Dec 10 17:24:33 conference udev[4636]: creating device node '/dev/zap/channel' Dec 10 17:24:33 conference udev[4635]: creating device node '/dev/zap/timer' Dec 10 17:24:33 conference udev[4649]: configured rule in '/etc/udev/rules.d/60-zaptel.rules' at line 5 applied, ' zappseudo' becomes 'zap/pseudo' Dec 10 17:24:33 conference udev[4649]: creating device node '/dev/zap/pseudo' Dec 10 17:24:33 conference udev[4650]: configured rule in '/etc/udev/rules.d/60-zaptel.rules' at line 2 applied, ' zapctl' becomes 'zap/ctl' Dec 10 17:24:33 conference udev[4650]: creating device node '/dev/zap/ctl' Dec 10 17:24:33 conference udev[4665]: configured rule in '/etc/udev/rules.d/60-zaptel.rules' at line 6 applied, ' zap1' becomes 'zap/%n' Dec 10 17:24:33 conference udev[4665]: creating device node '/dev/zap/1' After each reboot /dev/zap disappears due to udev dynamic nature I guess. I tried to build zaptel commenting out ifeq ($(DYNFS),) else @echo "**** Dynamic filesystem detected -- not creating device nodes" @echo "**** If you are running udev, read README.udev" endif I see the devices created and can load wcfxpro but server crushes within less than a minute nevertheless Has anyone have an idea? I am ready to give up on FC3 although I wonder of the hardware has anything to do with my problem. Thanks in Advance, Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041211/03497990/attachment.htm
Rodolfo Grave
2004-Dec-18 11:09 UTC
[Asterisk-Users] modprobe wcfxo crashes my IBM NetFinity5000 after few seconds
Hello. I have installed asterisk in a IBM NetFinity (single Pentium-II, SCSI controller, SuSE9.0, one X100P card). The thing is that when I run "modprobe zaptel" everything seems to be ok (I've left the PC running after it long time and nothing happens). Then, after I execute "modprobe wcfxo" (it gives no messages or warnings) the PC reboots. This is the output of lspci: 00:00.0 Host bridge: ServerWorks CNB20-LE Host Bridge (rev 04) 00:00.1 Host bridge: ServerWorks CNB20-LE Host Bridge (rev 02) 00:01.0 SCSI storage controller: IBM SCSI RAID Adapter [ServeRAID] (rev 0d) 00:06.0 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04) 00:06.1 SCSI storage controller: Adaptec AHA-2940U/UW / AHA-39xx / AIC-7895 (rev 04) 00:09.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 33) 00:0a.0 VGA compatible controller: S3 Inc. 86c775/86c785 [Trio 64V2/DX or /GX] (rev 16) 00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4d) 00:0f.1 IDE interface: ServerWorks: Unknown device 0210 (rev 4a) 00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04) 01:03.0 Communication controller: Tiger Jet Network Inc. Intel 537 This is the output of lsmod before running anything: Module Size Used by Not tainted isa-pnp 30664 0 (unused) ipv6 209824 -1 (autoclean) key 63256 0 (autoclean) [ipv6] st 27760 0 (autoclean) (unused) sr_mod 13432 0 (autoclean) (unused) cdrom 26752 0 (autoclean) [sr_mod] sg 32224 0 (autoclean) keybdev 1996 0 (unused) mousedev 4084 0 (unused) joydev 5120 0 (unused) evdev 3584 0 (unused) input 3360 0 [keybdev mousedev joydev evdev] usb-ohci 18664 0 (unused) usbcore 58668 1 [usb-ohci] raw1394 16592 0 (unused) ieee1394 183332 0 [raw1394] pcnet32 13728 1 mii 2320 0 [pcnet32] reiserfs 200084 1 aic7xxx 160652 0 ips 37624 2 sd_mod 12320 4 scsi_mod 97108 6 [st sr_mod sg aic7xxx ips sd_mod] After running modprobe zaptel, this the following line is added at the header of lsmod output: zaptel 188416 0 (unused) And after modprobe wcfxo (it takes some seconds executing this): wcfxo 8704 0 (unused) After this, it's just a matter of 1 minute before it reboots. Is this some bug? some incompatibility? Thanks in advance, RODOLFO