<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=3641&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=3641</link>
		<description><![CDATA[The most recent posts in [Solved] Virtual Box kernel modules to be rebuilt after each boot.]]></description>
		<lastBuildDate>Sat, 27 Jun 2020 14:40:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23054#p23054</link>
			<description><![CDATA[<div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>Can&#039;t remember that I had to do this before, e.g. under Squeeze, Wheezy, or ASCII. Anyhow, I think I have got a solution now.</p></div></blockquote></div><p>VirtualBox was in the repos back then (It was dropped for buster due to oracle being &quot;uncooperative&quot; IIRC), so presumably you were using those packages rather than the ones from oracle, no?</p></div></blockquote></div><p>No, currently I am directly downloading the latest stuff from virtualbox.org and then using <span class="bbc">dpkg -i</span>. I have been through all the methods from using the repo stuff, the following the sources.list setup as suggested by the VBox docs, then I found that I can ease my life. No enabling/disabling in sources.list, no key to care for .... Works for me.</p><p>Thanks, rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sat, 27 Jun 2020 14:40:59 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23054#p23054</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23052#p23052</link>
			<description><![CDATA[<div class="quotebox"><cite>PedroReina wrote:</cite><blockquote><div><p>I think that it is somehow related with the systemd issue.</p></div></blockquote></div><p>Indeed it is, but that would be off topic for this thread. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 27 Jun 2020 14:29:03 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23052#p23052</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23051#p23051</link>
			<description><![CDATA[<div class="quotebox"><cite>steve_v wrote:</cite><blockquote><div><p> Sheesh, commercial vendors and their overengineering.</p></div></blockquote></div><p>This comment could lead us to another interesting thread. I think that it is somehow related with the systemd issue. It is all about &quot;proprietary open source&quot; software that I heard in this forum.</p>]]></description>
			<author><![CDATA[dummy@example.com (PedroReina)]]></author>
			<pubDate>Sat, 27 Jun 2020 14:26:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23051#p23051</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23049#p23049</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>Then tried to add to /etc/modules: the entry <span class="bbc">vboxdrv</span> was a game changer, the error when starting my Win7 VM changed. I saw that I needed to enter also <span class="bbc">vboxnetadp</span> and <span class="bbc">vboxnetflt</span>, and now it works.</p></div></blockquote></div><p>To be fair you shouldn&#039;t have to, something must be going wrong in the byzantine mess that is oracles init script...<br />The init script that I didn&#039;t see on cursory examination of the package because it&#039;s copied from /usr/lib/virtualbox by the byzantine postinst-common script, which is in turn called from another postinst script... <br />The init script that takes 20KB of shell to load 3 frickin modules, and clearly doesn&#039;t manage to do it reliably.<br /> Sheesh, commercial vendors and their overengineering.</p><p>You could try debugging it, or you could just stick with those 3 lines in /etc/modules... I know which one I&#039;d choose.</p><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>Can&#039;t remember that I had to do this before, e.g. under Squeeze, Wheezy, or ASCII. Anyhow, I think I have got a solution now.</p></div></blockquote></div><p>VirtualBox was in the repos back then (It was dropped for buster due to oracle being &quot;uncooperative&quot; IIRC), so presumably you were using those packages rather than the ones from oracle, no?</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 27 Jun 2020 14:17:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23049#p23049</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23047#p23047</link>
			<description><![CDATA[<p>Well, I had all pre-requisites present like kernel headers, build-essential, dkms. Installation of VBox went smooth without any errors.</p><p>Instructions I am talking about: Repeated <span class="bbc">vboxsetup</span>, <span class="bbc">modprobe vboxdrv</span>, <span class="bbc">rcvboxdrv setup</span>: all run smooth, no errors, each of them fixes the issue temporarily. Just after any reboot everything seems to be forgotten.</p><p>Digged deeper into logs like the vbox logs, syslog and boot: nothing that caught my eye. The entry in /etc/init.d/vboxdrv is present, all permissions set correctly (afaik) ...</p><p>Then tried to add to /etc/modules: the entry <span class="bbc">vboxdrv</span> was a game changer, the error when starting my Win7 VM changed. I saw that I needed to enter also <span class="bbc">vboxnetadp</span> and <span class="bbc">vboxnetflt</span>, and now it works. </p><p>Can&#039;t remember that I had to do this before, e.g. under Squeeze, Wheezy, or ASCII. Anyhow, I think I have got a solution now. Thanks for picking my brain, your hint to the /etc/modules finally did the job.</p><p>rolfie</p><p>PS: I used keywords like &quot;virtualbox kernel module&quot; and &quot;kernel 5.6 virtualbox&quot; and others and tags from the error messages and read through a bunch of pages without getting a clue, just an impression that kernel 5.5 works, while 5.6 seems to create issues.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Sat, 27 Jun 2020 12:13:40 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23047#p23047</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23041#p23041</link>
			<description><![CDATA[<div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>All the nice hints found do not fix the issue.</p></div></blockquote></div><p>What hints? The very useful one that VirtualBox provides when you try to start a VM without the kernel module loaded?</p><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>When I follow the instruction I can work with VBox</p></div></blockquote></div><p>By &quot;the instruction&quot; you mean </p><div class="codebox"><pre><code>modprobe vboxdrv</code></pre></div><p>?</p><p>If that works then the kernel module has been built just fine, it simply needed to be loaded.</p><div class="quotebox"><cite>rolfie wrote:</cite><blockquote><div><p>the game starts next day when I have shut down the PC the evening before and restarted or past any reboot. </p><p>What is going on here?</p></div></blockquote></div><p>Unless you have configured the system to load that module at startup (i.e. in /etc/modules or some init script), you will need to load it when you want to use it.<br />What&#039;s unexpected about that?</p><p>ED. The repo at </p><div class="codebox"><pre><code>https://people.debian.org/~lucas/virtualbox-buster/</code></pre></div><p> is probably a better option than Oracle&#039;s .debs. It looks like it includes virtualbox-dkms for automatic rebuilds against new kernel versions, as well as an init script to load the modules at system startup.</p><p>I don&#039;t see anything in there that would make those Debian buster packages problematic on Devuan beowulf, but as always, YMMV.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Sat, 27 Jun 2020 07:10:17 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23041#p23041</guid>
		</item>
		<item>
			<title><![CDATA[[Solved] Virtual Box kernel modules to be rebuilt after each boot]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=23032#p23032</link>
			<description><![CDATA[<p>Beowulf on Kernel 5.6 with Mate Desktop, VB 6.1.10 directly loaded from Oracle and installed via dpkg -i.</p><p>Situation is that I have to rebuild kernel modules after each boot before being able to start a Win7 VM. </p><p>I am getting:</p><div class="codebox"><pre><code>Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing

&#039;modprobe vboxdrv&#039;

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.</code></pre></div><p>All the nice hints found do not fix the issue. When I read the announcement right my VBox version should already support the 5.7 kernel. </p><p>When I follow the instruction I can work with VBox, the game starts next day when I have shut down the PC the evening before and restarted or past any reboot. </p><p>What is going on here?</p><p>rolfie</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Fri, 26 Jun 2020 20:58:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=23032#p23032</guid>
		</item>
	</channel>
</rss>
