Jump to content

sgjava

Members
  • Posts

    411
  • Joined

  • Last visited

Everything posted by sgjava

  1. Yes, it was worth mentioning since it's the first tie I saw this. It is self correcting after apt upgrade.
  2. Answering my own question here. apt upgrade resolves this issue.
  3. @diozeroif you look at my library java-periphery you will see some Armbian related info there (including device tree stuff). I ended up just wrapping c-periphery since it supports deprecated sysfs and currently supported gpiod. I abandoned libgpiod because it was more difficult to compile and c-periphery can be compiled inline using hawtjni. It would be interesting if you got MM GPIO working on Armbian in a generic way, but I didn't see an easy way to do it. I'm OK with gpiod since it has decent performance and is cross platform out of the box.
  4. Err:14 https://uk.mirrors.fossho.st/armbian/apt focal/main armhf Packages File has unexpected size (516030 != 453208). Mirror sync in progress? [IP: 82.145.63.161 443] Hashes of expected file: - Filesize:453208 [weak] - SHA512:2106846c18399ffc28b2da849488e65c512fdc5024e395233874da288a0f8bcd380c31e0a6d8b86689adcb695b8d1ddf53714310976c520a51433887c8596c64 - SHA256:f98960dc39dcf26f9825ea957244139e72bc71bf64f5a7c4a5f714ec9c53b252 - SHA1:a8eff6f5dcf5e2dcc6c1eefffc99951543612c2a [weak] - MD5Sum:81ae2c24b7cc23144890c2db0cb64df5 [weak] Release file created at: Mon, 19 Oct 2020 10:07:06 +0000 Get:16 https://minio.k-space.ee/armbian/apt focal/focal-desktop armhf Packages [15.2 kB] Ign:16 https://minio.k-space.ee/armbian/apt focal/focal-desktop armhf Packages Get:15 https://mirrors.netix.net/armbian/apt focal/focal-utils armhf Packages [4,858 B] Get:15 https://mirrors.netix.net/armbian/apt focal/focal-utils armhf Packages [4,858 B] Err:15 https://mirrors.netix.net/armbian/apt focal/focal-utils armhf Packages Fetched 2,387 kB in 6s (381 kB/s) Reading package lists... Done E: Failed to fetch https://uk.mirrors.fossho.st/armbian/apt/dists/focal/main/binary-armhf/Packages.gz File has unexpected size (516030 != 453208). Mirror sync in progress? [IP: 82.145.63.161 443] Hashes of expected file: - Filesize:453208 [weak] - SHA512:2106846c18399ffc28b2da849488e65c512fdc5024e395233874da288a0f8bcd380c31e0a6d8b86689adcb695b8d1ddf53714310976c520a51433887c8596c64 - SHA256:f98960dc39dcf26f9825ea957244139e72bc71bf64f5a7c4a5f714ec9c53b252 - SHA1:a8eff6f5dcf5e2dcc6c1eefffc99951543612c2a [weak] - MD5Sum:81ae2c24b7cc23144890c2db0cb64df5 [weak] Release file created at: Mon, 19 Oct 2020 10:07:06 +0000 E: Failed to fetch https://mirrors.netix.net/armbian/apt/dists/focal/focal-utils/binary-armhf/Packages.bz2 E: Some index files failed to download. They have been ignored, or old ones used instead. Seeing this on XU4 and C1 as well.
  5. Actually I tried based on it's for the Duo, but I would imagine I'd do this for any of my boards with this behavior.
  6. Would there be a way to add a configuration option to armbian-config to disable built-in button being used for shutdown? Currently I have to remove the r_gpio_keys section in the DTB and compile. Seems like something armbian-config could do?
  7. Ha, no, I don't work for Oracle. In fact, I use Zulu Open JDK https://www.azul.com/products/zulu-enterprise/jdk-comparison-matrix since it's easier to download and doesn't require an account like Oracle JDKs. I actually develop Java Periphery on a x86-64 platform and test on ARM 32/64. Zulu is a great OpenJDK implementation. I've used XenServer a lot, but OpenStack is very interesting. The main issue with RedHat is not to fall into the "Enterprise" trap which is their paid for software and services. RedHat is famous for wrapping Open Source in their GUIs and selling that to Enterprise customers. Also, since IBM took over I suspect they will continue that trend.
  8. So basically the topic drifted from Zabbix (omni monitoring tool) to Cockpit (admin tool) and you mentioning Node.js which is based on an event loop. My point was the thread vs. event loop argument was solved decades ago, but people keep reinventing event loops as more scalable. They probably didn't read the seminal research already out there. There are interesting structures like ring buffers that can scale massively and replace queues. https://lmax-exchange.github.io/disruptor. Any ways, I'm not falling into the JS/TS/Node.js trap. I'll stick with Java/Python/C/C++ as most of my work doesn't involve UI. Also, check out my https://github.com/sgjava/java-periphery library if you want to leverage userspace IO on Armbian. It uses code generation to wrap C code into a nifty Java API. Enough drifting off topic for now before Igor stops by
  9. It's funny you mention Node.js as the question of event loop vs. threads was answered back in the 70s. This paper explains it and even it is 17 years old. https://people.eecs.berkeley.edu/~brewer/papers/threads-hotos-2003.pdf Any ways, newer isn't always better.
  10. I'm really not looking at Zabbix as a development platform. It's a tool and that's what I use it for, so the underlying stack is not that interesting to me. Also, Zabbix can be served up with nginx or use PostgreSQL if that matters. Cockpit is more of an admin tool with limited monitoring (compared to Zabbix) from what I can tell and it's only for Linux. Zabbix has cross platform agents and can monitor diverse things like DBs, web endpoints, switches (or my refrigerator). Plus I'll let Zabbix fix issues for me automatically without any intervention. They are fundamentally different tools. https://www.zabbix.com/features https://www.redhat.com/sysadmin/intro-cockpit
  11. Actually Zabbix is monitoring software that collects telemetry and allows actions such as emailing, texting, restarting services or servers based on conditions and escalations. I've totally automated network admin type roles with it and things at home like monitoring the power state of my beer refrigerator in the garage. It's super flexible and easy to add stuff to the agent for client specific needs. It can also scale to millions of devices or just a handful at home. Also, the agent is now golang, not C. Cockpit looks more like Webmin on steroids. It's also Linux only from what I can tell. Zabbix is cross platform if you ever have to manage a mixed environment with Linux and Windows servers.
  12. I've used Zabbix professionally and at home to monitor servers, IoT, and IP devices. I've built scripts for the server and client to automate the install process including moving the MySQL database, so you can locate it to a NFS mount instead of serving the database from the slower SD card. The deb packages do not work for ARM, so you have to build it from source using my scripts. Install Zabbix
  13. @Igor I hate when that happens. I've been stuck on something for days and weeks sometimes and it's something crazy like that. Happens to every dev.
  14. @Igor I know you probably tried this, but focal builds were work around mid-May. Can you see any deltas to your build scripts after that?
  15. I was able to get the M1 focal image to boot with local build as well. So are you still having issues with automated builds or just this one?
  16. I just created a VirtualBox VM and built NanoPi Duo and NanoPi M1 fine. Duo working fine, still need to test M1 image.
  17. @Igor I built Armbian_20.08.0-trunk_Nanopiduo_focal_current_5.4.43_minimal.img local and it boots fine. I will try Armbian_20.08.0-trunk_Nanopim1_focal_current_5.4.43_minimal.img later tonight. At least I have a work around. Sorry I cannot be more help for the automated issue.
  18. @Igor Armbian_20.05.1_Nanopiduo_focal_current_5.4.43.img same issue as M1 image.
  19. @Igor Does this happen if you build manually? If not, then I will try to build locally. I should learn how to do this any ways.
  20. Yes, I just tried Armbian_20.05.1_Nanopim1_bionic_current_5.4.43.img and it works. The Odroid C1, Odroid C2, Odroid XU4 and Nano Pi Neo Plus2 focal images work. I tested these against my Java Periphery library. but before I noticed the M1 image was hosed. When did this corruption start? Seems like around the 5/24 image time frame.
  21. @Igor I'm seeing same issue with Armbian_20.05.1_Nanopim1_focal_current_5.4.43.img. I tried a few different SD cards to make sure it wasn't that. Below is an image of the board I'm using:
  22. Thanks for getting M1 to booting! I have two of these I need to use for Zabbix Server and a web server. Yes, the C1 is picky about SD, I found a SD now that is 3x faster than the last one (thanks for all the great work): sudo hdparm -tT /dev/mmcblk0 /dev/mmcblk0: Timing cached reads: 972 MB in 2.00 seconds = 485.89 MB/sec HDIO_DRIVE_CMD(identify) failed: Invalid argument Timing buffered disk reads: 44 MB in 3.04 seconds = 14.45 MB/sec
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines