All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] kdump failure on x86
@ 2021-03-23 14:27 Pankaj Vinodrao Joshi
  2021-03-24  8:27 ` Joerg Vehlow
  0 siblings, 1 reply; 4+ messages in thread
From: Pankaj Vinodrao Joshi @ 2021-03-23 14:27 UTC (permalink / raw)
  To: ltp

Hi,
i am trying to run kdump on x86 with 5.5.6 kernel but i am getting following errors, can someone please tell whats going wrong here. I have lkdtm config in the kernel and installed kexec-tools as well what could be the cause of issue ???


ltp/testcases/kdump/lib/lkdtm/lkdtm.c: In function ?jp_do_irq?:
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:139:2: error: implicit declaration of function ?jprobe_return?; did you mean ?probe_irq_on?? [-Werror=implicit-function-declaration]
  jprobe_return();
  ^~~~~~~~~~~~~
  probe_irq_on
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c: In function ?lkdtm_lookup_name?:
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:295:10: error: invalid use of undefined type ?struct jprobe?
   *(lkdtm.kp.addr) = addr;
          ^
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:296:8: error: invalid use of undefined type ?struct jprobe?
   lkdtm.entry = JPROBE_ENTRY(entry);
        ^
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:296:17: error: implicit declaration of function ?JPROBE_ENTRY?; did you mean ?KPROBE_REENTER?? [-Werror=implicit-function-declaration]
   lkdtm.entry = JPROBE_ENTRY(entry);
                 ^~~~~~~~~~~~
                 KPROBE_REENTER
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c: In function ?lkdtm_module_init?:
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:468:13: error: implicit declaration of function ?register_jprobe?; did you mean ?register_kprobe?? [-Werror=implicit-function-declaration]
  if ((ret = register_jprobe(&lkdtm)) < 0) {
             ^~~~~~~~~~~~~~~
             register_kprobe
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c: In function ?lkdtm_module_exit?:
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:480:2: error: implicit declaration of function ?unregister_jprobe?; did you mean ?unregister_kprobe?? [-Werror=implicit-function-declaration]
  unregister_jprobe(&lkdtm);
  ^~~~~~~~~~~~~~~~~
  unregister_kprobe
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c: At top level:
/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.c:110:22: error: storage size of ?lkdtm? isn?t known
 static struct jprobe lkdtm;
                      ^~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:265: recipe for target '/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.o' failed
make[3]: *** [/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm/lkdtm.o] Error 1
Makefile:1693: recipe for target '/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm' failed
make[2]: *** [/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm] Error 2
make[2]: Leaving directory '/usr/ksrc/linux-5.5.6'
Makefile:11: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/pankaj-hmem/ltp-r2.4/ltp/testcases/kdump/lib/lkdtm'
Makefile:2: recipe for target 'default' failed
make: *** [default] Error 2



Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210323/27c3ad55/attachment-0001.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-08 10:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 14:27 [LTP] kdump failure on x86 Pankaj Vinodrao Joshi
2021-03-24  8:27 ` Joerg Vehlow
2021-03-24  9:26   ` Pankaj Vinodrao Joshi
2021-04-08 10:37   ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.