RE: Frustrated question with insmod

From: Sugathan, Rupesh <hidden>
Date: 2008-02-19 18:04:51

Bruce_Leonard@selinc.com wrote:
quoted
Sorry if this is the wrong place to post this question.  I'm
developing a=20
quoted
NAND flash driver and I need to do some detailed dubugging using GDB
with=20
quoted
a BDI2K.  According to the Denx web site, to find out the address=20
that
the=20
quoted
module is loading at you load it using the -m parameter to insmod
(i.e.,=20
quoted
"insmod -m mymodule").  However, every version of insmod I've tried=20
doesn't recognize ANY options much less -m.  Can anyone please point
me in=20
quoted
the right direction, or give me another way of knowing what the load
quoted
address of my module is?
=20
# cat /sys/module/<name>/sections/.text
=20
Do not forget to enable CONFIG_KALLSYMS.
Although this may not solve your problem, I once had to build insmod
with CONFIG_FEATURE_INSMOD_LOAD_MAP (this is not enabled by default)
option in its configuration to enable the -m option.

Thanks
..
Rupesh Sugathan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help