VirtualBox

Opened 11 months ago

Closed 9 months ago

#21690 closed defect (fixed)

Unable to install Guest Additions on AlmaLinux OS 8.8 => fixed in svn

Reported by: almalinux_cloud_sig Owned by:
Component: guest additions Version: VirtualBox-7.0.8
Keywords: almalinux, rhel, 8.8, almalinux8, rhel8, el, el8 Cc:
Guest type: Linux Host type: Linux

Description

AlmaLinux OS is 1:1 binary compatible with RHEL.

Tested these Guest Additions ISOs:

Steps to reproduce:

# Get AlmaLinux OS 8.7 Vagrant Box with Guest Additions version 6.1.40
vagrant init almalinux/8

# Create the VM
vagrant up

# Connect the VM
vagrant ssh

# Upgrade the AlmaLinux OS version from 8.7 to 8.8
sudo dnf clean all && sudo dnf -y upgrade

exit

# Reboot system to AlmaLinux OS 8.8 kernel (4.18.0-477.10.1.el8_8)
vagrant reload

# Connect the VM again
vagrant ssh

# Remove AlmaLinux OS 8.7 kernel
sudo dnf -y remove --oldinstallonly

# For 7.0.8 Stable
curl -LO https://download.virtualbox.org/virtualbox/7.0.8/VBoxGuestAdditions_7.0.8.iso

# For Test Build
curl LO https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_7.0.97-157540.iso

# Mount the Guest Additions ISO
sudo mount -o loop VBoxGuestAdditions_7.0.8.iso /mnt

# Install the dependencies for Guest Additions

sudo dnf -y install elfutils-libelf-devel \
    gcc \
    kernel-devel \
    kernel-headers \
    make \
    perl \
    binutils \
    bzip2


Install the Guest Additions without GUI
sudo /mnt/VBoxLinuxAdditions.run --nox11

Attached the log files.

Thanks!

--

Cloud and Virtualization Special Interest Group at AlmaLinux OS Foundation

Attachments (34)

vboxadd-setup.log (3.4 KB ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log.1 (3.4 KB ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-install.log (926 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-uninstall.log (841 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-install_7.0.9-157689.log (616 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup_7.0.9-157689.log (3.4 KB ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157689.1 (3.4 KB ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157689.2 (87 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157689.3 (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-uninstall_7.0.9-157689.log (841 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-uninstall_6.1.45-157701.log (841 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup_6.1.45-157701.log (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_6.1.45-157701.4 (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_6.1.45-157701.3 (87 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_6.1.45-157701.2 (230 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_6.1.45-157701.1 (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-install_6.1.45-157701.log (523 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-uninstall_7.0.9-157702.log (841 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup_7.0.9-157702.log (229 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157702.3 (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157702.2 (87 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.9-157702.1 (168 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-install_7.0.9-157702.log (523 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-uninstall_7.0.97-157700.log (841 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup_7.0.97-157700.log (169 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.97-157700.3 (61 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.97-157700.2 (87 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-setup.log_7.0.97-157700.1 (169 bytes ) - added by almalinux_cloud_sig 11 months ago.
vboxadd-install_7.0.97-157700.log (523 bytes ) - added by almalinux_cloud_sig 11 months ago.
lsmod.txt (1.1 KB ) - added by almalinux_cloud_sig 11 months ago.
dmesg.txt (30.8 KB ) - added by almalinux_cloud_sig 11 months ago.
dmesg_2.txt (35.3 KB ) - added by almalinux_cloud_sig 11 months ago.
lsmod_2.txt (1.3 KB ) - added by almalinux_cloud_sig 11 months ago.
systemd_journal_2.txt (83.4 KB ) - added by almalinux_cloud_sig 11 months ago.

Download all attachments as: .zip

Change History (50)

by almalinux_cloud_sig, 11 months ago

Attachment: vboxadd-setup.log added

by almalinux_cloud_sig, 11 months ago

Attachment: vboxadd-setup.log.1 added

by almalinux_cloud_sig, 11 months ago

Attachment: vboxadd-install.log added

by almalinux_cloud_sig, 11 months ago

Attachment: vboxadd-uninstall.log added

comment:1 by galitsyn, 11 months ago

Summary: Unable to install Guest Additions on AlmaLinux OS 8.8Unable to install Guest Additions on AlmaLinux OS 8.8 => fixed in svn

Hi almalinux_cloud_sig,

This issue should be fixed on development branch. Could you please give it a try to one of the "Latest 7.0.x test builds" (r157689+) on Test Builds page?

"Latest 6.1.x test builds" should also have the fix (r157688+).

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

comment:2 by almalinux_cloud_sig, 11 months ago

Hi galitsyn,

Thanks a lot!

Looks like, the issue still exist on the latest test build.

The only difference that we got an update for kernel; 4.18.0-477.10.1.el8_8 -> 4.18.0-477.13.1.el8_8:

[vagrant@localhost ~]$ sudo dnf list --installed | grep -Ei 'kernel'
kernel.x86_64                       4.18.0-477.13.1.el8_8                   @baseos   
kernel-core.x86_64                  4.18.0-477.13.1.el8_8                   @baseos   
kernel-devel.x86_64                 4.18.0-477.13.1.el8_8                   @baseos   
kernel-headers.x86_64               4.18.0-477.13.1.el8_8                   @baseos   
kernel-modules.x86_64               4.18.0-477.13.1.el8_8                   @baseos   
kernel-tools.x86_64                 4.18.0-477.13.1.el8_8                   @baseos   
kernel-tools-libs.x86_64            4.18.0-477.13.1.el8_8                   @baseos   

You can check the changes on the new version here - https://git.almalinux.org/rpms/kernel/commit/775fe6924aa2366d41ee5a855b2d4d8f3f360da6

Attached the new log files with _7.0.9-157689 suffix.

I will test the 6.1.x version too and let you know.

comment:3 by galitsyn, 11 months ago

Hi almalinux_cloud_sig,

Did you install VBox host package 7.0.9 r157689 or Additions ISO r157689? You need to pick up latest ISO from the "Latest 7.0.x test builds". Installer package does not have it included in this build. Same for 6.1 builds.

Last edited 11 months ago by galitsyn (previous) (diff)

comment:4 by almalinux_cloud_sig, 11 months ago

comment:5 by galitsyn, 11 months ago

Hi almalinux_cloud_sig,

Thank you for the confirmation. I see that mentioned fixes only cover EL 8.9 kernel, not EL 8.8 as in your case. I will update test builds later today and leave a comment here.

comment:6 by almalinux_cloud_sig, 11 months ago

Hi galitsyn,

Thanks a lot for fast replies!

Sounds great!

Last edited 11 months ago by almalinux_cloud_sig (previous) (diff)

comment:7 by galitsyn, 11 months ago

Hi almalinux_cloud_sig,

Additions test builds should now be in place. Please use:

  • r157700+ for Development snapshots,
  • r157701+ for Latest 6.1.x test builds, and
  • r157702+ for Latest 7.0.x test builds.

comment:8 by almalinux_cloud_sig, 11 months ago

Hi galitsyn,

Thanks for the test results. I uploaded the logs with these suffixes:

  • _7.0.97-157700 (Development snapshots)
  • _7.0.9-157702 (Latest 7.0.x test builds)
  • _6.1.45-157701 (Latest 6.1.x test builds)

As far as I observed, All of the installations went fine.

One nuance is the installation of _7.0.97-157700 (Development snapshots) and _7.0.9-157702 (Latest 7.0.x test builds) builds freezes. I need to reboot the machine.

Here some outputs about the current status of the Guest Additions: Please, let me know if you want additional outputs.


6.1.45-157701 (Latest 6.1.x test builds)

# modinfo vboxguest
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxguest.ko
version:        6.1.45 r157701
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle Corporation
rhelversion:    8.8
srcversion:     074CC701463BB72C5E6D6BE
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:
name:           vboxguest
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions


# lsmod | grep -Ei 'vb.*'
vboxsf                 90112  0
vboxguest             389120  2 vboxsf
vboxvideo              32768  0
drm_vram_helper        20480  1 vboxvideo
drm_kms_helper        167936  4 drm_vram_helper,vboxvideo
drm_ttm_helper         16384  2 drm_vram_helper,vboxvideo
drm                   577536  6 drm_kms_helper,drm_vram_helper,vboxvideo,drm_ttm_helper,ttm


# dmesg | grep -Ei '(v|virtual)b'
[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[    0.000000] ACPI: XSDT 0x000000003FFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.000000] ACPI: FACP 0x000000003FFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.000000] ACPI: DSDT 0x000000003FFF0470 002325 (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
[    0.000000] ACPI: APIC 0x000000003FFF0240 000054 (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.000000] ACPI: SSDT 0x000000003FFF02A0 0001CC (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
[    1.693578] vboxvideo 0000:00:02.0: vgaarb: deactivate vga console
[    1.917692] ata3.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    1.918650] scsi 1:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    2.010413] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
[    2.011611] fbcon: vboxvideodrmfb (fb0) is primary device
[    2.105268] vboxvideo 0000:00:02.0: [drm] drm_plane_enable_fb_damage_clips() not called
[    2.112640] vboxvideo 0000:00:02.0: [drm] fb0: vboxvideodrmfb frame buffer device
[  380.975480] vboxguest: loading out-of-tree module taints kernel.
[  380.975916] vboxguest: module verification failed: signature and/or required key missing - tainting kernel
[  380.987445] input: VirtualBox mouse integration as /devices/pci0000:00/0000:00:04.0/input/input7
[  380.995777] vboxguest: Successfully loaded version 6.1.45 r157701
[  380.995800] vboxguest: misc device minor 61, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[  380.995820] vboxguest: Successfully loaded version 6.1.45 r157701 (interface 0x00010004)
[  381.022245] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29
[  381.022501] vboxsf: Successfully loaded version 6.1.45 r157701
[  381.022528] vboxsf: Successfully loaded version 6.1.45 r157701 on 4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions  (LINUX_VERSION_CODE=0x41200)
[  382.037771] 13:49:51.830369 main     VBoxService 6.1.45 r157701 (verbosity: 0) linux.amd64 (May 31 2023 17:17:30) release log
[  382.037951] 13:49:51.830594 main     Executable: /opt/VBoxGuestAdditions-6.1.45/sbin/VBoxService
[  382.052695] 13:49:51.845324 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)

7.0.9-157702 (Latest 7.0.x test builds)

# modinfo vboxguest
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxguest.ko
version:        7.0.9 r157702
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle and/or its affiliates
rhelversion:    8.8
srcversion:     04ED01A16FD8BFDA79AD5D3
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:
name:           vboxguest
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions


# lsmod | grep -Ei 'vb.*'
vboxsf                 90112  1
vboxvideo              49152  1
drm_ttm_helper         16384  1 vboxvideo
ttm                    81920  2 vboxvideo,drm_ttm_helper
drm_kms_helper        167936  1 vboxvideo
drm                   577536  5 drm_kms_helper,vboxvideo,drm_ttm_helper,ttm
vboxguest             413696  2 vboxsf


# dmesg | grep -Ei '(v|virtual)b'
[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[    0.000000] ACPI: XSDT 0x000000003FFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.000000] ACPI: FACP 0x000000003FFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.000000] ACPI: DSDT 0x000000003FFF0610 002353 (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
[    0.000000] ACPI: APIC 0x000000003FFF0240 000054 (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.000000] ACPI: SSDT 0x000000003FFF02A0 00036C (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
[    1.931237] vboxguest: loading out-of-tree module taints kernel.
[    1.931640] vboxguest: module verification failed: signature and/or required key missing - tainting kernel
[    1.945639] input: VirtualBox mouse integration as /devices/pci0000:00/0000:00:04.0/input/input5
[    1.956457] vboxguest: Successfully loaded version 7.0.9 r157702
[    1.956492] vboxguest: misc device minor 61, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[    1.956498] vboxguest: Successfully loaded version 7.0.9 r157702 (interface 0x00010004)
[    2.144299] vboxvideo: loading version 7.0.9 r157702
[    2.144344] vboxvideo 0000:00:02.0: vgaarb: deactivate vga console
[    2.371113] ata3.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    2.372297] scsi 1:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    2.400349] Modules linked in: t10_pi sg ata_generic vboxvideo(OE+) drm_ttm_helper ttm drm_kms_helper drm ata_piix ahci libahci libata crc32c_intel e1000(+) serio_raw vboxguest(OE) syscopyarea sysfillrect sysimgblt fb_sys_fops
[    2.400507] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    2.400699]  vboxfb_create+0x26c/0x350 [vboxvideo]
[    2.400794]  vbox_fbdev_init+0x81/0xa0 [vboxvideo]
[    2.400802]  vbox_driver_load+0x3da/0x450 [vboxvideo]
[    2.400810]  vbox_pci_probe+0x5c/0x90 [vboxvideo]
[    2.415783] fbcon: vboxvideodrmfb (fb0) is primary device
[    2.502963] vboxvideo 0000:00:02.0: [drm] fb0: vboxvideodrmfb frame buffer device
[    2.690495] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
[    9.551546] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29
[    9.552463] vboxsf: Successfully loaded version 7.0.9 r157702
[    9.552505] vboxsf: Successfully loaded version 7.0.9 r157702 on 4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions  (LINUX_VERSION_CODE=0x41200)
[    9.552878] vboxsf: SHFL_FN_MAP_FOLDER failed for '/vagrant': share not found
[    9.552885] vbsf_read_super_aux err=-6
[   10.140461] 11:28:28.941682 main     VBoxService 7.0.9 r157702 (verbosity: 0) linux.amd64 (May 31 2023 18:22:36) release log
[   10.140627] 11:28:28.941870 main     Executable: /opt/VBoxGuestAdditions-7.0.9/sbin/VBoxService
[   10.161297] 11:28:28.962499 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)

7.0.97-157700 (Development snapshots)

# modinfo vboxguest
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxguest.ko
version:        7.0.97 r157700
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle and/or its affiliates
rhelversion:    8.8
srcversion:     62587AE79D27F78B38716B0
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:
name:           vboxguest
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions


# lsmod | grep -Ei 'vb.*'
vboxsf                 90112  1
vboxguest             413696  2 vboxsf
vboxvideo              32768  0
drm_vram_helper        20480  1 vboxvideo
drm_kms_helper        167936  4 drm_vram_helper,vboxvideo
drm_ttm_helper         16384  2 drm_vram_helper,vboxvideo
drm                   577536  6 drm_kms_helper,drm_vram_helper,vboxvideo,drm_ttm_helper,ttm


# dmesg | grep -Ei '(v|virtual)b'
[    0.000000] DMI: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[    0.000000] ACPI: RSDP 0x00000000000E0000 000024 (v02 VBOX  )
[    0.000000] ACPI: XSDT 0x000000003FFF0030 00003C (v01 VBOX   VBOXXSDT 00000001 ASL  00000061)
[    0.000000] ACPI: FACP 0x000000003FFF00F0 0000F4 (v04 VBOX   VBOXFACP 00000001 ASL  00000061)
[    0.000000] ACPI: DSDT 0x000000003FFF0610 002353 (v02 VBOX   VBOXBIOS 00000002 INTL 20100528)
[    0.000000] ACPI: APIC 0x000000003FFF0240 000054 (v02 VBOX   VBOXAPIC 00000001 ASL  00000061)
[    0.000000] ACPI: SSDT 0x000000003FFF02A0 00036C (v01 VBOX   VBOXCPUT 00000002 INTL 20100528)
[    1.785361] vboxvideo 0000:00:02.0: vgaarb: deactivate vga console
[    1.991470] ata3.00: ATA-6: VBOX HARDDISK, 1.0, max UDMA/133
[    1.997796] scsi 1:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    2.121838] [drm] Initialized vboxvideo 1.0.0 20130823 for 0000:00:02.0 on minor 0
[    2.123568] fbcon: vboxvideodrmfb (fb0) is primary device
[    2.209873] vboxvideo 0000:00:02.0: [drm] drm_plane_enable_fb_damage_clips() not called
[    2.211774] vboxvideo 0000:00:02.0: [drm] fb0: vboxvideodrmfb frame buffer device
[   27.754629] vboxguest: loading out-of-tree module taints kernel.
[   27.755169] vboxguest: module verification failed: signature and/or required key missing - tainting kernel
[   27.770649] input: VirtualBox mouse integration as /devices/pci0000:00/0000:00:04.0/input/input5
[   27.780581] vboxguest: Successfully loaded version 7.0.97 r157700
[   27.780604] vboxguest: misc device minor 61, IRQ 20, I/O port d020, MMIO at 00000000f0400000 (size 0x400000)
[   27.780610] vboxguest: Successfully loaded version 7.0.97 r157700 (interface 0x00010004)
[   27.785261] vboxsf: g_fHostFeatures=0x8000000f g_fSfFeatures=0x1 g_uSfLastFunction=29
[   27.786344] vboxsf: Successfully loaded version 7.0.97 r157700
[   27.786388] vboxsf: Successfully loaded version 7.0.97 r157700 on 4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions  (LINUX_VERSION_CODE=0x41200)
[   83.045944] 15:44:07.598653 main     VBoxService 7.0.97 r157700 (verbosity: 0) linux.amd64 (May 31 2023 16:26:17) release log
[   83.046245] 15:44:07.599131 main     Executable: /opt/VBoxGuestAdditions-7.0.97/sbin/VBoxService
[   83.068768] 15:44:07.621654 main     vbglR3GuestCtrlDetectPeekGetCancelSupport: Supported (#1)

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

by almalinux_cloud_sig, 11 months ago

comment:9 by galitsyn, 11 months ago

Hi almalinux_cloud_sig,

Thank you for the logs. A few questions though.

  1. Installation or uninstalation should not freeze. If you face it again, could you please take a look on "ps -AF" and check what processes (related to the installation process/script) are running. It might be that building modules takes significant time, especially if system has number of kernels installed.
  1. In "7.0.9-157702 (Latest 7.0.x test builds)" dmesg snippet I see a backtrace from vboxvideo:
    [    2.400699]  vboxfb_create+0x26c/0x350 [vboxvideo]
    [    2.400794]  vbox_fbdev_init+0x81/0xa0 [vboxvideo]
    [    2.400802]  vbox_driver_load+0x3da/0x450 [vboxvideo]
    [    2.400810]  vbox_pci_probe+0x5c/0x90 [vboxvideo]
    

Could you please post complete backtrace/oops output?

  1. In vboxadd-setup.log_6.1.45-157701.3, vboxadd-setup.log_7.0.9-157702.2 and vboxadd-setup.log_7.0.97-157700.2 I see that modprobe of vboxguest was failed. Do you have more details from dmesg? Does the guest run with secure boot enabled?

comment:10 by almalinux_cloud_sig, 11 months ago

Hi galitsyn,

Thanks for tracking down the problem.

  1. Actually, the machine freezes on the reloading of kernel modules rather than the building of them. When it happens, it is impossible to connect to this machine and do "ps -AF".

All the process done on the single and latest kernel of 8.8:

# dnf list --installed | grep -Ei 'kernel'
kernel.x86_64                       4.18.0-477.13.1.el8_8                   @baseos
kernel-core.x86_64                  4.18.0-477.13.1.el8_8                   @baseos
kernel-devel.x86_64                 4.18.0-477.13.1.el8_8                   @baseos
kernel-headers.x86_64               4.18.0-477.13.1.el8_8                   @baseos
kernel-modules.x86_64               4.18.0-477.13.1.el8_8                   @baseos
kernel-tools.x86_64                 4.18.0-477.13.1.el8_8                   @baseos
kernel-tools-libs.x86_64            4.18.0-477.13.1.el8_8                   @baseos

I upgraded the VM from 1vCPU,1GB RAM(Vagrant's default) to 2vCPU,2GB RAM but didn't make any difference.

$ sudo /mnt/VBoxLinuxAdditions.run --nox11
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing VirtualBox 7.0.9 Guest Additions for Linux  100%
VirtualBox Guest Additions installer
Removing installed version 6.1.40 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Setting up modules
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules.  This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: or
VirtualBox Guest Additions:   /sbin/rcvboxadd quicksetup all
VirtualBox Guest Additions: Building the modules for kernel
4.18.0-477.13.1.el8_8.x86_64.
VirtualBox Guest Additions: reloading kernel modules and services
  1. The first boot doesn't have this backstrace but the second has.

The First Boot:

  • dmesg.txt
  • systemd_journal.txt
  • lsmod.txt

The Second Boot:

  • dmesg_2.txt
  • systemd_journal_2.txt
  • lsmod_2.txt

Modinfo(The second boot):

# modinfo vbox{sf,guest,video}
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxsf.ko
version:        7.0.9 r157702
alias:          fs-vboxsf
license:        GPL and additional rights
author:         Oracle and/or its affiliates
description:    Oracle VM VirtualBox VFS Module for Host File System Access
rhelversion:    8.8
srcversion:     A91391FBA140ED1CD961BDC
depends:        vboxguest
name:           vboxsf
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions
parm:           follow_symlinks:Let host resolve symlinks rather than showing them (int)
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxguest.ko
version:        7.0.9 r157702
license:        GPL
description:    Oracle VM VirtualBox Guest Additions for Linux Module
author:         Oracle and/or its affiliates
rhelversion:    8.8
srcversion:     04ED01A16FD8BFDA79AD5D3
alias:          pci:v000080EEd0000CAFEsv00000000sd00000000bc*sc*i*
depends:
name:           vboxguest
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions
filename:       /lib/modules/4.18.0-477.13.1.el8_8.x86_64/misc/vboxvideo.ko
version:        7.0.9 r157702
license:        GPL and additional rights
description:    Oracle VM VirtualBox Graphics Card
author:         Oracle and/or its affiliates
rhelversion:    8.8
srcversion:     536B3F0B8ABD95A35235376
alias:          pci:v000080EEd0000BEEFsv*sd*bc*sc*i*
depends:        drm,drm_ttm_helper,drm_kms_helper,ttm
name:           vboxvideo
vermagic:       4.18.0-477.13.1.el8_8.x86_64 SMP mod_unload modversions
parm:           modeset:Disable/Enable modesetting (int)
  1. As I mentioned on the body of ticket beside the steps to reproduce the issue, the guest is vagrant box of AlmaLinux OS available on https://app.vagrantup.com/almalinux/boxes/8. This box is BIOS only.

by almalinux_cloud_sig, 11 months ago

Attachment: lsmod.txt added

by almalinux_cloud_sig, 11 months ago

Attachment: dmesg.txt added

by almalinux_cloud_sig, 11 months ago

Attachment: dmesg_2.txt added

by almalinux_cloud_sig, 11 months ago

Attachment: lsmod_2.txt added

by almalinux_cloud_sig, 11 months ago

Attachment: systemd_journal_2.txt added

comment:11 by almalinux_cloud_sig, 11 months ago

Couldn't upload the systemd_journal_2.txt file due the size limitation (377.8 kB).

comment:12 by almalinux_cloud_sig, 11 months ago

Hi galitsyn,

Any updates? Please, Let me know if you need anything else.

comment:13 by galitsyn, 11 months ago

Hi almalinux_cloud_sig,

Nothing catches my eye in the logs (except a backtrace). I wonder if you hit kernel panic on modules reloading. Is it possible to get guest dmesg during installation (see https://www.virtualbox.org/wiki/Serial_redirect)?

Btw, if you do "sudo rcvboxadd reload" manually after installation / next boot -- does it succeed?

Regarding to backtrace, I need to get Almalinux VM locally, this will take some time. I think backtrace should be gone if you change graphics adapter to VMSVGA for example.

comment:14 by galitsyn, 10 months ago

Hi almalinux_cloud_sig,

Just FYI. https://www.virtualbox.org/ticket/21740#comment:13

comment:15 by almalinux_cloud_sig, 10 months ago

Hi galitsyn,

We just released the first version of AlmaLinux OS 8.8 Vagrant box for VirtualBox provider with https://www.virtualbox.org/download/testcase/VBoxGuestAdditions_7.0.9-158050.iso and VMSVGA as Graphic Controller workaround.

See: https://app.vagrantup.com/almalinux/boxes/8/versions/8.8.20230606

Thanks a lot!

Last edited 10 months ago by almalinux_cloud_sig (previous) (diff)

comment:16 by galitsyn, 9 months ago

Resolution: fixed
Status: newclosed

Hello,

We just released VirtualBox 7.0.10. This issue should be fixed in this release. Culd you please give it a try? Packages are available on our downloads page (please use https://www.virtualbox.org/wiki/Download_Old_Builds_6_1 for 6.1 version).

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use