>What I wanted is: given the segfault address, I would like to
>
>1) get which module it is in
>2) in that module, within which function it segfaulted
>
>module_address_lookup would do!
If a kernel oopses or similar, it already prints where it faulted:
EIP is at schedule_timeout+0x1234/abcde
From: "linux-os \(Dick Johnson\)" <[EMAIL PROTECTED]>
Subject: Re: [HELP] How to get address of module
Date: Mon, 8 Aug 2005 09:51:25 -0400
> What do you want the address of in your driver? Do you want the
> address of its various entry points (hint, the stuff you
From: Arnd Bergmann <[EMAIL PROTECTED]>
Subject: Re: [HELP] How to get address of module
Date: Mon, 8 Aug 2005 15:30:53 +0200
> You can do all that with module_address_lookup() using the KALLSYMS
> infrastructure.
Thank you.
What I wanted is: given the segfault address, I would like
On Mon, 8 Aug 2005, Hiroki Kaminaga wrote:
>
> Hi!
>
> I'm looking for *nice* way to get address of loaded module in 2.6.
> I'd like to know the address from driver.
>
> In 2.4, I wrote something like this:
>
> * * *
>
> (in kernel src)
> --- kernel/module.c
> +++ kernel/module.c
>
> struct modul
On Maandag 08 August 2005 14:06, Hiroki Kaminaga wrote:
> If the cause is in some insmod'ed module, then I would like to get
> info of that module. If I get the address of that module, I can get
> info such as symbol name defined by that module, etc. Then I could say
> in module mmm, at func fff,
> > I'm looking for *nice* way to get address of loaded module in 2.6.
> > I'd like to know the address from driver.
>
> Maybe explaining why you need the address of a module would help.
I'm currently writing a driver to diagnose/monitor the error, such as
core dump.
I inserted some hook in ker
On Mon, 08 Aug 2005 20:40:22 +0900 (JST) Hiroki Kaminaga
<[EMAIL PROTECTED]> wrote:
>
> I'm looking for *nice* way to get address of loaded module in 2.6.
> I'd like to know the address from driver.
Maybe explaining why you need the address of a module would help.
--
Cheers,
Stephen Rothwell
Hi!
I'm looking for *nice* way to get address of loaded module in 2.6.
I'd like to know the address from driver.
In 2.4, I wrote something like this:
* * *
(in kernel src)
--- kernel/module.c
+++ kernel/module.c
struct module *module_list = &kernel_module;
+ struct module *get_module_queue(
8 matches
Mail list logo