Bug 30555 - Virtualbox problem with kernel 5.15.46
Summary: Virtualbox problem with kernel 5.15.46
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-16 12:13 CEST by Otto Leipälä
Modified: 2022-07-21 15:00 CEST (History)
3 users (show)

See Also:
Source RPM: virtualbox-6.1.34-1.8.mga8.src.rp
CVE:
Status comment:


Attachments
Virtualbox log file (18.95 KB, text/plain)
2022-06-16 15:34 CEST, Otto Leipälä
Details
Another log file (8.63 KB, text/plain)
2022-06-19 15:33 CEST, Otto Leipälä
Details
Screenshot netinstall fails (143.96 KB, image/png)
2022-06-20 08:00 CEST, Otto Leipälä
Details
Inxi full output (1.77 KB, text/plain)
2022-06-23 11:51 CEST, Otto Leipälä
Details
Virtualbox guest additions log Debian/Sid (21.20 KB, text/plain)
2022-07-03 10:41 CEST, Otto Leipälä
Details

Description Otto Leipälä 2022-06-16 12:13:39 CEST
Virtualbox can't access anymore to /dev/vboxdrvu
there need fix udev rules file user can't acess to vboxdrvu....local fixes is working change 0600 to 0666 permission so user/vboxusers can acess it
KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0600"
it need to be
KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"


00:22:52.778342 nspr-9   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
Comment 1 Otto Leipälä 2022-06-16 15:34:43 CEST
Created attachment 13299 [details]
Virtualbox log file

Here is also Virtualbox log file.
Comment 2 Dave Hodgins 2022-06-16 19:01:18 CEST
I don't get the vboxdrvu error in the log after starting my Mageia 8 x86_64
guests. It and an i586 guest are both working ok.

Any idea what vb setting is triggering it's access?

CC: (none) => davidwhodgins

Comment 3 Morgan Leijström 2022-06-16 19:09:56 CEST
Is the situation the same with update kernel 5.15.46 and our previous, 5.15.43?
(as host kernel)

Some of us experience various issues with .46, i.e me in Bug 30536 comment 1.

CC: (none) => fri

Comment 4 Otto Leipälä 2022-06-16 19:16:11 CEST
Yes i have try older kernel also but same problem.
Comment 5 Otto Leipälä 2022-06-16 19:24:20 CEST
(In reply to Dave Hodgins from comment #2)
> I don't get the vboxdrvu error in the log after starting my Mageia 8 x86_64
> guests. It and an i586 guest are both working ok.
> 
> Any idea what vb setting is triggering it's access?

Did you check log file inside guest or outside? /home/x/.config/Virtualbox log file? this is host os problem....

Also network install fails Mageia and also Debian some reasons.....Debian guest get installed but when update or install packages get apt errors some Hash sum mismatch error....
Comment 6 Dave Hodgins 2022-06-16 21:47:07 CEST
I checked VBox.log in the host's log directory for that vb guest.
Comment 7 Dave Hodgins 2022-06-16 22:04:09 CEST
https://bugs.mageia.org/show_bug.cgi?id=30535 is for the cauldron network
installer failing to set up dns. The m8 network installer is still working
according to latest tests.
Comment 8 Otto Leipälä 2022-06-17 09:07:37 CEST
My system Mga8 fails but when stage2 install packages,Cauldron fails stage1 network configuration trying to resolve dns...I don't think this problem has nothing to do with dns.
Comment 9 Thomas Backlund 2022-06-18 23:24:08 CEST
(In reply to Otto Leipälä from comment #0)
> Virtualbox can't access anymore to /dev/vboxdrvu
> there need fix udev rules file user can't acess to vboxdrvu....local fixes
> is working change 0600 to 0666 permission so user/vboxusers can acess it
> KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0600"
> it need to be
> KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"


Never going to happend.
Setting mode to 0666 would open up a big security hole.
Comment 10 Otto Leipälä 2022-06-19 07:24:26 CEST
okay?
Comment 11 Otto Leipälä 2022-06-19 13:13:11 CEST
It seems problem is not udev rule????
I just looked rpmfusion package changed udev rule....
https://github.com/rpmfusion/VirtualBox/blob/master/VirtualBox-60-vboxdrv.rules
Comment 12 Otto Leipälä 2022-06-19 14:02:38 CEST
Same problem updated Virtualbox updates testing.....
Comment 13 Otto Leipälä 2022-06-19 15:33:41 CEST
Created attachment 13302 [details]
Another log file

Log file updated Virtualbox tesing......
Still it complains permissions....
01:12:16.576247 nspr-8   Failed to open "/dev/vboxdrvu", errno=13, rc=VERR_VM_DRIVER_NOT_ACCESSIBLE
Comment 14 Dave Hodgins 2022-06-19 19:12:58 CEST
Other then generating the message, does it have any impact creating or running
the guest?
Comment 15 Otto Leipälä 2022-06-19 20:46:54 CEST
installing guest
Comment 16 sturmvogel 2022-06-19 20:58:52 CEST
(In reply to Otto Leipälä from comment #15)
> installing guest

I installed today successfully a MGA8 guest (Mageia-8-x86_64.iso) on a MGA8 host for other testing purposes. This message didn't have any impact on installation or running of the guest.
Comment 17 Otto Leipälä 2022-06-20 08:00:58 CEST
Created attachment 13306 [details]
Screenshot netinstall fails
Comment 18 sturmvogel 2022-06-20 15:27:36 CEST
Did you read comment 7? Cauldron netinstall is broken in general at the moment. It is not related to VirtualBox!
Comment 19 Otto Leipälä 2022-06-20 15:38:01 CEST
Yes but in my system whole Virtualbox is broken all distros netinstall Mageia 8 Debian etc many others......this is nothing to do with Cauldron as there is dns broken this is totally different problem
Comment 20 Otto Leipälä 2022-06-20 15:40:09 CEST
(In reply to sturmvogel from comment #18)
> Did you read comment 7? Cauldron netinstall is broken in general at the
> moment. It is not related to VirtualBox!

You may read bugreport lot more better as i have never said anything about Cauldron,also i have added bugreport against Mageia 8.
Comment 21 Lewis Smith 2022-06-22 21:57:22 CEST
This has become confused. Can we clarify things? State what you are doing.
* Mageia 8, not Cauldron, sure.
* Running a VB host.
Does the reported error (attached VB logs) happen just when starting the VB host?
Or when trying to do something specific under it?
How is Netinstall involved? Is Otto's problem (comment 17) really about a Netinstall failure:
 https://bugs.mageia.org/attachment.cgi?id=13306
rather than VB itself?

Comment 14
> Other then generating the message, does it have any impact creating
> or running the guest?
Comment 15
> installing guest
What guest?

Comment 16
> I installed today successfully a MGA8 guest (Mageia-8-x86_64.iso)
> on a MGA8 host
> This message didn't have any impact on installation or running of the guest.
Which implies that sturmvogel also saw it, but it did not matter.

CC: (none) => lewyssmith

Comment 22 Otto Leipälä 2022-06-23 08:44:10 CEST
(In reply to Lewis Smith from comment #21)
> This has become confused. Can we clarify things? State what you are doing.
> * Mageia 8, not Cauldron, sure.
> * Running a VB host.
> Does the reported error (attached VB logs) happen just when starting the VB
> host?
> Or when trying to do something specific under it?
> How is Netinstall involved? Is Otto's problem (comment 17) really about a
> Netinstall failure:
>  https://bugs.mageia.org/attachment.cgi?id=13306
> rather than VB itself?
> 
> Comment 14
> > Other then generating the message, does it have any impact creating
> > or running the guest?
> Comment 15
> > installing guest
> What guest?
> 
> Comment 16
> > I installed today successfully a MGA8 guest (Mageia-8-x86_64.iso)
> > on a MGA8 host
> > This message didn't have any impact on installation or running of the guest.
> Which implies that sturmvogel also saw it, but it did not matter.

It fails to install any guest system Mageia Debian Archlinux any can't even finish install....
Log is created when it try to install guest,it never installs as it will fails when trying to install.

5.15.43-desktop-1.mga8 works but .46 not working.
Comment 23 Otto Leipälä 2022-06-23 11:26:22 CEST
I'm not computer engineer so i have only basic knowledge....This have to be kernel side problem,one kernel point release works but not newest,there have to be some changes broken Virtualbox host...
I'm not very good to see what real changes in kernel been made....Maybe Thomas (Tmb) can explain it more better....
Comment 24 Otto Leipälä 2022-06-23 11:51:30 CEST
Created attachment 13310 [details]
Inxi full output

Here is full inxi what hardware my system if it helps more...
Comment 25 Otto Leipälä 2022-06-25 11:27:41 CEST
It seems updates testing .48/5.15.48-desktop-1.mga8 kernel works with virtualbox....
Comment 26 Lewis Smith 2022-06-26 09:15:14 CEST
Thank you for the kernel details, and your encouraging previous comment.
> 5.15.43-desktop-1.mga8 works but [5.15].46 not working
> 5.15.48-desktop-1.mga8 kernel works with virtualbox....
If you have installed, and are running with 5.15.48 (from updates_testing), we can close this once that kernel gets OK'd.
Please say what exact version of VB you are using: the current issued one (in Source RPM at head), or that you tried from updates_testing (comment 12). You said that made no difference.

CC'ing tmb since this looks very much his territory.

CC: (none) => tmb
Summary: Virtualbox problem udev rules => Virtualbox problem with kernel 5.15.46
Source RPM: (none) => virtualbox-6.1.34-1.8.mga8.src.rp

Comment 27 Otto Leipälä 2022-06-26 12:24:04 CEST
It no matters anymore what version Vb as problem is kernel not Vb...It works testing or updates version....
Comment 28 Otto Leipälä 2022-06-30 13:50:31 CEST
I noticed another problem that guest fails to build 5.18 kerne it needs more new Virtualbox 6.1.35 testing,if older Vbox it fails to build Additions Kernel 5.18
can you Tmb make Rpm testimg build of Vbox?
Comment 29 Thomas Backlund 2022-06-30 14:36:39 CEST
Um, considering I've built several kmods for 5.18 series kernels both in Cauldron and mga8 backports... the build works..

so if you have some issue, show the buildlogs
Comment 30 Otto Leipälä 2022-06-30 19:12:32 CEST
I noticed another problem that guest fails to build 5.18 kerne it needs more new Virtualbox 6.1.35 testing,if older Vbox it fails to build Additions Kernel 5.18
can you Tmb make Rpm testimg build of Vbox?
Comment 31 Otto Leipälä 2022-07-02 21:05:53 CEST
Yes logs if needed,need to first test updates_testing build of Virtualbox as there is patch added support 5.18 5.19 kernel.
Comment 32 Otto Leipälä 2022-07-03 10:41:57 CEST
Created attachment 13321 [details]
Virtualbox guest additions log Debian/Sid

Here is Virtualbox log file when trying to build Debian Sid kernel additions inside guest system,it fails to build.

kernel-desktop-5.15.50-1.mga8
kernel-desktop-devel-5.15.50-1.mga8
virtualbox-kernel-5.15.50-desktop-1.mga8
Virtualbox  6.1.34-1.10.mga8
Comment 33 Thomas Backlund 2022-07-03 10:50:01 CEST
(In reply to Otto Leipälä from comment #32)
> Created attachment 13321 [details]
> Virtualbox guest additions log Debian/Sid
> 
> Here is Virtualbox log file when trying to build Debian Sid kernel additions
> inside guest system,it fails to build.


and thats a debian bug, not a mageia one.

and you dont need vboxadditions on recent kernels as they are already in upstream kernel.org kernels
Comment 34 Otto Leipälä 2022-07-03 10:52:53 CEST
Okay good to know.
Comment 35 Morgan Leijström 2022-07-03 13:53:57 CEST
So when installing a Mageia guest with kernel-linus we need not install vboxadditions?
Is the automatic selection to install it or not adapted?

https://wiki.mageia.org/en/VirtualBox#On_guests

Currently it say:
"On the guest, if it is Mageia, make sure virtualbox-guest-additions is installed. Mageia installer normally detects if it is run inside VirtualBox and installs it automatically, but check! This provides the guest with the ability to share files and sync time with the host."

So it should tell vboxadditions is not needed for kernel-linus from version <which?>  ?

If so it could also be mentioned at
https://wiki.mageia.org/en/Kernel_flavours#kernel-linus
Comment 36 Thomas Backlund 2022-07-03 15:04:28 CEST
(In reply to Morgan Leijström from comment #35)
> So when installing a Mageia guest with kernel-linus we need not install
> vboxadditions?
> Is the automatic selection to install it or not adapted?
> 
> https://wiki.mageia.org/en/VirtualBox#On_guests
> 
> Currently it say:
> "On the guest, if it is Mageia, make sure virtualbox-guest-additions 

Read again: :)

it talks about virtualbox-*guest*-additions 

I was talking about the vboxadditions (as earlier provided by dkms-vboxadditions and kmod-vboxadditions)

Yeah, I know it's a somewhat subtle difference...
 
the *guest* package only adds a couple of binaries, some udev rules and some services, and that is not kernel version specific... as those kernel bits are in upstream kernels nowdays...
Comment 37 Morgan Leijström 2022-07-03 15:16:21 CEST
Ah OK

Just trying to make sure we supply correct info :)

- while my brain is swamped by another project... :/
Comment 38 Lewis Smith 2022-07-04 20:40:30 CEST
Assigning to Thomas as he is the best placed to judge this bug - if indeed it is one. No point now in leaving it with bugsquad.

CC: lewyssmith, tmb => (none)
Assignee: bugsquad => tmb

Comment 39 egc 2022-07-07 18:08:37 CEST
There is really a major problem since kernel 5.15.46, also with kernel 5.15.50. (with 5.15.43 everything is fine)
Situation here:
Mageia 8 as host system
Windows 10 as guest system
Virtualbox 6.1.34 downloaded directly from virtualbox.org

The Problem:
Windows crashes during boot or soon after it, mostly reboots into the bue screen with repairing tools, but none of the repairing tool finds any errors.

CC: (none) => egc

Comment 40 Morgan Leijström 2022-07-07 18:28:19 CEST
fwiw, Windows 7 64 bit runs perfect on my workstation, since our virtualbox update.
(but I have only booted it maybe ten times since, for half hour sessions, with kernel .46 and on. Recently 5.15.50, and since a few days .51.

I use the Mageia packaged VirtualBox, but extpack from upstream.

mga8-64, on an old intel i7, nvidia-current.
Comment 41 Thomas Backlund 2022-07-07 21:38:25 CEST
(In reply to egc from comment #39)
> There is really a major problem since kernel 5.15.46, also with kernel
> 5.15.50. (with 5.15.43 everything is fine)
> Situation here:
> Mageia 8 as host system
> Windows 10 as guest system
> Virtualbox 6.1.34 downloaded directly from virtualbox.org
> 

this it the problem.

Upstream 6.1.34 is not adapted for the hardening done to the random subsystem.

Upstream will only fix it in 6.1.36 that should be released on July 19th, 2022
Comment 42 Morgan Leijström 2022-07-08 13:01:18 CEST
Yes great work Thomas :)

Can we close this bug now, or is there any issue left with the Mageia packages?
Comment 43 Morgan Leijström 2022-07-21 15:00:28 CEST
No answer, thus closing.

New VirtualBox to test in Bug 30657

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.