* Knowing kernel module load address (insmod hasn't -m)
@ 2006-07-13 20:38 Antonio Di Bacco
2006-07-13 21:04 ` Ben Warren
0 siblings, 1 reply; 5+ messages in thread
From: Antonio Di Bacco @ 2006-07-13 20:38 UTC (permalink / raw)
To: linuxppc-embedded
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Knowing kernel module load address (insmod hasn't -m)
2006-07-13 20:38 Knowing kernel module load address (insmod hasn't -m) Antonio Di Bacco
@ 2006-07-13 21:04 ` Ben Warren
2006-07-13 21:27 ` Antonio Di Bacco
0 siblings, 1 reply; 5+ messages in thread
From: Ben Warren @ 2006-07-13 21:04 UTC (permalink / raw)
To: Antonio Di Bacco; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Knowing kernel module load address (insmod hasn't -m)
2006-07-13 21:04 ` Ben Warren
@ 2006-07-13 21:27 ` Antonio Di Bacco
2006-07-13 21:42 ` Ben Warren
0 siblings, 1 reply; 5+ messages in thread
From: Antonio Di Bacco @ 2006-07-13 21:27 UTC (permalink / raw)
To: bwarren; +Cc: linuxppc-embedded
> 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
Does this option exist in kernel 2.4 too? I didn't find it!
Thank you,
Antonio.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Knowing kernel module load address (insmod hasn't -m)
2006-07-13 21:27 ` Antonio Di Bacco
@ 2006-07-13 21:42 ` Ben Warren
2006-07-14 11:10 ` antonio.dibacco
0 siblings, 1 reply; 5+ messages in thread
From: Ben Warren @ 2006-07-13 21:42 UTC (permalink / raw)
To: Antonio Di Bacco; +Cc: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 562 bytes --]
/proc/modules support is in 2.4, but the other stuff is 2.6 only (I
believe somewhere around 2.6.11 or so?) You should be able to 'insmod
-m' in 2.4. You may need to reconfigure busybox or use a non-busybox
'insmod', though.
cheers,
Ben
On Thu, 2006-07-13 at 23:27 +0200, Antonio Di Bacco wrote:
> > 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
>
> Does this option exist in kernel 2.4 too? I didn't find it!
>
> Thank you,
> Antonio.
[-- Attachment #2: Type: text/html, Size: 1067 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-07-14 11:10 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-13 20:38 Knowing kernel module load address (insmod hasn't -m) Antonio Di Bacco
2006-07-13 21:04 ` Ben Warren
2006-07-13 21:27 ` Antonio Di Bacco
2006-07-13 21:42 ` Ben Warren
2006-07-14 11:10 ` antonio.dibacco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox