From: Rusty Russell <rusty@rustcorp.com.au>
To: Ravi Krishnamurthy <kravi26@yahoo.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Equivalent of 'insmod -m' on 2.6?
Date: Thu, 11 Sep 2003 07:03:27 +1000 [thread overview]
Message-ID: <20030911011647.C68E32C291@lists.samba.org> (raw)
In-Reply-To: Your message of "Wed, 10 Sep 2003 11:05:07 MST." <20030910180507.53891.qmail@web12301.mail.yahoo.com>
In message <20030910180507.53891.qmail@web12301.mail.yahoo.com> you write:
> Hi,
>
> I am trying to debug a module on 2.6.0-test3 with
> module-init-tools-0.9.12. But I am not able to get
> the load map of the module being loaded. 'insmod'
> in module-init-tools does not support the '-m' option.
Hi Ravi!
CONFIG_KALLSYMS is probably what you want here, along with
/proc/kallsyms. You can, also generate the equivalent of insmod -m
from the output of /proc/modules and the symbol table in the module.
BTW, I'd generally recommend modprobe over insmod: as you will have
noticed, the new insmod is designed to be a really low-level tool.
Hope this helps,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
prev parent reply other threads:[~2003-09-11 1:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-10 18:05 Equivalent of 'insmod -m' on 2.6? Ravi Krishnamurthy
2003-09-10 21:03 ` Rusty Russell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030911011647.C68E32C291@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=kravi26@yahoo.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).