Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Odroid C2] File copy problem (larger than ~512MB)

Featured Replies

Installed from Armbian_5.14_Odroidc2_Ubuntu_xenial_3.14.72. Tested in two different Odroid C2's. One with EMMC, the other with SD CARD and fully updated.

 

Procedure:

fallocate -l 2G /root/2GB.file
cp /root/2GB.file /.

After that all sort of erratic behavior from the board and eventually it crashes. In /var/log/kern.log:

Aug 19 14:28:01 localhost kernel: [  669.078129] INFO: rcu_preempt detected stalls on CPUs/tasks: { 3} (detected by 2, t=33627 jiffies, g=296, c=295, q=84431)
Aug 19 14:28:01 localhost kernel: [  669.083412] Task dump for CPU 3:
Aug 19 14:28:01 localhost kernel: [  669.083418] kthread_hdcp    R  running task        0    65      2 0x00000002
Aug 19 14:28:01 localhost kernel: [  669.083425] Call trace:
Aug 19 14:28:01 localhost kernel: [  669.083438] [<ffffffc00108570c>] __switch_to+0x74/0x90
Aug 19 14:28:01 localhost kernel: [  669.083446] [<ffffffc001820418>] __schedule+0x3e8/0x790
Aug 19 14:28:01 localhost kernel: [  669.083451] [<ffffffc0018207f0>] schedule+0x30/0x88

Installed Hardkernel's Xenial minimal image (fully updated) for testing, and this problem doesn't exist.

 

Regards

Nuno

 

  • Author

I compiled kernel from latest sources and this can't be reproduced. It does not crash.

 

Will be pushed to repository ASAP.

 

Was able to compile from source and the problem is gone. Keep up the good work!! :thumbup:

  • Author

Did a little more testing and found that it isn't resolved and that the cause for this problem is related to the "setenv nographics "1". If set to 0 there's no problem. Can anyone test? Thanks

Hi nbj,

 

I had the same issue with my headless Odroid C2. 100% reproducable by writing large files to the USB harddisk attached using dd if0/dev/zero of=/media/data/test bs=1M count = 2000

The Arch people proposed a solution which works fine for me.

 

In boot.ini, after the line

if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi

add

if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi

and reboot.

 

Now handling large amounts of data works w/o problem.

 

Cheers,

smn

In boot.ini, after the line

if test "${nographics}" = "1"; then fdt rm /reserved-memory; fdt rm /aocec; fi

add

if test "${nographics}" = "1"; then fdt rm /meson-fb; fdt rm /amhdmitx; fdt rm /picdec; fdt rm /ppmgr; fi
if test "${nographics}" = "1"; then fdt rm /meson-vout; fdt rm /mesonstream; fdt rm /meson-fb; fi
if test "${nographics}" = "1"; then fdt rm /deinterlace; fdt rm /codec_mm; fi

and reboot.

 

 

Tried this out the other day.  It runs good.  Feels nice getting that 300MB RAM back on a headless machine.  Thanks much for the info on the fix.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.