Skip to contentSkip to conversation

Save coredump log when xen/dom0 crash on ARM64?

Xen ARM64 Julien Grall 1 participant 1 message Jul 4, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 5 lines · jinchen

Thank you for your reply!

Quoted 2 lines · jinchen
Quoted 2 lines

Hello xen experts:

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

Is there any way to save xen and dom0 core dump log when xen or dom0 crash on ARM64 platform?

Usually all the crash stack trace (Xen and Dom0) should be output on the Xen Console.

But if I don't connect a debug serial and want to check the dump error after reboot?

If you don't have debug serial always connected, then it will not get the logs.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

      I find that the kdump seems can't run on ARM64 platform?

We don't have support for kdump/kexec on Arm in Xen yet.

I find the kdump seems the appropriate way to do this, but it doesn't support xen arm64.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

      Are there any patches or other way to achive this goal?

I am not aware of any patches, but they would be welcomed.

For other way, it depends what exactly you expect. Do you need more than the stack trace?

The stack trace will be ok, if other infomantion can be save will be better (like memory/vcpu/domain, etc.)

Kexec is probably the way to go. I would be happy to review the patches for Xen upstream if you are up to provide an implementation.

Cheers,

Signature · 1 line
Julien Grall