Jump to content

Patched Kernels for Dirty COW exploit?


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ...>
Link to comment
Share on other sites

<... 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

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines