[Bug 1066488] New: VirtualBox guest kernel modules don't match current Leap 42.3 kernel
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488 Bug ID: 1066488 Summary: VirtualBox guest kernel modules don't match current Leap 42.3 kernel Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: sb56637@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 747077 --> http://bugzilla.opensuse.org/attachment.cgi?id=747077&action=edit trying to modprobe vbox* modules Hello, I don't fully understand if the problem lies with openSUSE or with VirtualBox, but I can't load the VirtualBox guest modules in Leap 42.3 because Leap had a kernel update to 4.4.92-31 and VirtualBox expects kernel 4.4.87-25. The problem is described here: - https://forums.opensuse.org/showthread.php/525768-Cannot-install-oracle-virt... - https://www.virtualbox.org/ticket/16966 I am attaching screenshots of what happens when I try to load vboxguest, vboxsf, and xboxvideo. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c1
--- Comment #1 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c2
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c3
Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c4
--- Comment #4 from S. B.
Are you using VirtualBox as distributed by openSUSE?
Hi, yes, all official packages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c5
--- Comment #5 from S. B.
I have confirmed the problem. When a new kernel is built that invalidates the VB kmp packages, a rebuild of VB is not triggered.
So there is something in the OBS pipeline also that is contributing to this issue. But apart from that, I understood the aforementioned VirtualBox bug report that it wasn't working on Leap 42.3's heavily patched and backported pseudo "4.4" kernel. Looks like they've worked around it, and the fixes are included in the next imminent release of VirtualBox. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c6
Andreas Stieger
I have confirmed the problem. When a new kernel is built that invalidates the VB kmp packages, a rebuild of VB is not triggered.
I do not know how to specify the need for a rebuild in the spec file. Any help would be appreciated.
Normally rebuilding kmps should not be neccessary even for kernel updates, with some exceptions. For Maintenance we only release very specific binaries, there is nothing you can set in the spec that would trigger a rebuild for maintenance updates. However we can issue a rebuilt update. Should we do this just now? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c7
--- Comment #7 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c8
--- Comment #8 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c9
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c13
--- Comment #13 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c14
--- Comment #14 from S. B.
All the modules from http://download.opensuse.org/repositories/openSUSE:/Maintenance:/7450/ openSUSE_Leap_42.3_Update/x86_64/ OK for me in a Leap 42.3 VM. I have no idea why yours had problems with the symbols.loaded
Hmm, not sure, I created a fresh new live ISO with Kiwi using the virtualbox* packages from http://download.opensuse.org/update/leap/42.3-test/ , which I assume is the same thing as your Maintenance repo. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c15
--- Comment #15 from Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c16
--- Comment #16 from S. B.
Please use the kmp version and build numbers to avoid confusion.
Released in 42.3: 5.1.28_k4.4.87_25-34.1 For testing: 5.1.28_k4.4.92_31-37.1
Hi, yes, I am definitely using 5.1.28_k4.4.92_31-37.1. I'll attach a screenshot too. Would this have anything to do with the fact that I have the drm-kmp-default package installed? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c17
--- Comment #17 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c19
Andreas Stieger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c20
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c21
--- Comment #21 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c24
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c25
--- Comment #25 from S. B.
Possibly installing both drm-kmp and vbox kmp conflicts with each other. If so, it's no kernel regression.
Thanks for the reply Takashi. But the history of this bug report shows that when the vbox KMP module's kernel version matches the current Leap kernel version, this bug doesn't happen. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c26
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c27
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c28
--- Comment #28 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c29
--- Comment #29 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c30
--- Comment #30 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c31
--- Comment #31 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c32
--- Comment #32 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c33
--- Comment #33 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c34
--- Comment #34 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c35
--- Comment #35 from S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c36
Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c37
--- Comment #37 from S. B.
OK. The previous conclusions about drm-kmp-default were bogus. The real problem is that a kernel update fails to trigger a rebuild of the virtualbox kmp's. As I previously noted, I was assured by a senior developer that such a rebuild was not necessary!! Be car3eful which experts you believe.
Thanks for looking into it Larry. I have already tested the virtualbox* packages here: https://build.opensuse.org/package/show/Virtualization/virtualbox and they work fine. So it should just be a matter of pulling from there? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c38
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c39
--- Comment #39 from S. B.
Did you check whether initrd is recreated at each time you tested install/uninstall on VM? Otherwise it makes no sense.
e.g. try to install drm-kmp again and make sure rebuilding initrd there. I bet you'll hit the very same problem again.
Ah yes, I imagine that was causing the inconsistencies. I just did another quick test on a fresh VM, installed from the same Kiwi generated ISO I've been using, and I tried uninstalling drm-kmp-default and running `sudo mkinitrd`, and then rebooted. The vbox* modules still don't load, and the screen resolution is still extremely small. So I think we can safely say that drm-kmp-default has nothing to do with this issue.
Also, Larry, I'm not sure whether it makes sense to add conflicts to vbox-host kmp.
I don't think it makes sense to add conflicts. My testing seems to prove that the problem is not fixed or caused by the presence or absence of drm-kmp-default. Rather, it seems to be a problem of the kernel version that virtualbox-guest-kmp-default is built for. Right now, the Leap 42.3 kernel is at rev 4.4.103, and the virtualbox-guest-kmp-default package that doesn't work is at virtualbox-guest-kmp-default-5.1.30_k4.4.92_31-39.1.x86_64.rpm in the official update channel. To test this theory, I generated a new ISO with Kiwi using the same template as before, including the drm-kmp-default package. Except this time I added the "obs://Virtualization/openSUSE_Leap_42.3" repository. With those virtualbox* packages (especially virtualbox-guest-kmp-default-5.1.30_k4.4.103_36-362.8.x86_64.rpm) the generated image automatically loads the vbox* modules and uses the full screen resolution on the first boot. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
S. B.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c40
--- Comment #40 from S. B.
To test this theory, I generated a new ISO with Kiwi using the same template as before, including the drm-kmp-default package. Except this time I added the "obs://Virtualization/openSUSE_Leap_42.3" repository. With those virtualbox* packages (especially virtualbox-guest-kmp-default-5.1.30_k4.4.103_36-362.8.x86_64.rpm) the generated image automatically loads the vbox* modules and uses the full screen resolution on the first boot.
OK, a little more weirdness to report on this last part: Specifically, upon booting and installing to the virtual disk the new ISO that was generated with virtualbox-guest-kmp-default-5.1.30_k4.4.103_36-362.8.x86_64.rpm and the drm-kmp-default package included, only the "vboxguest" kernel module was loaded. When I tried to manually load "vboxvideo" it said it wasn't found, and there were a bunch of wrong symbol errors in dmesg similar/identical to what I attached earlier in this bug report. ************ But even without the "vboxvideo" module, I still have full screen resolution in the guest VM, apparently thanks to the "vboxguest" module, which is the most important one. ************ So then I tried uninstalling the drm-kmp-default package, `sudo mkinitrd` and a reboot. Now, both the "vboxguest" AND the "vboxvideo" modules load automatically. But after re-installing drm-kmp-default and regenerating the initrd several times and rebooting several times, both the "vboxguest" AND the "vboxvideo" modules continue to load automatically. So that's weird, but at any rate I don't think anything should be marked as conflicting with drm-kmp-default. I think it would be good enough to simply update the kernel version of virtualbox-guest-kmp-default. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
Hernan Schmidt
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c41
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c42
--- Comment #42 from Larry Finger
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488
http://bugzilla.opensuse.org/show_bug.cgi?id=1066488#c43
--- Comment #43 from Takashi Iwai
The vboxvideo part has not been needed since Xorg was modified to run in user space, which was some time ago. Until VirtualBox 5.2.x, the only effect of leaving it in the build was a little extra time. With 5.2.0 and later, it did not build, thus it has been removed in the Factory version. I have no plans to change Leap 42.{2,3} to anything other than 5.1.x, thus vboxvideo will continue to be built there even though it is not used.
OK, so 42.2/3 need the conflicts, but not for TW. I guess we can put the conflicts tag in drm-kmp in that case.
If the weak-update link for the vbox kmp is not triggered, what would cause that? That may be the real problem.
The reason is that the weak-update is generated only at installing a KMP while we still have the conflicts at installing vbox kmp. The weak-modules2 script tries to determine whether the new module can be loaded cleanly on the target system. When vbox client kmp is installed on a system with drm-kmp, this check fails because of the conflicts, and weak-modules2 script gives up. Even after uninstalling drm-kmp, the weak-modules2 won't be retriggered, thus the weak link isn't created any longer. You need to re-install vbox client kmp again for retriggering the script. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com