Bug#381972: zaptel-source: Fails to install with m-a (modules.pcimap belongs to package linux-image-2.6.17-k62)

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Aug 8 05:03:13 UTC 2006


On Mon, Aug 07, 2006 at 10:25:30PM -0400, Xavier Douville wrote:
> Package: zaptel-source
> Version: 1:1.2.7.dfsg-2
> Severity: important
> 
> The following command should build and install zaptel modules but it 
> fails. For those of you who don't speak French, 

(Consider running something like 'LC_ALL=C your cmmand' to use the
messages in the default language)

> the error message returned by dpkg at the end means that the file 
> /lib/modules/2.6.17-k62/modules.pcimap can't be replaced because 
> it belongs to linux-image-2.6.17-k62 (my custom linux-image package)

modules.pcimap is not part of any package. It is a file that is
generated by depmod.

SEe below,

> 
> 
> ---------begin log------------------------------
> xavier at debian:/usr/src$ sudo m-a a-i zaptel -t
> .
> Données de 1 paquets mises à jour
> Récupération des sources du noyau de la version : 2.6.17-k62
> En-têtes du noyau disponibles dans /lib/modules/2.6.17-k62/source
> apt-get install build-essential
> Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendances... Fait
> build-essential est déjà la plus récente version disponible.
> 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
> 
> Fait.
> unpack
> Extracting the package tarball, /usr/src/zaptel.tar.bz2, please wait...
> "/usr/share/modass/packages/default.sh" build KVERS=2.6.17-k62 KSRC=/lib/modules
> /2.6.17-k62/source KDREV=1 kdist_image
> dh_testdir
> dh_testroot
> rm -f build-*-stamp configure-stamp
> # Add here commands to clean up after the build process.
> rm -rf modexamples
> /usr/bin/make clean
> make[1]: entrant dans le répertoire « /usr/src/modules/zaptel »
> rm -f torisatool makefw tor2fw.h radfw.h
> rm -f ztcfg ztmonitor ztspeed  zttest fxotune ztpty
> rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
> rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
> /usr/bin/make -C /lib/modules/2.6.17-k62/source SUBDIRS=/usr/src/modules/zaptel
> clean
> make[2]: entrant dans le répertoire « /usr/src/linux-source-2.6.17 »
> make[2]: quittant le répertoire « /usr/src/linux-source-2.6.17 »
> rm -rf .tmp_versions
> rm -f gendigits tones.h
> rm -f libtonezone*
> rm -f tor2ee
> rm -f fxotune
> rm -f core
> rm -f ztcfg-shared fxstest
> rm -f fw2h vpm450m_fw.h
> make[1]: quittant le répertoire « /usr/src/modules/zaptel »
> #rm -f debian/manpage.links  debian/manpage.refs debian/*.8
> dh_clean
> /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules
> make[1]: entrant dans le répertoire « /usr/src/modules/zaptel »
> dh_testdir
> dh_testroot
> rm -f build-*-stamp configure-stamp
> # Add here commands to clean up after the build process.
> rm -rf modexamples
> /usr/bin/make clean
> make[2]: entrant dans le répertoire « /usr/src/modules/zaptel »
> rm -f torisatool makefw tor2fw.h radfw.h
> rm -f ztcfg ztmonitor ztspeed  zttest fxotune ztpty
> rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
> rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
> /usr/bin/make -C /lib/modules/2.6.17-k62/source SUBDIRS=/usr/src/modules/zaptel
> clean
> make[3]: entrant dans le répertoire « /usr/src/linux-source-2.6.17 »
> make[3]: quittant le répertoire « /usr/src/linux-source-2.6.17 »
> rm -rf .tmp_versions
> rm -f gendigits tones.h
> rm -f libtonezone*
> rm -f tor2ee
> rm -f fxotune
> rm -f core
> rm -f ztcfg-shared fxstest
> rm -f fw2h vpm450m_fw.h
> make[2]: quittant le répertoire « /usr/src/modules/zaptel »
> #rm -f debian/manpage.links  debian/manpage.refs debian/*.8
> dh_clean
> /usr/bin/gcc-4.0
> for templ in ; do \
>     cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.17-k62/g'` ; \
>   done
> for templ in `ls debian/*.modules.in` ; do \
>     test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in} ${templ%.modu
> les.in}.backup 2>/dev/null || true; \
>     sed -e 's/##KVERS##/2.6.17-k62/g ;s/#KVERS#/2.6.17-k62/g ; s/_KVERS_/2.6.17-
> k62/g ; s/##KDREV##/1/g ; s/#KDREV#/1/g ; s/_KDREV_/1/g  ' < $templ > ${templ%.m
> odules.in}; \
>   done
> dh_testdir
> dh_testroot
> dh_clean -k
> make modules KERNEL_SOURCES=/lib/modules/2.6.17-k62/source MODVERSIONS=detect KE
> RNEL=linux-2.6.17-k62
> make[2]: entrant dans le répertoire « /usr/src/modules/zaptel »
> cp cwain/cwain.c cwain.c
> cp qozap/qozap.c qozap.c
> cp zaphfc/zaphfc.c zaphfc.c
> cp ztgsm/ztgsm.c ztgsm.c
> cp cwain/cwain.h cwain.h
> cp qozap/qozap.h qozap.h
> cp zaphfc/zaphfc.h zaphfc.h
> cp ztgsm/ztgsm.h ztgsm.h
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\"  -lm  gendigits.c   -o gendigits
> ./gendigits > tones.h
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\"    makefw.c   -o makefw
> ./makefw tormenta2.rbt tor2fw > tor2fw.h
> Loaded 69900 bytes from file
> ./makefw pciradio.rbt radfw > radfw.h
> Loaded 42096 bytes from file
> ZAPTELVERSION="1.2.7" build_tools/make_version_h > version.h.tmp
> if cmp -s version.h.tmp version.h ; then echo; else \
>                 mv version.h.tmp version.h ; \
>         fi
> rm -f version.h.tmp
> gcc-4.0     fw2h.c   -o fw2h
> ./fw2h fw2h vpm450m_fw.h
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o ztcfg.o ztcfg.c
> gcc-4.0 -c -fPIC -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DBUILDING_TO
> NEZONE -o zonedata.lo zonedata.c
> gcc-4.0 -c -fPIC -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DBUILDING_TO
> NEZONE -o tonezone.lo tonezone.c
> ar rcs libtonezone.a zonedata.lo tonezone.lo
> gcc-4.0 -o ztcfg ztcfg.o libtonezone.a -lm
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o ztmonitor.o -c ztmonitor.c
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o ztmonitor ztmonitor.o
> gcc-4.0  -o ztspeed.o -c ztspeed.c
> gcc-4.0  -o ztspeed ztspeed.o
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\"    zttest.c   -o zttest
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o fxotune.o -c fxotune.c
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\" -o fxotune fxotune.o -lm
> gcc-4.0 -I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE    -DSTANDALONE_ZAPATA -D
> ZAPTEL_CONFIG=\"/etc/zaptel.conf\"    ztpty.c   -o ztpty
> ztpty.c: In function 'main':
> ztpty.c:80: warning: implicit declaration of function 'ioctl'
> /lib/modules/2.6.17-k62/source
> make -C /lib/modules/2.6.17-k62/source SUBDIRS=/usr/src/modules/zaptel modules
> make[3]: entrant dans le répertoire « /usr/src/linux-source-2.6.17 »
>   CC [M]  /usr/src/modules/zaptel/zaptel.o
> /usr/src/modules/zaptel/zaptel.c:188: warning: 'fcstab' defined but not used
>   CC [M]  /usr/src/modules/zaptel/tor2.o
>   CC [M]  /usr/src/modules/zaptel/torisa.o
> /usr/src/modules/zaptel/torisa.c:1145: warning: 'set_tor_base' defined but not u                                                                           
> sed
>   CC [M]  /usr/src/modules/zaptel/wcusb.o
>   CC [M]  /usr/src/modules/zaptel/wcfxo.o
>   CC [M]  /usr/src/modules/zaptel/wctdm.o
>   CC [M]  /usr/src/modules/zaptel/wctdm24xxp.o
>   CC [M]  /usr/src/modules/zaptel/ztdynamic.o
>   CC [M]  /usr/src/modules/zaptel/ztd-eth.o
> /usr/src/modules/zaptel/ztd-eth.c:185: warning: initialization from incompatible                                                                            
> pointer type
>   CC [M]  /usr/src/modules/zaptel/wct1xxp.o
>   CC [M]  /usr/src/modules/zaptel/wct4xxp_base.o
>   CC [M]  /usr/src/modules/zaptel/vpm450m.o
>   LD [M]  /usr/src/modules/zaptel/wct4xxp.o
>   CC [M]  /usr/src/modules/zaptel/wcte11xp.o
>   CC [M]  /usr/src/modules/zaptel/pciradio.o
> /usr/src/modules/zaptel/pciradio.c: In function 'pciradio_interrupt':
> /usr/src/modules/zaptel/pciradio.c:504: warning: 'byte2' is used uninitialized in this function
>   CC [M]  /usr/src/modules/zaptel/ztd-loc.o
>   CC [M]  /usr/src/modules/zaptel/cwain.o
>   CC [M]  /usr/src/modules/zaptel/qozap.o
>   CC [M]  /usr/src/modules/zaptel/zaphfc.o
>   CC [M]  /usr/src/modules/zaptel/ztgsm.o
>   CC [M]  /usr/src/modules/zaptel/opvxa1200.o
>   CC [M]  /usr/src/modules/zaptel/ztdummy.o
>   CC [M]  /usr/src/modules/zaptel/xpp/card_fxo.o
>   CC [M]  /usr/src/modules/zaptel/xpp/slic.o
>   CC [M]  /usr/src/modules/zaptel/xpp/card_fxs.o
>   CC [M]  /usr/src/modules/zaptel/xpp/xbus-core.o
>   CC [M]  /usr/src/modules/zaptel/xpp/xpp_zap.o
> /usr/src/modules/zaptel/xpp/xpp_zap.c:191:2: warning: #warning "xpp_timer must be sampled EXACTLY 1000/per second"
> /usr/src/modules/zaptel/xpp/xpp_zap.c:191:2: warning: #warning "xpp_timer must be sampled EXACTLY 1000/per second"
>   CC [M]  /usr/src/modules/zaptel/xpp/xproto.o
>   CC [M]  /usr/src/modules/zaptel/xpp/card_global.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpp.o
>   CC [M]  /usr/src/modules/zaptel/xpp/xpp_usb.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpd_fxs.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpd_fxo.o
>   Building modules, stage 2.
>   MODPOST
> WARNING: /usr/src/modules/zaptel/xpp/xpd_fxs: 'dump_slic_cmd' exported twice. Previous export was in /usr/src/modules/zaptel/xpp/xpd_fxo.ko
> WARNING: /usr/src/modules/zaptel/xpp/xpd_fxs: 'slic_cmd_indirect_read' exported twice. Previous export was in 
> /usr/src/modules/zaptel/xpp/xpd_fxo.ko
> WARNING: /usr/src/modules/zaptel/xpp/xpd_fxs: 'slic_cmd_indirect_write' exported twice. Previous export was in 
> /usr/src/modules/zaptel/xpp/xpd_fxo.ko
> WARNING: /usr/src/modules/zaptel/xpp/xpd_fxs: 'slic_cmd_direct_read' exported twice. Previous export was in /usr/src/modules/zaptel/xpp/xpd_fxo.ko
> WARNING: /usr/src/modules/zaptel/xpp/xpd_fxs: 'slic_cmd_direct_write' exported twice. Previous export was in /usr/src/modules/zaptel/xpp/xpd_fxo.ko
>   CC      /usr/src/modules/zaptel/cwain.mod.o
>   LD [M]  /usr/src/modules/zaptel/cwain.ko
>   CC      /usr/src/modules/zaptel/opvxa1200.mod.o
>   LD [M]  /usr/src/modules/zaptel/opvxa1200.ko
>   CC      /usr/src/modules/zaptel/pciradio.mod.o
>   LD [M]  /usr/src/modules/zaptel/pciradio.ko
>   CC      /usr/src/modules/zaptel/qozap.mod.o
>   LD [M]  /usr/src/modules/zaptel/qozap.ko
>   CC      /usr/src/modules/zaptel/tor2.mod.o
>   LD [M]  /usr/src/modules/zaptel/tor2.ko
>   CC      /usr/src/modules/zaptel/torisa.mod.o
>   LD [M]  /usr/src/modules/zaptel/torisa.ko
>   CC      /usr/src/modules/zaptel/wcfxo.mod.o
>   LD [M]  /usr/src/modules/zaptel/wcfxo.ko
>   CC      /usr/src/modules/zaptel/wct1xxp.mod.o
>   LD [M]  /usr/src/modules/zaptel/wct1xxp.ko
>   CC      /usr/src/modules/zaptel/wct4xxp.mod.o
>   LD [M]  /usr/src/modules/zaptel/wct4xxp.ko
>   CC      /usr/src/modules/zaptel/wctdm.mod.o
>   LD [M]  /usr/src/modules/zaptel/wctdm.ko
>   CC      /usr/src/modules/zaptel/wctdm24xxp.mod.o
>   LD [M]  /usr/src/modules/zaptel/wctdm24xxp.ko
>   CC      /usr/src/modules/zaptel/wcte11xp.mod.o
>   LD [M]  /usr/src/modules/zaptel/wcte11xp.ko
>   CC      /usr/src/modules/zaptel/wcusb.mod.o
>   LD [M]  /usr/src/modules/zaptel/wcusb.ko
>   CC      /usr/src/modules/zaptel/xpp/xpd_fxo.mod.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpd_fxo.ko
>   CC      /usr/src/modules/zaptel/xpp/xpd_fxs.mod.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpd_fxs.ko
>   CC      /usr/src/modules/zaptel/xpp/xpp.mod.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpp.ko
>   CC      /usr/src/modules/zaptel/xpp/xpp_usb.mod.o
>   LD [M]  /usr/src/modules/zaptel/xpp/xpp_usb.ko
>   CC      /usr/src/modules/zaptel/zaphfc.mod.o
>   LD [M]  /usr/src/modules/zaptel/zaphfc.ko
>   CC      /usr/src/modules/zaptel/zaptel.mod.o
>   LD [M]  /usr/src/modules/zaptel/zaptel.ko
>   CC      /usr/src/modules/zaptel/ztd-eth.mod.o
>   LD [M]  /usr/src/modules/zaptel/ztd-eth.ko
>   CC      /usr/src/modules/zaptel/ztd-loc.mod.o
>   LD [M]  /usr/src/modules/zaptel/ztd-loc.ko
>   CC      /usr/src/modules/zaptel/ztdummy.mod.o
>   LD [M]  /usr/src/modules/zaptel/ztdummy.ko

No warning here, but,

>   CC      /usr/src/modules/zaptel/ztdynamic.mod.o
>   LD [M]  /usr/src/modules/zaptel/ztdynamic.ko
>   CC      /usr/src/modules/zaptel/ztgsm.mod.o
>   LD [M]  /usr/src/modules/zaptel/ztgsm.ko
> make[3]: quittant le répertoire « /usr/src/linux-source-2.6.17 »
> make[2]: quittant le répertoire « /usr/src/modules/zaptel »
> make install-modules KERNELRELEASE=2.6.17-k62 INSTALL_PREFIX=/usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62
> make[2]: entrant dans le répertoire « /usr/src/modules/zaptel »
> make -C /lib/modules/2.6.17-k62/source SUBDIRS=/usr/src/modules/zaptel INSTALL_MOD_PATH=/usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62 
> INSTALL_MOD_DIR=misc modules_install
> make[3]: entrant dans le répertoire « /usr/src/linux-source-2.6.17 »
>   INSTALL /usr/src/modules/zaptel/cwain.ko
>   INSTALL /usr/src/modules/zaptel/opvxa1200.ko
>   INSTALL /usr/src/modules/zaptel/pciradio.ko
>   INSTALL /usr/src/modules/zaptel/qozap.ko
>   INSTALL /usr/src/modules/zaptel/tor2.ko
>   INSTALL /usr/src/modules/zaptel/torisa.ko
>   INSTALL /usr/src/modules/zaptel/wcfxo.ko
>   INSTALL /usr/src/modules/zaptel/wct1xxp.ko
>   INSTALL /usr/src/modules/zaptel/wct4xxp.ko
>   INSTALL /usr/src/modules/zaptel/wctdm.ko
>   INSTALL /usr/src/modules/zaptel/wctdm24xxp.ko
>   INSTALL /usr/src/modules/zaptel/wcte11xp.ko
>   INSTALL /usr/src/modules/zaptel/wcusb.ko
>   INSTALL /usr/src/modules/zaptel/xpp/xpd_fxo.ko
>   INSTALL /usr/src/modules/zaptel/xpp/xpd_fxs.ko
>   INSTALL /usr/src/modules/zaptel/xpp/xpp.ko
>   INSTALL /usr/src/modules/zaptel/xpp/xpp_usb.ko
>   INSTALL /usr/src/modules/zaptel/zaphfc.ko
>   INSTALL /usr/src/modules/zaptel/zaptel.ko
>   INSTALL /usr/src/modules/zaptel/ztd-eth.ko
>   INSTALL /usr/src/modules/zaptel/ztd-loc.ko
>   INSTALL /usr/src/modules/zaptel/ztdummy.ko
>   INSTALL /usr/src/modules/zaptel/ztdynamic.ko
>   INSTALL /usr/src/modules/zaptel/ztgsm.ko
>   DEPMOD  2.6.17-k62
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/ztdummy.ko needs unknown symbol rtc_register
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/ztdummy.ko needs unknown symbol rtc_unregister
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/ztdummy.ko needs unknown symbol rtc_control

ztdummy needs real-time clock support in the kernel. Alternatively it
can use an inferior method, but only if you have HZ=1000 (and you don't,
according to the warning from xpp). 

Please provide the output of:

  grep RTC /boot/config-`uname -r`
  grep HZ /boot/config-`uname -r`

> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/zaptel.ko needs unknown symbol crc_ccitt_table

Again, a feature missing from your kernel. CONFIG_CRC_CCITT hould be 'y'
or 'm'.

  grep HZ /boot/config-`uname -r`


> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_alloc_urb
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_free_urb
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol 
> usb_register_driver
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_reset_device
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_submit_urb
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_register_dev
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_deregister
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol 
> usb_deregister_dev
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_buffer_free
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko needs unknown symbol usb_buffer_alloc
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/wcusb.ko needs unknown symbol usb_register_driver
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/wcusb.ko needs unknown symbol usb_submit_urb
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/wcusb.ko needs unknown symbol usb_control_msg
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/wcusb.ko needs unknown symbol usb_set_interface
> WARNING: /usr/src/modules/zaptel/debian/zaptel-modules-2.6.17-k62/lib/modules/2.6.17-k62/misc/wcusb.ko needs unknown symbol usb_deregister

xpp/ and wcusb are USB devices. If USE is disabled in your kernel, they
will fail to load. 

Thus we have errors from depmod.

> make[3]: quittant le répertoire « /usr/src/linux-source-2.6.17 »
> make[2]: quittant le répertoire « /usr/src/modules/zaptel »
> # The 2.6 modules are way too big. This is only in kernel 2.6
> find debian/zaptel-modules-2.6.17-k62/lib/modules -name '*.ko' |xargs strip -g
> dh_installdebconf
> dh_installchangelogs
> dh_compress
> dh_fixperms
> dh_installdeb
> # Note: I don't want to edit the file in the debian/ directory itself.
> # I figure that there must be existing fuctionality in dpkg/debhelper. How?
> sed -i -e 's/_KVERS_/2.6.17-k62/' \
>           debian/zaptel-modules-2.6.17-k62/DEBIAN/postinst \
>           debian/zaptel-modules-2.6.17-k62/DEBIAN/postrm
> dh_gencontrol -- -v1:1.2.7.dfsg-2+1
> dh_md5sums
> dh_builddeb --destdir=/usr/src
> tar: -: file name read contains nul character
> dpkg-deb : construction du paquet « zaptel-modules-2.6.17-k62 » dans « /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb ».
> make[1]: quittant le répertoire « /usr/src/modules/zaptel »
> /usr/bin/make  -f debian/rules kdist_clean
> make[1]: entrant dans le répertoire « /usr/src/modules/zaptel »
> dh_testdir
> dh_testroot
> rm -f build-*-stamp configure-stamp
> # Add here commands to clean up after the build process.
> rm -rf modexamples
> /usr/bin/make clean
> make[2]: entrant dans le répertoire « /usr/src/modules/zaptel »
> rm -f torisatool makefw tor2fw.h radfw.h
> rm -f ztcfg ztmonitor ztspeed  zttest fxotune ztpty
> rm -f *.o ztcfg tzdriver sethdlc sethdlc-new
> rm -f zonedata.lo tonezone.lo libtonezone.so *.lo
> /usr/bin/make -C /lib/modules/2.6.17-k62/source SUBDIRS=/usr/src/modules/zaptel clean
> make[3]: entrant dans le répertoire « /usr/src/linux-source-2.6.17 »
>   CLEAN   /usr/src/modules/zaptel/.tmp_versions
> make[3]: quittant le répertoire « /usr/src/linux-source-2.6.17 »
> rm -rf .tmp_versions
> rm -f gendigits tones.h
> rm -f libtonezone*
> rm -f tor2ee
> rm -f fxotune
> rm -f core
> rm -f ztcfg-shared fxstest
> rm -f fw2h vpm450m_fw.h
> make[2]: quittant le répertoire « /usr/src/modules/zaptel »
> #rm -f debian/manpage.links  debian/manpage.refs debian/*.8
> dh_clean
> make[1]: quittant le répertoire « /usr/src/modules/zaptel »
> dpkg -Ei /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb
> (Lecture de la base de données... 87752 fichiers et répertoires déjà installés.)
> Préparation du remplacement de zaptel-modules-2.6.17-k62 1:1.2.6-2+1 (en utilisant .../zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb) ...
> Dépaquetage de la mise à jour de zaptel-modules-2.6.17-k62 ...
> dpkg : erreur de traitement de /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb (--install) :
>  tentative de remplacement de « /lib/modules/2.6.17-k62/modules.pcimap », qui appartient aussi au paquet linux-image-2.6.17-k62

Is the file modules.pcimap really in those packages? 

  dpkg -L linux-image-2.6.17-k62 | grep pcimap
  dpkg -c /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb | grep pcimap

It sholdn't. It should be generated by depmod.

> Des erreurs ont été rencontrées pendant l'exécution :
>  /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb
> 
> I: L'installation directe a échoué, tentative de postinstallation des dépendances
> 
> apt-get -f install
> Lecture des listes de paquets... Fait
> Construction de l'arbre des dépendances... Fait
> 0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
> -----------end log-------------------------------
> 
> 
> the following files are in /usr/src/zaptel-modules-2.6.17-k62_1.2.7.dfsg-2+1_i386.deb/data.tar.gz
> 
> Extracting  .
> Extracting  ./lib
> Extracting  ./lib/modules
> Extracting  ./lib/modules/2.6.17-k62
> Extracting  ./lib/modules/2.6.17-k62/misc
> Extracting  ./lib/modules/2.6.17-k62/misc/cwain.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/opvxa1200.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/pciradio.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/qozap.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/tor2.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/torisa.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wcfxo.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wct1xxp.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wct4xxp.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wctdm.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wctdm24xxp.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wcte11xp.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/wcusb.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/xpp
> Extracting  ./lib/modules/2.6.17-k62/misc/xpp/xpd_fxo.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/xpp/xpd_fxs.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/xpp/xpp.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/xpp/xpp_usb.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/zaphfc.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/zaptel.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/ztd-eth.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/ztd-loc.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/ztdummy.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/ztdynamic.ko
> Extracting  ./lib/modules/2.6.17-k62/misc/ztgsm.ko
> Extracting  ./lib/modules/2.6.17-k62/modules.pcimap
> Extracting  ./lib/modules/2.6.17-k62/modules.dep
> Extracting  ./lib/modules/2.6.17-k62/modules.ieee1394map
> Extracting  ./lib/modules/2.6.17-k62/modules.usbmap
> Extracting  ./lib/modules/2.6.17-k62/modules.ccwmap
> Extracting  ./lib/modules/2.6.17-k62/modules.isapnpmap
> Extracting  ./lib/modules/2.6.17-k62/modules.inputmap
> Extracting  ./lib/modules/2.6.17-k62/modules.ofmap
> Extracting  ./lib/modules/2.6.17-k62/modules.seriomap
> Extracting  ./lib/modules/2.6.17-k62/modules.alias
> Extracting  ./lib/modules/2.6.17-k62/modules.symbols
> Extracting  ./usr
> Extracting  ./usr/share
> Extracting  ./usr/share/doc
> Extracting  ./usr/share/doc/zaptel-modules-2.6.17-k62
> Extracting  ./usr/share/doc/zaptel-modules-2.6.17-k62/changelog.Debian.gz
> 
> 
> Those lib/modules/2.6.17-k62/modules.* files shouldn't be there I guess.
> I first tought I had a problem with my setup, but ndiswrapper-source builds and installs just fine.
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i586)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.17-k62
> Locale: LANG=fr_CA, LC_CTYPE=fr_CA (charmap=ISO-8859-1)
> 
> Versions of packages zaptel-source depends on:
> ii  bzip2                         1.0.3-3    high-quality block-sorting file co
> ii  debhelper                     5.0.37.3   helper programs for debian/rules
> ii  module-assistant              0.10.6     tool to make module package creati
> 
> Versions of packages zaptel-source recommends:
> ii  zaptel                    1:1.2.7.dfsg-2 zapata telephony utilities
> 
> -- no debconf information
> 
> 
> 
> _______________________________________________
> Pkg-voip-maintainers mailing list
> Pkg-voip-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-voip-maintainers
> 

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




More information about the Pkg-voip-maintainers mailing list