Miroslav Posted October 21, 2016 Posted October 21, 2016 Hi all, I am just wondering if there are patched kernel images for the Dirty COW exploit?
Igor Posted October 21, 2016 Posted October 21, 2016 v4.8.3 has this fix. At the moment it's present only in our developing repository (beta.armbian.com). We will try to push an update out on default repo ASAP.
zador.blood.stained Posted October 21, 2016 Posted October 21, 2016 Looks like not all kernels were fixed, 3.4 and 3.10 may need adding this patch manually
Miroslav Posted October 23, 2016 Author Posted October 23, 2016 I see the patches are in the new release. Thanks, updated my Cubietruck. 1
Drakoh Posted October 23, 2016 Posted October 23, 2016 I've seen the updates in the repo, but after an apt-get update and reboot my OpiPC doesn't boot. I've built an image from the latest sources (Armbian_5.23_Orangepipc_Debian_jessie_4.8.3.img) but still no dice. Reflashed the previous image (Armbian_5.21_Orangepipc_Debian_jessie_4.7.6.img), the one from which I tried to update at first and it booted successfully. Does anybody else experiences this?
tkaiser Posted October 23, 2016 Posted October 23, 2016 Armbian_5.23_Orangepipc_Debian_jessie_4.8.3.img 4.8.x seems to cause problems with H3 boards, see known problems section of 5.22 release: http://docs.armbian.com/Release_Changelog/ Kernel 4.x with H3 is still considered experimental. Since you use the build system why not trying out https://github.com/megous/linux/tree/orange-pi-4.9-hdmi instead? It's just a single change here.
Drakoh Posted October 23, 2016 Posted October 23, 2016 4.8.x seems to cause problems with H3 boards, see known problems section of 5.22 release: http://docs.armbian.com/Release_Changelog/ Thanks for the heads-up, I've checked the changelog, but failed to notice it. : / Kernel 4.x with H3 is still considered experimental. Since you use the build system why not trying out https://github.com/megous/linux/tree/orange-pi-4.9-hdmi instead? It's just a single change here. This was my plan for tomorrow, guess I go ahead with it then.
tkaiser Posted October 23, 2016 Posted October 23, 2016 This was my plan for tomorrow, guess I go ahead with it then. 4.9 works (somehow): http://sprunge.us/UVDS
Drakoh Posted October 23, 2016 Posted October 23, 2016 4.9 works (somehow): http://sprunge.us/UVDS Thanks for testing it out. Now I definitely give it a spin tomorrow. Maybe the bug that causes the panic with containerized torrent client is fixed. But obviously it is a pretty niche use-case, so I won't hold my breath.
Drakoh Posted October 24, 2016 Posted October 24, 2016 4.9 works (somehow): http://sprunge.us/UVDS Does the opipc image with 4.9-hdmi still builds for you? I got these errors: [ o.k. ] Creating board support package [ orangepipc dev ] [ .... ] Fingerprinting [ o.k. ] Building package [ linux-jessie-root-dev-orangepipc ] [ o.k. ] Starting rootfs and image building process for [ orangepipc jessie ] rm: cannot remove '/home/drakoh/armbian/output/cache/sdcard/tmp/debs': Device or resource busy [ o.k. ] Extracting jessie-ng-armhf.e52...1d9.tgz [ 0 days old ] jessie-ng-armhf.e52...1d9.tgz: 91.4MiB [4.68MiB/s] [===========================================================================================>] 100% [ o.k. ] Applying distribution specific tweaks for [ jessie ] sed: can't read /home/drakoh/armbian/output/cache/sdcard/etc/ssh/sshd_config: No such file or directory [ o.k. ] Applying common tweaks sed: can't read /home/drakoh/armbian/output/cache/sdcard/etc/default/console-setup: No such file or directory [ o.k. ] Installing kernel [ linux-image-dev-sun8i ] [ o.k. ] Installing u-boot [ linux-u-boot-dev-orangepipc ] [ o.k. ] Installing headers [ linux-headers-dev-sun8i ] [ o.k. ] Installing board support package [ orangepipc ] sed: can't read /home/drakoh/armbian/output/cache/sdcard/etc/lirc/hardware.conf: No such file or directory sed: can't read /home/drakoh/armbian/output/cache/sdcard/etc/lirc/hardware.conf: No such file or directory sed: can't read /home/drakoh/armbian/output/cache/sdcard/etc/lirc/hardware.conf: No such file or directory cp: cannot create regular file '/home/drakoh/armbian/output/cache/sdcard/etc/lirc/lircd.conf': No such file or directory [ o.k. ] Installing extra applications and drivers [ o.k. ] Merging and packaging linux firmware [ @host ] [ o.k. ] Merging and packaging linux firmware [ @host ] [ o.k. ] Checking git sources [ armbian-firmware-full/lib/firmware master ] [ .... ] Creating local copy [ .... ] Fetching updates remote: Counting objects: 1420, done. remote: Compressing objects: 100% (963/963), done. remote: Total 1420 (delta 436), reused 1345 (delta 401) Receiving objects: 100% (1420/1420), 68.00 MiB | 402.00 KiB/s, done. Resolving deltas: 100% (436/436), done. From https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware * branch master -> FETCH_HEAD * [new branch] master -> origin/master [ .... ] Checking out [ o.k. ] Installing linux firmware [ 5.23 ] [ o.k. ] Building deb [ armbian-tools ] [ o.k. ] ... downloading sources [ temper ] [ o.k. ] ... downloading sources [ BT utils ] [ o.k. ] ... compiling [ temper ] [ error ] ERROR in function compiling [ tools.sh:70 ] [ error ] Error building [ temper ] [ o.k. ] Process terminated rm: cannot remove '/home/drakoh/armbian/output/cache/sdcard/tmp/debs': Device or resource busy [ error ] ERROR in function unmount_on_exit [ debootstrap-ng.sh:569 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated
tkaiser Posted October 24, 2016 Posted October 24, 2016 Does the opipc image with 4.9-hdmi still builds for you? Sure. The 'Device or resource busy' errors tell you to reboot your build host (at least that's what I do when that occurs, I also have a script running at login that starts to delete old OS images below 'output/images/' until 20 GB disk space are free again). Your temper build fails also so please try to add ' EXTERNAL=no' to the compile.sh call.
zador.blood.stained Posted October 24, 2016 Posted October 24, 2016 @Drakoh Looks like corrupted rootfs cache, so please delete everything in output/cache/rootfs too.
Drakoh Posted October 26, 2016 Posted October 26, 2016 Sure. The 'Device or resource busy' errors tell you to reboot your build host (at least that's what I do when that occurs, I also have a script running at login that starts to delete old OS images below 'output/images/' until 20 GB disk space are free again). Your temper build fails also so please try to add ' EXTERNAL=no' to the compile.sh call. Could you please upload your image (or at least the 4.9 kernel) somewhere? The build issue has been solved by a cleanup as you suggested with zador.blood.stained, but the 4.9 kernel just doesn't want to work for me. I've build both the 4.9 and the 4.9-hdmi branch, tried with Armbian 5.21 and 5.23 but the boot always stops at this line: <... everything is fine until here, no error, etc ...> Starting Copy rules generated while the root was ro... Starting LSB: Set preliminary keymap... Starting LSB: Tune IDE hard disks... [ OK ] Started Copy rules generated while the root was ro. [ OK ] Started LSB: Tune IDE hard disks. <... after this point, it just hangs ...>
zador.blood.stained Posted October 26, 2016 Posted October 26, 2016 <... everything is fine until here, no error, etc ...> Starting Copy rules generated while the root was ro... Starting LSB: Set preliminary keymap... Starting LSB: Tune IDE hard disks... [ OK ] Started Copy rules generated while the root was ro. [ OK ] Started LSB: Tune IDE hard disks. <... after this point, it just hangs ...> 4.9 kernel currently crashes here for me too on some boards
Drakoh Posted October 26, 2016 Posted October 26, 2016 @zador.blood.stained thanks for the fast feedback.
Recommended Posts