Author Topic: Buster, Xenial and Bionic - updated 6.7.2019  (Read 733184 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 #525 on: May 22, 2014, 11:23:48 am »
Just a quick report:

Bluetooth works fine with this image!
Do you mean bt dongles or Cubitruck internal bluetooth?

BT dongles

M_fl

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #526 on: May 22, 2014, 03:35:03 pm »
Thanks for this image - like it. 

However it took me a couple of days to figure out that my CT doesn't like the overclocking to 1.2 GHz.  It did freeze on heavy loads e.g. on a .configure run for a package that I wanted to compile no matter if I did it on the hard disk or on the SD. So the power supply (2.5A) was sorted out.

Tried several things but finally I limited the max CPU freq. to 1 GHz and CT compiled the package without any hickups  :D :D


Offline MrDialUp

  • Newbie
  • *
  • Posts: 23
  • Karma: +3/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.2.2014
« Reply #527 on: May 22, 2014, 04:07:28 pm »
yeah apache2 fails to restart with this script

Yes.  :-[ There is a problem with ramlog + isp/apache logs.  :-\ Will work if you disable it and do the install again (or manual recreate missing logs):

Code: [Select]
service ramlog disable
reboot # to be safe

Working on permanent solution. Saving Apache logs to RAM is mandatory  :P

p.s.
I fixed some other bugs in the script on the way.

Igor, did you have a chance to investigate this issue further?  I just did another reinstall (to 1.9) and I cannot get the ISPCONFIG3 webpage to load.

Disabling ramlog (+reboot) before starting install is probably only solution in a combination with my Cubie Debian image. Install finished o.k. ... checked today with latest image. Than enable ramlog back. The only thing that I altered is fixed IP address. I think it's also mandatory.

OK, so I need to disable ramlog before I start the install.  Wasn't doing that, I was disabling it after the install.  I'll try it and report back.

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 #528 on: May 23, 2014, 04:03:36 pm »
Patching should be processed only once. That would be safest way ...

So do you download the sources from github each time you build the image? For me, this takes about 45 minutes due to my slow internet connection.

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 #529 on: May 23, 2014, 04:17:54 pm »
Patching should be processed only once. That would be safest way ...

So do you download the sources from github each time you build the image? For me, this takes about 45 minutes due to my slow internet connection.

No, if sources are locally we don't download them.

Just the patching part of the script needs to be redesigned/fixed.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline ThunderBRZ

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #530 on: May 24, 2014, 06:50:15 pm »
I use USB 16 and 8 ports hub, to connect my 3g´s modem (6), after 10 min, modens no works and recevie this kern message:

May 24 19:43:32 cubie kernel: [55861.190275] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:32 cubie kernel: [55861.450278] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:33 cubie kernel: [55861.710262] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:33 cubie kernel: [55861.960261] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:33 cubie kernel: [55862.220271] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:33 cubie kernel: [55862.470270] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:34 cubie kernel: [55862.730271] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:34 cubie kernel: [55862.990266] hub 4-1.2:1.0: unable to enumerate USB device on port 2
May 24 19:43:34 cubie kernel: [55863.019811] option: option_instat_callback: error -2



root@cubie:/var/log# lsusb
Bus 004 Device 086: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 087: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 004 Device 088: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
Bus 004 Device 091: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 004 Device 092: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 004 Device 093: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 004 Device 089: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 004 Device 098: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem



In my cb2/cubian works fine !!!

any help??

jersonjunior

  • Guest
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #531 on: May 24, 2014, 09:12:36 pm »
I Solved with Fedora 20 on Cubietruck using Hub 16 and 20 ports. Now Works fine with 16/20 active calls. Dmesg show: unable to enumerate USB device on ports, but works fine.

gsm0         0     Free       27   0    0       BRA BrTCelular E1750      11.126.13.00.00   
gsm1         0     Free       27   0    0       BRA BrTCelular E1550      11.609.18.00.00   
gsm2         0     Free       26   0    0       BRA BrTCelular E1552      11.609.20.00.00   
gsm3         0     Free       19   0    0       TIM            E1750      11.126.13.00.00   
gsm4         0     Free       23   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm5         0     Free       23   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm6         0     Free       24   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm7         0     Free       18   0    0       TIM            E1550      11.609.20.00.00   
gsm8         0     Free       18   0    0       CLARO BR       E1553      11.609.18.00.00 
gsm9         0     Free       14   0    0       CLARO BR       E1552      11.609.18.00.00   
gsm10        0     Free       14   0    0       Claro BR       E1750      11.126.13.00.00   
gsm11        0     Free       17   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm12        0     Free       14   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm13        0     Free       19   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm14        0     Free       23   0    0       CLARO BR       E1750      11.126.13.00.00   
gsm15        1     Free       18   0    0       Claro BR       E1552      11.609.20.00.00


[REMOVED PAGES OF UNECESSARY INLINE LOG]
« Last Edit: May 25, 2014, 06:51:11 pm by lawrence »

Offline samholton

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #532 on: May 25, 2014, 06:23:54 pm »
Has anyone been able to compile the DVBHDHOMERUN driver (http://sourceforge.net/apps/trac/dvbhdhomerun/) on this image? I'm still running the 3.4.75 kernel for my main installation but currently trying on a fresh install of the latest image (Linux cubie 3.4.79-sun7i+) as its supposed to include the header files.

This is my first time trying to compile anything related to the kernel or drivers so any help would be appreciated. The issues I'm having are:

1. Finding the correct source (from the build manual: apt-get source linux-2.6)

2. Finding the config file - I don't see any config files under /boot

I've tried to build this image from source before on a Debian laptop (cross compile) but had issues. It's a learning experience right? :) I'm going to look through the script again to see if I can answer some of my own questions.

Offline AndiBcool

  • Newbie
  • *
  • Posts: 33
  • Karma: +0/-1
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #533 on: May 25, 2014, 07:34:00 pm »
You can look in this thread maybe you find some helpfull information:
http://www.cubieforums.com/index.php?topic=2427.0

Actually compiling on this Image or Kernel is not easy.
You cant install headers you have to point em out in the directory and you miss the Module.symvers
file but Igor did upload it and will include it in next release.
There is also a naming problem with the LOCAL Version linux-headers- 3.4.79-sun7i+ while headers are without+.
I did try 3 different versions to compile a driver but all failed for some other reason.
I did also manage to compile the driver file but does nothing.


Offline dmonkey

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #534 on: May 26, 2014, 06:19:15 am »
Hello,
I like your image very much! It's the best pre-configured server image I could find for CT.
So I edited some things and added some soft and wrote a card image to my harddisc for future as recover.

For now a friend of mine bought a CT and he want to get my Image because he likes my changes but still want to install XBMC and connect the CT to his TV. The question is, how to edit the changes youve done and give graphics some ram? I tried to edit /boot/uEnv.ct but still nothink happens. Can someone give me a hint?

Thanks

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 #535 on: May 26, 2014, 08:35:22 am »
When try to copy directories of 10GB from USB disk to SATA disk, then CT auto restart and might also throw this error in logs:
Code: [Select]
Unable to handle kernel paging request at virtual address
Extra details are described here: http://www.cubieforums.com/index.php/topic,2591.0.html

Any ideas?

Regards,
Adrianos.
Democracy requires Free Software

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 #536 on: May 27, 2014, 03:13:36 pm »
I have an early A10 CUBIEBOARD.

Is there any way to install this image on a CB 1 ???

Offline samholton

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #537 on: May 27, 2014, 04:22:15 pm »
I have setup a VM (using Ubuntu 12.04 Server) and was able to build the 1.9 image using the build script. However, when I try to boot, the CT just keeps rebooting itself. If I download the prebuilt image (hdmi) it works find (using the same SD card). I can mount the SD card in another computer. What logs should I look at to track down my issue? It looks like 1.9 is using ramlog.

Edit: It seems there may be some differences between the compiled image and the current git code. Maybe something is causing an issue? Has anyone tried building an image with the current code?
« Last Edit: May 27, 2014, 11:26:57 pm by samholton »

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 #538 on: May 28, 2014, 01:28:59 am »
I have setup a VM (using Ubuntu 12.04 Server) and was able to build the 1.9 image using the build script. However, when I try to boot, the CT just keeps rebooting itself. If I download the prebuilt image (hdmi) it works find (using the same SD card). I can mount the SD card in another computer. What logs should I look at to track down my issue? It looks like 1.9 is using ramlog.

Edit: It seems there may be some differences between the compiled image and the current git code. Maybe something is causing an issue? Has anyone tried building an image with the current code?

Yes, I did some debug & figured out that there is a bug in creating the file-system. Compiling kernel is fine, u-boot is fine ... I thought I will find & repair before anyone notice :) ... but was(am) unable to spend much time @computer those days.

Quote
It seems there may be some differences between the compiled image and the current git code.

Yes, there are some changes / fixes which are not implemented yet.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline samholton

  • Newbie
  • *
  • Posts: 11
  • Karma: +2/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.4.2014
« Reply #539 on: May 28, 2014, 08:25:23 am »
Yes, I did some debug & figured out that there is a bug in creating the file-system. Compiling kernel is fine, u-boot is fine ... I thought I will find & repair before anyone notice :) ... but was(am) unable to spend much time @computer those days.

I guess the good news is maybe I'm not doing something wrong :) If there is anything I can do to help, let me know.