|
|
6aac43 |
From 58a310fdbfc1a7e07703c6ab9b21c43a73330a92 Mon Sep 17 00:00:00 2001
|
|
|
6aac43 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
6aac43 |
Date: Mon, 15 Aug 2022 16:32:51 +0200
|
|
|
6aac43 |
Subject: [PATCH] fix(drm): add video drivers needed on hyper-v and similar
|
|
|
d1a34d |
|
|
|
6aac43 |
Due to non-availability of Hyper-V video driver hyperv_drm in kdump
|
|
|
6aac43 |
initramfs, the console seems to be in hang state with no text over it.
|
|
|
6aac43 |
|
|
|
6aac43 |
We should also go through the /sys/bus/vmbus/devices and include drivers
|
|
|
6aac43 |
referenced there.
|
|
|
6aac43 |
|
|
|
6aac43 |
(cherry picked from commit 85149b85961aa535a3c61d492cd3594794e5cc3f)
|
|
|
6aac43 |
|
|
|
6aac43 |
Resolves: #2099502
|
|
|
d1a34d |
---
|
|
|
6aac43 |
modules.d/50drm/module-setup.sh | 2 +-
|
|
|
6aac43 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
d1a34d |
|
|
|
6aac43 |
diff --git a/modules.d/50drm/module-setup.sh b/modules.d/50drm/module-setup.sh
|
|
|
6aac43 |
index cff0550c..1fb38677 100755
|
|
|
6aac43 |
--- a/modules.d/50drm/module-setup.sh
|
|
|
6aac43 |
+++ b/modules.d/50drm/module-setup.sh
|
|
|
6aac43 |
@@ -31,7 +31,7 @@ installkernel() {
|
|
|
6aac43 |
if [[ $hostonly ]]; then
|
|
|
6aac43 |
local i modlink modname
|
|
|
d1a34d |
|
|
|
6aac43 |
- for i in /sys/bus/{pci/devices,platform/devices,virtio/devices,soc/devices/soc?}/*/modalias; do
|
|
|
6aac43 |
+ for i in /sys/bus/{pci/devices,platform/devices,virtio/devices,soc/devices/soc?,vmbus/devices}/*/modalias; do
|
|
|
6aac43 |
[[ -e $i ]] || continue
|
|
|
6aac43 |
[[ -n $(< "$i") ]] || continue
|
|
|
6aac43 |
# shellcheck disable=SC2046
|
|
|
d1a34d |
|