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

Offline mno

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #720 on: July 17, 2014, 02:40:42 pm »
after upgrading the kernel I have two folders in /lib/modules (in my case 3.4.79-sun7i+  3.4.98-sun7i+).
Can I remove the one of the old kernel?
Think you could add it on your homepage to the upgrading info box.

edit: where can I find the uEnv file? Can't find it :/

uEnv files are in /boot

yes: deleting old kernel files

thanks, problem is: in /boot the only file I could find was/is uImage. What can I do?

Are you using my image?

If yes. Have you transferred system to NAND maybe? In that case boot files are on the first NAND partition /dev/nand1

If no. There is an extra boot partition.
Yeah I use your Image and I moved files to nand (the nand seems to be little slow but thats enother "issue"). So I have to mount /dev/nand1 and there are uEnv files?
Edit: yes found the files there.

Thank you very much - great work!

edit2: I had to move the uImage file, that's it (from /boot to previously mounted /dev/nand1)
« Last Edit: July 17, 2014, 02:57:56 pm by mno »

Offline mno

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #721 on: July 25, 2014, 07:57:41 am »
I'm not sure if it does already work but I don't think so.
I think it would be very nice if you could add bcache. It would allow us to use SSD's/fast HDDs to cache data.
For example a 60GB SSD (which isn't expensive anymore) on the SATA Port as cache and a 1TB USB HDD to save the data. Espacially in this usecase the ssd would increase performance because usb is very slow (SSD much I/O and AFAIK 100MB/s+ on Cubietruck - USB 20-30MB/s and very few IO compared to SSD).

Offline richdotward

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #722 on: July 26, 2014, 02:57:48 pm »
Hi all

I'm a cubietruck newie.  Thanks for this is all is going very nice .

Just wondering how stable is this build ?  Im in the process of replacing a raspberry pi that has been running 24/7 for almost 1 year with a reboot maybe once a month.

Is this Debian build as stable?

Thanks

Rich

Sent from my Nexus 4 using Tapatalk


Offline mno

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #723 on: July 26, 2014, 03:34:38 pm »
Hi all

I'm a cubietruck newie.  Thanks for this is all is going very nice .

Just wondering how stable is this build ?  Im in the process of replacing a raspberry pi that has been running 24/7 for almost 1 year with a reboot maybe once a month.

Is this Debian build as stable?

Thanks

Rich

Sent from my Nexus 4 using Tapatalk
It is very stable. I use it to host seafile and it works very well.

Offline mno

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #724 on: July 27, 2014, 08:21:41 am »
I'm not sure if it does already work but I don't think so.
I think it would be very nice if you could add bcache. It would allow us to use SSD's/fast HDDs to cache data.
For example a 60GB SSD (which isn't expensive anymore) on the SATA Port as cache and a 1TB USB HDD to save the data. Espacially in this usecase the ssd would increase performance because usb is very slow (SSD much I/O and AFAIK 100MB/s+ on Cubietruck - USB 20-30MB/s and very few IO compared to SSD).
...
or dmcache, see https://github.com/mingzhao/dm-cache
and btw bcache can be found here: http://bcache.evilpiepirate.org/

Offline bug

  • Newbie
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot - update 27.2.2014
« Reply #725 on: July 27, 2014, 08:46:06 pm »
Hi everybody!

First, thanks for your nice work slovenia - seems like a really clean image, and your scripts are great!

I've been trying a few images for a few days, and have the same problem as RobinS had:


However I have problems with apt-get.
If I do an apt-get update, I get 404 not found and GPG BADSIG errors.

GPG error: http://http.debian.net wheezy-updates Release: The following signatures were invalid:
BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org

GPG error: http://security.debian.org wheezy/updates Release: The following signatures were invalid:
BADSIG 8B48AD6246925553 Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian
.org>

Err http://http.debian.net wheezy/main armhf Packages
  404  Not Found [IP: 130.89.149.21 80]

I tried clearing the apt list by:
apt-get clean
rm -vf /var/lib/apt/lists/*
rm /var/lib/apt/lists/partial/*
mkdir -pv /var/lib/apt/lists/partial
apt-get update

but no luck...  :(

I also tried different repos as I read in another forum that http.debian.net was a bit unstable.
So I tried the ftp.de.debian.org and ftp.nl.debian.org, (all with apt list clearing and rebuilding) but no luck.
I also tried to install debian-archive-keyring, but it was already installed and was not updated.
I have searched for a solution for the BADSIG, but am unable to find one.

Tried different mirrors around the world, different days, protocols (http/ftp), new/clean image on a clean SD card...

No problem with debian in another machine (not arm though) - RobinS problem was probably network related, could there be another reason / as it been reported by someone else who did found a solution?

Thanks!

Cheers
« Last Edit: July 27, 2014, 09:08:07 pm by bug »

Offline onidaito

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #726 on: July 28, 2014, 02:52:32 pm »
Hello there. Hopefully this is a quick question but what would be the easiest way for me to build the BTRFS module? I need to get access to a particular drive. Im guessing i'll need the kernel sources on my cubietruck for starters

Offline onidaito

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #727 on: July 29, 2014, 10:22:25 am »
Ok so I've checked out the latest source from git, altered the config files to include BTRFS and rebuilt the HDMI and VGA .raw files. Have burnt these with DD to a microsd card. Booting the cubietruck off this card results in a blank screen, a blue LED coming on, then a load of flashing LEDs, then a Yellow LED, then back to blue. Im guessing this means its rebooting or something? Anyone else had something like this?

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #728 on: July 29, 2014, 01:01:50 pm »
Ok so I've checked out the latest source from git, altered the config files to include BTRFS and rebuilt the HDMI and VGA .raw files. Have burnt these with DD to a microsd card. Booting the cubietruck off this card results in a blank screen, a blue LED coming on, then a load of flashing LEDs, then a Yellow LED, then back to blue. Im guessing this means its rebooting or something? Anyone else had something like this?

The screen/console needs few moments to show up.

Yes, first boot expands SD card, creates ssh keys, ... and reboots. Ethernet is DHCP. Read first post/blog/faq for details if you run into troubles.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline Thebigwave

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #729 on: July 29, 2014, 03:31:57 pm »
Hello there i've got a problem while upgrading the Kernel from  3.4.79 to the current Version.
i proceed the following steps
Code: [Select]
cd /
wget http://cubie.nobrainz.de/downloads/sunxi_kernel_3.4.98_mod_head_fw.zip
unzip  sunxi_kernel_3.4.98_mod_head_fw.zip
tar -xvf sunxi_kernel_3.4.98_mod_head_fw.tar
shutdown -r

but uname -a gives me
Code: [Select]
Linux cubie 3.4.79-sun7i+ #1 SMP PREEMPT Wed Mar 26 19:32:57 CET 2014 armv7l GNU/Linux
Ideas ?

thanks

Offline slovenia

  • Hero Member
  • *****
  • Posts: 511
  • Karma: +47/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #730 on: July 29, 2014, 04:11:11 pm »
Hello there i've got a problem while upgrading the Kernel from  3.4.79 to the current Version.
i proceed the following steps
Code: [Select]
cd /
wget http://cubie.nobrainz.de/downloads/sunxi_kernel_3.4.98_mod_head_fw.zip
unzip  sunxi_kernel_3.4.98_mod_head_fw.zip
tar -xvf sunxi_kernel_3.4.98_mod_head_fw.tar
shutdown -r

but uname -a gives me
Code: [Select]
Linux cubie 3.4.79-sun7i+ #1 SMP PREEMPT Wed Mar 26 19:32:57 CET 2014 armv7l GNU/Linux
Ideas ?

thanks

Do you boot the system from NAND? Than you should manually copy new kernel file from /boot to first nand partition.
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline Thebigwave

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #731 on: July 29, 2014, 05:31:17 pm »
Do you boot the system from NAND? Than you should manually copy new kernel file from /boot to first nand partition.
Jep that's it thanks for the Hint

Offline vlotho

  • Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #732 on: July 31, 2014, 04:26:40 am »
hi,
Currently, I have a CT with a sd card that is installed with a version of mirage (oparating system with xen). sd starts without a problem but I want to copy the boot and system on nand. in my current boot directory on the sd, I have a directory "filesystem.dir" empty, and an executable "xen". How could I do?
I have only one partition ext4. In the "boot" I have a directory "filesystem.dir" which did not actually blank. In this directory, there is a hidden directory named .Disk, wherein there is a file casper.uuid. there is also an executable file named "xen-4.4-armhf" to the root of the boot folder. we do not have either, grub in the directory "etc".

Offline mno

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Wheezy server for SD, SATA or NAND with hotspot & BT - update 11.7.2014
« Reply #733 on: July 31, 2014, 08:28:38 am »
Can anyone assist me on getting bcache or dm-cache working?

Offline Ireng

  • Newbie
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Wheezy server for SD, SATA or NAND with hotspot & BT-update 2.8.2014 - CLUSTER
« Reply #734 on: August 02, 2014, 02:32:20 pm »
HI Igor,

first of all I want to thank you very much for work and dedication to create and maintain the imgae for the headless server for the CT. I just installed the latest version 2.5 and after the usuall adjustments it is up and running fine.

Howerver i do have some question on how to use and activate the cluster support.

Could you give a detailed rundown on a suitable how to ???

I would like to thank you very much for your help and support.

Regards, IRENG