[Crash-utility] "invalid structure member" on linux-4.9-rc1

2016-10-17 Thread Steve Wise
Hi, I'm trying to use the latest crash via the git repo, on the just released linux-4.9-rc1 kernel, and I'm hitting this failure when loading the vmcore. Any ideas? My crash git HEAD is: commit 64531dc850f2840cedafa143fe051d2cfeae5247 Author: Dave Anderson Date: Thu Oct 13 14:32:43 2016

Re: [Crash-utility] "invalid structure member" on linux-4.9-rc1

2016-10-17 Thread Dave Anderson
> Hi, > > I'm trying to use the latest crash via the git repo, on the just > released linux-4.9-rc1 kernel, and I'm hitting this failure when loading > the vmcore. Any ideas? Apparently the 4.9 thread_info structure no longer has a "cpu" member? Dave > My crash git HEAD is: > > commit 64531dc85

[Crash-utility] [PATCH 3/3] mips: use get_stackframe() implementation from ARM

2016-10-17 Thread Rabin Vincent
From: Rabin Vincent The mips stackframe handling has two problems: (1) It does not read the registers from the kernel's crash_notes if ELF notes are not available for some reason. This is important when debugging raw memory dumps. (2) If one of the online CPUs did not save the ELF note

[Crash-utility] [PATCH 1/3] mips: set HZ to 100

2016-10-17 Thread Rabin Vincent
From: Rabin Vincent Set a default value for machdep->hz to 100, which will be used if the in kernel config data is unavailable. --- mips.c | 5 + 1 file changed, 5 insertions(+) diff --git a/mips.c b/mips.c index a4fc8b6..7ad6f61 100644 --- a/mips.c +++ b/mips.c @@ -57,6 +57,7 @@ static str

[Crash-utility] [PATCH 2/3] mips: set section_size_bits and max_physmem_bits

2016-10-17 Thread Rabin Vincent
From: Rabin Vincent Enable SPARSEMEM support by setting this two values. It's not clear to me if they'll work on all MIPS platforms, but they do on the ones I have access to and should provide reasonable defaults. --- defs.h | 3 +++ mips.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a

Re: [Crash-utility] crash doesn't decode regs with 7.1.5

2016-10-17 Thread Rabin Vincent
On Thu, Oct 13, 2016 at 01:46:43PM -0700, Sagar Borikar wrote: > I am facing issues with crash 7.1.5 for little endian mips CPU. Crash > is not able to decode the registers. But except registers all other > information is good. I tried to look at the notes section in the core > but doesn't seem any