=?iso-8859-1?q?=C1lvaro=20A=2E=20Novo?=
On Sunday 29 July 2001 23:30, StarTux wrote:
## root@s2:/home/anovo/ecc-0.13 ## insmod --force ./ecc.o Warning: kernel-module version mismatch ./ecc.o was compiled for kernel version 2.4.2 while this kernel is version 2.4.2-64GB-SMP
Yes, it was compiled on the server where I am "insmod"; and, the kernel is SuSE's (an rpm update). Strange...
I'm not sure if this is related to your problem, but I've copied the SuSE's version.h file into the kernel source code tree: cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h I use SuSE 7.2 kernel 2.4.4-64GB-SMP, kernel-source-2.4.4.SuSE-17, and the symbolic link is /usr/src/linux -> /usr/src/linux-2.4.4.SuSE ecc.o works OK on my SMP system (Intel 440BX). -- Alexandr.Malusek@imv.liu.se
On Monday 30 July 2001 10:48, Alexandr Malusek wrote:
I'm not sure if this is related to your problem, but I've copied the SuSE's version.h file into the kernel source code tree:
cp /boot/vmlinuz.version.h /usr/src/linux/include/linux/version.h
This solved the "kernel version" problem, but I still get: ## root@s3:/home/anovo/ecc-0.13 ## cp /boot/vmlinuz_24.version.h /usr/src/linux/include/linux/version.h ## root@s3:/home/anovo/ecc-0.13 ## make gcc -O2 -Wall -I/usr/src/linux/include -c -o ecc.o ecc.c ## root@s3:/home/anovo/ecc-0.13 ## insmod ./ecc.o ../ecc.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters Thanks for you help, Alvaro Novo SuSE 7.1 Pro -=- Kernel 2.4.0-64GB-SMP -=- KDE 2.2-beta1 11:22am up 27 days, 23:40, 2 users, load average: 1.04, 1.04, 1.00
participants (2)
-
Alexandr Malusek
-
Álvaro A. Novo