VirtualBox

5 月 前 建立

4 月 前 結束

4 月 前 更新

#22099 closed defect (fixed)

Guest Additions not working on Centos 9 Stream since RHEL 9.4 release

回報者: chris-llu 負責人:
元件: guest additions 版本: VirtualBox-7.0.18
關鍵字: 副本:
Guest type: Linux Host type: all

描述

The install of Guest Additions started to fail on Centos 9 Stream starting with the kernel released with RHEL 9.4 (5.14.0-427). Centos 9, which I use as a guest on my Windows host has the same kernel version as RHEL 9.

I tested this version an later versions of the kernel and the install does not work. There is a compilation error in the log file. Please see attached. It looks like when make is pointed at the /lib/modules/5.14.0-460.el9.x86_64/build directory, it cannot find either include/generated/autoconf.h or include/config/auto.conf. But it is there in /usr/src/kernels/5.14.0-460.el9.x86_64/include/config/auto.conf. Please remember that /lib/modules/5.14.0-460.el9.x86_64/build is sys linked to /usr/src/kernels/5.14.0-460.el9.x86_64.

There are a few people in the forums that have reported this issue. It is host-agnostic and is probably just an issue with the Guest Additions install script.

附加檔案 (1)

vboxadd-setup.log (26.3 KB ) - 5 月 前, 由 chris-llu 新增

下載所有附檔: .zip

更動歷史 (15)

5 月 前chris-llu 編輯

附檔: 新增 vboxadd-setup.log

comment:1 5 月 前38leinad 編輯

+1 I am impacted by this and cannot install the Guest Additions. Same configuration. Windows host. Centos 9 Stream linux vm.

$ uname -r 5.14.0-452.el9.x86_64

VirtualBox Version: Version 7.0.18 r162988 (Qt5.15.2)

comment:3 5 月 前pfviv 編輯

Same problem uname -r 5.14.0-467.el9.x86_64 Have tried testbuild 7.0.x revision 163608 with the tree latest kernels

Please advice Ivan Vågenes

comment:4 5 月 前larlau 編輯

Observing same problem with guest-addition on Centos 9 builds after 5.14.0-427.el9.x86_64

Could you please look into it?

comment:6 5 月 前doppler 編輯

Thanks @sergiomb, that worked for me :)

comment:8 4 月 前jag-yw 編輯

The solution from @sergiomb works for some things like mouse and keyboard integration, but I am still not able to use shared folders as I previously could.

Is anyone else still having an issue with shared folders after following the solution from @sergiomb?

comment:9 4 月 前sergiomb 編輯

@jag-yw we need more information , with Centos-stream 9 as guest I have shared folder working

回覆:  8 comment:10 4 月 前38leinad 編輯

Replying to jag-yw:

The solution from @sergiomb works for some things like mouse and keyboard integration, but I am still not able to use shared folders as I previously could.

Is anyone else still having an issue with shared folders after following the solution from @sergiomb?

For me also this does not really work. I mean, it installs but i get all kind of graphics glitches and e.g. copy and paste/clipboard between guest and host does not work.

I am also maybe not a pro user. Can someone share some details on the suggest fix using the guest additions installed via the package manager? Is this the intended approach or still experimental. At least on the link it says "keep in mind this still in a very early stage". Is there any way to get the guest additions installed via the "old" approach. I.e. mounting guest additions from drive adn running VBoxLinuxAdditions.run?

comment:11 4 月 前sergiomb 編輯

Can you check this https://pointieststick.com/2024/03/08/psa-enable-3d-acceleration-in-your-virtualbox-vms/ ?

Seems that "For KDE Plasma, you need to enable 3D acceleration (which is not on by default)."

you can't install both guest additions, to install Centos Stream 9 guest additions you should remove Oracle guest additions first, navigate to /run/media/<my user name>/VBoxGAs_x.x.x issue command './VBoxLinuxAdditions.run uninstall'

Other thing is when you want run VirtualBox on Centos Stream 9 as server, that is for what patch propose for, because guest drives are all available in official kernel (kernel.org)

comment:12 4 月 前Klaus Espenlaub 編輯

Fixed with VirtualBox 7.0.20.

comment:13 4 月 前Klaus Espenlaub 編輯

狀態: newclosed
處理結果: fixed

comment:14 4 月 前guillaume75 編輯

Hello, I can confirm that VirtualBox 7.0.18 was not working on CentOS host with kernel later than 5.14.0-446.el9.x86_64. It's now working perfectly with Virtualbox 7.0.20 on CentOS host with kernel 5.14.0-479.el9.x86_64. Thank you for this patch.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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