Knowing kernel module load address (insmod hasn't -m)

2006-07-14 Thread antonio.dibacco
I enabled the -m option for insmod in the busybox as adviced by you and now 
I can see the address of all the modules I load.

Really amazing. 

Thank you for you help,
Antonio. 




Knowing kernel module load address (insmod hasn't -m)

2006-07-13 Thread Antonio Di Bacco
Hi all,

where can be read at which memory address a module was loaded. I use the bb 
insmod that doesn't provide -m option.

Bye,
Antonio.



Knowing kernel module load address (insmod hasn't -m)

2006-07-13 Thread Ben Warren
cat /proc/modules

If you want more detailed information about a module (locations
of .text, .data, .bss etc), enable CONFIG_KALLSYMS in your kernel and
you'll see lots of goodness in the /sys/module/YOUR MODULE/sections
directory.

Do yourself a favor and browse http://lwn.net/Articles/driver-porting/
where Jon Corbet has written a really good series of articles about
modules and device drivers in the 2.6 kernel.

cheers,
Ben

On Thu, 2006-07-13 at 22:38 +0200, Antonio Di Bacco wrote:
 Hi all,
 
 where can be read at which memory address a module was loaded. I use the bb 
 insmod that doesn't provide -m option.
 
 Bye,
 Antonio.
 ___
 Linuxppc-embedded mailing list
 Linuxppc-embedded at ozlabs.org
 https://ozlabs.org/mailman/listinfo/linuxppc-embedded