[asterisk-dev] Cannot load chan_dahdi.so

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 9 15:24:22 CST 2010


On Sat, Jan 09, 2010 at 02:00:57PM -0500, Dan Amarandei wrote:
> 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.

Sounds like a configuration issue.

What's the output of cat /proc/dahdi/* ?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list