Skip to content

[Bug]: virtualbox does not build with kernel 7.0-rc* #582

@jirislaby

Description

@jirislaby

Version

trunk/main

Host OS Type

Linux

Host OS name + version

openSUSE Tumbleweed

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version

n/a

Component

VMM

What happened?

The build results in:

vbox_fb.c:214:10: error: ‘struct fb_ops’ has no member named ‘fb_debug_enter’
  214 |         .fb_debug_enter = drm_fb_helper_debug_enter,
      |          ^~~~~~~~~~~~~~
vbox_fb.c:214:27: error: ‘drm_fb_helper_debug_enter’ undeclared here (not in a function); did you mean ‘drm_fb_helper_damage_area’?
  214 |         .fb_debug_enter = drm_fb_helper_debug_enter,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                           drm_fb_helper_damage_area
vbox_fb.c:215:10: error: ‘struct fb_ops’ has no member named ‘fb_debug_leave’
  215 |         .fb_debug_leave = drm_fb_helper_debug_leave,
      |          ^~~~~~~~~~~~~~
vbox_fb.c:215:27: error: ‘drm_fb_helper_debug_leave’ undeclared here (not in a function); did you mean ‘drm_fb_helper_damage_area’?
  215 |         .fb_debug_leave = drm_fb_helper_debug_leave,
      |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                           drm_fb_helper_damage_area

The code:

.fb_debug_enter = drm_fb_helper_debug_enter,
.fb_debug_leave = drm_fb_helper_debug_leave,

The hooks were removed by torvalds/linux@7068d42:

commit 7068d42048dab5eb71a0d65388f64f1e0ca5b9ee
Author: Thomas Zimmermann <[tzimmermann@suse.de](mailto:tzimmermann@suse.de)>
Date:   Tue Nov 25 13:52:17 2025 +0100

    fbcon: Remove fb_debug_enter/_leave from struct fb_ops

Vbox needs to adapt, likely remove the hooks.

How can we reproduce this?

Just build against the newest kernel.

Did you upload all of your necessary log files, screenshots, etc.?

  • Yes, I've uploaded all pertinent files to this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions