Problem installation of the card eicon diva server 4BRI


In my asterisk server, I have a card eicon diva server 4BRI. I installed the package divas4linux_EICON-105.21-1.deb

“./Build” : OK

But when I want to configure my Diva adapt ("./Config), I have the following message:

I read in the reference guide: “Load the DIDD module. To do so, execute insmod /usr/lib/eicon/divas/divadidd.o”

So I make : asterisk:/usr/lib/eicon/divas# insmod divadidd.o
But it does not work :

divadidd.o: divadidd.o: unresolved symbol __generic_copy_to_user_Rsmp_d523fdd3
divadidd.o: divadidd.o: unresolved symbol __vmalloc_Rsmp_79995c5b
divadidd.o: divadidd.o: unresolved symbol __pollwait_Rsmp_4bd1c406
divadidd.o: divadidd.o: unresolved symbol remove_proc_entry_Rsmp_f6b4ed27
divadidd.o: divadidd.o: unresolved symbol schedule_timeout_Rsmp_17d59d01
divadidd.o: divadidd.o: unresolved symbol proc_net_Rsmp_397b6943
divadidd.o: divadidd.o: unresolved symbol __wake_up_Rsmp_127fda83
divadidd.o: divadidd.o: unresolved symbol printk_Rsmp_1b7d4074
divadidd.o: divadidd.o: unresolved symbol boot_cpu_data_Rsmp_4a8db2ac
divadidd.o: divadidd.o: unresolved symbol vfree_Rsmp_2fd1d81c
divadidd.o: divadidd.o: unresolved symbol __generic_copy_from_user_Rsmp_116166aa
divadidd.o: divadidd.o: unresolved symbol create_proc_entry_Rsmp_74409ef0

I do not know why I have these errors. And I do not know at all what I should do. Someone there an idea of where it’s coming? What should I do?

I don’t understand why I can not load my module “divadidd” when it’s installed. I know it’s installed because when I make “./Build” I have :

PROCESSING: Install Diva modules ... divadidd.o, divas.o, diva_mnt.o, diva_idi.o, divacapi.o, kernelcapi.o, capi.o diva_mtpx.o OK

But when I make “modprobe divadidd” in the directory where there is divadidd.o I have :

asterisk:/usr/lib/eicon/divas# modprobe divadidd
modprobe: Can't locate module divadidd

I don’t understand the problem! Someone he ever had this problem?

As I didn’t have a solution, I changed Kernel: 2.6.18. But it’s not better! I have a problem when I make “. / Build”:

PROCESSING: Please press CTRL-C to abort (waiting 15 sec) ... OK
PROCESSING: Cleanup ... OK
PROCESSING: Check system environment ... OK
PROCESSING: Read kernel version ... OK
PROCESSING: Update kernel source tree ... OK
PROCESSING: Update kernel configuration ... OK
PROCESSING: Call 'make menuconfig'

 ... scripts/kconfig/mconf arch/i386/Kconfig
# configuration written to .config

*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

PROCESSING: Call 'make dep', please be patient ... OK
PROCESSING: Call 'make modules', please be patient ...

  ERROR :       Failed to call 'make modules'
  MISSING:      make modules

  Execution aborted, plese see '/usr/lib/eicon/divas/src/divas.log' file
  for details

As usual I don’t know where it came from.
Someone he ever had this problem?
Thank you

Now the error is a little further in the installation of modules: before, the error was at the module kcapi and now the installation of this module is correct but there is a problem with the module capi.

The end of the file divas.log

  WARNING: Symbol version dump /usr/src/linux-source-2.6.18/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  drivers/isdn/capi/kcapi.o
  CC [M]  drivers/isdn/capi/capiutil.o
  CC [M]  drivers/isdn/capi/capilib.o
  CC [M]  drivers/isdn/capi/kcapi_proc.o
  LD [M]  drivers/isdn/capi/kernelcapi.o
  CC [M]  drivers/isdn/capi/capi.o
drivers/isdn/capi/capi.c:42:35: error: linux/devfs_fs_kernel.h: Aucun fichier ou répertoire de ce type
drivers/isdn/capi/capi.c: In function âcapi_initâ:
drivers/isdn/capi/capi.c:1513: warning: implicit declaration of function âdevfs_mk_cdevâ
drivers/isdn/capi/capi.c: In function âcapi_exitâ:
drivers/isdn/capi/capi.c:1545: warning: implicit declaration of function âdevfs_removeâ
make[2]: *** [drivers/isdn/capi/capi.o] Erreur 1
make[1]: *** [drivers/isdn/capi] Erreur 2
make: *** [_module_drivers/isdn] Erreur 2
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src
#! LOG ABORT EXECUTION DUE TO ERROR  : Failed to call 'make modules'
#! LOG ERROR INFO: make modules

Apparently I miss devfs_fs_kernel.h in the file / usr / src / linux. I mention that / usr / src / linux is a symbolic link to / usr/src/linux-source-2.6.18.
How it is that I do not have this file?

I don’t now if I am very clear. Sorry for my English which is far from perfect. :confused:

Problem solved! I retrieved the missing file devfs_fs_kernel.h in the headers of kernel 2.6.8 and I copied to /usr/src/linux. ./Build was going well but when ./Config, I always make mistakes :

So I went on the web and I did restart for each port, I repeat ./Config and there is no error. I could start with the map ./Start.