[asterisk-dev] Cannot load chan_dahdi.so

Dan Amarandei dan.amarandei at gmail.com
Sat Jan 9 13:00:57 CST 2010


Thanks for the help,


ldd is not present on the target so I had to do the following:

dan at ubuntu:~/apps/BAPS2/asterisk-1.6.1.6/channels$
/opt/uClinux/bfin-linux-uclibc/bfin-linux-uclibc/bin/objdump -x
chan_dahdi.so

chan_dahdi.so:     file format elf32-bfinfdpic
chan_dahdi.so
architecture: bf532 compatible, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x00005a68

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x0002f278 memsz 0x0002f278 flags r-x
    LOAD off    0x0002f278 vaddr 0x00033278 paddr 0x00033278 align 2**12
         filesz 0x000035f4 memsz 0x000038e8 flags rw-
 DYNAMIC off    0x0002f314 vaddr 0x00033314 paddr 0x00033314 align 2**2
         filesz 0x000000e0 memsz 0x000000e0 flags rw-
   STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**3
         filesz 0x00000000 memsz 0x00020000 flags rwx

Dynamic Section:
  NEEDED      libpthread.so.0
  NEEDED      libdl.so.0
  NEEDED      libtonezone.so.2.0
  NEEDED      libgcc_s.so.1
  NEEDED      libc.so.0
  INIT        0x4ea0
  FINI        0x28538
  HASH        0xb4
  STRTAB      0x15dc
  SYMTAB      0x76c
  STRSZ       0xe7e
  SYMENT      0x10
  PLTGOT      0x35918
  PLTRELSZ    0x5d0
  PLTREL      0x11
  JMPREL      0x48d0
  REL         0x2648
  RELSZ       0x2858
  RELENT      0x8
  VERNEED     0x2628
  VERNEEDNUM  0x1
  VERSYM      0x245a



 libtonezone.so.2.0 was missing - It was in /lib but only showing as
libtonezone.so since I manually copied there. This part is now fixed, now I
get :


[Jan  1 00:00:09] WARNING[142] chan_dahdi.c: Unable to specify channel 1: No
such device or address
[Jan  1 00:00:09] ERROR[142] chan_dahdi.c: Unable to open channel 1: No such
device or address
here = 0, tmp->channel = 1, channel = 1
[Jan  1 00:00:09] ERROR[142] chan_dahdi.c: Unable to register channel '1'

I am hoping it is something simple for this new problem.


Thanks,


Dan Amarandei.




On Wed, Jan 6, 2010 at 4:36 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

> On Wed, Jan 06, 2010 at 12:46:27AM -0500, Dan Amarandei wrote:
> > Anyone know what this means?
> >
> > [Jan  1 01:36:13] WARNING[358] loader.c:385 load_dynamic_module: Error
> > loading module 'chan_dahdi.so': File not found.
>
> Either chan_dahdi.so itself is missing, or a dependency of it
> (libpri.so.4 , libss7.so.0, whatever). Try:
>
>  ls -l /usr/lib/modules/asterisk/modules/chan_dahdi.so
>  ldd /usr/lib/modules/asterisk/modules/chan_dahdi.so | grep -i 'not found'
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20100109/7e092e9b/attachment.htm 


More information about the asterisk-dev mailing list