{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/2642","repository_url":"https://api.github.com/repos/dnschneid/crouton","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/2642/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/2642/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/2642/events","html_url":"https://github.com/dnschneid/crouton/issues/2642","id":161722297,"number":2642,"title":"Installing Virtualbox - wrong kernel version after building headers?","user":{"login":"Pitey","id":6830135,"avatar_url":"https://avatars.githubusercontent.com/u/6830135?v=3","gravatar_id":"","url":"https://api.github.com/users/Pitey","html_url":"https://github.com/Pitey","followers_url":"https://api.github.com/users/Pitey/followers","following_url":"https://api.github.com/users/Pitey/following{/other_user}","gists_url":"https://api.github.com/users/Pitey/gists{/gist_id}","starred_url":"https://api.github.com/users/Pitey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pitey/subscriptions","organizations_url":"https://api.github.com/users/Pitey/orgs","repos_url":"https://api.github.com/users/Pitey/repos","events_url":"https://api.github.com/users/Pitey/events{/privacy}","received_events_url":"https://api.github.com/users/Pitey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-06-22T16:02:33Z","updated_at":"2016-07-10T06:30:56Z","closed_at":null,"body":"```\r\nchronos@localhost / $ sudo edit-chroot -all\r\nname: trusty\r\nencrypted: no\r\nEntering /mnt/stateful_partition/crouton/chroots/trusty...\r\ncrouton: version 1-20160518095657~master:fd37bb79\r\nrelease: trusty\r\narchitecture: amd64\r\nxmethod: xorg\r\ntargets: keyboard,xfce,touch,extension\r\nhost: version 8459.0.0 (Official Build) dev-channel cyan \r\nkernel: Linux localhost 3.18.0-12438-gfa5c4dd #1 SMP PREEMPT Wed Jun 15 19:01:06 PDT 2016 x86_64 x86_64 x86_64 GNU/Linux\r\nfreon: yes\r\nUnmounting /mnt/stateful_partition/crouton/chroots/trusty...\r\n```\r\n\r\nI'm trying to install Virtualbox on my Acer Chromebook R11\r\n```\r\n$ uname -r\r\n3.18.0-12438-gfa5c4dd\r\n```\r\n\r\ni cloned the source for 3.18 and followed the steps in the Build kernel headers and install Virtualbox wiki page. \r\neverything went successful, but the kernel and image files are named like this:\r\n```\r\nlinux-headers-3.18.0-12453-g22f7042-dirty_3.18.0-12453-g22f7042-dirty-10.00.Custom_amd64.deb\r\nlinux-image-3.18.0-12453-g22f7042-dirty_3.18.0-12453-g22f7042-dirty-10.00.Custom_amd64.deb\r\n```\r\n\r\nSo, the version appendix is 12453 instead of 12438\r\n\r\nI think this leads to the following error, when trying to install the virtualbox modules with modprobe:\r\n```\r\n$ modprobe vboxdrv\r\nbash: modprobe: command not found\r\n(trusty)pitey@localhost:~/kernel$ sudo modprobe vboxdrv\r\nmodprobe: ERROR: ../libkmod/libkmod.c:507 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/3.18.0-12438-gfa5c4dd/modules.builtin.bin'\r\nmodprobe: FATAL: Module vboxdrv not found.\r\n```\r\n\r\nRunning /etc/init.d/vboxdrv setup gives the following:\r\n```\r\n$ sudo /etc/init.d/vboxdrv setup\r\nStopping VirtualBox kernel modules ...done.\r\nUninstalling old VirtualBox DKMS kernel modules ...done.\r\nTrying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.18.0-12438-gfa5c4dd cannot be found.\r\nPlease install the linux-headers-3.18.0-12438-gfa5c4dd package,\r\nor use the --kernelsourcedir option to tell DKMS where it's located\r\n ...failed!\r\n  (Failed, trying without DKMS)\r\nRecompiling VirtualBox kernel modules ...failed!\r\n  (Look at /var/log/vbox-install.log to find out what went wrong)\r\n(trusty)pitey@localhost:~/kernel$ \r\n\r\n```\r\n\r\nMy understanding is, that the kernel headers and modules I build are newer than the actual kernel in my chromebook. Can i point to the correct version number when building? or do I have to build the complete kernel from source?"},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/231573395","html_url":"https://github.com/dnschneid/crouton/issues/2642#issuecomment-231573395","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/2642","id":231573395,"user":{"login":"divx118","id":6023420,"avatar_url":"https://avatars.githubusercontent.com/u/6023420?v=3","gravatar_id":"","url":"https://api.github.com/users/divx118","html_url":"https://github.com/divx118","followers_url":"https://api.github.com/users/divx118/followers","following_url":"https://api.github.com/users/divx118/following{/other_user}","gists_url":"https://api.github.com/users/divx118/gists{/gist_id}","starred_url":"https://api.github.com/users/divx118/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divx118/subscriptions","organizations_url":"https://api.github.com/users/divx118/orgs","repos_url":"https://api.github.com/users/divx118/repos","events_url":"https://api.github.com/users/divx118/events{/privacy}","received_events_url":"https://api.github.com/users/divx118/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T06:30:56Z","updated_at":"2016-07-10T06:30:56Z","body":"@araisovich Thanks, I still didn't find the time to take a look at this issue. Glad you did the work for me :)"}}
{"actor":{"display_login":"divx118"}}