This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Systemtap test on kernel-2.6.29-rc7-git2
fche@redhat.com (Frank Ch. Eigler) wrote on 03/09/2009 07:35:03 PM:
> From:
>
> fche@redhat.com (Frank Ch. Eigler)
>
> To:
>
> Pavan Naregundi/India/IBM@IBMIN
>
> Cc:
>
> systemtap@sourceware.org
>
> Date:
>
> 03/09/2009 07:33 PM
>
> Subject:
>
> Re: Systemtap test on kernel-2.6.29-rc7-git2
>
> Pavan Naregundi <pavan.naregundi@in.ibm.com> writes:
>
> > While running systemtap test suite run on kernel-2.6.29-rc7-git2, I ran
> > into one problem related to sharedbuf.exp test case. Logs are as below
> > [...]
> > Unable to handle kernel paging request for data at address
> > 0xd000000003ee7408
> > Faulting instruction address: 0xc0000000000b1454
> > [...]
> > pc: c0000000000b1454: .load_module+0x1584/0x1708
> > [...]
>
> It would be helpful to get a disassembly of this kernel function.
> Maybe its error-handling paths are buggy. Try triggering the problem
> with a hand-made module that has unresolved external references.
Tried with a simple module with a unresolved external references and I
could reproduce the problem.
//Sample module
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
MODULE_LICENSE("Dual BSD/GPL");
extern void print(char *); //unresolved reference
static int hello_init(void) {
print("Hello\n");
}
static void hello_exit(void) {
printk("Bye\n");
}
module_init(hello_init);
module_exit(hello_exit);
>
> - FChE
Thanks
Pavan