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..
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.
/sys/module
look into /sys/module/<module>
kernel hangs
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
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.