tag:blogger.com,1999:blog-1708685131741567227.post2901206301495772901..comments2015-06-13T15:02:24.339+01:00Comments on The Velvet Underscore: ChrUbuntu: VirtualBox *with* KVM extensions on an Acer C7 ChromebookCarlos Valientehttp://www.blogger.com/profile/14758005461856669649noreply@blogger.comBlogger30125tag:blogger.com,1999:blog-1708685131741567227.post-78586864549236031852015-06-13T15:02:24.339+01:002015-06-13T15:02:24.339+01:00Ok, I have Ubuntu 14.04 too, when I ran the script...Ok, I have Ubuntu 14.04 too, when I ran the script I gave this error and I have not idea about what went wrong, anyone can tell me some clues to resolve this please?<br /><br />Where can I found the sources for the .debs and why the compiler enters on loop?<br /><br />TIA<br />...<br /> CC kernel/seccomp.o<br /> CC kernel/rcutree.o<br />kernel/rcutree.c: In function ‘rcu_init_one’:<br />kernel/rcutree.c:2946:13: error: array subscript is above array bounds [-Werror=array-bounds]<br /> rsp->level[i] = rsp->level[i - 1] + rsp->levelcnt[i - 1];<br /> ^<br />cc1: all warnings being treated as errors<br />make[2]: *** [kernel/rcutree.o] Error 1<br />make[1]: *** [kernel] Error 2<br />make[1]: se sale del directorio «/usr/src/kernel-next»<br />make: *** [debian/stamp/build/kernel] Error 2<br />++ date +%Y-%m-%d-%H%M<br />+ tstamp=2015-06-12-2108<br />+ dd if=/dev/sda6 of=/kernel-backup-2015-06-12-2108<br />32768+0 registros leídos<br />32768+0 registros escritos<br />16777216 bytes (17 MB) copiados, 0,250529 s, 67,0 MB/s<br />+ cp -Rp /lib/modules/3.4.0 /lib/modules/3.4.0-backup-2015-06-12-2108<br />+ dpkg -i '/usr/src/linux-*.deb'<br />dpkg: error al procesar el archivo /usr/src/linux-*.deb (--install):<br /> no se puede acceder al archivo: No existe el archivo o el directorio<br />Se encontraron errores al procesar:<br /> /usr/src/linux-*.deb<br />+ vbutil_kernel --verify /dev/sda6 --verbose<br />+ tail -1<br />+ sed -e 's/$/ disablevmx=off/' /config-2015-06-12-2108-orig.txt<br />+ vbutil_kernel --pack /newkernel --keyblock /usr/share/vboot/devkeys/kernel.keyblock --version 1 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --config=/config-2015-06-12-2108.txt --vmlinuz /boot/vmlinuz-3.8.0 --arch x86_64<br />ERROR: Error reading kernel file.<br />+ vbutil_kernel --verify /newkernel<br />ERROR: Unable to stat /newkernel: No such file or directory<br />+ dd if=/newkernel of=/dev/sda6<br />dd: No se puede abrir «/newkernel»: No existe el archivo o el directorio<br />...alphaserhttps://www.blogger.com/profile/14304995270198852310noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-31565549411813949652014-09-26T18:29:32.927+01:002014-09-26T18:29:32.927+01:00I am still running into issues with this. I tried ...I am still running into issues with this. I tried the reply above, but still a no go.<br /><br />+ vbutil_kernel --verify /dev/sda6 --verbose<br />+ tail -1<br />+ sed -e s/$/ disablevmx=off/ /config-2013-05-22-2259-orig.txt<br />+ vbutil_kernel --pack /newkernel --keyblock /usr/share/vboot/devkeys/kernel.keyblock --version 1 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --config=/config-2013-05-22-2259.txt --vmlinuz /boot/vmlinuz-3.8.0 --arch x86_64<br />ERROR: Error reading kernel file.<br />+ vbutil_kernel --verify /newkernel<br />ERROR: Unable to stat /newkernel: No such file or directory<br />+ dd if=/newkernel of=/dev/sda6<br />dd: opening ‘/newkernel’: No such file or directory<br />>>Anonymoushttps://www.blogger.com/profile/16535414061551078798noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-73055084957445100042014-05-14T04:26:46.003+01:002014-05-14T04:26:46.003+01:00Just a quick note, I used the 3.8 version of the s...Just a quick note, I used the 3.8 version of the script to get a kernel working on a chrubutu Acer to match the video demands of 14.04. Had to get old_bins in place, like this:<br /><br />mount -o ro /dev/sda3 /mnt<br />cd /usr/bin<br />cp -a /mnt/usr/bin/old_bins/ .<br /><br />And in kernel_next/Makefile comment out the halt-on-warning instruction:<br /><br /># KBUILD_CFLAGS += -Werror<br /><br />and to KBUILD_CFLAGS add:<br /><br />-fno-tree-vrp<br /><br />and ended up with a 3.8.11 kernel that's working well. The kid's Minecraft is happy again.<br /><br /><br /><br /><br />Unknownhttps://www.blogger.com/profile/17876038516521514848noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-74727842835459832162014-05-13T20:49:25.988+01:002014-05-13T20:49:25.988+01:00Ah, of course, it's a different vmlinuz by now...Ah, of course, it's a different vmlinuz by now. Works when adjusted to what's in /boot.Unknownhttps://www.blogger.com/profile/17876038516521514848noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-28087872112663435492014-05-13T20:44:56.653+01:002014-05-13T20:44:56.653+01:00Where is /newkernel supposed to appear from? I'...Where is /newkernel supposed to appear from? I'm getting a failure there too. There is no /newkernel file or directory at this point in the process. Up to this, with a few workarounds for gcc compiler compatibilty (using Ubuntu 14.04 here), things seemed good.Unknownhttps://www.blogger.com/profile/17876038516521514848noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-43373505890855394372014-01-25T23:07:16.170+00:002014-01-25T23:07:16.170+00:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/03254446006044295178noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-87998021790498010202014-01-14T17:40:23.004+00:002014-01-14T17:40:23.004+00:00Thanks everyone for the great information. I'm...Thanks everyone for the great information. I'm still stuck on the same problem as David A above.<br /><br />Can someone explain in detail how to complete the fix described on Reddit and by Howard T? I'm new to this and would appreciate the for dummies instruction.Anonymoushttps://www.blogger.com/profile/00756693044832710157noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-21733491393624970942013-11-28T00:27:22.673+00:002013-11-28T00:27:22.673+00:00This script here is much easier to use, and it onl...This script here is much easier to use, and it only downloads 100 kB for the linux-headers.<br />There may be some errors but you should get the general idea.<br />http://goo.gl/TNRMjKAnonymoushttps://www.blogger.com/profile/12837202869643528993noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-52427935632650826202013-11-06T00:39:09.676+00:002013-11-06T00:39:09.676+00:00Have a look at
http://www.reddit.com/r/chrubuntu/...Have a look at <br />http://www.reddit.com/r/chrubuntu/comments/1e7gjs/i_need_help_compiling_kernel_modules_eg/cay5tx8 <br />as there's a fix for this there - you need to copy the old_bin directory from the /mnt created at the start of this script.<br /><br />Also, if you're targeting a 32 bit build, you don't want the --arch parameter. It defaults to x86.<br />Howard Teecehttps://www.blogger.com/profile/18380633242711854852noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-57165505147812225002013-10-11T22:47:11.843+01:002013-10-11T22:47:11.843+01:00Hello everyone I have a problem, last script apare...Hello everyone I have a problem, last script aparese me this:<br /><br />vbutil_kernel - verify / dev/sda6 - verbose<br />futility failed to exec / usr / bin / old_bins / vbutil_kernel: No such file or directory<br />+ Sed-es / $ / disablevmx = off / / config-2013-10-11-1538-orig.txt<br />+ Vbutil_kernel - pack / newkernel - keyblock / usr / share / Vboot / devkeys / kernel.keyblock - version 1 - signprivate / usr / share / Vboot / devkeys / kernel_data_key.vbprivk - config = / config-2013-10-11-1538.txt - vmlinuz / boot/vmlinuz-3.4.0 - arch x86_64<br />futility failed to exec / usr / bin / old_bins / vbutil_kernel: No such file or directory<br />+ Vbutil_kernel - verify / newkernel<br />futility failed to exec / usr / bin / old_bins / vbutil_kernel: No such file or directory<br />+ Dd if = / newkernel of = / dev/sda6<br />dd: opening '/ newkernel': No such file or directory<br /><br />at the end practically saying there is no file or directory indicacarme someone could do this properly as the??Anonymoushttps://www.blogger.com/profile/06810347602181662834noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-62775977422108441162013-08-10T20:17:20.056+01:002013-08-10T20:17:20.056+01:00Did you ever figure out how to change the script t...Did you ever figure out how to change the script to enable PAE? I also have upgraded to 16GB of RAM and, after running the script on 13.04, Virtualbox is working but System Monitor says there is only 2.7GB of RAM available...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-45301487276405062622013-07-06T04:15:26.084+01:002013-07-06T04:15:26.084+01:00Sorry that should be:
sudo gedit MakefileSorry that should be:<br />sudo gedit MakefileAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-88278662921711977632013-07-05T22:37:35.283+01:002013-07-05T22:37:35.283+01:00"Note that a commit on 5/17 requires a gcc wi..."Note that a commit on 5/17 requires a gcc with the -fstack-protector-strong flag, which even Raring's doesn't have. You'll have to manually back out the patch to arch/x86/Makefile by changing the line defining the flag to read "-fstack-protector" (line 85) or just revert the diff from the github"<br /><br />What he's saying is cd into /usr/src/arch/x86/ from the terminal then,<br />sudo gedit makefile<br /><br />Next, replace -fstack-protector-strong with -fstack-protector<br /><br />That should fix it.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-10345433159790018412013-07-05T22:34:03.689+01:002013-07-05T22:34:03.689+01:00In my experience, with the Acer C710-2847, the scr...In my experience, with the Acer C710-2847, the script disables PAE and the OS can no longer access my upgraded ram (16GB total). Looking at the way the guys changed the script for 13.04 I'd assume that there's a way to tweak the script to use the PAE version of the kernel. Anyone have any suggestions? They would be greatly appreciated. Also, seeing as VTx is disabled on the C710-2847, is anyone aware of a work around that allows virtual machines to be run on the system?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-17710397637245744372013-07-01T21:33:01.174+01:002013-07-01T21:33:01.174+01:00Is this script compatible with the latest version ...Is this script compatible with the latest version of the Chrubuntu script (which installs 32bit Ubuntu on the C7)?Rich Thankihttps://www.blogger.com/profile/06436300017972670958noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-29089494178175686372013-06-25T13:40:16.896+01:002013-06-25T13:40:16.896+01:00I am getting the following errors after I run thes...I am getting the following errors after I run these sequence of commands on the ACER C7 with 12.04LTS<br /># mkdir -p /usr/share/vboot<br /># mount -o ro /dev/sda3 /mnt<br /># cp /mnt/usr/bin/vbutil_* /usr/bin<br /># cp /mnt/usr/bin/dump_kernel_config /usr/bin<br /># rsync -avz /mnt/usr/share/vboot/ /usr/share/vboot/<br /># umount /mnt<br /># apt-get install libc6:i386 libssl1.0.0:i386<br /># apt-get install git kernel-package<br /># cd /usr/src<br /># git clone https://git.chromium.org/git/chromiumos/third_party/kernel.git<br /># cd kernel<br /># git checkout origin/chromeos-3.4<br /># ./chromeos/scripts/prepareconfig chromeos-intel-pineview<br /># yes "" | make oldconfig<br /># make-kpkg kernel_image kernel_headers<br />This is the errors I get<br /><br />make[2]: Entering directory `/usr/src/kernel'<br /> SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32.h<br /> SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64.h<br /> SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_x32.h<br /> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h<br /> HOSTCC arch/x86/tools/relocs<br /> CHK include/linux/version.h<br /> UPD include/linux/version.h<br /> CHK include/generated/utsrelease.h<br /> UPD include/generated/utsrelease.h<br /> CC kernel/bounds.s<br />cc1: error: unrecognized command line option '-fstack-protector-strong'<br /><br />make[3]: *** [kernel/bounds.s] Error 1<br />make[2]: *** [prepare0] Error 2<br />make[2]: Leaving directory `/usr/src/kernel'<br />make[1]: *** [debian/stamp/conf/kernel-conf] Error 2<br />make[1]: Leaving directory `/usr/src/kernel'<br />make: *** [debian/stamp/conf/minimal_debian] Error 2<br />Failed to create a ./debian directory: No such file or directory at /usr/bin/make-kpkg line 984.<br />Please advise as I really need to be able to run VirtualBox on my Acer C7.<br /><br />Thanks for your help<br />Paul OuellettePaul Ouellettehttps://www.blogger.com/profile/12692561909586368660noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-69074002474181364932013-06-12T22:49:40.644+01:002013-06-12T22:49:40.644+01:00Hey this migh sound stupid but i dont know how to ...Hey this migh sound stupid but i dont know how to run this script? please can some one help me?Pablohttps://www.blogger.com/profile/00119167422222769489noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-75454091596648096142013-05-27T03:09:16.313+01:002013-05-27T03:09:16.313+01:00For -fstack-protector errors, I added
s/CO...For -fstack-protector errors, I added<br /><br /> s/CONFIG_CC_STACKPROTECTOR=y/CONFIG_CC_STACKPROTECTOR=n/<br /><br />to the sed command patching config.<br /><br />I found a few other problems (still am trying to get the script to run to completion and build the kernel, so I could run into other issues soon)<br /><br />1. Apparently, /dev/sda3 is only one of the candidate partitions, I guess ChromeOS alternates between /dev/sda3 and /dev/sda5 (ROOT-A and ROOT-B). In my case, /dev/sda3 did not mount, complaining that it couldn't find a filesystem there. /dev/sda5 mounted successfully.<br /><br />2. Minor: the script keeps plugging ahead on errors. Adding 'set -e' causes it to quit if a step fails.<br /><br />3. Minor: If you try to re-run it (after a failure), 'git clone' can complain when it finds the kernel directory from the previous run's 'git clone'. I added a simple check to skip the clone if the kernel directory exists.<br />Joe Oswaldhttps://www.blogger.com/profile/05114626327747438550noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-3102282610030744422013-05-25T05:52:31.943+01:002013-05-25T05:52:31.943+01:00VMware Player 5.02 or VMware Workstation 9 install...VMware Player 5.02 or VMware Workstation 9 install like butter after the script on 12.04 (just follow the standard instructions for Ubuntu); however, when they launch, they fail to detect hardware accelerated graphics or 3D drivers. Also, the sound is crackly/unusable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-30329660549802728432013-05-22T23:02:17.472+01:002013-05-22T23:02:17.472+01:00after sorting out the fstack-protector flag, the 3...after sorting out the fstack-protector flag, the 3.8 script still fails with thi:<br /><br /><br />+ vbutil_kernel --verify /dev/sda6 --verbose<br />+ tail -1<br />+ sed -e s/$/ disablevmx=off/ /config-2013-05-22-2259-orig.txt<br />+ vbutil_kernel --pack /newkernel --keyblock /usr/share/vboot/devkeys/kernel.keyblock --version 1 --signprivate /usr/share/vboot/devkeys/kernel_data_key.vbprivk --config=/config-2013-05-22-2259.txt --vmlinuz /boot/vmlinuz-3.8.0 --arch x86_64<br />ERROR: Error reading kernel file.<br />+ vbutil_kernel --verify /newkernel<br />ERROR: Unable to stat /newkernel: No such file or directory<br />+ dd if=/newkernel of=/dev/sda6<br />dd: opening ‘/newkernel’: No such file or directory<br />>><br /><br />Is that due to the changes I made in the Makefile?Markhttps://www.blogger.com/profile/10116586605201739046noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-51887471023760639362013-05-20T05:29:33.114+01:002013-05-20T05:29:33.114+01:00Note that a commit on 5/17 requires a gcc with the...Note that a commit on 5/17 requires a gcc with the -fstack-protector-strong flag, which even Raring's doesn't have. You'll have to manually back out the patch to arch/x86/Makefile by changing the line defining the flag to read "-fstack-protector" (line 85) or just revert the diff <a href="https://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel-next.git;a=commit;h=36077ccc73ff3d1e6b1e1e621e90e96f0284c94b" rel="nofollow">from the github</a>Anonymoushttps://www.blogger.com/profile/04527477317849244052noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-52999435024415757842013-05-15T14:32:51.477+01:002013-05-15T14:32:51.477+01:00The above script from NYC Tech Wizards works great...The above script from NYC Tech Wizards works great to get VirtualBox going in 13.04. However, the display won't wake up after suspend with the new kernel.<br /><br />I found what looked like promising information here:<br />http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-nightly&id=cf0a6584aa6d382f802f2c3cacac23ccbccde0cd<br /><br />I tried porting these changes nto the 3.8.0 kernel source that the script loads into kernel-next and then re-ran the script to build with my modified intel_panel.c.<br /><br />$ diff intel_panel.orig intel_panel.c<br />324,325c324,330<br />< if (dev_priv->backlight_enabled)<br />< intel_panel_actually_set_backlight(dev, level);<br />---<br />> <br />> // Mod to attempt to fix unable to wake up screen from sleep<br />> // remove the conditional and hard-set it<br />> dev_priv->backlight_enabled = true;<br />> // if (dev_priv->backlight_enabled)<br />> intel_panel_actually_set_backlight(dev, level);<br />> <br />397,402c402,410<br />< /* Call below after setting BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1.<br />< * BLC_PWM_CPU_CTL may be cleared to zero automatically when these<br />< * registers are set.<br />< */<br />< dev_priv->backlight_enabled = true;<br />< intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);<br />---<br />> // mods below to fix display unable to wake up from sleep issue<br />> /* Check the current backlight level and try to set again if it's zero.<br />> * On some machines, BLC_PWM_CPU_CTL is cleared to zero automatically<br />> * when BLC_PWM_CPU_CTL2 and BLC_PWM_PCH_CTL1 are written.<br />> */<br />> // dev_priv->backlight_enabled = true;<br />> // intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);<br />> if (!intel_panel_get_backlight(dev))<br />> intel_panel_actually_set_backlight(dev, dev_priv->backlight_level);<br /><br /><br />Unfortunately this doesn't seem to fix the suspend issue. It doesn't seem to break anything either, so I am going to stick with it.<br /><br />Any clues on how best to fix the suspend/backlight (?) issue on a C7 (i915)? Josh Karneshttps://www.blogger.com/profile/05978853259694414709noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-50810070339810182532013-05-13T00:45:10.359+01:002013-05-13T00:45:10.359+01:00I updated the script for kernel 3.8 running on Ace...I updated the script for kernel 3.8 running on Acer C7 Chrubuntu 13.04<br /><br />https://gist.github.com/Computertechgurus/5565382Anonymoushttps://www.blogger.com/profile/06963541278288676942noreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-6936496655013365882013-03-16T12:20:09.560+00:002013-03-16T12:20:09.560+00:00Thank you for this - great work. However, doesn...Thank you for this - great work. However, doesn't seem to get virtual box or vmware working on my chrubuntu. I have the model just before they upgraded ram etc, c710-2847. While the compiled kernel seems to work fine, the vmmon and vmnet extensions (vmware) and the extensions for virtualbox fail to compile. I will try to post the respective information later when I'm running the netbook... but I'm at 12.10 (with the 3.4). I'm also trying to get the 3.8.3 kernel loaded up with the "drivers" needed for this machine - that may fix my problem as well...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1708685131741567227.post-28199296789214524082013-03-16T12:13:56.124+00:002013-03-16T12:13:56.124+00:00It turns out this is a bug in Ubuntu 12.04 (#10248...It turns out this is a bug in Ubuntu 12.04 (#1024884) which the ChrUbuntu guys apparently worked around but which is reset when reloading the fresh kernel with this script. After your script runs, Bluetooth can be restored by doing this in a Terminal window:<br /><br />user@ChrUbuntu~$ cd /lib/firmware/ar3k<br />user@ChrUbuntu~$ sudo wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884/+attachment/3244421/+files/AthrBT_0x11020000.dfu<br />Password: <br />user@ChrUbuntu~$ sudo wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1024884/+attachment/3244422/+files/ramps_0x11020000_40.dfu<br />user@ChrUbuntu~$ sudo reboot<br /><br />After the system comes back, you'll find the Bluetooth icon illuminated again in the top bar on Unity and/or you can go to the Bluetooth panel in the System Settings. Some models of C7 might not have the AR3K chip so these directions might not do anything useful (but shouldn't hurt). Hopefully they can be incorporated into the above script.Anonymousnoreply@blogger.com