EXTRAVERSION issue in ltmodem driver installation
Marvin Stodolsky
marvstod at rcn.com
Sun Dec 12 14:08:14 CST 2004
This is a follow up to my email last week concerning ltmodem driver
installation .
The problem was now been more precisely localized to EXTRAVERSION
specification,
per the BUGREPORT below submitted to Debian. Please let me know what your
preferred fix is.
A functional ltmodem-2.6.8.1-3-386_8.31a11_i686.deb will shortly
be available at ltmodem.heby.de for Ubuntu users.
Feel free to also make it available somewhere Ubuntu too.
With a standard Ubuntu install I did all was FINE.
But an additional installation of the gcc-3.3 pacakge did not set a
symbolic link
/usr/bin/gcc --> /usr/bin/gcc-3.3
and that minor issue should be fixed.
MarvS
ltmodem co-maintainer
-----------
Subject: kernel-kbuild-2.6-3: EXTRAVERSION acquisition for module
installation
Package: kernel-kbuild-2.6-3
Version: 2.6.8-1
Severity: important
Tags: experimental sid
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages kernel-kbuild-2.6-3 depends on:
ii libc6 2.3.2.ds1-13 GNU C Library: Shared
libraries an
-- no debconf information
During a
make install
a mis-installation of drivers can occur dependent upon the EXTRAVERSION
usage.
For usage of many Debian kernel-header packages such as
/usr/src/kernel-headers-2.6.8-1
/usr/src/kernel-headers-2.6.8-1-686
All is OK with the compilation and installation of
Lucent modem drivers with the ltmodem.heby.de resouce ltmodem-8.31a11.tar.gz
of which I am co-maintainer
install:
make $(EXTMOD_SWITCH)=`pwd` -C $(KERNEL_DIR)
INSTALL_MOD_PATH=$(ROOTDIR) modules_install
Seats drivers for example to:
/lib/modules/2.4.27-1-686/extra:
lt_modem.o lt_serial.o
/lib/modules/2.6.8-1-686/extra:
lt_modem.ko lt_serial.ko
But for a Ubunu User with kernel-header packages:
linux-headers-2.6.8.1-3
linux-headers-2.6.8.1-3-386
the install went INAPPROPRIATELY to:
/lib/modules/2.6.8.1/extra:
lt_modem.ko lt_serial.ko
The compile was OK, as driver function was fine after a move
2.6.8.1/ --> 2.6.8.1-3-386/
The version.h UTS was ok: 2.6.8.1-3-386
However the linux-headers-2.6.8.1-3/Makefile begins
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION = .1
and the install information is evidently taken therefrom,
and/or interfering with the read of the version.h UTS release
Because following an edit to:
EXTRAVERSION = .1-3-3-386
following by the compile and
make install
The drivers did properly seat to:
/lib/modules/2.6.8.1-3-386/extra:
lt_modem.ko lt_serial.ko
Thus the problem may MERELY be one of EXTRAVERSION specification,
but I don't understand kernel-build well enough to judge
This problem is also being reported to the Ubunu developers,
but may be more general and hence this report to Debian too.
MarvStodolsky
More information about the ubuntu-devel
mailing list