mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
kexec-2.0.26.patch: report to user in non-debug context that unsupported fb/drm driver is needed on OS initrd
This commit is contained in:
parent
f289b11290
commit
a324724172
@ -83,8 +83,8 @@ index 14263b0..55291d6 100644
|
|||||||
+ dbgprintf("%s: Reusing video type %d\n",
|
+ dbgprintf("%s: Reusing video type %d\n",
|
||||||
+ __func__, real_mode->orig_video_isVGA);
|
+ __func__, real_mode->orig_video_isVGA);
|
||||||
} else {
|
} else {
|
||||||
+ dbgprintf("%s: Unknown driver %s, can't provide framebuffer\n",
|
+ fprintf(stderr, "Unknown driver %s, can't provide framebuffer\n kexec'ed OS will take over console only if %s is provided\n",
|
||||||
+ __func__, fix.id);
|
+ fix.id, fix.id);
|
||||||
real_mode->orig_video_isVGA = 0;
|
real_mode->orig_video_isVGA = 0;
|
||||||
close(fd);
|
close(fd);
|
||||||
return 0;
|
return 0;
|
||||||
@ -95,7 +95,7 @@ index 14263b0..55291d6 100644
|
|||||||
+ dbgprintf("%s: Kernel did not provide framebuffer address\n",
|
+ dbgprintf("%s: Kernel did not provide framebuffer address\n",
|
||||||
+ __func__);
|
+ __func__);
|
||||||
+ dbgprintf("%s: Try enabling CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM and "
|
+ dbgprintf("%s: Try enabling CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM and "
|
||||||
+ "drm_kms_helper.drm_leak_fbdev_smem\n",
|
+ "drm_kms_helper.drm_leak_fbdev_smem in kernel command-line options\n",
|
||||||
+ __func__);
|
+ __func__);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
Loading…
Reference in New Issue
Block a user