1f08c3bdfSopenharmony_ciKdump Test Description
2f08c3bdfSopenharmony_ci----------------------
3f08c3bdfSopenharmony_ci
4f08c3bdfSopenharmony_ciThe test suite consists of two parts
5f08c3bdfSopenharmony_ci
6f08c3bdfSopenharmony_ci    * crasher: This is a basic kdump functionality testing.
7f08c3bdfSopenharmony_ci    * lkdtm : These tests use kprobes / jprobes to put probes in different
8f08c3bdfSopenharmony_ci      function for invoking a dump.
9f08c3bdfSopenharmony_ci
10f08c3bdfSopenharmony_ciOnly one of the above is used for testing at a time. While building the scripts,
11f08c3bdfSopenharmony_ciselect the one you want to run. It is suggested to use the lkdtm tests (which is
12f08c3bdfSopenharmony_cithe default) for more elaborate testing.
13f08c3bdfSopenharmony_ci
14f08c3bdfSopenharmony_ciThe crasher module tests kdump in following senarios.
15f08c3bdfSopenharmony_ci
16f08c3bdfSopenharmony_ci    * ACS: invoke dump using sysrq C.
17f08c3bdfSopenharmony_ci    * ACP: invoke dump using panic [ panic test 0 ].
18f08c3bdfSopenharmony_ci    * ACB: invoke dump using BUG [ panic test 1 ].
19f08c3bdfSopenharmony_ci    * ACE: invoke dump using panic_on_oops [ panic test 2 ].
20f08c3bdfSopenharmony_ci    * ACL: invoke dump in a hang situation.
21f08c3bdfSopenharmony_ci
22f08c3bdfSopenharmony_ciOn some type of hardware [ eg IBM System p and System i machines ] tests ACB
23f08c3bdfSopenharmony_ciand ACE will require manual intervention. After running these tests machine
24f08c3bdfSopenharmony_ciwill drop into xmon. User will have to type X to get out of the xmon and
25f08c3bdfSopenharmony_cicontinue with the tests. As for the ACL test, user will have to invoke a dump
26f08c3bdfSopenharmony_ciusing the Hardware Management Console via soft reset.
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_ciThe lkdtm module consists of following tests
29f08c3bdfSopenharmony_ci
30f08c3bdfSopenharmony_ci    * KPIDB: bug in do_irq
31f08c3bdfSopenharmony_ci    * KPIDE: exception in do_irq
32f08c3bdfSopenharmony_ci    * KPIDL: hang in do_irq
33f08c3bdfSopenharmony_ci    * KPIDP: panic in do_irq
34f08c3bdfSopenharmony_ci    * KPIEB: bug in handle_IRQ_event
35f08c3bdfSopenharmony_ci    * KPIEE: exception in handle_IRQ_event
36f08c3bdfSopenharmony_ci    * KPIEL: hang in handle_IRQ_event
37f08c3bdfSopenharmony_ci    * KPIEP: panic in handle_IRQ_event
38f08c3bdfSopenharmony_ci    * KPTEB: bug in tasklet_action
39f08c3bdfSopenharmony_ci    * KPTEE: exception in tasklet_action
40f08c3bdfSopenharmony_ci    * KPTEL: hang in tasklet_action
41f08c3bdfSopenharmony_ci    * KPTEP: panic in tasklet_action
42f08c3bdfSopenharmony_ci    * KPBB : bug in ll_rw_block
43f08c3bdfSopenharmony_ci    * KPBE : exception in ll_rw_block
44f08c3bdfSopenharmony_ci    * KPBL : hang in ll_rw_block
45f08c3bdfSopenharmony_ci    * KPBP : panic in ll_rw_block
46f08c3bdfSopenharmony_ci    * KPMSB: bug in shrink_inactive_list
47f08c3bdfSopenharmony_ci    * KPMSE: exception in shrink_inactive_list
48f08c3bdfSopenharmony_ci    * KPMSL: hang in shrink_inactive_list
49f08c3bdfSopenharmony_ci    * KPMSP: panic in shrink_inactive_list
50f08c3bdfSopenharmony_ci    * KPTB : bug in hr_timer_start
51f08c3bdfSopenharmony_ci    * KPTE : exception in hr_timer_start
52f08c3bdfSopenharmony_ci    * KPTL : hang in hr_timer_start
53f08c3bdfSopenharmony_ci    * KPTP : panic in hr_timer_start
54f08c3bdfSopenharmony_ci
55f08c3bdfSopenharmony_ciOn certain type of hardware [ eg IBM system p and system i machines] tests with
56f08c3bdfSopenharmony_cinames ending in "B" and "E" might require manual intervention. After running
57f08c3bdfSopenharmony_cithese tests machine will drop into debugger if one is configured. User will
58f08c3bdfSopenharmony_cihave to type X to get out of the debugger and continue with the tests. For
59f08c3bdfSopenharmony_citests with name ending in L [loop test] , user will have to invoke a dump using
60f08c3bdfSopenharmony_cithe Hardware Management Console via soft reset.
61f08c3bdfSopenharmony_ci
62f08c3bdfSopenharmony_ciWhile executing some loop testcases after invoking a dump via Hardware
63f08c3bdfSopenharmony_ciManagement Console you might get following message
64f08c3bdfSopenharmony_ci
65f08c3bdfSopenharmony_ciSending IPI to other cpus...
66f08c3bdfSopenharmony_cidone waiting: 1 cpu(s) not responding
67f08c3bdfSopenharmony_ciActivate soft-reset to stop other cpu(s)
68f08c3bdfSopenharmony_ci
69f08c3bdfSopenharmony_ciIn such case you will have to re-trigger dump via Hardware Management Console
70f08c3bdfSopenharmony_cione more time. This is a normal senario and not a bug.
71f08c3bdfSopenharmony_ci
72