Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1616363 > unrolled thread
| Started by | Daniel Kiper <daniel.kiper@oracle.com> |
|---|---|
| First post | 2017-04-04 21:50 +0200 |
| Last post | 2017-04-07 11:20 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
Re: [Xen-devel] [PATCH v2] xen, kdump: handle pv domain in paddr_vmcoreinfo_note() Daniel Kiper <daniel.kiper@oracle.com> - 2017-04-04 21:50 +0200
Re: [Xen-devel] [PATCH v2] xen, kdump: handle pv domain in paddr_vmcoreinfo_note() Petr Tesarik <ptesarik@suse.com> - 2017-04-05 13:20 +0200
Re: [Xen-devel] [PATCH v2] xen, kdump: handle pv domain in paddr_vmcoreinfo_note() Petr Tesarik <ptesarik@suse.com> - 2017-04-07 11:20 +0200
| From | Daniel Kiper <daniel.kiper@oracle.com> |
|---|---|
| Date | 2017-04-04 21:50 +0200 |
| Subject | Re: [Xen-devel] [PATCH v2] xen, kdump: handle pv domain in paddr_vmcoreinfo_note() |
| Message-ID | <tsCCL-RD-45@gated-at.bofh.it> |
> On 03/04/17 14:42, Daniel Kiper wrote: > > On Fri, Mar 31, 2017 at 12:14:38PM +0200, Juergen Gross wrote: > >> For kdump to work correctly it needs the physical address of > >> vmcoreinfo_note. When running as dom0 this means the virtual address > >> has to be translated to the related machine address. > >> > >> paddr_vmcoreinfo_note() is meant to do the translation via > >> __pa_symbol() only, but being attributed "weak" it can be replaced > >> easily in Xen case. > >> > >> Signed-off-by: Juergen Gross <jgross@suse.com> > > > > Have you tested this patch with latest crash tool? Do dom0 and Xen > > hypervisor analysis work without any issue (at least basic commands > > like dmesg, bt, ps, etc.)? If yes for both you can add: > > > > Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> > > This patch isn't for dump analysis, but for dump creation. Petr has I know that. However, it may have impact on crash analysis. So, I would expect that you or anybody else in your behalf will do at least minimal crash tool tests. > verified that the dump is in the expected format. Please ask Petr > for further details, e.g. user side modifications being necessary. So, if Petr did relevant tests that is nice. However, then, IMO, this patch begs Petr Tested-by. Daniel
[toc] | [next] | [standalone]
| From | Petr Tesarik <ptesarik@suse.com> |
|---|---|
| Date | 2017-04-05 13:20 +0200 |
| Message-ID | <tsR8K-1VT-17@gated-at.bofh.it> |
| In reply to | #1616363 |
On Tue, 4 Apr 2017 12:42:53 -0700 (PDT) Daniel Kiper <daniel.kiper@oracle.com> wrote: > > On 03/04/17 14:42, Daniel Kiper wrote: > > > On Fri, Mar 31, 2017 at 12:14:38PM +0200, Juergen Gross wrote: > > >> For kdump to work correctly it needs the physical address of > > >> vmcoreinfo_note. When running as dom0 this means the virtual address > > >> has to be translated to the related machine address. > > >> > > >> paddr_vmcoreinfo_note() is meant to do the translation via > > >> __pa_symbol() only, but being attributed "weak" it can be replaced > > >> easily in Xen case. > > >> > > >> Signed-off-by: Juergen Gross <jgross@suse.com> > > > > > > Have you tested this patch with latest crash tool? Do dom0 and Xen > > > hypervisor analysis work without any issue (at least basic commands > > > like dmesg, bt, ps, etc.)? If yes for both you can add: > > > > > > Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com> > > > > This patch isn't for dump analysis, but for dump creation. Petr has > > I know that. However, it may have impact on crash analysis. So, > I would expect that you or anybody else in your behalf will do > at least minimal crash tool tests. > > > verified that the dump is in the expected format. Please ask Petr > > for further details, e.g. user side modifications being necessary. > > So, if Petr did relevant tests that is nice. However, then, IMO, this > patch begs Petr Tested-by. Actually, I tested with this patch applied on top of kernel 4.4 (SLES 12 SP2). It matches what traditional Xen had always done, so I am quite confident it will work with a later kernel, but to give my Tested-by, let me first re-run the test on master, hopefully until today EOB. HTH, Petr T
[toc] | [prev] | [next] | [standalone]
| From | Petr Tesarik <ptesarik@suse.com> |
|---|---|
| Date | 2017-04-07 11:20 +0200 |
| Message-ID | <ttydH-5d4-1@gated-at.bofh.it> |
| In reply to | #1616849 |
On Wed, 5 Apr 2017 13:13:00 +0200 Petr Tesarik <ptesarik@suse.com> wrote: > On Tue, 4 Apr 2017 12:42:53 -0700 (PDT) > Daniel Kiper <daniel.kiper@oracle.com> wrote: > >[...] > > So, if Petr did relevant tests that is nice. However, then, IMO, this > > patch begs Petr Tested-by. > > Actually, I tested with this patch applied on top of kernel 4.4 (SLES > 12 SP2). It matches what traditional Xen had always done, so I am quite > confident it will work with a later kernel, but to give my Tested-by, > let me first re-run the test on master, hopefully until today EOB. It took me much longer than anticipated (I had some trouble setting up the host again), but I can confirm that the patch works as expected on top of 4.11-rc5. Without the patch, makedumpfile in the crash kernel complains: /proc/vmcore doesn't contain vmcoreinfo. With the patch applied, dumping still fails later because of an unrelated bug in makedumpfile, but I was able to extract the kernel message buffer with "makedumpfile --dump-dmesg". This already confirms VMCOREINFO presence and usability. So finally, Tested-by: Petr Tesarik <ptesarik@suse.com> Petr Tesarik
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web