December 11, 2019, 11:25:04 pm

News:

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


Buster and Bionic - updated 21.11.2019

Started by slovenia, December 24, 2013, 03:23:11 pm

Previous topic - Next topic

castalla

Understood.

BUT:  there's no problem with other C2 images .... suggests something specific to this image?


slovenia

Quote from: castalla on May 16, 2014, 08:09:09 am
Understood.

BUT:  there's no problem with other C2 images .... suggests something specific to this image?


Of course there are differences but it's hard to tell where is the problem. Try with an image few versions back specially without latest IR/VLAN/Audio features. This can help to understand.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

castalla

Quote from: slovenia on May 16, 2014, 09:38:58 am
Quote from: castalla on May 16, 2014, 08:09:09 am
Understood.

BUT:  there's no problem with other C2 images .... suggests something specific to this image?


Of course there are differences but it's hard to tell where is the problem. Try with an image few versions back specially without latest IR/VLAN/Audio features. This can help to understand.


I don't have a spare card at the moment!

However, I commented out

HostKey /etc/ssh/ssh_host_ecdsa_key


in sshd_config

This has significantly reduced the number of freezes.

---------------

Is there an easy way to disable the IR feature ?

quickpass

Thanks slovenia for your reply. Still no luck with Plex Media Server. Hopefully someone with experiences can make it work with Cubietruck (just like Qui did it here: http://blog.qnology.com/2013/03/tutorial-pogoplug-e02-with-arch-linux.html). I have my CT running this image for a few weeks now and things looking good. Actually I don't have much stuff running yet :-) I still have a few questions:

1. I want to see the LED's, so I comment everything in /etc/init.d/disable_led.sh. It works but I don't know if that's the right place?
2. How do I turn on the message log while booting?
3. You overclocked the CT to 1200Mhz. This is the maximum and the CT runs at 1200Mhz only when it needs to, correct? Sorry I am a newbie.
4. I really appreciate you take the time and reply to every message asking for questions/suggestions. I want to buy you a coffee. Does your paypal accept payment from a bank? or just credit card? I try to avoid any fees on your end.

QP

Quote from: slovenia on May 05, 2014, 01:12:55 pm

@quickpass
QuoteI double checked and I sure did get the correct image. uEnv.ct has "script=/boot/ct-hdmi.bin" enabled. It doesn't work maybe because I connect it to my TV instead of a monitor? Well, that's not important so I don't worry about it for now.


Hmm. It could be some compatibility / hardware problem? It should work.

QuoteI spent hours past weekend trying to install Plex Media Server


No debian ARM  build, yes ...
http://www.raspberrypi.org/forums/viewtopic.php?t=23753&p=224963
no open source no fun :(

castalla

Quote from: castalla on May 16, 2014, 10:21:37 am

However, I commented out

HostKey /etc/ssh/ssh_host_ecdsa_key


in sshd_config

This has significantly reduced the number of freezes.



Spoke too soon!  Still freezing randomly.

Seems unsolvable.

edit:

Might have a solution:

  In PuTTY Connection settings - enable TCP Keepalives and enter 15 in Seconds between keepalives

Longahr

Hi,

first I'd like to thank slovenia and all contributors for the work done on this great image.

I'm trying to build the image on my own but the build script fails on detaching the loop device with following error:

loop: can't delete device /dev/loop1: Device or resource busy


I already tried using umount -d to automatically detach the loop device after unmounting but umount also fails because the mount seems to be in use.

Has anyone else had this problem? Any ideas?

Longahr

tstorr

Quote from: Longahr on May 16, 2014, 05:35:50 pm
Hi,

first I'd like to thank slovenia and all contributors for the work done on this great image.

I'm trying to build the image on my own but the build script fails on detaching the loop device with following error:

loop: can't delete device /dev/loop1: Device or resource busy


I already tried using umount -d to automatically detach the loop device after unmounting but umount also fails because the mount seems to be in use.

Has anyone else had this problem? Any ideas?

Longahr


Is this on a vanilla 12.04 64bit in a VM?  I had this problem on my standard ubuntu desktop.  I then installed  ubuntu server 12.04 LTS 64 bit into a virtualbox vm and it now works fine.  I did not manage to find what was using the loopback process when it failed.

Trevor

qiozas

Just got my CT.
I have installed this Wheezy image (VGA) very easy and is working like a charm.
Thanks "slovenia" (patwood and all others) for this image and for your time.

More details for my installation here:
http://www.cubieforums.com/index.php?topic=2557.0

My only issue is that I create one partition 3TB with gdisk, but df thinks that it is 2 TB. I do not know if df is problematic, neither if I can write more than 2TB in my partition. I do not even know how to easy test it.
Any help?

Regards,
Adrianos Dadis
Democracy requires Free Software

slovenia

Quote from: quickpass on May 16, 2014, 12:43:23 pm
1. I want to see the LED's, so I comment everything in /etc/init.d/disable_led.sh. It works but I don't know if that's the right place?
2. How do I turn on the message log while booting?
3. You overclocked the CT to 1200Mhz. This is the maximum and the CT runs at 1200Mhz only when it needs to, correct? Sorry I am a newbie.
4. I really appreciate you take the time and reply to every message asking for questions/suggestions. I want to buy you a coffee. Does your paypal accept payment from a bank? or just credit card? I try to avoid any fees on your end.


1. Yes, that's o.k. If you want to change led behaviour check this post.
2. Edit /boot/uEnv.ct and alter/remove console parameter.
3. Yes, in my case more than 93% of time is on the lowest frequency (480Mhz). Check with:cpufreq-info
4. To avoid fees you/we need to do it with hard cash :) Paypal accept many options but I never do any research on this.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

slovenia

Quote from: qiozas on May 17, 2014, 11:18:28 am
Just got my CT.
I have installed this Wheezy image (VGA) very easy and is working like a charm.
Thanks "slovenia" (patwood and all others) for this image and for your time.

More details for my installation here:
http://www.cubieforums.com/index.php?topic=2557.0

My only issue is that I create one partition 3TB with gdisk, but df thinks that it is 2 TB. I do not know if df is problematic, neither if I can write more than 2TB in my partition. I do not even know how to easy test it.
Any help?

Regards,
Adrianos Dadis


This way:
http://www.cyberciti.biz/tips/fdisk-unable-to-create-partition-greater-2tb.html

P.S.
Free software is closer to anarchism than democracy ... what's that anyway? ;)
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Longahr

I installed Ubuntu Server into a VM and it worked. I assume that KDE had his hands on all the created loop devices.

If I run the build script twice without deleting the downloaded files, I get several messages like this:

Reversed (or previously applied) patch detected! Assume -R? [n]

If I just press enter on each prompt, the script quits due to returned error code, I guess (because of "set -e"). I don't know anything about patching and therefore I don't know which answer is the correct one.  ;) The help page of patch command shows following options:

-t  --batch  Ask no questions; skip bad-Prereq patches; assume reversed.
-f  --force  Like -t, but ignore bad-Prereq patches, and assume unreversed.


Does it make sense to use one of these options?

castalla

I, and other IBOX users, have problems getting ethernet to work.

How is the ethernet driver loaded (suxi_emac or sunxi_gmac ) ?

Is it compiled in the kernel?  or is there a module (where located?)

Hope you can help.

aleale97

Hi guys,

as first thank you slovenia, i wanted to do this myself but with my knowledge it would have taken a life! I still does not understand the boot process of my cubietruck, what does it do when i power it on? What the boot sequence?

And again: if i put your image on the microSD while having lubuntu installed on the nand, from which one will it boot?

Don't bother correcting me if i'm wrong in something, i'm just a newbie  ;D
Alessandro, Italy!

slovenia

Quote from: Longahr on May 17, 2014, 02:51:32 pm
I installed Ubuntu Server into a VM and it worked. I assume that KDE had his hands on all the created loop devices.

If I run the build script twice without deleting the downloaded files, I get several messages like this:

Reversed (or previously applied) patch detected! Assume -R? [n]

If I just press enter on each prompt, the script quits due to returned error code, I guess (because of "set -e"). I don't know anything about patching and therefore I don't know which answer is the correct one.  ;) The help page of patch command shows following options:

-t  --batch  Ask no questions; skip bad-Prereq patches; assume reversed.
-f  --force  Like -t, but ignore bad-Prereq patches, and assume unreversed.


Does it make sense to use one of these options?


That "loop problem" occurred randomly ... not properly fixed yet.

Patching should be processed only once. That would be safest way ...

@castalla
QuoteI, and other IBOX users, have problems getting ethernet to work.
How is the ethernet driver loaded (suxi_emac or sunxi_gmac ) ?


Both drivers are build into kernel and definitions are in sunxi system configuration scripts aka "fex files". They are located in /boot ... you have to de-bin them with bin2fex name.bin name.fex

For a start you need a IBOX fex files with proper parameters.
https://github.com/linux-sunxi/sunxi-boards/tree/master/sys_config/a20

... there might be a relation with a u-boot loader. (not my field of knowing)

Search on the forum for details. There are some general sources about this.

@Alessandro

First boot choice is SD card if present.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

aleale97

What about USB key? And just another one: can your image be uploaded directly through phoenix to the nand?  Will it be risky?

Thank you very much again for the help and the work you've done! :D