microsoft / lis-test

Contains test infrastructure for testing Linux virtual machines on Windows Azure and Hyper-V.
32 stars 72 forks source link

kdump_nfs: check modules for kdump.img before execute kdump #1138

Closed HuijingHei closed 5 years ago

HuijingHei commented 5 years ago

Add hyperv_fb module because of bug https://bugzilla.redhat.com/show_bug.cgi?id=1603017

chvalean commented 5 years ago

Hi @HuijingHei . I'm curious in which distros/kernels is the initramfs-uname -rkdump.img used.

HuijingHei commented 5 years ago

Hi @HuijingHei . I'm curious in which distros/kernels is the initramfs-uname -rkdump.img used.

Hi Chris, thanks for you review.

If my understanding is wrong, you can correct me, thanks!

My understanding is you want to ask which initramfs-uname -rkdump.img includes hyperv_fb and other modules? Actually the modules whether included in kdump.img depends on kexec-tools-2.0.15-20.el7.x86_64.

The latest rhel7.6/kernel-3.10.0-957.el7 with kexec-tools-2.0.15-20.el7 includes the hyperv_fb and other hyperv related modules, the older versions include other hyperv modules but not hyperv_fb.

If needed I will add condition for modules check for new kernel version, and skip for older version.

Best Regards Huijing Hei

HuijingHei commented 5 years ago

Close this request and open a new request https://github.com/LIS/lis-test/pull/1142