Opened 2 years ago
Closed 2 years ago
#21258 closed defect (fixed)
Cannot install Guest additions 7.0 on Centos9 Stream kernel 5.14.0
Reported by: | andy_pagin | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox-7.0.2 |
Keywords: | vboxsf set_page_dirty | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
vboxadd-setup.log reports:
/tmp/vbox.0/regops.c:3866:6: error: ‘struct address_space_operations’ has no member named ‘set_page_dirty’
3866 | .set_page_dirty = set_page_dirty_buffers,
|
~
/tmp/vbox.0/regops.c:3866:23: error: ‘set_page_dirty_buffers’ undeclared here (not in a function); did you mean ‘set_page_dirty_nobuffers’?
3866 | .set_page_dirty = set_page_dirty_buffers,
|
~ | set_page_dirty_nobuffers
The preprocessor in regops.c tests for kernel version 5.18.0 or later, near line 3866:
#if RTLNX_VER_MIN(5,18,0)
For the Centos9 kernel I am using, 5.14.0, this needs to be changed to:
#if RTLNX_VER_MIN(5,14,0)
VirtualBox 7.0.4 was just released and available for download at https://www.virtualbox.org/wiki/Downloads. This issue should be fixed in this version.