Revising a compiled module version check...
Greetings! I'm using ftape version 4.04A to access my Iomega Ditto tape drive. I noticed that the ftape won't load after I applied the 0.90 RAID patch to the standard kernel. (I'm using SuSE 6.3 as my base installation.) Insmod is complaining that the ftape modules were compiled for 2.2.18 and the current version is 2.2.18RAID. (The "RAID" part is listed as an "EXTRAVERSION" in the kernel Makefile.) Using the --force parameter for insmod does not work because of the symbol conflicts, and won't load the modules on booting. If I use insmod manually, I can get the modules to load with the same error messages and use the tape drive. The ftape MCONFIG file uses the following line to determine the kernel version: # # Ok. It looks ugly. It is ugly. # KERNELRELEASE = $(shell grep UTS_RELEASE $(LINUX_LOCATION)/include/linux/version.h|cut -d '"' -f 2) # Is there a way that I can change this line to correctly see "2.2.18RAID" so that ftape will compile the modules with the correct version number? Thanks! Christopher Reimer
"Christopher D. Reimer" wrote:
Greetings!
I'm using ftape version 4.04A to access my Iomega Ditto tape drive. I noticed that the ftape won't load after I applied the 0.90 RAID patch to the standard kernel. (I'm using SuSE 6.3 as my base installation.) Insmod is complaining that the ftape modules were compiled for 2.2.18 and the current version is 2.2.18RAID. (The "RAID" part is listed as an "EXTRAVERSION" in the kernel Makefile.)
Using the --force parameter for insmod does not work because of the symbol conflicts, and won't load the modules on booting. If I use insmod manually, I can get the modules to load with the same error messages and use the tape drive.
The ftape MCONFIG file uses the following line to determine the kernel version:
KERNELRELEASE = $(shell grep UTS_RELEASE $(LINUX_LOCATION)/include/linux/version.h|cut -d '"' -f 2)
Is there a way that I can change this line to correctly see "2.2.18RAID" so that ftape will compile the modules with the correct version number?
What about just hard coding it? KERNELRELEASE = 2.2.18RAID or something similar? The above is probably syntactically wrong (since I don't know C), so someone might want to point out the correct way or saying this... Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
participants (2)
-
Chris Reeves
-
Christopher D. Reimer