1

Finding the kernel address of a loadable kernel module

view story
linux-howto

http://stackoverflow.com – I'm trying to find the kernel address space where my loadable kernel module is relocated by insmod. I came to know that by using the -m, -O switches while insmod'ing the module, we can only see the symbol table and the executable's sections' addresses from the view-point of the module and not their relocated addresses, as that process of relocation is carried out when we do an insmod. Can anyone tell how to find the relocated address of a module in the kernel-memory i.e the address bound within the kernel where a loaded module resides? Thanks! P.S Please note that I'm using a Redhat 2.4 Li (HowTos)