VirtualBox

7 年 前 建立

7 年 前 結束

#17678 closed defect (fixed)

Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed in 5.2.12

回報者: Jim Avera 負責人:
元件: guest additions 版本: VirtualBox 5.2.8
關鍵字: 副本:
Guest type: Linux Host type: Linux

描述

Host: Ubuntu 18.04 (64-bit) Guest: Fedora 28 beta

Installing GA fails with compilation errors like the one below. I will attach /var/log/vboxadd-setup.log

/tmp/vbox.0/vbox_ttm.c:495:8: error: too many arguments to function ‘ttm_bo_validate’

ret = ttm_bo_validate(&bo->bo, &bo->placement, false, false);

In file included from /tmp/vbox.0/vbox_drv.h:65,

from /tmp/vbox.0/vbox_ttm.c:31:

./include/drm/ttm/ttm_bo_api.h:338:5: note: declared here

int ttm_bo_validate(struct ttm_buffer_object *bo,

cc1: some warnings being treated as errors

STEPS TO REPRODUCE:

  1. (On HOST. I used Ubuntu but probably the host does not matter)

wget https://download.fedoraproject.org/pub/fedora/linux/releases/test/28_Beta/Workstation/x86_64/iso/Fedora-Workstation-Live-x86_64-28_Beta-1.3.iso

  1. Create new Virtualbox VM. I used 40G dynaimcally-allocated vdi, 4GB ram, 6 CPUs, enabled PAE/NX. Attach the iso image to the virtual DVD drive
  1. Start the VM. Install fedora taking all default. Shut down the guest.
  2. Remove the .iso from the virtual DVD drive
  3. Boot the guest
  4. Open terminal (Activities in upper left->grid of dots->"Terminal") sudo dnf install dkms gcc kernel-devel kernel-headers Reboot the guest
  5. Devices->Insert Guest Additions agree to install

RESULTS: Insmod fails (because module compilation did not succeed). Look at the end of /var/log/vboxadd-setup.log

Using Virtualbox version 5.2.8_Ubuntu r120774

附加檔案 (1)

vboxadd-setup.log (269.3 KB ) - 7 年 前, 由 Jim Avera 新增
/var/log/vboxadd-setup.log

下載所有附檔: .zip

更動歷史 (6)

7 年 前Jim Avera 編輯

附檔: 新增 vboxadd-setup.log

/var/log/vboxadd-setup.log

comment:1 7 年 前Michael Thayer 編輯

The current Guest Additions test build[1] should build on Fedora 28 Beta. A question from my side: Fedora 28 Beta comes with Guest Additions installed and maintained by Fedora, and I would expect our Additions installer to warn you about that. Did you see a warning, and if so, did you uninstall the Fedora Additions before installing ours?

[1] wiki:Testbuilds

comment:2 7 年 前Michael Thayer 編輯

摘要: Guest Additions won't build in Fedora 28 (Kernel 4.16.1)Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed after (not in) 5.2.10

comment:3 7 年 前Andre Robatino 編輯

I had a Fedora 28 Workstation VM with virtualbox-guest-additions installed for several months and never saw a warning when installing the Oracle guest additions. (At the time I wasn't even aware that Fedora HAD its own version of the guest additions.)

comment:4 7 年 前Socratis 編輯

In my Fedora 28 installation, there was a clear warning about installing the VirtualBox GAs over the existing F28 GAs. Not the F28 beta, but the release version.

comment:5 7 年 前Michael Thayer 編輯

摘要: Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed after (not in) 5.2.10Guest Additions won't build in Fedora 28 (Kernel 4.16.1) -> fixed in 5.2.12
狀態: newclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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