I was able to properly dump a vmcore with the following steps:

1. kexec-tools patches with:
   - ed15ba1b9977 build_mem_phdrs(): check if p_paddr is invalid
   - 9f62cbddddfc kexec/arch/i386: Add support for KASLR memory randomization
   - dbb99d938810 kexec-tools/x86: get_kernel_vaddr_and_size off-by-one fix

2. crashkernel increased to 192M

3. linux-azure patched with:
   - da63b6b20077 x86/KASLR: Fix kexec kernel boot crash when KASLR 
randomization fails

4. Forced storvsc instead of ata_piix.

With those changes, I was able to consistently dump vmcore images
without any issues using several types of azure instances.

Besides that the utility crash also needs to be updated. Currently the
xenial version of crash is not able to parse a linux-azure vmcore but
the artful version is.

I'm running some tests with the artful crash utility and the linux-
generic kernel to check if it's viable to bring that version to xenial.

** Also affects: crash (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: kexec-tools (Ubuntu)
       Status: Confirmed => In Progress

** Changed in: kexec-tools (Ubuntu Xenial)
       Status: Confirmed => In Progress

** Changed in: kexec-tools (Ubuntu)
   Importance: Undecided => High

** Changed in: kexec-tools (Ubuntu Xenial)
   Importance: Undecided => High

** Changed in: kexec-tools (Ubuntu)
     Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: kexec-tools (Ubuntu Xenial)
     Assignee: (unassigned) => Marcelo Cerri (mhcerri)

** Changed in: crash (Ubuntu)
       Status: New => Confirmed

** Changed in: crash (Ubuntu)
   Importance: Undecided => High

** Changed in: crash (Ubuntu)
     Assignee: (unassigned) => Marcelo Cerri (mhcerri)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1712867

Title:
  [Hyper-V] 16.04 kexec-tools doesn't match linux-azure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/crash/+bug/1712867/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to