Problem mit HSF-Modem-Installation unter UBUNTU 8.04 ( 64-Bit-Kernel-Probleme?)
Mein Modem Devolo Microlink 56k PCI möchte ich unter UBUNTU 8.04 nutzen.
Ich habe hsfmodem-7.68.00.09x86_64oem.tar.gz heruntergeladen entpackt und versucht zu installieren.
Dabei erhielt ich folgende Fehlermeldungen:
root@ubuntu3:/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem# make install
make[1]: Betrete Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/nvm'
cd cvt && (find hsfpcibasic2 hsfpcibasic2smart hsfpcibasic2hsfi hsfpcibasic3 hsfmc97 hsfmc97ali hsfmc97ati hsfmc97ich hsfmc97sis hsfmc97via hsfcadmus2 hsfcadmus2smart hsfhda | cpio -pdmu
/etc/hsfmodem/nvm)
126 blocks
make[1]: Verlasse Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/nvm'
make[1]: Betrete Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/scripts'
install -m 700 hsfconfig hsfstop hsfmodconflicts hsfdcpd /usr/sbin
install -m 700 rchsf /usr/lib/hsfmodem
make[1]: Verlasse Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/scripts'
make[1]: Betrete Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/modules'
Makefile:20: *** WARNING: Trying to compile kernel modules on a i386 system while the installed hsf driver package is for x86_64, this is likely to fail... ***
rm -rf "/usr/lib/hsfmodem/config.mak" "/usr/lib/hsfmodem/modules/imported" "/usr/lib/hsfmodem/modules"
mkdir -m 755 -p /usr/lib/hsfmodem/modules
(cd .. && find config.mak modules/imported -depth -print | cpio -pdmu /usr/lib/hsfmodem)
8943 blocks
find . \( -name COPYING -o -name '*.sh' -o -name '*.[ch]' -o -name '*.mak' -o -name '[Mm]akefile' \) -print | cpio -pdmu /usr/lib/hsfmodem/modules
3639 blocks
find binaries -depth -print | cpio -pdmu /usr/lib/hsfmodem/modules
0 blocks
make[1]: Verlasse Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/modules'
make[1]: Betrete Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/diag'
make[1]: Für das Ziel »install« ist nichts zu tun.
make[1]: Verlasse Verzeichnis '/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem/diag'
install -m 444 LICENSE /usr/lib/hsfmodem
To complete the installation and configuration of your modem,
please run "hsfconfig" (or "/usr/sbin/hsfconfig")
root@ubuntu3:/home/sig/hsf/hsfmodem-7.68.00.09x86_64oem#
sig@ubuntu3:~$ less /tmp/hsfconfig-buildlog.txt
Makefile:20: *** WARNING: Trying to compile kernel modules on a i386 system while the installed hsf driver package is for x86_64, this is likely to fail... ***
(cd /lib/modules/2.6.24-16-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.24-16-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" clean)
make[1]: Entering directory /usr/src/linux-headers-2.6.24-16-generic'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a i386 system while the installed hsf driver package is for x86_64, this is likely to fail... ***
make[1]: Leaving directory
/usr/src/linux-headers-2.6.24-16-generic'
(cd /lib/modules/2.6.24-16-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.24-16-generic/build" "M=/usr/lib/hsfmodem/modules/GPL/hda" "CC=gcc" "HDA_CFLAGS=-DFOUND_KZALLOC -DFOUND_TLV -DFOUND_IRQ_HANDLER_T
-DFOUND_DELAYED_WORK " clean)
make[1]: Entering directory /usr/src/linux-headers-2.6.24-16-generic'
make[1]: Leaving directory
/usr/src/linux-headers-2.6.24-16-generic'
rm -rf *.o GPL/*.o *.ko GPL/*.ko *.mod.c GPL/*.mod.c .*.cmd GPL/.*.cmd .tmp_versions .tmp_versions /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfosspec.mod
/lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfserial.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfengine.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfpcibasic2.mod
/lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfpcibasic3.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfhda.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfmc97ich.mod
/lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfmc97via.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfmc97ali.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfmc97ati.mod
/lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfmc97sis.mod /lib/modules/2.6.24-16-generic/build/.tmp_versions/hsfsoar.mod Modules.symvers GPL/hda/Modules.symvers
(cd /lib/modules/2.6.24-16-generic/build && make "CNXT_KERNELSRC=/lib/modules/2.6.24-16-generic/build" "M=/usr/lib/hsfmodem/modules" "CC=gcc" modules)
make[1]: Entering directory /usr/src/linux-headers-2.6.24-16-generic'
/usr/lib/hsfmodem/modules/Makefile:20: *** WARNING: Trying to compile kernel modules on a i386 system while the installed hsf driver package is for x86_64, this is likely to fail... ***
CC [M] /usr/lib/hsfmodem/modules/mod_engine.o
/usr/lib/hsfmodem/modules/mod_engine.c:1: error: code model 'kernel' not supported in the 32 bit mode
make[2]: *** [/usr/lib/hsfmodem/modules/mod_engine.o] Error 1
make[1]: *** [_module_/usr/lib/hsfmodem/modules] Error 2
make[1]: Leaving directory
/usr/src/linux-headers-2.6.24-16-generic'
make: *** [all] Error 2
Ich bin mir aber sicher ein 64-Bit-UBUNTU zu haben. Denn uname -a gibt folgendes aus:
Linux ubuntu3 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux
root@ubuntu3:/lib/modules/2.6.24-16-generic/build# ls -l
insgesamt 432
drwxr-xr-x 3 root root 4096 2008-07-07 11:57 arch
lrwxrwxrwx 1 root root 32 2008-07-07 11:57 block → ../linux-headers-2.6.24-16/block
lrwxrwxrwx 1 root root 33 2008-07-07 11:57 crypto → ../linux-headers-2.6.24-16/crypto
lrwxrwxrwx 1 root root 40 2008-07-07 11:57 Documentation → ../linux-headers-2.6.24-16/Documentation
lrwxrwxrwx 1 root root 34 2008-07-07 11:57 drivers → ../linux-headers-2.6.24-16/drivers
lrwxrwxrwx 1 root root 29 2008-07-07 11:57 fs → ../linux-headers-2.6.24-16/fs
drwxr-xr-x 5 root root 4096 2008-07-07 11:57 include
lrwxrwxrwx 1 root root 31 2008-07-07 11:57 init → ../linux-headers-2.6.24-16/init
lrwxrwxrwx 1 root root 30 2008-07-07 11:57 ipc → ../linux-headers-2.6.24-16/ipc
lrwxrwxrwx 1 root root 33 2008-07-07 11:57 Kbuild → ../linux-headers-2.6.24-16/Kbuild
lrwxrwxrwx 1 root root 33 2008-07-07 11:57 kernel → ../linux-headers-2.6.24-16/kernel
lrwxrwxrwx 1 root root 30 2008-07-07 11:57 lib → ../linux-headers-2.6.24-16/lib
lrwxrwxrwx 1 root root 35 2008-07-07 11:57 Makefile → ../linux-headers-2.6.24-16/Makefile
lrwxrwxrwx 1 root root 29 2008-07-07 11:57 mm → ../linux-headers-2.6.24-16/mm
-rw-r--r-- 1 root root 422607 2008-04-10 18:53 Module.symvers
lrwxrwxrwx 1 root root 30 2008-07-07 11:57 net → ../linux-headers-2.6.24-16/net
lrwxrwxrwx 1 root root 34 2008-07-07 11:57 samples → ../linux-headers-2.6.24-16/samples
drwxr-xr-x 6 root root 4096 2008-07-07 11:57 scripts
lrwxrwxrwx 1 root root 35 2008-07-07 11:57 security → ../linux-headers-2.6.24-16/security
lrwxrwxrwx 1 root root 32 2008-07-07 11:57 sound → ../linux-headers-2.6.24-16/sound
lrwxrwxrwx 1 root root 30 2008-07-07 11:57 usr → ../linux-headers-2.6.24-16/usr
root@ubuntu3:/lib/modules/2.6.24-16-generic/build#
root@ubuntu3:/usr/src/linux-headers-2.6.24-16/kernel# ls -l
insgesamt 28
drwxr-xr-x 2 root root 4096 2008-07-07 11:57 irq
-rw-r--r-- 1 root root 1623 2008-02-11 06:51 Kconfig.hz
-rw-r--r-- 1 root root 1597 2008-02-11 06:51 Kconfig.instrumentation
-rw-r--r-- 1 root root 2328 2008-02-11 06:51 Kconfig.preempt
-rw-r--r-- 1 root root 3239 2008-04-10 14:45 Makefile
drwxr-xr-x 2 root root 4096 2008-07-07 11:57 power
drwxr-xr-x 2 root root 4096 2008-07-07 11:57 time
root@ubuntu3:/usr/src/linux-headers-2.6.24-16/kernel#
Warum kann ich den Treiber nicht fehlerfrei installieren?
Habe ich wirklich einen 64-Bit-Kernel?
Muß ich für die Installation bezüglich Kernel-Source in UBUNTU etwas vorbereiten?
Wie kann ich prüfen ob die Kernelsource für 64-Bit-Systeme ist?
Wie stelle ich 64-Bit-Kernelsource für die Installation bereit?
Vielen Dank für jeden Rat!
Mit freundlichen Grüßen
Basti1