VirtualBox

Changeset 89689 in vbox


Ignore:
Timestamp:
Jun 14, 2021 6:01:38 PM (4 years ago)
Author:
vboxsync
Message:

Additions: Linux: vboxvideo: add logging explaining why module cannot be loaded if kernel has nomodeset parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r88510 r89689  
    380380#if defined(CONFIG_VGA_CONSOLE) || RTLNX_VER_MIN(4,7,0)
    381381        if (vgacon_text_force() && vbox_modeset == -1)
     382        {
     383                printk("vboxvideo: kernel is running with *nomodeset* parameter,\n");
     384                printk("vboxvideo: please consider either to remove it or load driver\n");
     385                printk("vboxvideo: with parameter modeset=1, unloading\n");
    382386                return -EINVAL;
     387        }
    383388#endif
    384389
    385390        if (vbox_modeset == 0)
     391        {
     392                printk("vboxvideo: driver loaded with modeset=0 parameter, unloading\n");
    386393                return -EINVAL;
     394        }
    387395
    388396#if RTLNX_VER_MIN(3,18,0) || RTLNX_RHEL_MAJ_PREREQ(7,3)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette