Jump to content

pi-rat

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by pi-rat

  1. The command "nand-sata-install" has to be run from sdcard, but my Banana's system is running from an SSD. If repairing the HDMI port would mean to reinstall the whole system, I'd rather pass that one and live with a non functioning HDMI port. Is there any other way of getting the port to work again? What about special boot parameters?
  2. Hello! For some weeks now my BPM1 behaves a bit strange concerning video output. I used to connect my Banana to my monitor via a HDMI-DVI cable, which worked well for a very long time. Now, when I reboot the system, my monitor says "no signal", when I use that cable, as it does also when I use a pure HDMI-HDMI cable. The only way to make the Banana's video output work, is by using a HDMI-DSUB converter. But here comes the even stranger mystery: after I booted the Banana, using that converter, I can change the cable to whatever I want: HDMI-HDMI or HDMI-DVI, they both suddenly work again! But if I reboot the Banana again, not using the HDMI-DSUB converter, the screen stays black again. Like I said: that is not the way it used to be! I can not really recall when this strange behaviour started, but I assume that some kernel boot parameters have changed in one of the latest kernel versions. For now, the Banana is running Linux pi 5.4.88-sunxi #21.02.2 SMP Sun Feb 14 21:05:18 CET 2021 armv7l GNU/Linux and I have been using the 5.4 line for quite some time now, without any problems. If anyone have an explanation or even a solution for this strange video behaviour I'd be glad to hear it. I know I could simply go on using the HDMI-DSUB converter, but that input channel on my monitor is needed for another machine. So I am really looking for a way to make that HDMI-DVI cable work again.
  3. Hello, is there something like a VirtualBox that can emulate a BP(M1) hardware, that can run Armbian inside? I'm looking for a way to set up a new Armbian system for a BPM1, without having to shut down the running one longer than absolutely necessary. I have done this before with Linux servers: I installed and configured a hole server inside a VirtualBox alongside my normal computer work, then I copied the image to the real disk and swapped the disks, with a downtime of only about 5 minutes. So I was wondering if this was possible with the BananaPi as well.
  4. Well, that little difference between my PC and my BP is nothing I bother about. But I am still very curious about what cuts the download speed to half, when both machines download the same source. It feels as if the download server does not really want to give its data to the BP. ;)
  5. Here are my testing results. 1: "iperf -s" was run on the router: a) from PC to router: root@OpenWrt:~# iperf -B 1.1.1.1 -s ------------------------------------------------------------ Server listening on TCP port 5001 Binding to local address 1.1.1.1 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 1.1.1.1 port 5001 connected with 1.1.1.2 port 51174 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 1.00 GBytes 859 Mbits/sec b) from BP to router: root@OpenWrt:~# iperf -B 1.1.2.1 -s ------------------------------------------------------------ Server listening on TCP port 5001 Binding to local address 1.1.2.1 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 1.1.2.1 port 5001 connected with 1.1.2.2 port 43496 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 622 MBytes 522 Mbits/sec 2: "iperf -s" was run on the BP and on PC: a) from router to PC: root@pc:~# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 128 KByte (default) ------------------------------------------------------------ [ 4] local 1.1.1.2 port 5001 connected with 1.1.1.1 port 60463 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 1.07 GBytes 917 Mbits/sec b) from router to BP: root@bpm:~# iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 4] local 1.1.2.2 port 5001 connected with 1.1.2.1 port 51657 [ ID] Interval Transfer Bandwidth [ 4] 0.0-10.0 sec 725 MBytes 607 Mbits/sec The names have been changed to protect the innocent... ;) Unfortunately, iperf3 is not available for OpenWRT. But I hope the differences between the two version will not be too big to spoil the results.
  6. I know I can't compare the BP to my PC, and I don't want to. I am just wondering about this great difference when downloading the same file from the same server. As far as I know, downloading does not really require much CPU power, and if you redirect the data stream to /dev/null, it is also independent from any block device. I would understand it, if the difference was marginal or if the file came from two different servers or via two different routers or any thing like that. I agree to you, that most probably the reason for this difference in download speed has to be found outside the BP, and that's what I am trying to find out. But, like I told you, I switched the router, I switched the cables, but the difference always stays the same. And that has simply aroused my curiosity.
  7. That makes two of us. I was just trying to follow your advice: when I told of the slow download speed and the big difference compared to my PC, you ask me if I had updated the boot loader, and when that did not work, you ask me to run the SSD installation script. So, what are we talking about here?
  8. I am getting the same error saying "Test install failed. Can't change firmware" when I try to upgrade to kernel 5.3.9 and the file /tmp/switch_kernel.log contains just one line: linux-image-current-sunxi=19.11.3 linux-dtb-current-sunxi=19.11.3 linux-u-boot-bananapi-current
  9. I know what this message means. But the system has already been installed to SSD and is running from SSD right now. So, if I understand you correctly, in order to update the boot-loader, I'll have to shut down the system, remove the SSD, boot from SDCard, and then I am to call the command "nand-sata-install" without any SSD attached. Wouldn't that try start the hole set up process again and wouldn't that fail because no SSD has been attached? Also, I don't quite understand, how updating the boot-loader might possible increase the max ethernet speed. This is the file system right now: Filesystem Size Used Avail Use% Mounted on udev 417M 0 417M 0% /dev tmpfs 97M 6,9M 90M 8% /run /dev/sda1 108G 27G 76G 27% / tmpfs 485M 0 485M 0% /dev/shm tmpfs 5,0M 8,0K 5,0M 1% /run/lock tmpfs 485M 0 485M 0% /sys/fs/cgroup tmpfs 485M 48K 485M 1% /tmp /dev/mmcblk0p1 7,2G 2,3G 4,8G 33% /media/mmcboot /dev/zram0 49M 22M 24M 49% /var/log tmpfs 97M 4,0K 97M 1% /run/user/123 tmpfs 97M 0 97M 0% /run/user/1000 And this is /boot: drwxr-xr-x 4 root root 4096 Dez 19 23:30 ./ drwxr-xr-x 22 root root 4096 Sep 17 17:26 ../ -rw-r--r-- 1 root root 0 Dez 18 22:06 .next -rw-r--r-- 1 root root 3276146 Nov 18 18:39 System.map-4.19.84-sunxi -rw-r--r-- 1 root root 202 Dez 19 23:30 armbianEnv.txt -rw-r--r-- 1 root root 0 Dez 19 21:45 armbianEnv.txt.out -rw-r--r-- 1 root root 1536 Jul 5 19:51 armbian_first_run.txt.template -rw-r--r-- 1 root root 4882 Jul 5 19:51 boot-desktop.png -rw-r--r-- 1 root root 230454 Jul 5 19:51 boot.bmp -rw-r--r-- 1 root root 3726 Dez 18 22:05 boot.cmd -rw-rw-r-- 1 root root 3798 Dez 18 22:05 boot.scr -rw-r--r-- 1 root root 163246 Nov 18 18:39 config-4.19.84-sunxi lrwxrwxrwx 1 root root 17 Dez 18 22:06 dtb -> dtb-4.19.84-sunxi/ drwxr-xr-x 3 root root 12288 Dez 18 22:05 dtb-4.19.84-sunxi/ lrwxrwxrwx 1 root root 17 Jul 5 19:50 dtb.old -> dtb-4.19.57-sunxi -rw-r--r-- 1 root root 6843382 Dez 19 17:19 initrd.img-4.19.84-sunxi drwxrwxr-x 2 root root 4096 Jul 5 19:51 overlay-user/ lrwxrwxrwx 1 root root 21 Dez 19 17:19 uInitrd -> uInitrd-4.19.84-sunxi -rw-r--r-- 1 root root 6843446 Dez 19 17:19 uInitrd-4.19.84-sunxi -rwxr-xr-x 1 root root 7392848 Nov 18 18:39 vmlinuz-4.19.84-sunxi* lrwxrwxrwx 1 root root 21 Dez 18 22:06 zImage -> vmlinuz-4.19.84-sunxi* ~$ uname -a Linux pi 4.19.84-sunxi #19.11.3 SMP Mon Nov 18 18:39:42 CET 2019 armv7l GNU/Linux As you can see, the system is running the latest kernel that was installed by armbian-config yesterday. Is it really still necessary to update the boot-loader? I am totally confused now, I really can't see any connection between the boot loader and the slow eth speed.
  10. The first submenu in "System" is "Freeze".
  11. The only "install" I see in menu "system" is "Install Desktop". If I select that one, it starts to install the full desktop package.
  12. This is strange. Even if redirect the download to the great void with "wget ... -O /dev/null", making sure that no disk is used, the download speed does not exceed 4MB/s, while my PC downloads exactly the same file with 15MB/s. I tried changing the cables, I tried changing IP, I tried changing the router, but all to no avail. I have no explanation for this behaviour.
  13. Please don't get mad at me, but that's what I don't understand: before the switch the system was running on kernel 4.19.62-sunxi After the switch it is now running on kernel 4.19.84-sunxi To me, this is the same kernel branch: 4.19.x. If it was kernel 4.20.x now, or even kernel 5.x, I would totally understand it, but the way it looks to me, it doesn't make sense to me, that armbian-config switches the kernel to a different branch with the same kernel version,while apt-upgrade doesn't.
  14. Hello, What kind of speed can I expect from the ethernet on the BPM1? It's told to be 1Gb/s, but I am not even getting near that speed: wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.5.tar.xz ... linux-5.4.5.tar.xz 100%[==============================================================================================>] 104,37M 4,43MB/s in 24s 2019-12-18 22:38:33 (4,35 MB/s) - »linux-5.4.5.tar.xz« gespeichert [109435988/109435988] BPM1 and the router are set to 1000Mb/s, and the download line works at more then 100Mb/s. Downloading the same file on my PC shows a considerably difference: linux-5.4.5.tar.xz 100%[==============================================================================================>] 104,37M 15,4MB/s in 6,9s 2019-12-18 22:43:45 (15,2 MB/s) - »linux-5.4.5.tar.xz« gespeichert [109435988/109435988] Is 4MB/s an average speed for the BPM1?
  15. Thank you! Could you explain what is the difference between this way of updating the kernel and the usual "apt uprade"? Do I always need to use "armbian-config" instead?
  16. Done: root@pi:~/tmp# uname -a Linux pi 4.19.84-sunxi #19.11.3 SMP Mon Nov 18 18:39:42 CET 2019 armv7l GNU/Linux root@pi:~/tmp# iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 32 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Wed Dec 18 22:09:31 2019 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 16 kB Record Size 512 kB Record Size 1024 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 16724 28876 38947 40546 16189 28782 102400 16 41431 53605 89153 89090 43316 54839 102400 512 96615 96805 161257 161252 150858 100117 102400 1024 101276 104887 175556 175069 149251 105019 102400 16384 123541 121274 244701 253998 227554 124656 iozone test complete. I am not sure what these numbers mean, but according to "hdparm -tT" accessing the disk is no faster then before. Should I try kernel 5 instead?
  17. Same here: half a year later, the usual updates raised kernel version up to 4.19.62-sunxi, but writing and reading on the SSD is still not faster than half a year ago. That is a dead link. Besides: after Igor's statement "Standard upgrade will get you there." I would have expected that this patch would be activated in standard kernel by now. How do I get this patch into my Banana's kernel?
  18. My BPM1 runs Armbian and kernel "4.19.57-sunxi", the one that apt installed. But accessing the SSD is still very slow. I guess that means the patch has not yet arrived in repositories?
  19. Hello! I am just trying to set up Armbian Buster on my Banana Pi and I am experiencing a strange problem with the keyboard settings: I choose de-UTF8 for system wide locale and system wide language, I set the keyboard to German, but still I couldn't type umlaute (öäü). If I typed "ä", nothing happens. If I typed "ü", it retrieved commands from the bash history, that I typed in earlier. If I typed ö", the input line displayed (arg: 6) After long search I finally found a kind of solution: if I uncomment this line in /etc/inputrc: # set convert-meta off I can type "öäü", but now I also can delete as many characters from the prompt as I typed in, when I press BACKSPACE. For example the normal prompt says root@bananapi:~# Next I type "äöü" root@bananapi:~#öäü Now, when I type BACKSPACE 5 times, the prompt looks like this: root@bananapi: If I type "öäü" again, and press BACKSPACE 3 times, the line looks like this: root@banana This is funny, but at least the "umlaute" are working now.
  20. Thanks again. To be honest: I haven't made up my mind yet, if I will keep the Banana Pi or if I will replace it with a more "modern" SOC. When I started to setup my cloud server, I chose the BPM because of its SATA connector. The first version of my personal server was Raspberry based, but the performance was very poor, no matter if I used the sdcard only or an attached USB memory. Then the Banana came out and I was happy, because I could connect an SSD to it. I know that the Banana's SATA connector is not a real SATA connector, it's a kind of USB to SATA converter. But still, read/write access to the SSD was much faster than accessing the USB devices on the Raspberry. But now the Raspberry 4 is out, and it provides native USB3 ports, which are much faster than the Banana's SATA connector. And (no offence meant!) I believe that the Raspberry and Raspbian will have a longer lifetime than the Banana. And more and faster memory will also make its use much more fun.
  21. Sorry for the misunderstanding! When I asked about the expected length of support, I was referring to Armbian. As far as I understand it by now, Armbian comes in two different flavours, derived from two different distributions: Debian Stretch and Ubuntu Bionic. I wanted to know, which Armbian flavour will be the one that will be supported longer.
  22. Thanks for your reply to my questions. If Armbian Stretch and Armbian Bionic are identical, it is simply a question of support: which version will be supported longer?
  23. Hello! I am new to Armbian, so I need a little help and advice here. Until now, I've been using a Banana Pi M1 with Bananian on it, and running NextCloud as my personal cloud server. Unfortunately, Bananian is dead, so there won't be any updated PHP version ( < 5.6), which are needed for recent NextCloud Version: NC 14 requires PHP 7, but Bananian (Debian 8.11) is stuck at PHP 5.6. Soo sad... That's why I need to switch to Armbian, and as far as I know, this project has no sword named "EOL" hovering above its head — at least not yet. ;) My questions are these: - Which version of Armbian would you recommend running NextCloud: Bionic or Streched? - Which one will run more smoothly on the Banana M1? (I am using this model because I can connect an SSD to it, which really is quite a performance boost compared to USB drives!) - Can anyone kick me to some good migration instructions, please? My idea of how to proceed is this: I want to install Armbian onto a second BPM1 and when the system is running, I want to copy NextCloud's and MariaDB's data directories from the old system onto the new one, thus making a perfect copy of the old NextCloud server, a copy that is now running on Armbian. When this is done, I want to update NextCloud to the most recent version available. Would you recognize this procedure or is there a more convenient and/or secure way of migration? Many thanks in advance for any help and clues!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines