LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Warren <bwarren@qstreams.com>
To: Antonio Di Bacco <antonio.dibacco@aruba.it>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Knowing kernel module load address (insmod hasn't -m)
Date: Thu, 13 Jul 2006 17:04:08 -0400	[thread overview]
Message-ID: <1152824648.5238.12.camel@saruman.qstreams.net> (raw)
In-Reply-To: <200607132238.11177.antonio.dibacco@aruba.it>

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@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

  reply	other threads:[~2006-07-13 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-13 20:38 Knowing kernel module load address (insmod hasn't -m) Antonio Di Bacco
2006-07-13 21:04 ` Ben Warren [this message]
2006-07-13 21:27   ` Antonio Di Bacco
2006-07-13 21:42     ` Ben Warren
2006-07-14 11:10       ` antonio.dibacco

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=1152824648.5238.12.camel@saruman.qstreams.net \
    --to=bwarren@qstreams.com \
    --cc=antonio.dibacco@aruba.it \
    --cc=linuxppc-embedded@ozlabs.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