-
Notifications
You must be signed in to change notification settings - Fork 16
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
Pixel 2015: unable to modprobe vboxdrv #45
Comments
Getting the same error on a Dell Chromebook 13 Version 54.0.2830.0 dev (64-bit) |
me too |
Looks like the kernel ABI has changed and we'll need new header packages. |
I'm having issues as well on a Dell Chromebook 13. Retried a few times with various targets ( Version 53.0.2785.103 (64-bit)
|
+1 Same issue on the Chromebook 2015. |
Hey, I'm here from #2793. I was actually having this same problem a few months ago on this same machine (Pixel 2015). I was on the dev channel at that point, so I could get the Play store. I ended up swapping back to the stable channel and reinstalling my chroot. After that, everything worked as expected and I was able to compile and install the headers and setup Virtualbox no problem. Now, I've updated my chromebook, still on the stable channel, and am having the same issue again. I can't help but wonder if it has something to do with ARC or the SELinux implementation for the Play Store. But then why would we be having issues on the Dell Chromebook 13...?? |
I just did a powerwash and installed a fresh chroot, and I'm having the same problem. crouton: version 1-20161010184059~master:0e57cac4 Version 53.0.2785.144 (64-bit) Here are my compiled .deb files just for kicks: https://drive.google.com/open?id=0B5e6BkGq8HNfRDcxR3hVUmxDVHM Anything else I can provide to help please let me know I am at whit's end. |
From dmesg above
I really think this has something to with SELinux as I described in my first comment. Is there a way to totally disable SELinux so I could test this? |
The line in dmesg says One thing that could have happened is that, for ARC++ support, the 3.14 kernel has changed quite a bit (new config options, possibly some ABI changes). |
@drinkcat Any idea how I might confirm this? |
Huh, I just noticed that the earlier reports are on lulu R53/54, which clearly does not have ARC++... So I'm pretty sure this has nothing to do with SELinux. So, I'm still not clear what broke, but generate new Linux kernel header files seems to be the right thing to try, first (I'm actually not sure how @divx118 did that). If that still fail, you could try to bisect the kernel, I can provide instructions for that if you have time and motivation. |
Sorry guys, been too occupied lately. I indeed think new kernel headers are the way to go. However if you follow the guide in the wiki you will build from the latest kernel source which can get you into problems as some new changes are in the kernel source that aren't in the released kernels for dev, beta or stable. So you probably need to checkout the kernel at an earlier time and then build the headers. |
Channels, not really, but each release (e.g. 53), has it's own branch in the repo, e.g.: https://chromium.googlesource.com/chromiumos/third_party/kernel/+/release-R53-8530.B-chromeos-3.14 |
@drinkcat Ah ok, should be good enough. Thanks. @Pdbrantley try building the kernel headers with the above mentioned branch, that should be the right one for your kernel. |
@divx118 Thanks! I'll try as soon as I get off work this evening. Will update with results. |
No Luck! Recompiled from the reccomended source. Still getting the same error. Here is dmesg: I'll try to update with more info tomorrow morning. |
Trying to figure out what's going on in Virtualbox source code (
=> errno 26 is ETXTBSY (that's an extremely uncommon error code...) Due to this call failing:
(which then calls many Linux kernel functions) But, back to the Somebody should try to instrument I did have a cursory look at kernel 3.14 diffs between R51 and R53, and I don't see anything of interest. But again, it used to work (right?), so bisecting the kernel is definitely something that could be tried. It's long and boring, but relatively easy. |
I'm in the same boat as @Pdbrantley . Virtualbox broke for me on updating to Chrome OS v53 on Pixel 2015. I'm not familiar enough with linux kernels etc, so I'm glad you all are looking into it. |
@drinkcat Sorry, I've been busy and haven't had much time to devote to this lately. I really appreciate all of your help. To answer your question, yes it did work. Right up to the point when the play store was brought to the stable channel. I'm assuming R53. Unfortunately we have gotten a little out of my depth, but with that being said, I'm willing to put in the time and effort to get this working, hopefully with minimal hand-holding on your part. I'm not really sure how I would go bout "instrument[ing] rtR0MemObjNativeAllocCont in vboxdrv" but I'm happy to give it a shot if someone could point me in the right direction. Also, I'm down for bisecting the kernel from R51 to R53, but I'm not quite sure how I would actually be able to test it. I know that I won't really be able to spot the problem from source. I guess I could compile and test headers on each commit, but good lord, that would take forever... Any better ideas on this? |
You need to find a way to rebuild vboxdrv kernel driver from source, and add some
One should bisect the kernel itself, not the headers (by rebuilding it using a Chromium OS SDK chroot). It only takes log(number of commits) to do. The idea is that you start from a range x..y (where x is good, y is bad), and then test the commit halfway between x and y, until you find the bad commit. But if it's related to ARC++ enabling, it might be very tricky... Let's try the tracing approach first. |
I'm in the same boat -- upgraded Chrome OS on my pixel and am now unable to run virtualbox. I tried using the crouton-packages/README.md approach, and when that failed I followed the more involved instructions at "Build kernel headers and install Virtualbox (x86)" from the crouton wiki. I took care to use the chromeos-3.14 branch of the kernel repo (since my chrome os is running 3.14.0). At any rate, I'm having no luck, and I'm not sure what to do next. But I'm happy to help in any way I'm able, so please let me know if there's anything I can do..? |
@divx118 Thanks, I will continue to follow here. |
Ok, tested it on 3.8.11 kernel
and have the same issues loading vboxdrv.ko results in
This is with freshly build kernel headers on branch |
I've been attempting to compile vbox and add in some printk as recommended, but have had issues compiling, well issues configuring actually. Specifically with libvpx and vpx.pc. I've attached configure.log if you run into the same problem or have a solution please let me know, otherwise I will keep working at it. Also, just a quick note, I am compiling in my chroot. Figured that would give it the best chance of actually working when complete. I was wondering though if I should just compile for redistribution on another machine just so I can actually get a .deb file with the printk inserted. Thoughts on this? |
@Pdbrantley For building the module again, I just cd into |
@drinkcat @Pdbrantley Still need to look into it further, but for now a little update. Maybe someone has already an idea? :) |
Hello, I just wanted to ask if the current kernel header (for 3.14) packages are usable and functional for building other kernel modules? |
@z3ntu I doubt it, they are quite old. Better to build new headers, or build the modules directly from the kernel 3.14 source. Of course you can try, also depends on which modules you want to build. If nothing or not much has changed in that section of the source then they still could work. |
What is the latest version of chrome os which is still supported? |
@Jimster121 as far as I know it's R51. |
Thank you, does this link have the correct image of chrome 51 os for the Asus c300? https://chromium.googlesource.com/chromiumos/third_party/kernel/+/release-R51-8172.B-chromeos-3.14 |
I have chrome book C720p and getting similar issue when i run 'virtualbox' command I get The vboxdrv kernel module is not loaded. Either there is no module
Any solution ? |
Is this project abandoned? |
No, but this issue is pretty well dead. The kernel-level changes in Chrome OS are too frequent to have VirtualBox working reliably in crouton. Personally I am dual-booting GalliumOS. Most of the time I’m in Chrome OS with crouton, but when I require VirtualBox, I boot up Gallium. I suppose if I needed VirtualBox daily I would just use GalliumOS all the time, but I love the lightweight nature of Chrome OS + crouton, so that’s where I spend most of my time.
Regards,
—Stuart
… On May 30, 2017, at 6:56 AM, Jimster121 ***@***.***> wrote:
Is this project abandoned?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#45 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAGSZVWcHCzPcdVQU1rZqk1fn-sLzDX5ks5r_AQDgaJpZM4JoB9k>.
|
@sclaughl Ok, thank you for this information. |
@Jimster121 yes @sclaughl is right. Using dual boot with galliumos is the best way now for virtualbox. |
ok thank you, I'll try gallium os |
Hey guys would you mind explaining a bit on how to run virtual box in gallium OS? Do you run a chariot inside of gallium and then do it the normal way? Or do you download virtual box directly while inside of gallium? I pretty much get the legacy boot part just not how to download virtual box any comments would be greatly appreciated. |
Also I like the concept of github. What can I do or learn to really contribute on this platform? I think the concept is pretty dope. |
@natethegreatsu Installing Virtualbox on Gallium OS is super easy. Open up Synaptic and search for "Virtualbox". Once you find it, double-click it and it will select all the required packages. Click "Apply" and it will do the job. Works well on Asus c300 Chromebook with RW_Legacy Bios. Good Luck! |
Thank you so much for the tips. You guys are the best. |
@Jimster121 @divx118 Hey yal I just wanted to update yal and let yal know that it totally worked. I now have gallium and virtualbox works fine. I have two new issues im working through now though. I messed around and delete chromeos so now when I press ctrl+D on start up it crashes, so I have to use ctrl+L exclusively and secondly the The Yosemite MAC OS file I have isn't booting in virtualbox. Thank you guys for your help. Also when I tried to use synaptic manager virtualbox would not install. So I had to use the following from Quidsup https://quidsup.net/tutorials/?p=virtualbox |
@natethegreatsu I don't know how to help you with the Chrome OS problem, I don't even use it because it eats up the limited storage space my chromebook has. As for the second problem, what error does it show when you boot up the virtual image? |
Try to boot another OS (ex. Windows XP) and see if it is booting. I'm pretty sure that this has to do with the virtual machine and nothing with the host OS. Try searching for it in forum and check for potential fixes. |
@Jimster121 It tried running a windows iso but it gets hung at the booting screen. Im about to search online for a solution |
Ok, Good Luck! |
@natethegreatsu @divx118 So I have been trying to get crouton and virtualbox to work together for the last few days to no avail and luckily came across this post. You people understand my pain! Can we confirm that dual-booting will solve this issue? Gallium OS seems like the way to go but I am a bit of a newbie with this so if you guys have any step by step guides to reference the install, it would be much appreciated. |
Dual booting is definitely the way to go, for times when you need vbox.
The easiest way is to install from the ChromeOS command line using chrx.
https://wiki.galliumos.org/Installing/Samus
…--Stuart
On Jan 22, 2018 10:50 AM, "david-expresscorp" ***@***.***> wrote:
@natethegreatsu <https://github.com/natethegreatsu> @divx118
<https://github.com/divx118> So I have been trying to get crouton and
virtualbox to work together for the last few days to no avail and luckily
came across this post. You people understand my pain! Can we confirm that
dual-booting will solve this issue? Gallium OS seems like the way to go but
I am a bit of a newbie with this so if you guys have any step by step
guides to reference the install, it would be much appreciated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAGSZVUDOSIX_E9nCkQNTN0TKGnjdo_zks5tNLxqgaJpZM4JoB9k>
.
|
@sclaughl thanks for the quick reply! Will have to give this a try on my Acer R11 later on. |
Hey my situation was a little different. Running crouton didn’t work for
me. I ended up wiping my chrome book and running only Gallium. At that
point I figured out how to force Virtual Box to work. Unfortunately my
Chromebook didn’t have enough ram and storage to adequately run MacOS and
I.T ran super slow which made app development very difficult. I will add
the links to the videos I used o. YouTube.
On Mon, Jan 22, 2018 at 11:14 AM Stuart Laughlin <notifications@github.com>
wrote:
Dual booting is definitely the way to go, for times when you need vbox.
The easiest way is to install from the ChromeOS command line using chrx.
https://wiki.galliumos.org/Installing/Samus
--Stuart
On Jan 22, 2018 10:50 AM, "david-expresscorp" ***@***.***>
wrote:
> @natethegreatsu <https://github.com/natethegreatsu> @divx118
> <https://github.com/divx118> So I have been trying to get crouton and
> virtualbox to work together for the last few days to no avail and luckily
> came across this post. You people understand my pain! Can we confirm that
> dual-booting will solve this issue? Gallium OS seems like the way to go
but
> I am a bit of a newbie with this so if you guys have any step by step
> guides to reference the install, it would be much appreciated.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <
#45 (comment)
>,
> or mute the thread
> <
https://github.com/notifications/unsubscribe-auth/AAGSZVUDOSIX_E9nCkQNTN0TKGnjdo_zks5tNLxqgaJpZM4JoB9k
>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AaSn2O-T-4ZcITRtqt3rgxQF3CN4WML2ks5tNMHdgaJpZM4JoB9k>
.
--
Nathan J. Morrison
Alpha Phi Alpha Fraternity Inc. Beta Sigma Chapter
Director of Education and Social Programs
Mechanical Engineering/Supply Chain
|
@david-expresscorp According to this https://wiki.galliumos.org/Hardware_Compatibility you may experience sound problems. It seems it will be fixed in the future since the Acer R11 it's a quite popular device. |
I was able to run a parrot os vm with qemu and kvm on a pixelbook. I used the change kernel flags script from crouton repo, then installed qemu and kvm packages normally for my debian 9 chroot. Virt manager doesn't work, but I can make a hard drive image with CLI and boot up a vm with CLI and it all works, albeit it is a bit slow even with kvm. Probably cause even a pixelbook has low resources. |
Retried few times already, to no avail :(
Every single time I get following error in dmesg:
supdrvGipCreate: failed to allocate the GIP page. rc=-26
The text was updated successfully, but these errors were encountered: