Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something broke VirtualBox today #25

Closed
Watney opened this issue Dec 9, 2015 · 11 comments
Closed

Something broke VirtualBox today #25

Watney opened this issue Dec 9, 2015 · 11 comments
Labels

Comments

@Watney
Copy link

Watney commented Dec 9, 2015

Hello,

After CrOS updated to Version 48.0.2564.23 beta (64-bit), I followed my standard procedure:

  1. Change the kernel flags
  2. Reboot
  3. Update crouton (which also updates all packages)
  4. Reboot
  5. Start my trusty chroot and then VirtualBox: boom!

Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem ...

But, lsmod confirms the kernel modules are loading:
vboxnetflt 28093 0
vboxnetadp 25540 0
vboxpci 23143 0
vboxdrv 361092 3 vboxnetadp,vboxnetflt,vboxpci

So, I purged VirtualBox, reinstalled the headers from the PPA, and reinstalled VirtualBox. After confirming the kernel modules are indeed loading, tried again: same error.

I would keep troubeshooting, but I'm stuck. Any suggestions would be most welcome. Thanks!

[Edit] A little more information. The output of
$sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMS ...done.
Starting VirtualBox kernel modules ...failed!
(Cannot locate the VirtualBox device)

@divx118
Copy link
Owner

divx118 commented Dec 9, 2015

Hmm it seems not to be able to create the device node. I need to try it myself soon. Currently I have no virtualbox installed on my chromebook.

or there is a permission problem

I wonder what the chromeos developers changed this time...

Edit:
Oh forgot to ask, what does the following command say:

$ ls -al /dev |grep vbox

@divx118 divx118 added the bug label Dec 9, 2015
@Watney
Copy link
Author

Watney commented Dec 9, 2015

I'll check the output later today and report.

Please don't rush to install yourself. I'm going to blow crouton away. It's unusable now: the video tares badly and you cannot switch between CrOS and the chroot. And to be honest, I'm not using it :)

Thanks for the reply. I'll post the output later

@Watney
Copy link
Author

Watney commented Dec 9, 2015

According to the current Oracle user manual, vbox is installed in /etc

The ouput of $ ls -al /dev |grep vbox is null, but

$ ls -al /etc |grep vbox
drwxr-xr-x 2 root root 4096 Nov 10 09:54 vbox

VirtualBox 5.0 introduced several changes, one of which is the error message over when the chroot is launched. I'll report that message momentarily, but I'm first posting this comment because switching to CrOS in Crouton will crash the display. (no error reported when launching chroot)

@divx118 I'm going to blow away crouton. Like I mentioned, there are graphics issues that render it unusable, and more importantly, I'm not using it these days. Thanks for all of your help with this project. Best regards to you and your family

@neurocyte
Copy link

I also use virtualbox on crouton and it broke for me too. /dev/vboxdrv does not exist even though lsmod shows that all the vbox modules are loaded. /proc/devices and /proc/misc don't show anything vbox related. dmesg is quiet too.

@neurocyte
Copy link

Sorry, that was not accurate. dmesg does show the regular "Chromium OS LSM: init_module locking-ignored" message for vboxdrv, but nothing else.

@divx118
Copy link
Owner

divx118 commented Dec 10, 2015

@neurocyte Yep thanks, that is what I expected. I wonder if we can make the device node manually after the modules are loaded ....
@Watney Thanks anyway for reporting the issue. :)

@divx118
Copy link
Owner

divx118 commented Dec 10, 2015

Damn I don't seem to be affected.

(trusty)m@localhost:~$ ls -al /dev|grep vbox
crw-------  1 root root       10,  56 Dec 10 18:43 vboxdrv
crw-------  1 root root       10,  55 Dec 10 18:43 vboxdrvu
crw-------  1 root root       10,  54 Dec 10 18:43 vboxnetctl
drwxr-x---  3 root vboxusers       60 Dec 10 18:42 vboxusb

Version 48.0.2564.23 dev (64-bit)
Platform 7647.18.0 (Official Build) dev-channel falco
Firmware Google_Falco.4389.92.0

@divx118
Copy link
Owner

divx118 commented Dec 10, 2015

Can anyone post there kernel version uname -a? I think it has to be kernel related I am on 3.8.11.

@Watney
Copy link
Author

Watney commented Dec 10, 2015

Before I blew my system away, I checked and it was 3.14.0 (2015 Pixel)

@divx118
Copy link
Owner

divx118 commented Dec 10, 2015

Ok, thanks I am going to build some new kernel header files for 3.14 and
see if that will fix it.

On Thu, Dec 10, 2015 at 8:55 PM, Watney notifications@github.com wrote:

Before I blew my system away, I checked and it was 3.14.0 (2015 Pixel)


Reply to this email directly or view it on GitHub
#25 (comment)
.

@divx118
Copy link
Owner

divx118 commented Dec 27, 2015

Sorry it took so long, however I updated the header files for 3.14 see if that solves the issue.
Use the following in a chroot to update the headers.

$ sudo apt-get update && sudo apt-get upgrade

Then rebuild the virtuabox modules.

If there are still issues, then please reply and I will reopen this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants