[Bug 862766] New: VirtualBox lacks vboxdrv.ko following update to kernel-default-devel-3.11.10-7.1.x86_64.rpm
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c0 Summary: VirtualBox lacks vboxdrv.ko following update to kernel-default-devel-3.11.10-7.1.x86_64.rpm Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: Markus.Kuhn@cl.cam.ac.uk QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 I yesterday ran "zypper update", which updated my kernel kernel-desktop|3.11.10-7.1|x86_64: /var/log/zypp/history: 2014-02-06 23:03:09|install|kernel-desktop|3.11.10-7.1|x86_64||repo-update|d4b38d39499b32730cd3f0ea68e7febd69fc329d231b25d6c04ab8b9333e505a| 2014-02-06 23:03:11|install|kernel-devel|3.11.10-7.1|noarch||repo-update|b2e9350f32495d6991e511a963b95d54c1ab013b0d12dfa8f2490d932026aeaf| 2014-02-06 23:03:12|install|kernel-docs|3.11.10-7.3|noarch||repo-update|614249f76a975dc4d13dda36758982a13696c98b0f5e528fb5797554367150a5| Since then, VirtualBox has been complaining Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing '/etc/init.d/vboxdrv setup' as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary. I couldn't find anything with "zypper search dkms", so I assume vboxdrv.ko is supposed to come prepackaged with openSUSE, and indeed there is # rpm -ql virtualbox-host-kmp-desktop /lib/modules/3.7.10-1.11-desktop /lib/modules/3.7.10-1.11-desktop/updates /lib/modules/3.7.10-1.11-desktop/updates/vboxdrv.ko /lib/modules/3.7.10-1.11-desktop/updates/vboxnetadp.ko /lib/modules/3.7.10-1.11-desktop/updates/vboxnetflt.ko /lib/modules/3.7.10-1.11-desktop/updates/vboxpci.ko /lib/modules/3.11.6-4-desktop /lib/modules/3.11.6-4-desktop/updates /lib/modules/3.11.6-4-desktop/updates/vboxdrv.ko /lib/modules/3.11.6-4-desktop/updates/vboxnetadp.ko /lib/modules/3.11.6-4-desktop/updates/vboxnetflt.ko /lib/modules/3.11.6-4-desktop/updates/vboxpci.ko But those are still the kernel modules for the previous kernel version 3.11.6! It seems that openSUSE updated the kernel yesterday to 3.11.10-7, but forgot to update virtualbox-host-kmp-desktop at the same time, and therefore there is now no vboxdrv.ko matching the current kernel available. I've tried to load the available old driver with /sbin/insmod /lib/modules/3.11.6-4-desktop/updates/vboxdrv.ko But that just results in the error message Failed to open a session for the virtual machine Stackato-v3.0.1. Failed to open/create the internal network 'HostInterfaceNetworking-eth0' (VERR_SUPDRV_COMPONENT_NOT_FOUND). Failed to attach the network LUN (VERR_SUPDRV_COMPONENT_NOT_FOUND). One of the kernel modules was not successfully loaded. Make sure that no kernel modules from an older version of VirtualBox exist. Then try to recompile and reload the kernel modules by executing '/etc/init.d/vboxdrv setup' as root (VERR_SUPDRV_COMPONENT_NOT_FOUND). Could you please recompile virtualbox-host-kmp-desktop for the current kernel and push it out as an update? Reproducible: Always Steps to Reproduce: 1. Run "zypper update" to get latest kernel 3.11.10-7.1 2. Run VirtualBox and start a virtual machine with bridge configuration. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c1 Johannes Weberhofer <jweberhofer@weberhofer.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jweberhofer@weberhofer.at --- Comment #1 from Johannes Weberhofer <jweberhofer@weberhofer.at> 2014-02-07 13:22:31 CET --- That works for me: "insmod /lib/modules/3.11.6-4-desktop/updates/vboxdrv.ko" But, as described, the driver for the new kernel is missing. I still see virtualbox-host-kmp-desktop-4.2.18_k3.11.6_4-2.5.1.x86_64 installed, and there is no newer version on download.opensuse.org -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c2 --- Comment #2 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2014-02-07 13:52:41 UTC --- Just to clarify: the /sbin/insmod /lib/modules/3.11.6-4-desktop/updates/vboxdrv.ko command itself does not result in any immediate error message. The "Failed to open/create the internal network [...]" message only comes when you then try to start up a virtual machine inside VirtualBox that uses "bridged networking" as described at http://www.virtualbox.org/manual/ch06.html#network_bridged That appears to be what vboxdrv.ko is actually needed for, and once it is actually being used, it appears to notice that it is not running under the right kernel version. Therefore, using insmod to load the old 3.11.6 vboxdrv.ko failed as a workaround. The only workaround I am aware of is to boot into the old kernel (which zypper thankfully still leaves installed for a while). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c3 David Kerkhof <dutchkind@txoriaskea.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dutchkind@txoriaskea.org --- Comment #3 from David Kerkhof <dutchkind@txoriaskea.org> 2014-02-07 15:27:21 UTC --- Same here, made the old kernel the boot default for the time being until updated modules come, I need virtualbox frequently. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c4 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent CC| |meissner@suse.com, | |rommel@suse.com AssignedTo|kernel-maintainers@forge.pr |mmarek@suse.com |ovo.novell.com | Severity|Major |Critical --- Comment #4 from Marcus Meissner <meissner@suse.com> 2014-02-08 09:55:28 UTC --- our kmp concept should reuse the old driver also for the newer kernel. that it does not work seems to point to a flaw within the kmp handling scripts , e.g. weak-updates etc. Michal? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c5 --- Comment #5 from David Kerkhof <dutchkind@txoriaskea.org> 2014-02-08 14:40:17 UTC --- Yes, you are right, just created the symlinks to the modules in /lib/modules/3.11.6-4-desktop/updates, run depmod -a and loaded the module with modprobe vboxdrv and virtualbox successfully boots a virtual machine. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
The following NEW packages are going to be installed: kernel-desktop [....] This is different from what I am used to see in case of a kernel update where
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c6 Yarny Yarny <Yarny@public-files.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Yarny@public-files.de --- Comment #6 from Yarny Yarny <Yarny@public-files.de> 2014-02-09 08:23:21 UTC --- I made an interesting observation which might help diagnosing the root of the problem --- mayby: When running zypper-update, zypper said something like: the package kernel-desktop is being updated, but not being installed again. Today I checked "zypper se -s kernel-desktop" and indeed, the package is installed twice:
S | Name | Type | Version | Arch | Repository --+----------------------+------------+-------------+--------+------------ i | kernel-desktop | package | 3.11.10-7.1 | i686 | suse-update i | kernel-desktop | package | 3.11.6-4.1 | i686 | suse-oss | kernel-desktop | srcpackage | 3.11.10-7.1 | noarch | suse-update | kernel-desktop-base | package | 3.11.10-7.1 | i686 | suse-update | kernel-desktop-base | package | 3.11.6-4.1 | i686 | suse-oss | kernel-desktop-devel | package | 3.11.10-7.1 | i686 | suse-update | kernel-desktop-devel | package | 3.11.6-4.1 | i686 | suse-oss
On a side note: systemd doesn't see the failure of vboxdrv.service:
vboxdrv.service - LSB: VirtualBox Linux module Loaded: loaded (/etc/init.d/vboxdrv) Active: active (exited) since Sun 2014-02-09 08:54:00 CET; 13min ago Process: 1067 ExecStart=/etc/init.d/vboxdrv start (code=exited, status=0/SUCCESS)
Feb 09 08:54:00 XXX systemd[1]: Starting LSB: VirtualBox Linux module... Feb 09 08:54:00 XXX vboxdrv[1067]: Starting VirtualBox kernel modules..failed Feb 09 08:54:00 XXX vboxdrv[1067]: (modprobe vboxdrv failed. Please use 'dmesg' to Feb 09 08:54:00 XXX systemd[1]: Started LSB: VirtualBox Linux module. Should this be reported as a separate bug?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c7 --- Comment #7 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2014-02-09 13:29:05 UTC --- @Yarny: You observed a very useful feature of zypper, not a bug. Look up the "multiversion" option in /etc/zypp/zypp.conf, which asks zypper to leave the previous kernel(s) installed alongside the latest one, exactly to help with easy fall-back in case of a problem with a kernel update (like the one reported here bug). All this does is to leave you several kernel versions to choose from in GRUB. Documentation: http://activedoc.opensuse.org/book/opensuse-system-analysis-and-tuning-guide... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c8 --- Comment #8 from Yarny Yarny <Yarny@public-files.de> 2014-02-09 15:10:27 UTC --- Thanks for the info, Markus Kuhn. I was suspicious since this was the first time I observed such behaviour. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c9 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #9 from Wolfgang Bauer <wbauer@tmo.at> 2014-02-10 11:36:33 UTC --- (In reply to comment #4)
our kmp concept should reuse the old driver also for the newer kernel.
that it does not work seems to point to a flaw within the kmp handling scripts , e.g. weak-updates etc.
I don't think it's a problem with the kmp handling scripts, as it worked fine with the nvidia driver RPMs here, which use the same mechanism AFAIK. And even if you create the link manually and load the kernel module, bridged networking does not work as reported in comment#2 (I could 100% reliably reproduce this here on two different systems). So the kernel module as packaged (compiled against kernel 3.11.6) seems to be incompatible with kernel 3.11.10. Maybe that's the reason why the symlink doesn't get created by the scripts in the first place? Btw, virtualbox from the Virtualization repo works fine, this does contain a kmp package for 3.11.10 (and a newer virtualbox version of course). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c10 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mmarek@suse.com |bbrunner@suse.com --- Comment #10 from Marcus Meissner <meissner@suse.com> 2014-02-10 11:49:22 UTC --- 13.1 changed the KMP behaviour. we will now need to release all KMPs together wiuth the kernel updates. We will be doing this for the current round soon. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c11 --- Comment #11 from Benjamin Brunner <bbrunner@suse.com> 2014-02-10 14:58:15 CET --- I've already prepared the kmp's in openSUSE:Maintenance:2549 and will release it asap. Thanks for bringing this to our attention. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c12 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #12 from Benjamin Brunner <bbrunner@suse.com> 2014-02-11 14:41:20 CET --- I've released the kmp's now. This issue should be resolved as soon as they are published. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c13 Luigi baldoni <aloisio@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aloisio@gmx.com --- Comment #13 from Luigi baldoni <aloisio@gmx.com> 2014-02-12 19:53:44 UTC --- Bridged interfaces still not working for me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c14 Benjamin Brunner <bbrunner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #14 from Benjamin Brunner <bbrunner@suse.com> 2014-02-13 11:57:08 CET --- Luigi, do you have the current version virtualbox-host-kmp-default-4.2.18_k3.11.10_7-2.9.1.x86_64 installed? Do you use a standard 13.1 or Tumbleweed? (tumbleweed uses a different kernel, but doesn't ship their own kmps and won't add virtualbox-kmps) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c15 --- Comment #15 from Luigi baldoni <aloisio@gmx.com> 2014-02-13 12:04:09 UTC --- I'm using virtualbox-host-kmp-desktop-4.2.18_k3.11.10_7-2.9.1.x86_64 with the 13.1 kernel (kernel-desktop-3.11.10-7.1.x86_64). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c16 --- Comment #16 from Benjamin Brunner <bbrunner@suse.com> 2014-02-13 16:31:34 CET --- Hm, I tested it with - kernel-desktop-3.11.10-7.1 (uname -r 3.11.10-7-desktop) - virtualbox-host-kmp-desktop-4.2.18_k3.11.10_7-2.9.1.x86_64 with a bridged device and it works for me without any issues. Does someone else have problems with the new packages? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c17 Luigi baldoni <aloisio@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |CLOSED Resolution| |FIXED --- Comment #17 from Luigi baldoni <aloisio@gmx.com> 2014-02-13 18:54:53 UTC --- I'm terribly sorry, it was my DHCP server acting up. Everything works now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c18 --- Comment #18 from Markus Kuhn <Markus.Kuhn@cl.cam.ac.uk> 2014-02-13 21:13:09 UTC --- Thanks for the quick fix from the original bug report! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=862766 https://bugzilla.novell.com/show_bug.cgi?id=862766#c19 --- Comment #19 from Benjamin Brunner <bbrunner@suse.com> 2014-02-14 11:04:01 CET --- That's good to hear. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com