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

Genymotion can't find virtualbox #79440

Open
eoli3n opened this issue Feb 7, 2020 · 11 comments
Open

Genymotion can't find virtualbox #79440

eoli3n opened this issue Feb 7, 2020 · 11 comments
Labels
0.kind: bug Something is broken

Comments

@eoli3n
Copy link

eoli3n commented Feb 7, 2020

Describe the bug
When starting genymotion, it complains about the fact that it doesn't find virtualbox engine.

To Reproduce

Expected behavior
Working genymotion

Screenshots
genymotion

Metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.100, NixOS, 20.03pre211190.a21c2fa3ea2 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.2`
 - channels(root): `"nixos-20.03pre211190.a21c2fa3ea2"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
attribute: genymotion
# a list of nixos modules affected by the problem
module:
@eoli3n eoli3n added the 0.kind: bug Something is broken label Feb 7, 2020
@eoli3n
Copy link
Author

eoli3n commented Feb 7, 2020

$HOME/.Genymobile/genymotion.log

févr. 7 13:48:08 [Genymotion] [Debug] Proxy configuration: no proxy used
févr. 7 13:48:08 [Genymotion] [Debug] Host date and time: "07 Feb 2020 13:48:08 +0100"
févr. 7 13:48:08 [Genymotion] [Debug] Proxy configuration: no proxy used
févr. 7 13:48:08 [Genymotion] [Debug] "Local socket created at path : /tmp/907f397a1f5a71abaaa526042f58a1b0"
févr. 7 13:48:08 [Genymotion] [Warning] ****  STARTING GENYMOTION  ****
févr. 7 13:48:08 [Genymotion] [Warning] Genymotion Version: Genymotion "2.8.0"
févr. 7 13:48:08 [Genymotion] [Debug] [LaunchpadApp] Started with ("/run/current-system/sw/bin/genymotion")
févr. 7 13:48:08 [Genymotion] [Debug] [doRequest] Requesting:  "https://cloud.genymotion.com/launchpad/last_version/linux/x64/"
févr. 7 13:48:08 [Genymotion] [Debug] [doRequest] done
févr. 7 13:48:08 [Genymotion] [Debug] [getGenymotionLastVersion] New version ( "3.0.4" ) available here: "https://dl.genymotion.com/releases/genymotion-3.0.4/genymotion-3.0.4-linux_x64.bin"
févr. 7 13:48:08 [Genymotion] [Debug] Last version of Genymotion is  "3.0.4"
févr. 7 13:48:08 [Genymotion] [Debug] Loading "vboxmanage" plugin
févr. 7 13:48:08 [Genymotion] [Debug] Plugin "vboxmanage" loaded
févr. 7 13:48:08 [Genymotion] [Debug] Chipset: "GenuineIntel"
févr. 7 13:48:08 [Genymotion] [Debug] CPUID 0x1 (Intel): ECX= "7ffafbff"
févr. 7 13:48:08 [Genymotion] [Debug] [VBoxManageCore] Path: "VBoxManage"
févr. 7 13:48:09 [Genymotion] [Debug] VBoxManage ("list", "hostinfo") returns 0
févr. 7 13:48:09 [Genymotion] [Debug] [System properties] Online physical CPU number: 4
févr. 7 13:48:09 [Genymotion] [Debug] [System properties] Online virtual CPU number: 4
févr. 7 13:48:09 [Genymotion] [Debug] CPU number is > 8 - Fix max number to 8
févr. 7 13:48:09 [Genymotion] [Debug] [System properties] Max CPU number: 8
févr. 7 13:48:09 [Genymotion] [Debug] [System properties] Max memory size: 15910
févr. 7 13:48:09 [Genymotion] [Debug] [findHostOnlyInterface] Looking for compatible host-only interface
févr. 7 13:48:09 [Genymotion] [Debug] VBoxManage ("list", "hostonlyifs") returns 0
févr. 7 13:48:09 [Genymotion] [Debug] [createHostOnlyInterface] Creating new host-only interface
févr. 7 13:48:09 [Genymotion] [Error] VBoxManage ("hostonlyif", "create") returns 1
févr. 7 13:48:09 [Genymotion] [Error] Output command: "0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to create the host-only adapter
VBoxManage: error: VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
VBoxManage: error: Context: "RTEXITCODE handleCreate(HandlerArg*)" at line 94 of file VBoxManageHostonly.cpp"
févr. 7 13:48:09 [Genymotion] [Error] [createHostOnlyInterface] Failed to create interface
févr. 7 13:48:09 [Genymotion] [Error] "Fail to load vboxmanage plugin from /nix/store/8aj8n1labdg3x59mg4sdmv730i18wpgh-genymotion-2.8.0/libexec/genymotion/plugins/"
févr. 7 13:48:09 [Genymotion] [Error] VM Engine failed to load
févr. 7 13:48:09 [Genymotion] [Error] Unable to find VM Engine. Plugin loading aborted.
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] VM engine not available
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Creating temporary folder: "/tmp/genymotion-logs-tmp"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.1" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.1"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.2" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.2"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.3" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.3"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.4" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.4"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.5" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.5"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.6" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.6"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VBoxSVC.log.7" to "/tmp/genymotion-logs-tmp/general-VBoxSVC.log.7"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.config/VirtualBox/VirtualBox.xml" to "/tmp/genymotion-logs-tmp/general-VirtualBox.xml"
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "/nix/store/8aj8n1labdg3x59mg4sdmv730i18wpgh-genymotion-2.8.0/libexec/genymotion/tools/glewinfo" with args ()
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "lsmod" with args ()
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "lspci" with args ()
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Can't run command "lspci"
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] 0
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("rule")
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "ip" with args ("route")
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "free" with args ()
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "ps" with args ("afx")
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "df" with args ("-kh")
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "dmesg" with args ()
févr. 7 13:48:09 [Genymotion] [Warning] [LogCollector] Running "cat" with args ("/proc/cpuinfo")
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Copying file "/home/user/.Genymobile/genymotion.log" to "/tmp/genymotion-logs-tmp/general-genymotion.log"
févr. 7 13:48:09 [Genymotion] [Debug] [archiveDirectory] Archive created under "/home/user/genymotion-log.zip"
févr. 7 13:48:09 [Genymotion] [Debug] [LogCollector] Removing temporary folder: "/tmp/genymotion-logs-tmp"
févr. 7 13:48:10 [Genymotion] [Error] **** STOPPING GENYMOTION WITH ERROR ****
févr. 7 13:48:10 [Genymotion] [Warning] ****  STOPPING GENYMOTION  ****

@veprbl
Copy link
Member

veprbl commented Feb 9, 2020

cc @puffnfresh

@eoli3n
Copy link
Author

eoli3n commented Feb 13, 2020

@etu @infinisil @teto @alexameen ?
#62109

@stale
Copy link

stale bot commented Aug 11, 2020

Hello, I'm a bot and I thank you in the name of the community for opening this issue.

To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it.

If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them.

Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 11, 2020
@fermuch
Copy link

fermuch commented Jun 8, 2021

I've just stumbled upon this bug. Is there a workaround or a fix?

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 8, 2021
@melg8
Copy link

melg8 commented Jul 1, 2021

I've encountered same bug.

@SkyLeite
Copy link

SkyLeite commented Oct 7, 2021

This is caused by incorrectly installed virtualbox. Following the instructions in the wiki worked for me. https://nixos.wiki/wiki/VirtualBox

@stale
Copy link

stale bot commented Apr 16, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Apr 16, 2022
@tagamma
Copy link

tagamma commented Feb 9, 2023

Still having this issue

@stealthswor
Copy link

stealthswor commented Aug 19, 2023

also having this issue along with #82959.

@stealthswor
Copy link

This is caused by incorrectly installed virtualbox. Following the instructions in the wiki worked for me. https://nixos.wiki/wiki/VirtualBox

Virtualbox starts up fine for me so that isnt the problem.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Aug 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

7 participants