insmod [options]

Submitted by Anusha
on October 21, 2008 - 7:03am

Hi,
I wanted to know the Memory Map of Kernel Module Size and Location(load map) to know the address of module insertion for kernel debugging of module in linux-2.6.2X kernels...insmod -m is not supported..

Any suggestions?Thank u ...

/sys/module

strcmp
on
October 21, 2008 - 9:36am

look into /sys/module/<module>

kernel hangs

Anusha
on
October 21, 2008 - 10:24pm

Hi,
Thanks for the reply...
But immediately after inserting the module the kernel hangs...
So any help,how can i check /sys/module/?

hi anusha i suggest you to

sunr2007
on
October 23, 2008 - 8:09am

hi anusha i suggest you to do things ..
If you run

find /sys -name dev

you will get many hits, such as:

/sys/block/fd0/dev

cat /sys/block/fd0/dev
2:0

means if loading this module, one should also create its device as follows:
mknod /dev/fd0 b 2 0

Your goal should be to make a 'dev' entry appear under /sys for your device and then udev (and mdev in embedded busybox systems) will mknod it automatically.

so do these steps and let me know what happened? u can mail ur queries to sunr2007@gmail.com
warm regards,
Ravi Kulkarni.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.