Hi,
from the original post, it seems that the environment to build 3rd party
kernel modules to be severely broken and fixing it could require a lot
of manual work. Sadly, it's not uncommon for the first package version
of a new kernel release to be broken in this way in Debian.
I would suggest that you install "linux-image-2.6.29-*-amd64" and
"linux-headers-2.6.29-*-amd64" if they are available, then boot that
kernel to see if there is a difference.
The current version of alsa-driver-linuxant and the HSF driver are known
to work well with (vanilla) 2.6.30.x kernels.
Regards,
Jonathan
Technical specialist / Linuxant
www.linuxant.com
support@xxxxxxxxxxxx
Marvin Stodolsky wrote:
Vincent,
There is a quick fix you can try. I expect that a Ubuntu 2.6.28
linux-image package would install on your Debian system, such as my
$ uname -r
2.6.28-13-generic
available through
http://packages.ubuntu.com/jaunty/linux-image-2.6.28-11-generic
Then you could use the precompied driver package from Linuxant.com,
until Jonathan has time to work through a permanant Debian fix with
you.
Incidentally, my kluge within scanModem for effectively picking out
gcc version info is:
## GCC analysis
# sed replace s ( and ) with spaces
GCC_INPUT=$(cat /proc/version | sed -e 's/)/ /g' | sed -e 's/(/ /g')
# Picks our version # following gcc
if test -z "$GCC123" ; then
GCC123=$(for i in $GCC_INPUT ; do echo $i ; done | grep -A2 gcc |
grep -A1 ersion | grep -v ersion)
fi
# last cut for rare names like: MyCompiler-3.3.5
GCC12=$(echo $GCC123 | cut -d. -f1-2 | cut -d- -f2)
GCC1=$(echo $GCC12 | cut -d. -f1)
GCC2=$(echo $GCC12 | cut -d. -f2)
Ugly, but it works.
MarvS
On Thu, Jul 9, 2009 at 10:26 PM, Vincent Lefevre<vincent@xxxxxxxxxx> wrote:
On 2009-07-10 02:50:45 +0200, Vincent Lefevre wrote:
According to the INSTALL file of alsa-driver-linuxant (which one
doesn't see when using cnxtinstall.run), one needs "full configured
source".
This is not sufficient. As the log said:
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
I've done the following:
# apt-get install linux-source-2.6.30
$ cd /usr/src
$ atool -eqx linux-source-2.6.30.tar.bz2
$ cd linux-source-2.6.30
$ make oldconfig && make prepare
But cnxtinstall.run still fails because it runs the command
"make -C /lib/modules/2.6.30-1-amd64/source ...", whereas
/lib/modules/2.6.30-1-amd64/source is a symbolic link to
/usr/src/linux-headers-2.6.30-1-common, which is *not* the
source of the kernel!
The INSTALL file of alsa-driver-linuxant says:
* Kernel Source Tree
On 2.4/2.6 kernels, the location of the kernel source tree is
parsed automatilly from the running kernel.
If it's not in the standard place, specify the path via
--with-kernel=<kernel_directory>.
On 2.6 kernels, the build directory has to be given via
--with-build=<kernel_build_dir> option additionally, too.
But even if I provide these options, I get an error:
# cd /usr/lib/alsa-driver-linuxant
# ./configure --with-kernel=/usr/src/linux-source-2.6.30 --with-build=/usr/src/linux-kbuild-2.6.30
# make
make dep
make[1]: Entering directory `/usr/lib/alsa-driver-linuxant'
#@for d in acore i2c drivers isa synth pci aoa soc usb pcmcia misc; do if ! make -C $d prepare; then exit 1; fi; done
make[1]: Leaving directory `/usr/lib/alsa-driver-linuxant'
make -C /usr/src/linux-source-2.6.30 SUBDIRS=/usr/lib/alsa-driver-linuxant CPP="gcc -E" CC="gcc" modules
make[1]: Entering directory `/usr/src/linux-source-2.6.30'
WARNING: Symbol version dump /usr/src/linux-source-2.6.30/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /usr/lib/alsa-driver-linuxant/acore/hrtimer.o
CC [M] /usr/lib/alsa-driver-linuxant/acore/hwdep.o
/bin/sh: scripts/genksyms/genksyms: No such file or directory
make[3]: *** [/usr/lib/alsa-driver-linuxant/acore/hwdep.o] Error 1
make[2]: *** [/usr/lib/alsa-driver-linuxant/acore] Error 2
make[1]: *** [_module_/usr/lib/alsa-driver-linuxant] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.30'
make: *** [compile] Error 2
There's a problem here: scripts/genksyms/genksyms is in
/usr/src/linux-kbuild-2.6.30 as expected. I don't know what is
the right fix, but if I modify Makefile.conf to have a GENKSYMS
line here
ifdef NEW_KBUILD
CC = $(CROSS_COMPILE)gcc
CPP = $(CROSS_COMPILE)gcc -E
GENKSYMS = /usr/src/linux-kbuild-2.6.30/scripts/genksyms/genksyms
this problem is solved. But I get the following error:
[...]
CC [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/usx2yhwdeppcm.o
LD [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/snd-usb-usx2y.o
LD [M] /usr/lib/alsa-driver-linuxant/usb/usx2y/snd-usb-us122l.o
Building modules, stage 2.
MODPOST 130 modules
/bin/sh: scripts/mod/modpost: No such file or directory
Again, this script is in /usr/src/linux-kbuild-2.6.30 (build directory).
But I don't know what to do here.
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)