Hello folks,
I built a 2.6.5 uml patched kernel and started it up with a Fedora Core 2 file system. It seems like the FC2 file system was built with a 2.6.5 kernel (with extraversion -1.327). Now whenever I tried to compile even a very simple module in the uml and try to insmod it, I get an error about version incompatibilities:
Dec 6 12:00:54 fedora2 kernel: hello_1: disagrees about version of symbol struct_module
I guessed this resulted from the slightly modified kernel against which the file system was built and to get around this, I installed the kernel src against which I had build the UML kernel and tried to rebuild the module. Even that ended up with the above error.
My makefile looks like this:
-bash-2.05b# cat Makefile ifneq ($(KERNELRELEASE),) obj-m := hello-1.o
else KDIR := /usr/src/linux-2.6.5 PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif
-bash-2.05b#
Any help on how I can insmod modules inside UML will be highly appreciated.
Thanks !
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
User-mode-linux-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
