Ron Fox
2003-Dec-26 00:13 UTC
[Asterisk-Users] DevKitLite compiles but won't load modules or run asterisk
I'm trying to install on a 233Mz PII running RH7.1 kernel 2.4.2 The "astinstall" script pulled files from CVS ok and compiled with no warnings. When I try to run "modprobe wcfxo" and "modprobe wcusb" I get the following identical set of error messages: 15. Creating sample environment...SKIPPED ================= Installation Completed! =================== [root@makakilo asterisk-devkit-lite]# modprobe wcfxo /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol add_wait_queue_Re67723dc /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol __pollwait_Rf55e743f /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol proc_mkdir_R7e88f9ad /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol register_chrdev_R0ec734c6 /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol remove_proc_entry_R6be8391a /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol create_proc_entry_R4231d820 /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol remove_wait_queue_Rbbbb9ce3 /lib/modules/2.4.2-2/misc/zaptel.o: insmod /lib/modules/2.4.2-2/misc/zaptel.o failed /lib/modules/2.4.2-2/misc/zaptel.o: insmod wcfxo failed [root@makakilo asterisk-devkit-lite]# [root@makakilo asterisk-devkit-lite]# modprobe wcusb /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol add_wait_queue_Re67723dc /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol __pollwait_Rf55e743f /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol proc_mkdir_R7e88f9ad /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol register_chrdev_R0ec734c6 /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol remove_proc_entry_R6be8391a /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol create_proc_entry_R4231d820 /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol remove_wait_queue_Rbbbb9ce3 /lib/modules/2.4.2-2/misc/zaptel.o: insmod /lib/modules/2.4.2-2/misc/zaptel.o failed /lib/modules/2.4.2-2/misc/zaptel.o: insmod wcusb failed [root@makakilo asterisk-devkit-lite]# Running "ztcfg" returns the following: [root@makakilo asterisk-devkit-lite]# ztcfg Notice: Configuration file is /etc/zaptel.conf line 5: Unable to open master device '/dev/zap/ctl' [root@makakilo asterisk-devkit-lite]# Running asterisk after creating the 2 sample mailboxes returns a bunch of activity that I've reduced to the banner and lines containing "warning": [root@makakilo asterisk-devkit-lite]# asterisk -vvvc Parsing '/etc/asterisk/asterisk.conf': Not found (No such file or directory) Asterisk CVS-12/23/03-01:41:05, Copyright (C) 1999-2001 Linux Support Services, Inc. Written by Mark Spencer <markster@linux-support.net> ========================================================================WARNING [1024]: File res_musiconhold.c, Line 508 (moh_register): Unable to open pseudo channel for timing... Sound may be choppy. WARNING [3076]: File res_musiconhold.c, Line 165 (spawn_mp3): Found no files in '/var/lib/asterisk/mohmp3' WARNING [3076]: File res_musiconhold.c, Line 227 (monmp3thread): unable to spawn mp3player WARNING [1024]: File chan_iax2.c, Line 6044 (load_module): Unable to open IAX timing interface: No such device WARNING [1024]: File chan_iax2.c, Line 5466 (set_config): Ignoring port for now WARNING [9226]: File chan_oss.c, Line 238 (sound_thread): Read error on sound device: Resource temporarily unavailable WARNING [1024]: File config.c, Line 579 (cfg_process): No '=' (equal sign) in line 90 of extensions.conf WARNING [1024]: File chan_zap.c, Line 628 (zt_open): Unable to open '/dev/zap/channel': No such device WARNING [1024]: File loader.c, Line 312 (ast_load_resource): chan_zap.so: load_module failed, returning -1 WARNING [1024]: File loader.c, Line 407 (load_modules): Loading module chan_zap.so failed! I had previously installed asterisk from CVS before the Digium hardware arrived and was able to run asterisk from the console, dial into the the sample environment ( but not leave voicemail ) and run the IAX demo at Digium. Can anyone tell me what may be running amiss here? Also, is there a script or makefile target that will fully un-install asterisk, zaptel, zapata and libpri so that I can try again? Thanks, Ron -- Ronald Fox Email: rfox@dls.queens.org Diagnostic Laboratory Services, Inc. Phone: (808) 589-5172 Honolulu, Hawaii
Steven Critchfield
2003-Dec-26 03:10 UTC
[Asterisk-Users] DevKitLite compiles but won't load modules or run asterisk
On Fri, 2003-12-26 at 01:13, Ron Fox wrote:> I'm trying to install on a 233Mz PII running RH7.1 kernel 2.4.2 > The "astinstall" script pulled files from CVS ok and compiled with no > warnings. When I try to run "modprobe wcfxo" and "modprobe wcusb" I get > the following identical set of error messages: > > > 15. Creating sample environment...SKIPPED > ================= Installation Completed! ===================> > > [root@makakilo asterisk-devkit-lite]# modprobe wcfxo > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > add_wait_queue_Re67723dc > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol __pollwait_Rf55e743f > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol proc_mkdir_R7e88f9ad > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > register_chrdev_R0ec734c6 > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > remove_proc_entry_R6be8391a > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > create_proc_entry_R4231d820 > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > remove_wait_queue_Rbbbb9ce3 > /lib/modules/2.4.2-2/misc/zaptel.o: insmod > /lib/modules/2.4.2-2/misc/zaptel.o failed > /lib/modules/2.4.2-2/misc/zaptel.o: insmod wcfxo failed > [root@makakilo asterisk-devkit-lite]# > > [root@makakilo asterisk-devkit-lite]# modprobe wcusb > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > add_wait_queue_Re67723dc > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol __pollwait_Rf55e743f > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol proc_mkdir_R7e88f9ad > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > register_chrdev_R0ec734c6 > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > remove_proc_entry_R6be8391a > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > create_proc_entry_R4231d820 > /lib/modules/2.4.2-2/misc/zaptel.o: unresolved symbol > remove_wait_queue_Rbbbb9ce3 > /lib/modules/2.4.2-2/misc/zaptel.o: insmod > /lib/modules/2.4.2-2/misc/zaptel.o failed > /lib/modules/2.4.2-2/misc/zaptel.o: insmod wcusb failed > [root@makakilo asterisk-devkit-lite]#> Can anyone tell me what may be running amiss here?You don't seem to have the proper header files and modversions file for your kernel. You would be well off to get a newer kernel anyways, and compile from source. Then when you compile the modules, they should work for you.> Also, is there a script or makefile target that will fully un-install > asterisk, zaptel, zapata and libpri so that I can try again?This isn't windows, that isn't important. -- Steven Critchfield <critch@basesys.com>
Iain Stevenson
2003-Dec-26 03:45 UTC
[Asterisk-Users] DevKitLite compiles but won't load modules or run asterisk
--On Thursday, December 25, 2003 9:13 pm -1000 Ron Fox <rfox@dlabs.com> wrote:> > Also, is there a script or makefile target that will fully un-install > asterisk, zaptel, zapata and libpri so that I can try again? >You could install the utility "checkinstall". It creates a RPM for software that installs via "make install" - as asterisk does. You can then remove the software using "rpm -e" Iain