April 07, 2020, 09:50:23 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


CubieTruck bad memory?

Started by werdy, February 09, 2016, 01:10:01 pm

Previous topic - Next topic

werdy

I run into a problem while i have tried to create a NAS from my CubieTruck. After i copied more than 2TB data to my HD i realized that some of my compressed files was damaged at extraction (after reading back from the NAS). After some debugging it seems that every file which is bigger than 1gb has been damaged. I'm getting different checksum (md5sum) on these files every time. I have tried different distros (Cubieez, Debian, ArchLinux, Slackware) with the same result.

May I ask you to do a simple test on your CubieTruck and report back to clarify that this problem is affecting only my board or this is an overal issue? To do this please generate a big enough file and run md5sum a couple of times.


dd if=/dev/urandom of=testfile bs=1024k count=2048;
md5sum testfile;
md5sum testfile;
md5sum testfile;


Thanks!

slovenia

- Using 3T SATA drive
- Linux orangepi 3.4.110-sun7i #10 SMP PREEMPT Mon Dec 28 11:48:43 CET 2015 armv7l GNU/Linux
- Hardware: Orange PI A20

2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 1278.99 s, 1.7 MB/s
e2fd51efc5067df95ec71231f417a6e3  testfile
e2fd51efc5067df95ec71231f417a6e3  testfile
e2fd51efc5067df95ec71231f417a6e3  testfile

I can check Cubietruck later but I think it will be ok too. If you don't overclock your board, this can indicate some HW troubles.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

werdy

Thanks for the report slovenia. So it seems my board is fault (probably one of the four mem ICs).

slovenia

Your board ram might work properly with different settings. I am speculating.

If you like to explore: http://linux-sunxi.org/A10_DRAM_Controller_Calibration

before dumping the board try some image with Vanilla kernel 4.x ...
http://www.armbian.com/cubietruck
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

werdy

Very good idea! I didn't know that i can modify ram settings. So if it is not a soldering problem then a little underclock can help to fix the problem. I will try this as soon as possible - thanks for the tip!