November 15, 2019, 08:00:07 pm

News:

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


Buster, Xenial and Bionic - updated 6.7.2019

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

Previous topic - Next topic

mno

Quote from: slovenia on July 17, 2014, 02:26:39 pm
Quote from: mno on July 17, 2014, 02:22:33 pm
Quote from: slovenia on July 17, 2014, 05:05:05 am
Quote from: mno on July 16, 2014, 05:19:28 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)

mno

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).

richdotward

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


mno

Quote from: richdotward 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

It is very stable. I use it to host seafile and it works very well.

mno

Quote from: mno 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).

...
or dmcache, see https://github.com/mingzhao/dm-cache
and btw bcache can be found here: http://bcache.evilpiepirate.org/

bug

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:

Quote from: RobinS on March 22, 2014, 05:05:30 pm

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

onidaito

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

onidaito

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?

slovenia

Quote from: onidaito 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?


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

Thebigwave

Hello there i've got a problem while upgrading the Kernel from  3.4.79 to the current Version.
i proceed the following steps

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
Linux cubie 3.4.79-sun7i+ #1 SMP PREEMPT Wed Mar 26 19:32:57 CET 2014 armv7l GNU/Linux

Ideas ?

thanks

slovenia

Quote from: Thebigwave 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

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
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

Thebigwave

Quote from: slovenia on July 29, 2014, 04:11:11 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

vlotho

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".

mno

Can anyone assist me on getting bcache or dm-cache working?

Ireng

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