LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   VirtualBox for Slackware Users (https://www.linuxquestions.org/questions/slackware-14/virtualbox-for-slackware-users-4175689027/)

Daedra 01-24-2021 11:05 AM

I am also noticing that I can only get sound to play in both my Linux and Windows guests if I set the Host Audio Driver to Alsa instead of PulseAudio. Is anyone else having this issue?

Jeebizz 01-24-2021 11:06 AM

Quote:

Originally Posted by bitfuzzy (Post 6211390)
The kernel panic is on the guest? or host??

Guest.

1337_powerslacker 01-24-2021 04:09 PM

I was in the middle of the mass upgrade, and all of a sudden I was getting file corruption errors. I decided to safest way to proceed was to do a clean install. Went swimmingly. Now all is well. Super-performant and rock-solid, as I would expect from Slackware.

Rock on!

Aeterna 01-24-2021 08:44 PM

Quote:

Originally Posted by Daedra (Post 6211395)
I am also noticing that I can only get sound to play in both my Linux and Windows guests if I set the Host Audio Driver to Alsa instead of PulseAudio. Is anyone else having this issue?

I have Gentoo, antiX, Slackware and Artix running only with Alsa. In contrast FreeBSD and OpenBSD run with PulseAudio.

aikempshall 01-25-2021 03:32 AM

Ever so briefly this morning I fell across a web page that mentioned that vboxsf support is new to the kernel starting with the 5.10 series.

Retraced my browsing history, but couldn't find that reference again.

Wondering if I need to use VBoxGuestAdditions do I need to blacklist the Linux kernel modules vboxvideo, vboxguest and vboxsf?

aikempshall 01-25-2021 07:24 AM

1 Attachment(s)
I've got a fully update kubuntu 20.04 vboxguest, it was working perfectly well screen resizing, shared folders and bi-directional copy/paste. The host is Slackware-14.2 running VirtualBox 5.0.40 r115130

I've taken a clone of it and upgraded it to use the 5.10 kernel following the instructions here https://sypalo.com/how-to-upgrade-ubuntu

I removed the VBoxGuestAdditions-6.0.22 and installed VBoxGuestAdditions-6.1.18.

Rebooted the guest and it fails in similar fashion to how Slackware-current fails as reported in this thread.

I've attached a screenshot with the point of failure.

Jeebizz 01-25-2021 08:38 PM

Well I think until Oracle addresses this issue, there is nothing we can really do other than suggest not installing guest additions. I would have to theorize that this is not just affecting Slackware as a guest, but any other Linux distro running the 5.10.x kernel. *shrug>

Jeebizz 01-25-2021 09:34 PM

2 Attachment(s)
Quote:

Originally Posted by Jeebizz (Post 6211997)
Well I think until Oracle addresses this issue, there is nothing we can really do other than suggest not installing guest additions. I would have to theorize that this is not just affecting Slackware as a guest, but any other Linux distro running the 5.10.x kernel. *shrug>

Well I don't know what is going on to be honest. I booted just fine after installing guest additions on 5.10.10 - so I thought maybe the issue was resolved - as soon as I logged as root I got a weird kernel panic (stupid me didn't screenshot). So I rebooted again, I got a kernel panic - so I rebooted yet again, and this time I was able to boot with another weird error, and logged into as root with no error, so SOMETHING is up still... What I don't know but everything seems suspect to me:




-edit

So basically I don't know what to expect each time I boot the VM, I could either boot into it just fine - or get a kernel panic for some random reason; this is even more weird now.

Jeebizz 01-25-2021 09:51 PM

5 Attachment(s)
Ok --- SO; I rebooted a few times and this confirms my theory - sometimes the VM will get all the way to a login prompt, I tried to get into root and got another kernel panic - so really this is all over the place now. So here are some incoming threads with screenshots:



Jeebizz 01-25-2021 09:56 PM

4 Attachment(s)
And then the next time I rebooted:


I actually made it to the login prompt - logged into root and then kernel panic again. SO... Yea I don't know how useful all this is - but this is what I have seen with 5.10.10 and guest additions for VirtualBox 6.1.18 r142142. Sometimes you can boot all the way, sometimes you won't - and sometimes you will still boot even after the kernel panic. It makes no sense.

-edit

Forgot to mention this is --Current up to today's updates (changelog) too.

cwizardone 01-26-2021 07:29 AM

FWIW, as I said in post #10,
Quote:

Development revision 142300 and Extension Pack development revision 142298
WILL run both as root and as user.

https://www.virtualbox.org/wiki/Testbuilds
Now, I only use it to run winXp-sp3, so I can run the HP drivers for my flatbed scanner, but for that purpose the VirtualBox versions mentioned above are working perfectly.

linuxxer 01-28-2021 06:58 AM

Quote:

Originally Posted by bitfuzzy (Post 6209935)
Slackware -Current64 - Kernel 5.4.84 - VirtualBox 6.1.16 r140961
As Root w/ root added to vboxusers group

I was also facing the same issue (with same version of Linux kernel and VirtualBox). This issue was because of NetworkManager library.

I uninstalled the NetworkManager and then run VirtualBox. After that I installed the NetworkManager.
And disbled Preferences -> Update -> Check for updates option in VirtualBox. After that I had not facing issue while running the VirtualBox. Now I am running both NetworkManager and VirtualBox together.

I don't know what was the exact issue. But What I understand is, Everyday first time when I start VirtualBox, it was checking for update and get crash because of that library. I don't know this is right or wrong. But it is working for me.

chrisretusn 01-28-2021 09:32 AM

This looks to only be an issues when starting, using virtualbox from a console session with -current as the host. This is not an issue (as far as I can see from my own testing) when using virtualbox as a user. Did I get that right?

maltux 01-28-2021 10:38 AM

Thank you
 
Quote:

Originally Posted by ctrlaltca (Post 6211093)
This command should fix Virtualbox crashing on startup:
Code:

VBoxManage setextradata global GUI/UpdateDate never
At startup, Virtualbox checks for updates; disabling this check avoids the crash. As far as i understand this is caused by Virtualbox bundling its own version of the Qt5 libraries.

Thank you - this worked for me..

Jeebizz 01-28-2021 10:57 AM

Quote:

Originally Posted by chrisretusn (Post 6213025)
This looks to only be an issues when starting, using virtualbox from a console session with -current as the host. This is not an issue (as far as I can see from my own testing) when using virtualbox as a user. Did I get that right?

My scenario, the hose is 14.2 64-Bit, and --Current is the guest. That is where I am experiencing these random kernel panics in --Current as the guest.


All times are GMT -5. The time now is 03:29 PM.