Author Topic: Buster, Xenial and Bionic - updated 6.7.2019  (Read 733923 times)

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #495 on: May 16, 2014, 08:09:09 am »
Understood.

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


Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #496 on: May 16, 2014, 09:38:58 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

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #497 on: May 16, 2014, 10:21:37 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

Code: [Select]
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

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #498 on: May 16, 2014, 12:43:23 pm »
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


@quickpass
Quote
I 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.

Quote
I 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 :(

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #499 on: May 16, 2014, 03:01:46 pm »

However, I commented out

Code: [Select]
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
« Last Edit: May 16, 2014, 05:18:22 pm by castalla »

Offline Longahr

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #500 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:

Code: [Select]
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

Offline tstorr

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #501 on: May 16, 2014, 09:10:31 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:

Code: [Select]
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

Offline qiozas

  • Newbie
  • *
  • Posts: 22
  • Karma: +2/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #502 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
Democracy requires Free Software

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #503 on: May 17, 2014, 01:35:11 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:
Code: [Select]
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

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #504 on: May 17, 2014, 01:51:12 pm »
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

Offline Longahr

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #505 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:

Code: [Select]
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:

Code: [Select]
-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?

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #506 on: May 17, 2014, 02:59:41 pm »
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.

Offline aleale97

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #507 on: May 17, 2014, 03:36:24 pm »
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!

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #508 on: May 17, 2014, 03:46: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:

Code: [Select]
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:

Code: [Select]
-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
Quote
I, 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.
« Last Edit: May 17, 2014, 03:54:43 pm by slovenia »
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline aleale97

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #509 on: May 17, 2014, 04:00:51 pm »
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