[arch-general] Linux 5.3 - Virtualbox 5.2.32 modules fail to build - upstream bug opened
All, Note to anyone is still using Virtualbox 5.2.32 (that can't move to Ver. 6 due to headless behavior with Windows guests), on update to Linux 5.3, virtualbox models fail to build using dkms. Upstream bug filed: https://www.virtualbox.org/ticket/18949 (make.log attached to bug report) -- David C. Rankin, J.D.,P.E.
"David C. Rankin" <drankinatty@suddenlinkmail.com> on Thu, 2019/09/19 20:12:
All,
Note to anyone is still using Virtualbox 5.2.32 (that can't move to Ver. 6 due to headless behavior with Windows guests), on update to Linux 5.3, virtualbox models fail to build using dkms.
Upstream bug filed: https://www.virtualbox.org/ticket/18949
(make.log attached to bug report)
We had to patch VirtualBox 6.0.12 as well. Probably you need something like this: https://git.archlinux.org/svntogit/community.git/tree/trunk/015-linux-5-3.pa... -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
On 09/20/2019 12:48 AM, Christian Hesse wrote:
We had to patch VirtualBox 6.0.12 as well. Probably you need something like this: https://git.archlinux.org/svntogit/community.git/tree/trunk/015-linux-5-3.pa...
Thank you Christian and Ralf, I'll see if I can draw from that and make things work. -- David C. Rankin, J.D.,P.E.
On 09/20/2019 11:13 AM, David C. Rankin wrote:
On 09/20/2019 12:48 AM, Christian Hesse wrote:
We had to patch VirtualBox 6.0.12 as well. Probably you need something like this: https://git.archlinux.org/svntogit/community.git/tree/trunk/015-linux-5-3.pa...
Thank you Christian and Ralf, I'll see if I can draw from that and make things work.
Also, apparently Virtualbox.org has fixes available in their test-builds page: https://www.virtualbox.org/wiki/Testbuilds The bug (mine was a duplicate of) that they are working both the 6.x and 5.x kernel issue through is: https://www.virtualbox.org/ticket/18911 -- David C. Rankin, J.D.,P.E.
virtualbox-bin from AUR is already patched with a fix. https://aur.archlinux.org/cgit/aur.git/commit/?h=virtualbox-bin&id=83f1870f15d86179a665dc0c6b36815a385f6fbe You could try to adapt it to your virtualbox-bin-5 tarball from AUR without much editing... $ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/virtualbox-bin{,-5}.tar.gz $ tar xf virtualbox-bin.tar.gz; tar xf virtualbox-bin-5.tar.gz $ diff -r virtualbox-bin virtualbox-bin-5 [snip] ...perhaps you have good luck. Sometimes patches apply with an offset and work out of the box.
On 09/20/2019 11:57 AM, Ralf Mardorf via arch-general wrote:
virtualbox-bin from AUR is already patched with a fix. https://aur.archlinux.org/cgit/aur.git/commit/?h=virtualbox-bin&id=83f1870f15d86179a665dc0c6b36815a385f6fbe
You could try to adapt it to your virtualbox-bin-5 tarball from AUR without much editing...
$ wget -q https://aur.archlinux.org/cgit/aur.git/snapshot/virtualbox-bin{,-5}.tar.gz $ tar xf virtualbox-bin.tar.gz; tar xf virtualbox-bin-5.tar.gz $ diff -r virtualbox-bin virtualbox-bin-5 [snip]
...perhaps you have good luck. Sometimes patches apply with an offset and work out of the box.
Thank you Ralf, I have the kernel modules building with a combination of the following patches: 009-include-path.patch 015-linux-5-3.patch The 013-Makefile patch must be specific to 6.X as on 5.2.32 is throws an error: Reversed (or previously applied) patch detected! Skipping patch. Still have testing, but it looks promising. -- David C. Rankin, J.D.,P.E.
On 09/21/2019 01:03 AM, David C. Rankin wrote:
Thank you Ralf,
I have the kernel modules building with a combination of the following patches:
009-include-path.patch 015-linux-5-3.patch
The 013-Makefile patch must be specific to 6.X as on 5.2.32 is throws an error:
Reversed (or previously applied) patch detected! Skipping patch.
Still have testing, but it looks promising.
I updated virtualbox-bin-5 and it builds and runs with 5.2.X & 5.3. However I forgot to add a patch to the git repo before pushing and now I can't figure out how to undo (I have since added the patch to git). The error is: git push Enumerating objects: 10, done. Counting objects: 100% (10/10), done. Delta compression using up to 8 threads Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.92 KiB | 1.92 MiB/s, done. Total 7 (delta 4), reused 0 (delta 0) remote: error: The following error occurred when parsing commit remote: error: 3d54a4581d3c0731c53c5cc6b232c2d58864f6e1: remote: error: missing source file: 015-linux-5-3.patch remote: error: hook declined to update refs/heads/master To ssh://aur.archlinux.org/virtualbox-bin-5 ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'ssh://aur@aur.archlinux.org/virtualbox-bin-5' What do I do to tell it to forget about that commit and let me try again? -- David C. Rankin, J.D.,P.E.
On 09/21/2019 03:24 AM, David C. Rankin wrote:
I updated virtualbox-bin-5 and it builds and runs with 5.2.X & 5.3. However I forgot to add a patch to the git repo before pushing and now I can't figure out how to undo (I have since added the patch to git). The error is:
git push Enumerating objects: 10, done. Counting objects: 100% (10/10), done. Delta compression using up to 8 threads Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 1.92 KiB | 1.92 MiB/s, done. Total 7 (delta 4), reused 0 (delta 0) remote: error: The following error occurred when parsing commit remote: error: 3d54a4581d3c0731c53c5cc6b232c2d58864f6e1: remote: error: missing source file: 015-linux-5-3.patch remote: error: hook declined to update refs/heads/master To ssh://aur.archlinux.org/virtualbox-bin-5 ! [remote rejected] master -> master (hook declined) error: failed to push some refs to 'ssh://aur@aur.archlinux.org/virtualbox-bin-5'
What do I do to tell it to forget about that commit and let me try again?
I got it sorted, I just reset to head and did the commit again after adding the new file. -- David C. Rankin, J.D.,P.E.
On Thu, 19 Sep 2019 20:12:53 -0500, David C. Rankin wrote:
All,
Note to anyone is still using Virtualbox 5.2.32 (that can't move to Ver. 6 due to headless behavior with Windows guests), on update to Linux 5.3, virtualbox models fail to build using dkms.
Upstream bug filed: https://www.virtualbox.org/ticket/18949
(make.log attached to bug report)
Hi, it seems to be the same for 6.0.12. However, I tested it on September 16. when the kernel still was in 'staging' [1]. [rocketmouse@archlinux ~]$ grep 2019-09-16\ 12 /var/log/pacman.log [2019-09-16 12:05] [PACMAN] Running 'pacman -U http://archlinux.thaller.ws/staging/os/x86_64/linux-5.3.arch1-1-x86_64.pkg.t... [snip] [2019-09-16 12:07] [ALPM-SCRIPTLET] ==> dkms install vboxhost/6.0.12 -k 5.3.0-arch1-1-ARCH [2019-09-16 12:07] [ALPM-SCRIPTLET] Error! Bad return status for module build on kernel: 5.3.0-arch1-1-ARCH (x86_64) [snip] [rocketmouse@archlinux ~]$ pacman -Q virtualbox-bin virtualbox-bin 6.0.12-1 Due to a complete breakdown of my relationship bank's online-banking, telephone-banking and no support by bank branches and since I had and still have got job interviews, I had and still have got no time to care about doing bug reports. Bug reports and trouble shooting this and other issues is on my todo list for the time when migration to another bank is done and job hunting is finished. Regards, Ralf [1] https://wiki.archlinux.org/index.php/Official_repositories#Staging_repositor... -- pacman -Q linux{,-rt{-pussytoes,,-cornflower,-securityink}}|cut -d\ -f2 5.2.14.arch2-1 5.2.14_rt7-0 5.2.10_rt5-1 5.2_rt1-0 4.19.72_rt25-0
participants (3)
-
Christian Hesse
-
David C. Rankin
-
Ralf Mardorf