[Bug 1204435] New: VirtualBox: Installing extension VBox_GAs_6.1.38 produces error message
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 Bug ID: 1204435 Summary: VirtualBox: Installing extension VBox_GAs_6.1.38 produces error message Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: x86-64 OS: openSUSE Leap 15.4 Status: NEW Severity: Normal Priority: P5 - None Component: Virtualization:Other Assignee: virt-bugs@suse.de Reporter: gerben.jansen@aol.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 862243 --> http://bugzilla.opensuse.org/attachment.cgi?id=862243&action=edit /var/log/vboxadd-setup.log I'm running VirtualBox "VirtualBox Graphical User Interface Version 6.1.38_SUSE r153438" on Leap 15.4 / kernel 5.14.21-150400.24.21-default on my host system and the same in my guest system. When i mount the VBox_GAs_6.1.38 virtual cd on my guest and run the VBoxLinuxAdditions.run script i get: SuSE:/run/media/gerben/VBox_GAs_6.1.38 # ./VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.38 Guest Additions for Linux........ VirtualBox Guest Additions installer Removing installed version 6.1.38 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... VirtualBox Guest Additions: Starting. 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 5.14.21-150400.24.21-default. VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong dracut: Executing: /usr/bin/dracut -f --kver 5.14.21-150400.24.21-default dracut: dracut module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found! dracut: dracut module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command 'networkctl' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd' could not be found! dracut: dracut module 'systemd-networkd' will not be installed, because command '/usr/lib/systemd/systemd-networkd-wait-online' could not be found! dracut: dracut module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found! dracut: dracut module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'biosdevname' will not be installed, because command 'biosdevname' could not be found! dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found! dracut: memstrack is not available dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng dracut: dracut module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found! dracut: dracut module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found! dracut: dracut module 'systemd-repart' will not be installed, because command 'systemd-repart' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command 'resolvectl' could not be found! dracut: dracut module 'systemd-resolved' will not be installed, because command '/usr/lib/systemd/systemd-resolved' could not be found! dracut: dracut module 'dbus-broker' will not be installed, because command 'dbus-broker' could not be found! dracut: dracut module 'rngd' will not be installed, because command 'rngd' could not be found! dracut: dracut module 'tpm2-tss' will not be installed, because command 'tpm2' could not be found! dracut: dracut module 'nvmf' will not be installed, because command 'nvme' could not be found! dracut: dracut module 'memstrack' will not be installed, because command 'memstrack' could not be found! dracut: memstrack is not available dracut: If you need to use rd.memdebug>=4, please install memstrack and procps-ng dracut: *** Including module: systemd *** dracut: *** Including module: systemd-initrd *** dracut: *** Including module: i18n *** dracut: *** Including module: drm *** dracut: *** Including module: plymouth *** /usr/lib/plymouth/plymouth-populate-initrd: line 450: +: command not found dracut: *** Including module: kernel-modules *** dracut: *** Including module: kernel-modules-extra *** dracut: *** Including module: resume *** dracut: *** Including module: rootfs-block *** dracut: *** Including module: suse-btrfs *** dracut: *** Including module: suse-xfs *** dracut: *** Including module: terminfo *** dracut: *** Including module: udev-rules *** dracut: Skipping udev rule: 40-redhat.rules dracut: Skipping udev rule: 50-firmware.rules dracut: Skipping udev rule: 50-udev.rules dracut: Skipping udev rule: 91-permissions.rules dracut: Skipping udev rule: 80-drivers-modprobe.rules dracut: *** Including module: dracut-systemd *** dracut: *** Including module: haveged *** dracut: *** Including module: ostree *** dracut: *** Including module: usrmount *** dracut: *** Including module: base *** dracut: *** Including module: fs-lib *** dracut: *** Including module: shutdown *** dracut: *** Including module: suse *** dracut: *** Including module: suse-initrd *** dracut: *** Including modules done *** dracut: *** Installing kernel module dependencies *** dracut: *** Installing kernel module dependencies done *** dracut: *** Resolving executable dependencies *** dracut: *** Resolving executable dependencies done *** dracut: *** Hardlinking files *** dracut: Mode: real dracut: Files: 929 dracut: Linked: 1 files dracut: Compared: 0 xattrs dracut: Compared: 94 files dracut: Saved: 692 B dracut: Duration: 0.005507 seconds dracut: *** Hardlinking files done *** dracut: *** Generating early-microcode cpio image *** dracut: *** Constructing GenuineIntel.bin *** dracut: *** Store current command line parameters *** dracut: Stored kernel commandline: dracut: resume=UUID=3766b41d-da27-4e94-a952-b3d2df7b96fa dracut: root=UUID=7085e81f-1f70-4da9-93a3-cd569a911857 rootfstype=xfs rootflags=rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota dracut: *** Stripping files *** dracut: *** Stripping files done *** dracut: *** Creating image file '/boot/initrd-5.14.21-150400.24.21-default' *** dracut: *** Creating initramfs image file '/boot/initrd-5.14.21-150400.24.21-default' done *** VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted From the /var/log/vboxadd-setup.log file it looks like building the graphics driver fails. (i have attached the vboxadd-setup.log file) Also look at the end of the file where is complains about incompatible types. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 http://bugzilla.opensuse.org/show_bug.cgi?id=1204435#c1 Larry Rainey <llrainey15@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS --- Comment #1 from Larry Rainey <llrainey15@gmail.com> --- OpenSUSE guests need to install guest from openSUSE repos not the Oracle CD. unless they install Oracle from their site. sudo zypper install virtualbox-kmp-default virtualbox-guest-tools The Oracle CD is for Windows not openSUSE. Linux guest need to install the version that is built for their kernel not the one from Oracle. Oracle seems to be too many kernels behind what is being used by patched systems. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 http://bugzilla.opensuse.org/show_bug.cgi?id=1204435#c2 --- Comment #2 from Gerben Jansen <gerben.jansen@aol.com> --- I have on both my host system and on my guest system installed virtualbox-* from OpenSuSE. Do you mean i should NOT mount the virtual "Guest additions CD Image" on my guests to run the VBoxLinuxAdditions.run script ? Also i should NOT do the same on my Windows 10 guest ? Is there a document that clearly describes which additions to install on the guests ? (sorry to be so obnoxious) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 http://bugzilla.opensuse.org/show_bug.cgi?id=1204435#c3 --- Comment #3 from Gerben Jansen <gerben.jansen@aol.com> --- I tried to remove the Oracle extension pack, but without it none of my guests will start. They all complain about not being able to emulate USB 3.0. Luckily i could find the file back on the virtualbox.org site, but i have the feeling i should get it from OpenSuSE. However it's unclear to me wherefrom. i'm getting the feeling i'm mixing up extensions and additions .... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 http://bugzilla.opensuse.org/show_bug.cgi?id=1204435#c4 --- Comment #4 from Larry Rainey <llrainey15@gmail.com> --- Here is a script to install the extension pack (only on the host - it not to be loaded on the guests). It adds the hooks to the resize, clipboard and files to allow a guest with guest additions to talk to the host. Guest additions on Linux should come from the Linux version - they are kernel dependent and Oracle Virtualbox CD does not always work correctly. All Non-Linux guest should use the Oracle CD to install the guest additions. Without VirtualBox running on the host create a file with these lines #/usr/bin/bash echo update VirtualBox Extension Pack VBOX_VERSION=`/usr/bin/VBoxManage --version | awk -F_ {'print $1'}` VBOX_EXT_VERSION=`/usr/bin/VBoxManage --version | awk -F_ {'print $1'}` # echo Virtualbox version installed is $VBOX_VERSION and $VBOX_EXT_VERSION VBOX_EXT=`echo Oracle_VM_VirtualBox_Extension_Pack-${VBOX_EXT_VERSION}.vbox-extpack` # echo File is $VBOX_EXT cd /tmp /usr/bin/wget http://download.virtualbox.org/virtualbox/$VBOX_VERSION/$VBOX_EXT echo y | /usr/bin/VBoxManage extpack install --replace $VBOX_EXT rm -f $VBOX_EXT I call mine addvbext.sh sudo bash addvbext.sh -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204435 http://bugzilla.opensuse.org/show_bug.cgi?id=1204435#c5 --- Comment #5 from Gerben Jansen <gerben.jansen@aol.com> --- Many thanks for your script (before i was installing the virtualbox.org version) I ran the script on my Linux host system named "manta": gerben@manta:~> ps -C VirtualBox PID TTY TIME CMD gerben@manta:~> sudo bash ./addvbext.sh update VirtualBox Extension Pack --2022-10-21 11:49:36-- http://download.virtualbox.org/virtualbox/6.1.38/Oracle_VM_VirtualBox_Extens... Resolving download.virtualbox.org (download.virtualbox.org)... 104.81.140.30 Connecting to download.virtualbox.org (download.virtualbox.org)|104.81.140.30|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 11232961 (11M) [text/plain] Saving to: ���Oracle_VM_VirtualBox_Extension_Pack-6.1.38.vbox-extpack��� Oracle_VM_VirtualBox_Extensio 100%[================================================>] 10.71M 2.05MB/s in 5.5s 2022-10-21 11:49:41 (1.96 MB/s) - ���Oracle_VM_VirtualBox_Extension_Pack-6.1.38.vbox-extpack��� saved [11232961/11232961] VirtualBox Extension Pack Personal Use and Evaluation License (PUEL) License version 11, 21 May 2020 PLEASE READ THE FOLLOWING ORACLE VM VIRTUALBOX EXTENSION PACK PERSONAL .... the prevailing party shall be entitled to its costs and attorneys' fees actually incurred in connection with such action or proceeding. Do you agree to these license terms and conditions (y/n)? License accepted. For batch installation add --accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c to the VBoxManage command line. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Successfully installed "Oracle VM VirtualBox Extension Pack". gerben@manta:~> Next i started my Linux guest (I still get the message that my graphics resize failed) and mounted the (virtual) additions CD and ran on the guest named "SuSE": gerben@SuSE:~> sudo bash /run/media/gerben/VBox_GAs_6.1.38/VBoxLinuxAdditions.run Verifying archive integrity... All good. Uncompressing VirtualBox 6.1.38 Guest Additions for Linux........ VirtualBox Guest Additions installer Removing installed version 6.1.38 of VirtualBox Guest Additions... Copying additional installer modules ... Installing additional modules ... VirtualBox Guest Additions: Starting. 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 5.14.21-150400.24.21-default. VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong dracut: Executing: /usr/bin/dracut -f --kver 5.14.21-150400.24.21-default dracut: dracut module 'systemd-coredump' will not be installed, because command 'coredumpctl' could not be found! dracut: dracut module 'systemd-coredump' will not be installed, because command '/usr/lib/systemd/systemd-coredump' could not be found! ... dracut: root=UUID=7085e81f-1f70-4da9-93a3-cd569a911857 rootfstype=xfs rootflags=rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota dracut: *** Stripping files *** dracut: *** Stripping files done *** dracut: *** Creating image file '/boot/initrd-5.14.21-150400.24.21-default' *** dracut: *** Creating initramfs image file '/boot/initrd-5.14.21-150400.24.21-default' done *** VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted gerben@SuSE:~> Note that i still get the message "VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong" The vboxadd-set.log file contains the same as what I attached before. P.S. Despite of all the error messages i don't notice any issue with the screen, clipboard or files. I can copy/paste between the host and the guest, share files. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com