[Crash-utility] arm64: doesn't work for kernel v5.4?

Dave Anderson anderson at redhat.com
Thu Oct 3 13:20:05 UTC 2019



----- Original Message -----
> Hi Dave,
> 
> I tried to use crash v7.2.7 with kernel v5.4-rc1 on arm64.
> 
> 1. VA_BITS_ACTUAL is missing in vmcoreinfo.
>    Does anyone work on fixing it on kernel side?
>    (just adding one or two lines though)
> 
> 2. With a tweak above, I still fail to run crash with vmcore
>    seeing the following errors;
>    (I didn't dig into details)
> 
>    crash-arm64: invalid kernel virtual address: ffff800010c689a8  type: "kernel_config_data"
>    WARNING: cannot read kernel_config_data
>    crash-arm64: invalid kernel virtual address: ffff80001177a160  type: "possible"
>    WARNING: cannot read cpu_possible_map
>    crash-arm64: invalid kernel virtual address: ffff80001177a140  type: "present"
>    WARNING: cannot read cpu_present_map
>    crash-arm64: invalid kernel virtual address: ffff80001177a120  type: "online"
>    WARNING: cannot read cpu_online_map 
>    crash-arm64: invalid kernel virtual address: ffff80001177a188  type: "active" 
>    WARNING: cannot read cpu_active_map
>    crash-arm64: invalid kernel virtual address: ffff80001196afe0  type: "shadow_timekeeper xtime_sec"
>    crash-arm64: invalid kernel virtual address: ffff800011782b3c  type: "init_uts_ns"
>    WARNING: invalid linux_banner pointer: ffff800010c500e8
>    crash: vmlinux.1003 and vmcore.1003 do not match!
> 
> Have you noticed this issue?

I have been waiting for our internal 5.4-rc1 based ARK kernel to be built,
and it looks like it should be available soon.  But I did not expect crash
to work on arm64 in 5.4.    

I put in a bunch of 52-bit support into the crash utility last spring, but 
it was based upon an early proposed patch-set from Steve Capper that Chris
von Recklinghausen backported to our 4.18.0-80.el8 kernel at the time.
I believe Chris may have added the VA_BITS_ACTUAL vmcoreinfo entry (?),
and I'm presuming there will be other VM-related things that are 
different from that original kernel patch.

Thanks,
  Dave
   


> 
> Thanks,
> -Takahiro Akashi
> 
> --
> Crash-utility mailing list
> Crash-utility at redhat.com
> https://www.redhat.com/mailman/listinfo/crash-utility
> 




More information about the Crash-utility mailing list