Skip to content

Commit

Permalink
fix(drm): add video drivers needed on hyper-v and similar
Browse files Browse the repository at this point in the history
Due to non-availability of Hyper-V video driver hyperv_drm in kdump
initramfs, the console seems to be in hang state with no text over it.

We should also go through the /sys/bus/vmbus/devices and include drivers
referenced there.
  • Loading branch information
lnykryn authored and johannbg committed Aug 15, 2022
1 parent bc965cd commit 85149b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules.d/50drm/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ installkernel() {
if [[ $hostonly ]]; then
local i modlink modname

for i in /sys/bus/{pci/devices,platform/devices,virtio/devices,soc/devices/soc?}/*/modalias; do
for i in /sys/bus/{pci/devices,platform/devices,virtio/devices,soc/devices/soc?,vmbus/devices}/*/modalias; do
[[ -e $i ]] || continue
[[ -n $(< "$i") ]] || continue
# shellcheck disable=SC2046
Expand Down

0 comments on commit 85149b8

Please sign in to comment.