All pastes #3891 Raw Edit

modprobe errors asterisk

public text v1 · immutable
#3891 ·published 2005-01-07 22:13 UTC
rendered paste body
[root@localhost loginname]# lsmod
lsmod
Module                  Size  Used by
wcfxo                  11104  0
zaptel                183076  1 wcfxo
crc-ccitt               1664  1 zaptel

asterisk -c
Asterisk CVS-HEAD-12/31/04-15:30:58, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
[ Booting..........Jan  6 08:57:27 WARNING[4854]: config.c:356 cfg_process: No '=' (equal sign) in line 388 of /etc/asterisk/indications.conf
..........Jan  6 08:57:27 WARNING[4854]: chan_skinny.c:2602 reload_config: Unable to get our IP address, Skinny disabled
.Jan  6 08:57:27 WARNING[4854]: chan_oss.c:240 sound_thread: Read error on sound device: Resource temporarily unavailable
..Jan  6 08:57:27 WARNING[4854]: chan_zap.c:792 zt_open: Unable to specify channel 1: No such device or address

Jan  6 08:57:27 ERROR[4854]: chan_zap.c:6332 mkintf: Unable to open channel 1: No such device or address
here = 0, tmp->channel = 1, channel = 1
Jan  6 08:57:27 ERROR[4854]: chan_zap.c:9319 setup_zap: Unable to register channel '1'
Jan  6 08:57:27 WARNING[4854]: loader.c:396 ast_load_resource: chan_zap.so: load_module failed, returning -1
Jan  6 08:57:27 WARNING[4854]: loader.c:500 load_modules: Loading module chan_zap.so failed!

 cat /etc/modprobe.preload
# /etc/modprobe.preload: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.
# this file is for module-init-tools (kernel 2.5 and above) ONLY
# for old kernel use /etc/modules
modprobe wcfxo
modprobe zaptel
ztcfg

intel-agp
[root@localhost leonardo]# modprobe wcfxo
[root@localhost leonardo]# modprobe zaptel
[root@localhost leonardo]# ztcfg
[root@localhost leonardo]#



[root@localhost leonardo]# asterisk -c
Asterisk CVS-HEAD-12/31/04-15:30:58, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <markster@digium.com>
=========================================================================
[ Booting..........Jan  6 09:01:36 WARNING[4891]: config.c:356 cfg_process: No '=' (equal sign) in line 388 of /etc/asterisk/indications.conf
..........Jan  6 09:01:37 WARNING[4891]: chan_skinny.c:2602 reload_config: Unable to get our IP address, Skinny disabled
.Jan  6 09:01:37 WARNING[4891]: chan_oss.c:240 sound_thread: Read error on sound device: Resource temporarily unavailable
....................Jan  6 09:01:37 NOTICE[4891]: app_queue.c:1747 reload_queue_members: Queue members sucessfully reloaded from database.
.............................................................................. ]
Asterisk Ready.
*CLI>

So from all the above you can see lsmod showed that modules wcfxo and zaptel were loaded and typing asterisk -c showed zaptel errors saying thay were not loaded. I have both modules in /etc/modprobe.preload as what was stated by the people on #mandrake these are where all modules are loaded when starting mandrake. If these modules were loaded from preload then why can I modprobe both modules with no feed back stating thay already have been loaded?? Does not make sence. The last step is to manually load the modules and then execute asterisk -c. As you can see the zaptel errors disapear. So would this be a bug between mandrake kernel 2.6.8.1-12mdk and asterisk lattest CVS ?


I also have 
Asterisk CVS-HEAD-12/31/04-15:30:58 built by root@localhost on a i686 running Linux