Nous sommes le Ven 18 Juil, 2025 22:05
Supprimer les cookies

Page 1 sur 21, 2 Suivant[Pb] Modem et versions de MandrakeLinux

Perdu dans la migration ? Demandez votre chemin, on peut peut-être vous aider.

Mar 01 Juin, 2004 18:52

Bonjour !

Je viens d'installer Mandrake 10 Official sans problème (remarquons au passage la rapidité : 25 min pour partionner/formater/installer), mais j'ai quelques problèmes avec mon modem, un Olitec PCI 56000 !
Le constructeur (remercions-le pour cet effort) propose des pilotes sur son site (sur cette page) mais les pilotes sont pour mandrake 9.2. Pourrais-je les installer sans problème ?

Merci d'avance, Antoine
Antoine

Messages : 265
Géo : A mi-temps entre Paris et l'Yonne ;)

Mer 02 Juin, 2004 09:59

J'ai finalement essayé quand même mais je rencontre des problèmes à l'installation :

Je suis la procédure donnée sur le site d'olitec (ici) mais j'obtiens ce message :
This package does not contain pre-built modules suitable for your system:
Distribution: Mandrake-10.0
Kernel arch: i686
Kernel version: linux-2.6.3-7mdk
Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.3-7mdk/build]


Que dois-je faire ?
Antoine

Messages : 265
Géo : A mi-temps entre Paris et l'Yonne ;)

Mer 02 Juin, 2004 18:08

Kernel version: linux-2.6.3-7mdk
Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?


Il faut que les sources du noyau 2.6.3 soient installées ainsi qu'un compilateur (gcc).

Tout ça doit être faisable par la panneau de controle.
aptitude install
rhyd

Messages : 493
Géo : Paris

Mer 02 Juin, 2004 18:42

J'ai installé les sources (kernel-source) et le compilateur (gcc) et j'ai toujours un message d'erreur

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.3-7mdk/build]
WARNING: missing file /lib/modules/2.6.3-7mdk/build/include/linux/modversions.h
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).
First, ensure that the proper kernel source and compiler packages
from your distribution vendor and/or the community are installed.
The Linux kernel can then be reconfigured by running "make menuconfig"
under the kernel source directory (usually /usr/src/linux).
Verify that the proper options for your system are selected,
and that CONFIG_SMP ("Symmetric multi-processing support" under
"Processor type and features") is disabled, as this driver is
presently designed to work on single-processor machines.
Then compile and install your new kernel (for more information about
this procedure, see the README file under the kernel source directory),
reboot the system using the new kernel, and re-run "hsfconfig".


j'ai l'impression (ce n'est peut-être qu'une impression) que mon noyau est trop récent pour le pilote ?
Antoine

Messages : 265
Géo : A mi-temps entre Paris et l'Yonne ;)

Mer 02 Juin, 2004 21:20

Antoine a écrit:J'ai installé les sources (kernel-source) et le compilateur (gcc) et j'ai toujours un message d'erreur

Oui mais c'est plus le même :-) !

WARNING: missing file /lib/modules/2.6.3-7mdk/build/include/linux/modversions.h

Ce fichier est manquant ?

Je n'ai pas de Mandrake sous la main mais sous Debian ce fichier se trouve dans /usr/src/linux/include/linux/, c'est peut-être une piste.

Que dit :

$ less /usr/src/linux/.config |grep MODVERSION

(tu dois obtenir CONFIG_MODVERSIONS=y)

(le .config permet de savoir quelles sont les options du noyau qui sont installées)



The cause of this problem is usually a missing or misconfigured kernel source tree (and sometimes an incorrect directory or symbolic link).

Moi je chercherais de ce côté là avant de me lancer dans une recompilation du noyau : est-ce que le programme cherche bien au bon endroit ce fichier modversions.h ?

Tu peux faire

# find /usr -name modversions.h
et
# find /lib -name modversions.h

pour lancer une recherche pour ce module.


Si tout ça ne marche pas on verra pour la compilation du noyau si tu veux.
aptitude install
rhyd

Messages : 493
Géo : Paris

Jeu 03 Juin, 2004 18:41

Merci rhyd de se pencher sur mon problème !

Le fichier modversion.h se situait en fait dans le dossier usr/include/linux ! j'ai donc indiqué le dossier usr et cette étape marche sans problème !

Mais j'ai ensuite un autre message d'erreur

Please enter your country name [FRANCE]: france

Configuring modem for country: "FRANCE"
You can change this setting later with the command "hsfconfig --country"

This package does not contain pre-built modules suitable for your system:
Distribution: Mandrake-10.0
Kernel arch: i686
Kernel version: linux-2.6.3-7mdk

Trying to automatically re-compile the modules..
(this requires a C compiler and proper kernel sources to be installed)

Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.3-7mdk/build] /usr

WARNING: the kernel version (2.6.0) defined in
/usr/include/linux/version.h
does not match the currently running kernel (2.6.3-7mdk)
The cause of this problem is an incorrect kernel source path.
Please check that /usr points to the right tree.
The cause of this problem is usually a missing or misconfigured
kernel source tree (and sometimes an incorrect directory or symbolic link).

Re-compiling HSF modules for kernel 2.6.0, using source directory
/usr. Please wait..

ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.t


Antoine
Antoine

Messages : 265
Géo : A mi-temps entre Paris et l'Yonne ;)

Jeu 03 Juin, 2004 21:24

Gentil programme a écrit:ERROR: Module re-compilation and installation failed!
Please examine the log file "/tmp/hsfconfig-buildlog.t
Ce serait bien de regarder l'erreur là dedans pour avoir plus d'info.
Invité

Jeu 03 Juin, 2004 22:22

au fait que donne la commande
$ uname -r

(donne le numéro de version du noyau)
aptitude install
rhyd

Messages : 493
Géo : Paris

Ven 04 Juin, 2004 07:33

Voilà le contenu du fichier log (il y a 127 lignes)

m -f *.o *.a
make[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* Compiling mod_osspec.c
In file included from ../modules/osspec/include/oscompat.h:61,
from mod_osspec.c:51:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do ***spam***:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use ***spam***"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/cpumask.h:8,
from /usr/include/linux/sched.h:14,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function)
/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once
/usr/include/linux/bitmap.h:85: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:14,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from /usr/include/asm/siginfo.h:4,
from /usr/include/linux/signal.h:7,
from /usr/include/linux/sched.h:24,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/asm-generic/siginfo.h: At top level:
/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:4,
from /usr/include/linux/sched.h:30,
from ../modules/osspec/include/oscompat.h:63,
from mod_osspec.c:51:
/usr/include/linux/mmzone.h:333: error: parse error before '(' token
/usr/include/linux/mmzone.h:334: error: parse error before numeric constant
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h:64:26: linux/tqueue.h: No such file or directory
In file included from /usr/include/linux/mm.h:206,
from ../modules/osspec/include/oscompat.h:65,
from mod_osspec.c:51:
/usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/page-flags.h:119: error: requested alignment is not a constant
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/interrupt.h:11,
from ../modules/osspec/include/oscompat.h:66,
from mod_osspec.c:51:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:20,
from ../modules/osspec/include/oscompat.h:68,
from mod_osspec.c:51:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h:74:41: missing binary operator before token "("
../modules/osspec/include/oscompat.h:80:41: missing binary operator before token "("
../modules/osspec/include/oscompat.h:169:40: missing binary operator before token "("
../modules/osspec/include/oscompat.h:189:41: missing binary operator before token "("
../modules/osspec/include/oscompat.h:233:41: missing binary operator before token "("
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h: In function `cnxthsf_OsModuleUseCountInc':
../modules/osspec/include/oscompat.h:246: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:495)
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h: In function `cnxthsf_OsModuleUseCountDec':
../modules/osspec/include/oscompat.h:251: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:507)
../modules/osspec/include/oscompat.h:274:5: missing terminating " character
../modules/osspec/include/oscompat.h:320:1: missing terminating " character
../modules/osspec/include/oscompat.h:334:40: missing binary operator before token "("
make: *** [mod_osspec.o] Erreur 1


et ce que donne la commande uname -r

2.6.3-7mdk
Antoine

Messages : 265
Géo : A mi-temps entre Paris et l'Yonne ;)

Dim 06 Juin, 2004 14:49

Bonjour,

J'ai regardé sur le site de d'Olitec, et j'ai l'impression que le driver n'est pas fait pour marcher avec un noyau 2.6. Peut-être que tu peux écrire à Olitec (il y a une adresse en bas de la page) pour leur demander s'ils ont déjà fait des tests concluants avec un 2.6.
aptitude install
rhyd

Messages : 493
Géo : Paris

Qui est en ligne ?

Utilisateur(s) parcourant actuellement ce forum : Aucun utilisateur inscrit