|
From: Lakshmipathi.G <lak...@gm...> - 2011-09-17 10:42:29
|
When it comes to loading modules, UML is no different from a regular > kernel. You seem to be a bit confused by kernel module versioning and > module loading in general, I think you should start there. > Thanks I'll read more about them. > You also seem to be using an out of date kernel of an out of date and no > longer supported distro... not the best of start! > The reason for using old kernel is , I having file system module that works with those versions. It won't compile with new version - since kernel has been changing quite rapidly. I need learn how fs module works & then modify it according to latest version. You guest modules need to match your guest kernel, that's it. > I'm working with assumption following should work . I compiled a module (myfs.ko) under host kernel 2.6.32.26-175.fc12. Now built uml from that kernel source (2.6.32.26). Logging into uml , I did hostfs mount and copied it into uml. now doing insmod gives following error message - (Or I need to compile the module within uml itself not from host and cp it ?) . UML# insmod myfs.ko myfs: version magic '2.6.32.26-175.fc12.x86_64 SMP mod_unload ' should be '2.6.32.26 mod_unload ' insmod: error inserting 'myfs.ko': -1 Invalid module format > Cheers > Antoine > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > http://p.sf.net/sfu/rim-devcon-copy2 > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user > -- ---- Cheers, Lakshmipathi.G FOSS Programmer. www.giis.co.in |