I've been testing with the 4.15 kernel and using the following wiki for 
guidance of using kdump/ssh:
https://ubuntu.com/server/docs/kernel-crash-dump
I first confirmed I could kdump to local disk. Next, I configured kdump per the 
wiki to use ssh.

However, everytime I cause a crash, the kexec kernel hangs and seems like it 
cannot reach the network to write the crash file to. Here is the error I see:
[ 387.778745] kdump-tools[735]: Starting kdump-tools:
[ 387.790249] kdump-tools[763]: Connection closed by 13.77.154.182 port 22
[ 387.794756] kdump-tools[744]: * Network not reachable; will try 15 more times

I'm not sure if this is due to a config error on my part or because of
the test kernel. Is there any information you could provide to confirm
my configration is correct? I'll attach my /etc/default/kexec file.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1883261

Title:
  [linux-azure] Two Fixes For kdump Over Network

Status in linux-azure package in Ubuntu:
  Confirmed

Bug description:
  Microsoft would like to request two kdump related fixes in all
  releases supported on Azure.  The two commits are:

  c81992e7f4aa1 ("PCI: hv: Retry PCI bus D0 entry on invalid device state")
  83cc3508ffaa6 ("PCI: hv: Fix the PCI HyperV probe failure path to release 
resource properly")

  These are in the virtual PCI driver for Hyper-V.  The customer visible
  symptom is that the network is not functional in the kdump kernel, so
  the dump file must be stored on the local disk and cannot be written
  over the network.

  The problem only occurs when Accelerated Networking is enabled.  It’s
  a relatively obscure scenario, which is why the problem has not
  surfaced before now.  But we have an important customer who wants the
  “dump-file-over-the-network” functionality to work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1883261/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to