HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Eicon diva server/kernel 2.6.11-1.14_FC3
Has anyone gotten the source level RPM working with kernel 2.6.11-1.14_FC3?
I'm working with divas4linux_EICON-104.429-1.i386.rpm, and made
the following changes:
"There is an error in the source code when used with 2.6.x kernels.
You have to edit the drivers/isdn/hardware/eicon/diva_didd.c
from kernels_2.tgz in /usr/lib/eicon/divas/src/src/ and
change the EXPORT_SYMBOL_NOVERS to just EXPORT_SYMBOL. Remake
the tar file, and run ./Build. If you have done a Build and Config
and gotten an error with no symbol matches for
ring# dmesg | tail
...
divas: Unknown symbol proc_net_eicon
divas: Unknown symbol DIVA_DIDD_Read
rmmod divadidd
and rerun/reload."
Currently, the modules load and unload correctly, the configure
script find the devices and they can be configured. However:
Jun 20 10:08:42 ring FaxGetty[12765]: MODEM flush i/o
Jun 20 10:08:42 ring FaxGetty[12765]: <-- [4:ATZ\r]
Jun 20 10:08:42 ring FaxGetty[12765]: MODEM WRITE SHORT: sent 3, wrote 45056
so, perhaps there is something needed for 2.6 kernels I missed.
Sadly, the tty interface is closed source, and distributed in some
tricky way that precludes easily looking at the source. So, simply
looking at the source isn't an option.
Here is the build log:
[mike@ring src]$ cat divas.log
# --------------------------------------------------------------
#
# Diva build (c) Copyright by Eicon Networks 1993 - 2004
# Please read legal notice at begin of reference manual
# /usr/lib/eicon/divas/httpd/reference_manual.php
#
# BUILD: 104-429
# STARTED AT: Fri Apr 15 17:12:24 EDT 2005
# HOST: ring.nss.udel.edu
# WORKING DIRECTORY: /usr/lib/eicon/divas/src
# LOG FILE: /usr/lib/eicon/divas/src/divas.log
# OPTIONS: -nowait
# TARGET: /usr/lib/eicon/divas
#
# Usage: Build [ -nowait ] [ -noinstall ] [ -target target_dir ] [ -mrproper ] [ -rpm ]
#
# - COMPILE AND INSTALL DIVA DRIVERS -
#
# INFO: Procedure includes update of kernel source
# tree and of kernel configuration
#
# --------------------------------------------------------------
# LOG ---- START SECTION 'cleanup_tmp_files' ------------------
# LOG ---- END SECTION 'cleanup_tmp_files' ------------------
# LOG ---- START SECTION check_files ------------------
#+ LOG START PROCESS STEP 1: sed
#+ LOG END PROCESS STEP: 1
#+ LOG START PROCESS STEP 2: grep
#+ LOG END PROCESS STEP: 2
#+ LOG START PROCESS STEP 3: make
#+ LOG END PROCESS STEP: 3
#+ LOG START PROCESS STEP 4: /usr/src/linux
#+ LOG END PROCESS STEP: 4
#+ LOG START PROCESS STEP 5: /usr/src/linux/include/linux
#+ LOG END PROCESS STEP: 5
#+ LOG START PROCESS STEP 6: /usr/lib/eicon/divas
#+ LOG END PROCESS STEP: 6
#+ LOG START PROCESS STEP 7: /usr/src/linux/Makefile
#+ LOG END PROCESS STEP: 7
#+ LOG START PROCESS STEP 8: Kernel version
#++ LOG INFO kernel major 6
#+ LOG END PROCESS STEP: 8
#+ LOG START PROCESS STEP 9: src/kernel.tgz
#+ LOG END PROCESS STEP: 9
#+ LOG START PROCESS STEP 10: src/kernel_2.tgz
#+ LOG END PROCESS STEP: 10
#+ LOG START PROCESS STEP 11: gcc
#+ LOG END PROCESS STEP: 11
#+ LOG START PROCESS STEP 12: gcc
#+ LOG END PROCESS STEP: 12
#+ LOG START PROCESS STEP 13: tar
#+ LOG END PROCESS STEP: 13
#+ LOG START PROCESS STEP 14: /usr/src/linux/.config
#++ LOG found '.config', preserved
#+ LOG END PROCESS STEP: 14
#+ LOG START PROCESS STEP 15: /usr/src/linux/include/linux/sched.h
#+ LOG END PROCESS STEP: 15
#+ LOG START PROCESS STEP 16: /usr/src/linux/drivers/Makefile
#+ LOG END PROCESS STEP: 16
#+ LOG START PROCESS STEP 17: /bin/bash
#+ LOG END PROCESS STEP: 17
# LOG ---- END SECTION check_files ------------------
# LOG ---- START SECTION read kernel version ------------------
#+ LOG INFO: /proc/version: Linux version 2.6.11-1.14_FC3.mike (mike@xxxxxxxxxxxxxxxxx) (gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)) #1 Thu Apr 14 11:23:06 EDT 2005
#+ LOG INFO: /etc/*-release: Fedora Core release 3 (Heidelberg)
LSB_VERSION="1.3"
Fedora Core release 3 (Heidelberg)
#+ LOG INFO: Makefile/VERSION = 2
#+ LOG INFO: Makefile/PATCHLEVEL = 6
#+ LOG INFO: Makefile/SUBLEVEL = 11
#+ LOG INFO: Makefile/EXTRAVERSION = -1.14_FC3.mike
# LOG ---- END SECTION read kernel version ------------------
# LOG ---- START SECTION 'update_kernel_source_tree' ------------------
#+ LOG INFO: tmp pwd:/usr/lib/eicon/divas/src/tmp
#++ LOG INFO: use kernel_2.tgz
#+ LOG INFO: call std2kern now
#+ LOG INFO: final pwd:/usr/lib/eicon/divas/src
# LOG ---- END SECTION 'update_kernel_source_tree' ------------------
# LOG ---- START SECTION update_kernel_2_configuration ------------------
#++ LOG INFO: remove existing ISDN configuration
#++ LOG INFO: update ISDN configuration
#++ LOG INFO: write new ISDN configuration
# LOG ---- END SECTION update_kernel_2_configuration ------------------
# LOG ---- START SECTION 'make menuconfig' ------------------
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src
#+ LOG INFO: kernel dir pwd:/usr/src/linux
#+ LOG INFO: final pwd:/usr/lib/eicon/divas/src
# LOG ---- END SECTION 'make menuconfig' ------------------
#+ LOG START PROCESS STEP: inclide/asm/bitops.h 'word'
#+ LOG INFO: found /usr/src/linux/include/asm/bitops.h
#+ LOG END PROCESS STEP: inclide/asm/bitops.h 'word'
#+ LOG START PROCESS STEP: inclide/asm-x86_64/bitops.h 'word'
#+ LOG INFO: found /usr/src/linux/include/asm-x86_64/bitops.h
#+ LOG END PROCESS STEP: inclide/asm-x86_64/bitops.h 'word'
# LOG ---- START SECTION 'make dep' ------------------
# LOG ---- END SECTION 'make dep' ------------------
# LOG ---- START SECTION 'call_make_modules' ------------------
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src
#+ LOG INFO: kernel pwd:/usr/src/linux
#+ LOG INFO: call modules_prepare
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CHK include/asm-x86_64/offset.h
#+ LOG INFO: end modules_prepare
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: In function `capi_read':
drivers/isdn/capi/capi.c:662: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:310)
CC [M] drivers/isdn/hardware/eicon/divasi.o
CC [M] drivers/isdn/hardware/eicon/idifunc.o
CC [M] drivers/isdn/hardware/eicon/um_idi.o
CC [M] drivers/isdn/hardware/eicon/dqueue.o
CC [M] drivers/isdn/hardware/eicon/dlist.o
CC [M] drivers/isdn/hardware/eicon/divamnt.o
drivers/isdn/hardware/eicon/divamnt.c: In function `maint_read':
drivers/isdn/hardware/eicon/divamnt.c:175: warning: `interruptible_sleep_on' is deprecated (declared at include/linux/wait.h:310)
CC [M] drivers/isdn/hardware/eicon/mntfunc.o
CC [M] drivers/isdn/hardware/eicon/debug.o
CC [M] drivers/isdn/hardware/eicon/maintidi.o
CC [M] drivers/isdn/hardware/eicon/capimain.o
CC [M] drivers/isdn/hardware/eicon/capifunc.o
CC [M] drivers/isdn/hardware/eicon/message.o
CC [M] drivers/isdn/hardware/eicon/capidtmf.o
CC [M] drivers/isdn/hardware/eicon/manage.o
CC [M] drivers/isdn/hardware/eicon/drv_man.o
CC [M] drivers/isdn/hardware/eicon/capi_man.o
CC [M] drivers/isdn/hardware/eicon/diva_didd.o
CC [M] drivers/isdn/hardware/eicon/diddfunc.o
CC [M] drivers/isdn/hardware/eicon/dadapter.o
CC [M] drivers/isdn/hardware/eicon/parser.o
CC [M] drivers/isdn/hardware/eicon/cfglib.o
CC [M] drivers/isdn/hardware/eicon/runtime.o
CC [M] drivers/isdn/hardware/eicon/diva_cfg_lib.o
CC [M] drivers/isdn/hardware/eicon/divasmain.o
CC [M] drivers/isdn/hardware/eicon/divasfunc.o
CC [M] drivers/isdn/hardware/eicon/di.o
CC [M] drivers/isdn/hardware/eicon/io.o
CC [M] drivers/isdn/hardware/eicon/istream.o
CC [M] drivers/isdn/hardware/eicon/diva.o
CC [M] drivers/isdn/hardware/eicon/divasproc.o
CC [M] drivers/isdn/hardware/eicon/diva_dma.o
CC [M] drivers/isdn/hardware/eicon/divatest.o
CC [M] drivers/isdn/hardware/eicon/os_bri.o
CC [M] drivers/isdn/hardware/eicon/s_bri.o
CC [M] drivers/isdn/hardware/eicon/os_4bri.o
CC [M] drivers/isdn/hardware/eicon/s_4bri.o
CC [M] drivers/isdn/hardware/eicon/os_pri.o
CC [M] drivers/isdn/hardware/eicon/s_pri.o
CC [M] drivers/isdn/hardware/eicon/os_pri3.o
CC [M] drivers/isdn/hardware/eicon/s_pri3.o
CC [M] drivers/isdn/hardware/eicon/os_4pri.o
CC [M] drivers/isdn/hardware/eicon/s_4pri.o
CC [M] drivers/isdn/hardware/eicon/os_analog.o
CC [M] drivers/isdn/hardware/eicon/s_analog.o
LD [M] drivers/isdn/hardware/eicon/divadidd.o
LD [M] drivers/isdn/hardware/eicon/divas.o
LD [M] drivers/isdn/hardware/eicon/diva_mnt.o
LD [M] drivers/isdn/hardware/eicon/diva_idi.o
LD [M] drivers/isdn/hardware/eicon/divacapi.o
Building modules, stage 2.
MODPOST
CC drivers/isdn/capi/capi.mod.o
LD [M] drivers/isdn/capi/capi.ko
CC drivers/isdn/capi/kernelcapi.mod.o
LD [M] drivers/isdn/capi/kernelcapi.ko
CC drivers/isdn/hardware/eicon/diva_idi.mod.o
LD [M] drivers/isdn/hardware/eicon/diva_idi.ko
CC drivers/isdn/hardware/eicon/diva_mnt.mod.o
LD [M] drivers/isdn/hardware/eicon/diva_mnt.ko
CC drivers/isdn/hardware/eicon/divacapi.mod.o
LD [M] drivers/isdn/hardware/eicon/divacapi.ko
CC drivers/isdn/hardware/eicon/divadidd.mod.o
LD [M] drivers/isdn/hardware/eicon/divadidd.ko
CC drivers/isdn/hardware/eicon/divas.mod.o
LD [M] drivers/isdn/hardware/eicon/divas.ko
#+ LOG INFO: final pwd:/usr/lib/eicon/divas/src
# LOG ---- END SECTION 'call_make_modules' ------------------
# LOG ---- START SECTION 'build_mtpx_adapter' ------------------
#+ LOG INFO: tmp pwd:/usr/lib/eicon/divas/src/tmp
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src/tmp
Warning: bad ending versions file for /usr/lib/eicon/divas/src/tmp/src/linux/diva_mtpx.o
#+ LOG INFO: pwd:/usr/lib/eicon/divas/src
# LOG ---- END SECTION 'build_mtpx_adapter' ------------------
# LOG ---- START SECTION 'install_diva_modules' ------------------
# LOG ---- END SECTION 'install_diva_module' ------------------
# LOG ---- START SECTION 'cleanup_tmp_files' ------------------
# LOG ---- END SECTION 'cleanup_tmp_files' ------------------
# LOG ---- START SECTION tty_compiler ------------------
#+++ LOG INFO: start TTY_COMPILER ------------------
ser_lnx.c: In function `eicon_tty_isdn_modem_init':
ser_lnx.c:1385: warning: initialization from incompatible pointer type
#+++ LOG INFO: end TTY_COMPILER ------------------
# LOG ---- END SECTION tty_compiler ------------------
# LOG ---- START SECTION 'cleanup_tmp_files' ------------------
# LOG ---- END SECTION 'cleanup_tmp_files' ------------------
Any ideas?
Thanks,
Mike
-
Mike Porter
PGP Fingerprint: F4 AE E1 9F 67 F7 DA EA 2F D2 37 F3 99 ED D1 C2
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*