LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-29-2021, 03:10 AM   #46
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548

Quote:
Originally Posted by Jeebizz View Post
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.
Is this with running virtualbox as root? This is what I was alluding to as a common thread here.

This computer is the host, it' Slackware64-current. I run VirtualBox from my user account. I did test starting virtualbox from a root Konsole and got this. I also logged in as root and tried starting virtualbox from Konsole with same result.
Code:
bash-5.1# virtualbox

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot register existing type 'NMAgentManagerError'

(process:5216): GLib-CRITICAL **: 23:08:01.050: g_once_init_leave: assertion 'result != 0' failed

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot retrieve class for invalid (unclassed) type '<invalid>'
Segmentation fault
bash-5.1#
When running virtuialbox as a user I have no issues, this is with five Slackware virtual machines. Two are 14.2 x86 and x86_64 machines. The remaining three are -current, one x86 and two x86_64. All but one are clean installs of Slackware. All machines are with default settings except for disk size, memory and network (set to bridged). The x86 machines have PAE/NX enabled.

I tested the VirtualBox extensions on a x86_64 and a x86 machine with no issues except that the vbox kernel modules are rebuilt on every boot (annoying). It is a possibility the drivers might actually be removed on a reboot or shutdown because of this line in the shutdown messages "VirtualBox Guest Additions: You may need to restart your guest system to finish removing guest drivers." I have not verified this, but that would explain why the kernel modules are built on every boot.
 
1 members found this post helpful.
Old 01-29-2021, 09:53 AM   #47
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
Is this with running virtualbox as root? This is what I was alluding to as a common thread here.

This computer is the host, it' Slackware64-current. I run VirtualBox from my user account. I did test starting virtualbox from a root Konsole and got this. I also logged in as root and tried starting virtualbox from Konsole with same result.
Code:
bash-5.1# virtualbox

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot register existing type 'NMAgentManagerError'

(process:5216): GLib-CRITICAL **: 23:08:01.050: g_once_init_leave: assertion 'result != 0' failed

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot retrieve class for invalid (unclassed) type '<invalid>'
Segmentation fault
bash-5.1#
When running virtuialbox as a user I have no issues, this is with five Slackware virtual machines. Two are 14.2 x86 and x86_64 machines. The remaining three are -current, one x86 and two x86_64. All but one are clean installs of Slackware. All machines are with default settings except for disk size, memory and network (set to bridged). The x86 machines have PAE/NX enabled.

I tested the VirtualBox extensions on a x86_64 and a x86 machine with no issues except that the vbox kernel modules are rebuilt on every boot (annoying). It is a possibility the drivers might actually be removed on a reboot or shutdown because of this line in the shutdown messages "VirtualBox Guest Additions: You may need to restart your guest system to finish removing guest drivers." I have not verified this, but that would explain why the kernel modules are built on every boot.
there are two issues with the latest Virtualbox 6.1.18:
ad1) running host VB as user vs root
ad2) virtualbox client crashing kernel 5.10.x

these are independent but somehow mixed up:

@Jeebizz refers to ad2)
he has a problem (as I do on antiX, Gentoo, Artix, Venom, Slackware clients) with virtualbox crashing VB client kernel 5.10.x
It does not matter what kernel version VB host is using:
in my case my host VB runs Slackware-current-64 kernel 5.10.x and Virtualbox 6.1.18 without any issues

my solution to ad2) use kernel 5.4.x
This way I have current kernel without crashing VB client

ad1) I have no idea, how to fix this I don't have the problem

Last edited by Aeterna; 01-29-2021 at 10:02 AM.
 
Old 01-29-2021, 11:29 AM   #48
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by chrisretusn View Post
Is this with running virtualbox as root? This is what I was alluding to as a common thread here.

This computer is the host, it' Slackware64-current. I run VirtualBox from my user account. I did test starting virtualbox from a root Konsole and got this. I also logged in as root and tried starting virtualbox from Konsole with same result.
Code:
bash-5.1# virtualbox

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot register existing type 'NMAgentManagerError'

(process:5216): GLib-CRITICAL **: 23:08:01.050: g_once_init_leave: assertion 'result != 0' failed

(process:5216): GLib-GObject-WARNING **: 23:08:01.050: cannot retrieve class for invalid (unclassed) type '<invalid>'
Segmentation fault
bash-5.1#
When running virtuialbox as a user I have no issues, this is with five Slackware virtual machines. Two are 14.2 x86 and x86_64 machines. The remaining three are -current, one x86 and two x86_64. All but one are clean installs of Slackware. All machines are with default settings except for disk size, memory and network (set to bridged). The x86 machines have PAE/NX enabled.

I tested the VirtualBox extensions on a x86_64 and a x86 machine with no issues except that the vbox kernel modules are rebuilt on every boot (annoying). It is a possibility the drivers might actually be removed on a reboot or shutdown because of this line in the shutdown messages "VirtualBox Guest Additions: You may need to restart your guest system to finish removing guest drivers." I have not verified this, but that would explain why the kernel modules are built on every boot.
My issue is as a user - I have no reason to try it as root.
 
Old 01-30-2021, 03:55 AM   #49
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Okay thanks @Aeterna and @Jeebizz, just trying to sort this out in my head.

With the exception of that 6.1.16 version, after upgrading to a testing version and now the 6.1.18 version I have had no issues with kernel 5.10.x, currently at 5.10.11 running on the host and also -current guest machines. The only problem (more of an annoyance) I've had with the guest additions is the rebuild the vbox modules on every boot I mentioned above.

@Jeebizz, I too have no reason to use virtualbox as root. Sort of puzzled me at first why anyone would, then I realized that there are a few who seem prefer to use root for everything. I'm okay with that.

Strange as in puzzling to me, this issue.

I don't normally install guest additions to my slackware virtual machines anyway. I've been testing on one of my virtual machines since I first noticed this issue over in The Latest Kernel Release thread.

I do install the guest additions to my Windows 10 virtual machine, no issues there.
 
Old 01-30-2021, 03:58 PM   #50
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
Quote:
Originally Posted by chrisretusn View Post
Okay thanks @Aeterna and @Jeebizz, just trying to sort this out in my head.

With the exception of that 6.1.16 version, after upgrading to a testing version and now the 6.1.18 version I have had no issues with kernel 5.10.x, currently at 5.10.11 running on the host and also -current guest machines. The only problem (more of an annoyance) I've had with the guest additions is the rebuild the vbox modules on every boot I mentioned above.

@Jeebizz, I too have no reason to use virtualbox as root. Sort of puzzled me at first why anyone would, then I realized that there are a few who seem prefer to use root for everything. I'm okay with that.

Strange as in puzzling to me, this issue.

I don't normally install guest additions to my slackware virtual machines anyway. I've been testing on one of my virtual machines since I first noticed this issue over in The Latest Kernel Release thread.

I do install the guest additions to my Windows 10 virtual machine, no issues there.
I can install VirtualBox client with kernel 5.10.x and this works fine. However after installing Vbox client additions kernels 5.10.x crash with the error messages as posted by Jeebizz.

Without VboxClient additions I can't use copy/paste between clients or client and host which is quite convenient for me. So the trade off is Vbox client additions installed with kernel 5.4.x
 
Old 01-30-2021, 05:35 PM   #51
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,185

Rep: Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378Reputation: 1378
Quote:
Originally Posted by chrisretusn View Post
Okay thanks @Aeterna and @Jeebizz, just trying to sort this out in my head.

With the exception of that 6.1.16 version, after upgrading to a testing version and now the 6.1.18 version I have had no issues with kernel 5.10.x, currently at 5.10.11 running on the host and also -current guest machines. The only problem (more of an annoyance) I've had with the guest additions is the rebuild the vbox modules on every boot I mentioned above.

@Jeebizz, I too have no reason to use virtualbox as root. Sort of puzzled me at first why anyone would, then I realized that there are a few who seem prefer to use root for everything. I'm okay with that.

Strange as in puzzling to me, this issue.

I don't normally install guest additions to my slackware virtual machines anyway. I've been testing on one of my virtual machines since I first noticed this issue over in The Latest Kernel Release thread.

I do install the guest additions to my Windows 10 virtual machine, no issues there.
As far as the guest rebuilding, I have always seen that no matter the version and it doesn't bother me; but I have not seen anything from Oracle officially about a fix for this issue, as I am still experiencing this instability when installing guest additions. If I don't install them, things are fine but then the graphics are screwed.
 
Old 02-02-2021, 09:32 AM   #52
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
For a number of years on one of my machines I've been running Slackware Stable (14.2), Kernel 4.4.240 with the Host VirtualBox 5.0.40. The Guests having been running Slackware Current (14.2+) up to and including the 5.4.68 kernel (VBoxGuestAddions-6.0.22) without issue.

Then came kernel 5.10.x. The host is still Slackware 14.2 Kernel 4.4.240 with VirtualBox 5.0.4. One of the guests is Slackware Current with Kernel 5.10.x and VBoxGuestAdditions 6.1.18. Getting all sorts of stability issues on the Guest side including segmentation faults all similar to those already reported.

I've now dual booting with Host Slackware Current (14.2+), Kernel 5.10.x with VBoxGuestAdditions 6.1.18. The Guest is Slackware Current (14.2+). When I install VBoxGuestAdditions-6.1.18 on the guest I get no stability problems.

I noted somewhere in the VirtualBox documentation a recommendation that where possible the host and guests should be running the same versions of Virtualbox..

Alex

Last edited by aikempshall; 02-03-2021 at 07:25 AM.
 
Old 02-02-2021, 09:51 AM   #53
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by aikempshall View Post
I noted somewhere in the VirtualBox documentation a recommendation that the host and guests should be running the same Kernels.
I sure like to see were in the documentation you read this. I run host/guest with different kernel combinations all the time. This make no sense.
 
Old 02-03-2021, 02:49 AM   #54
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by chrisretusn View Post
I sure like to see were in the documentation you read this. I run host/guest with different kernel combinations all the time. This make no sense.
I've always worked on the basis that VBoxGuestAdditions aren't tied to the VirtualBox version running on the host, until I read https://www.virtualbox.org/manual/ch04.html this statement


Quote:
Each version of Oracle VM VirtualBox, even minor releases, ship with their own version of the Guest Additions. While the interfaces through which the Oracle VM VirtualBox core communicates with the Guest Additions are kept stable so that Guest Additions already installed in a VM should continue to work when Oracle VM VirtualBox is upgraded on the host, for best results, it is recommended to keep the Guest Additions at the same version.
 
Old 02-03-2021, 03:21 AM   #55
bitfuzzy
Member
 
Registered: Nov 2003
Location: NY
Distribution: slackware
Posts: 464

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by aikempshall View Post
it is recommended to keep the Guest Additions at the same version.
That statement pertains to "VBoxGuestAdditions"

They recommend VBoxGuestAdditions be of the same version as the version of VirtualBox the host is running

It has nothing to do with "kernels"

Quote:
Originally Posted by aikempshall View Post
I noted somewhere in the VirtualBox documentation a recommendation that the host and guests should be running the same Kernels.

Last edited by bitfuzzy; 02-03-2021 at 03:23 AM.
 
Old 02-03-2021, 04:00 AM   #56
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by aikempshall View Post
I've always worked on the basis that VBoxGuestAdditions aren't tied to the VirtualBox version running on the host, until I read https://www.virtualbox.org/manual/ch04.html this statement
This is a given and well known. Yes you should match the Guest Additions with the version of VirtualBox you are using. You said kernels should match.
 
Old 02-03-2021, 07:27 AM   #57
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by chrisretusn View Post
This is a given and well known. Yes you should match the Guest Additions with the version of VirtualBox you are using. You said kernels should match.
My apologies I've just realised what I wrote was wrong and what I meant to write was

Quote:
I noted somewhere in the VirtualBox documentation a recommendation that where possible the host and guests should be running the same versions of Virtualbox..
 
Old 02-03-2021, 07:31 AM   #58
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,969

Rep: Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548Reputation: 1548
Quote:
Originally Posted by aikempshall View Post
My apologies I've just realised what I wrote was wrong and what I meant to write was
No problem, we all been there. I certainly have anyway.
 
Old 02-09-2021, 02:04 PM   #59
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,095

Original Poster
Rep: Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272Reputation: 7272
New test builds have been posted at,
https://www.virtualbox.org/wiki/Testbuilds
Version Linux 64-bit, 6.1.x revision 142673 and its companion extension pack work as they should as both user and root.
Ditto for the development snapshot 142300 and the 142298 extension pack.
 
Old 02-09-2021, 02:13 PM   #60
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by cwizardone View Post
New test builds have been posted at,
https://www.virtualbox.org/wiki/Testbuilds
Version Linux 64-bit, 6.1.x revision 142673 and its companion extension pack work as they should as both user and root.
Ditto for the development snapshot 142300 and the 142298 extension pack.
Are you sure that the development snapshot 142300 is new? That's what I am running right now and I downloaded that weeks ago? Thanks for the heads up on the test builds though.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] virtualbox is installed along with virtualbox-dkms and virtualbox-ext-pack and linux-headers-generic, but error for no /dev/vboxdrv Astral Axiom Linux - Software 2 03-04-2019 08:09 PM
Issues activating virtualbox within my linux fedora 25 virtualbox on my windows device. QuantumChaos Linux - Virtualization and Cloud 5 02-21-2017 08:31 AM
Move Slackware guest from a Slackware hosted Virtualbox to Windows hosted Virtualbox? damgar Slackware 1 08-07-2012 11:28 PM
virtualbox or virtualbox ose manuleka Linux - Software 2 06-11-2009 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration