Skip to content

DLPX-94068 With EFI boot, CONFIG_DRM is needed for proper VM console output on ESX #344

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

tonynguien
Copy link

@tonynguien tonynguien commented Apr 9, 2025

Problem

With EFI boot, removing CONFIG_DRM would take away the necessary framebuffer related modules that are needed for proper console output on ESX.

Solution

Eliminating CONFIG_DRM from our `resources/delphix_kernel_annotations` restores the necessary modules and ESX VM console output.

Testing Done

** BIOS

delphix@localhost:~$ systemctl status | head -n5
● localhost.localdomain
    State: running
    Units: 399 loaded (incl. loaded aliases)
     Jobs: 0 queued
   Failed: 0 units
delphix@localhost:~$

delphix@localhost:~$ sudo head -n5 /var/log/kern.log
2025-04-29T19:13:38.228396+00:00 localhost kernel: Linux version 6.8.0-58-dx2025042816-617709f35-generic (root@ip-10-110-236-38) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #58.60 SMP PREEMPT_DYNAMIC Mon Apr 28 18:12:21 UTC 2025 (Ubuntu 6.8.0-58.60-generic 6.8.12)
2025-04-29T19:13:38.242212+00:00 localhost kernel: Command line: initrd=\initrd.img root=ZFS=rpool/ROOT/delphix.WtBX7Rv/root ro ipv6.disable=1 console=tty0 console=ttyS0,38400n8 earlyprintk=ttyS0,38400n8
2025-04-29T19:13:38.242216+00:00 localhost kernel: KERNEL supported cpus:
2025-04-29T19:13:38.242217+00:00 localhost kernel:   Intel GenuineIntel
2025-04-29T19:13:38.242217+00:00 localhost kernel:   AMD AuthenticAMD

** EFI

delphix@localhost:~$ systemctl status | head
● localhost.localdomain
    State: running
    Units: 409 loaded (incl. loaded aliases)
     Jobs: 0 queued
   Failed: 0 units
    Since: Tue 2025-04-29 19:13:24 UTC; 25min ago
  systemd: 255.4-1ubuntu8.6
   CGroup: /
           ├─init.scope
           │ └─1 /sbin/init
delphix@localhost:~$ sudo head -n5 /var/log/kern.log
2025-04-29T19:13:38.228396+00:00 localhost kernel: Linux version 6.8.0-58-dx2025042816-617709f35-generic (root@ip-10-110-236-38) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #58.60 SMP PREEMPT_DYNAMIC Mon Apr 28 18:12:21 UTC 2025 (Ubuntu 6.8.0-58.60-generic 6.8.12)
2025-04-29T19:13:38.242212+00:00 localhost kernel: Command line: initrd=\initrd.img root=ZFS=rpool/ROOT/delphix.WtBX7Rv/root ro ipv6.disable=1 console=tty0 console=ttyS0,38400n8 earlyprintk=ttyS0,38400n8
2025-04-29T19:13:38.242216+00:00 localhost kernel: KERNEL supported cpus:
2025-04-29T19:13:38.242217+00:00 localhost kernel:   Intel GenuineIntel
2025-04-29T19:13:38.242217+00:00 localhost kernel:   AMD AuthenticAMD
delphix@localhost:~$

@tonynguien tonynguien force-pushed the dlpx/pr/tonynguien/a19233c8-9609-41d9-b449-49c39e0b2a54 branch from 58f3955 to c4201db Compare April 9, 2025 14:57
@tonynguien tonynguien force-pushed the dlpx/pr/tonynguien/a19233c8-9609-41d9-b449-49c39e0b2a54 branch 3 times, most recently from da1fc1e to 7efa680 Compare April 22, 2025 17:31
@tonynguien tonynguien force-pushed the dlpx/pr/tonynguien/a19233c8-9609-41d9-b449-49c39e0b2a54 branch 2 times, most recently from 6d9370b to 425f7b8 Compare April 28, 2025 20:19
@tonynguien tonynguien changed the title Add Framebuffers support CONFIG_DRM is necessary for EFI boot Apr 28, 2025
@tonynguien tonynguien force-pushed the dlpx/pr/tonynguien/a19233c8-9609-41d9-b449-49c39e0b2a54 branch from 425f7b8 to 002f938 Compare April 29, 2025 19:21
@tonynguien tonynguien changed the title CONFIG_DRM is necessary for EFI boot DLPX-94068 With EFI boot, CONFIG_DRM is needed for proper VM console output on ESX Apr 29, 2025
@tonynguien tonynguien marked this pull request as ready for review April 29, 2025 19:42
@tonynguien
Copy link
Author

tonynguien commented Apr 29, 2025

EFI VM
EFI-drm

BIOS VM
BIOS-drm

And AWS BIOS VM
Screenshot 2025-04-29 at 13 45 37

@prakashsurya prakashsurya merged commit 71778a5 into os-upgrade Apr 29, 2025
12 checks passed
@prakashsurya prakashsurya deleted the dlpx/pr/tonynguien/a19233c8-9609-41d9-b449-49c39e0b2a54 branch April 29, 2025 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants