Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all articles
Browse latest Browse all 26379

[ubuntu] Loading module from older Kernel

$
0
0
Hi!

As a programming project, I modified the ext2 source.
Afterwards I recompiled the module and load it in my costum kernel (3.2.0), which worked.

Now I wanted to load this module in my current Ubuntu kernel (3.5.0-24-generic), but
Code:

modprobe -f ext2
delivers:
Code:

FATAL: Error inserting ext2 (/lib/modules/3.5.0-24-generic/kernel/fs/ext2/ext2.ko): Invalid module format
I compiled the module from the 3.2.0 kernel sources with
Code:

sudo make fs/ext2/ext2.ko
Changing the kernel version in the Makefile also didn't work.

Viewing all articles
Browse latest Browse all 26379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>