Re: [Crash-utility] [PATCH v3] x86_64_exception_frame only performs EFRAME_VERIFY if it is the only flag

2020-10-28 Thread 萩尾 一仁
Hi, sorry for the delay, applied. https://github.com/crash-utility/crash/commit/915cc069ec0338b2e5342fbd02cbfb921d5494af Thanks, Kazu -Original Message- > Hi, David Mair > > Thank you for the fix. > > 在 2020年09月11日 00:00, crash-utility-requ...@redhat.com 写道: > > Message: 2 > > Date: Th

Re: [Crash-utility] [PATCH v2 3/3] kaslr: get offset by walking page tree

2020-10-28 Thread d.hatay...@fujitsu.com
> calc_kaslr_offset() already deals with PTI here: > >if (st->pti_init_vmlinux || st->kaiser_init_vmlinux) >pgd = cr3 & ~(CR3_PCID_MASK|PTI_USER_PGTABLE_MASK); >else >pgd = cr3 & ~CR3_PCID_MASK; > > Thus it's OK to think that the CR3 points at the

Re: [Crash-utility] [PATCH v2 3/3] kaslr: get offset by walking page tree

2020-10-28 Thread d.hatay...@fujitsu.com
> > + */ > > +static int > > +find_kernel_start(ulong *va, ulong *pa) > > +{ > > + int i, pgd_idx, pud_idx, pmd_idx, pte_idx; > > + uint64_t pgd_pte, pud_pte, pmd_pte, pte; > > + > > + pgd_idx = pgd_index(__START_KERNEL_map); > > + pud_idx = pud_index(__START_KERNEL_map); >

Re: [Crash-utility] [PATCH v2 3/3] kaslr: get offset by walking page tree

2020-10-28 Thread Alexey Makhalov
Hi Daisuke, On Oct 28, 2020, at 4:37 AM, d.hatay...@fujitsu.com wrote: /* + * Find virtual (VA) and physical (PA) addresses of kernel start + * + * va: + * Actual address of the kernel start (_stext) placed + * randomly by kaslr feature. To be more accurate, +

Re: [Crash-utility] [PATCH v2 1/3] vmware_vmss: get proper ITDR

2020-10-28 Thread Alexey Makhalov
Hi Daisuke, > On Oct 28, 2020, at 3:14 AM, d.hatay...@fujitsu.com wrote: > >> diff --git a/vmware_vmss.c b/vmware_vmss.c >> index b168f29..8aa0de0 100644 >> --- a/vmware_vmss.c >> +++ b/vmware_vmss.c >> @@ -881,6 +881,27 @@ vmware_vmss_get_cr3_idtr(ulong *cr3, ulong *idtr) >> *cr3 = vmss.regs64

Re: [Crash-utility] [PATCH v2 3/3] kaslr: get offset by walking page tree

2020-10-28 Thread d.hatay...@fujitsu.com
> /* > + * Find virtual (VA) and physical (PA) addresses of kernel start > + * > + * va: > + * Actual address of the kernel start (_stext) placed > + * randomly by kaslr feature. To be more accurate, > + * VA = _stext(from vmlinux) + kaslr_offset > + * > + * pa: > + * Physical address wher

Re: [Crash-utility] [PATCH v2 1/3] vmware_vmss: get proper ITDR

2020-10-28 Thread d.hatay...@fujitsu.com
> diff --git a/vmware_vmss.c b/vmware_vmss.c > index b168f29..8aa0de0 100644 > --- a/vmware_vmss.c > +++ b/vmware_vmss.c > @@ -881,6 +881,27 @@ vmware_vmss_get_cr3_idtr(ulong *cr3, ulong *idtr) > *cr3 = vmss.regs64[0]->cr[3]; > *idtr = vmss.regs64[0]->idtr; > > + /* > +

Re: [Crash-utility] Update gdb to 10.1

2020-10-28 Thread Bhupesh Sharma
Hi Alexey, On Wed, Oct 28, 2020 at 11:31 AM Alexey Makhalov wrote: > > Hi all, > > I’m thinking to update gdb to recent version. > Are there any concerns? > What should I know? Any dependencies which force us to stick to 7.6? > > The features I’m aiming are: > 1) `offset` support in add-symbol-fi