Hi , Thanks for your answer, Yes I am sure it is from same kernel and sams GCC version, The same module if put in Initiramfs, works fine. only issue occur when I build kernel with rootfs mounted from NFS. On Mon, Feb 21, 2011 at 11:03 PM, Mulyadi Santosa <mulyadi.santosa@gmail.com> wrote:
Hi :)
On Mon, Feb 21, 2011 at 20:07, naveen yadav <yad.naveen@gmail.com> wrote:
Hi All,
When I am trying to insert some modules on 2.6.35.9, I am getting some random crash's. There are 2 scenarios:-
1) When my rootfs is NFS mounted.
In this case, when I insmod modules some get inserted and some gives crash. I have tried with following modules :- a) ext2.ko ; size 93K ; status - successfully inserted b) ext3.ko ; size 188K ; status - insertion failed c) xfs.ko ; size 823K ; status - insertion failed d) usbcore.ko ; size 243K ; status - insertion failed
2) When I created kernel Image using Initramfs, hence making all modules part of ramfs image all insertions are successfull
Hm, easiest thing first to check: are you sure you are inserting modules that belongs to the currently running kernel's version? and they were compiled with the same gcc options?
And furthermore, if they use symbol versioning, are they belong to the same symbol version?
-- regards,
Mulyadi Santosa Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com