Go to advanced search

by ejolson
Mon Jul 13, 2020 4:52 am
Forum: HATs and other add-ons
Topic: POE hat
Replies: 8
Views: 244

Re: POE hat

The result is that each Pi has two network connections: Gigabit Ethernet plus a USB network gadget. This intrigues me, what is the other end of the USB-C connected too? I haven't seen USB hubs that could handle 3a and my assumption that USB power stations don't do data. This is very much along the ...
by ejolson
Mon Jul 13, 2020 4:00 am
Forum: Beginners
Topic: RPi 1 B SD Card and Performance
Replies: 3
Views: 104

Re: RPi 1 B SD Card and Performance

Behind the scenes the Pi diagnostics is using a standard testing program called fio. Try man fio for information on what the output means. Note that the output you have quoted is the abbreviated easy for machines to parse but difficult for humans to read form of the fio output. This is because the P...
by ejolson
Mon Jul 13, 2020 3:43 am
Forum: Networking and servers
Topic: Making a Pi Cloud
Replies: 4
Views: 363

Re: Making a Pi Cloud

For some reason, when I chroot into the experimental arm64 version of Raspberry Pi OS using QEMU user-mode on the x86, I don't have networking. After testing, the network problems seem to be a result of the QEMU emulation rather than the change root. In particular, the configuration script works fi...
by ejolson
Sun Jul 12, 2020 10:18 pm
Forum: General discussion
Topic: I have New Pi 8GB! and Plans in the making....
Replies: 47
Views: 2795

Re: I have New Pi 8GB! and Plans in the making....

Yet my accounts with with group have no access. Any ideas? Sorry, I've haven't worked with access control lists. My recollection is the assumption that root can read every mounted file system is no longer valid on Linux. I recently spent the better part of a day getting the uidfile and gidfile mapp...
by ejolson
Sun Jul 12, 2020 9:40 pm
Forum: General discussion
Topic: 64-bit PiOS on a Zero
Replies: 8
Views: 373

Re: 64-bit PiOS on a Zero

[pid 2905348] ioctl(4, SIOCGIFCONF, {ifc_len=37 * sizeof(struct ifreq) => 6 * sizeof(struct ifreq), ifc_buf=[{ifr_name="lo", ifr_addr={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}}, {ifr_name="br0", ifr_addr={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("xx.xx....
by ejolson
Sun Jul 12, 2020 6:44 pm
Forum: HATs and other add-ons
Topic: POE hat
Replies: 8
Views: 244

Re: POE hat

In my 2U case, since I am using USB-C to deliver power to the Pi 4B, I decided I might as well leverage the data lines on that cable as well. The result is that each Pi has two network connections: Gigabit Ethernet plus a USB network gadget. Using a separate lower-speed network for system monitoring...
by ejolson
Sun Jul 12, 2020 6:28 pm
Forum: HATs and other add-ons
Topic: POE hat
Replies: 8
Views: 244

Re: POE hat

I do have some old server PSU's. I'll look into them to see what they are rated for. POE is cleaner looking but at 20-30 a card, I think I can overlook a few wires. Since POE also allows individual power cycling of individual ports (assuming a reasonable switch), the ATX approach requires a separat...
by ejolson
Sun Jul 12, 2020 4:42 pm
Forum: General discussion
Topic: 64-bit PiOS on a Zero
Replies: 8
Views: 373

Re: 64-bit PiOS on a Zero

I have a very nasty feeling they'll've removed all the 32b IOCTLs and suchlike from the 64b kernel, so you're probably out of luck with that. [Edit:] Which is, of course, the opposite to what you're trying to do, but I think the point still stands: you'll be attempting to call 64b IOCTLs (SIOCGIFLA...
by ejolson
Sun Jul 12, 2020 4:30 pm
Forum: General discussion
Topic: Raspberry Pi clustering.
Replies: 6
Views: 243

Re: Raspberry Pi clustering.

If you are interested i recommend ejolson 's homemade super-super-super-cheap pi-zero cluster : https://www.raspberrypi.org/forums/viewtopic.php?t=199994 Thanks for the citation. Plugging five Zero's into a powered USB hub that also serves as the network connection works surprisingly well for Zero ...
by ejolson
Sun Jul 12, 2020 3:25 pm
Forum: General discussion
Topic: 64-bit PiOS on a Zero
Replies: 8
Views: 373

Re: 64-bit PiOS on a Zero

andrum99 wrote:
Sun Jul 12, 2020 12:32 pm
Just before anyone gets confused by this - this is 64-bit Raspberry Pi OS, running on QEMU (an emulator), running on 32-bit Raspberry Pi OS on the Pi Zero.
That's right.

What happened to the networking?
by ejolson
Sun Jul 12, 2020 7:27 am
Forum: General discussion
Topic: 64-bit PiOS on a Zero
Replies: 8
Views: 373

64-bit PiOS on a Zero

This is not another thread about designing new hardware, but rather a demonstration that the existing Pi Zero is perfectly capable of running the latest 64-bit version of Raspberry Pi OS. To do this, I first had to copy the qemu-aarch64-static binary from Raspbian Stretch since the one included in t...
by ejolson
Sun Jul 12, 2020 5:23 am
Forum: HATs and other add-ons
Topic: POE hat
Replies: 8
Views: 244

Re: POE hat

I'm having a 3u, 12 pi rack mount 3d printed and wanted to use POE hats but am unsure which to get. The official is like 50% more than the rest, is that the normal go to or do yall have good experiences with other brands? I'll be powering with a Cisco 3560 or 3750 switch. I've heard of some third-p...
by ejolson
Sun Jul 12, 2020 4:23 am
Forum: Beginners
Topic: RPi 1 B SD Card and Performance
Replies: 3
Views: 104

Re: RPi 1 B SD Card and Performance

I am attempting to use a RPi 1 B as a dedicated host for an EtherRain sprinkler controller. I have not used this device before. I have installed Raspberry Pi OS 5/2020 recommended version on a brand new Kingston 32GB Micro SDHC Class 10 UHS 1 SD card. It's interesting that Crystal Disk Mark gives s...
by ejolson
Sun Jul 12, 2020 12:40 am
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

I've just copied the qemu-aarch64-static binary from Raspbian Stretch over to Buster Raspberry Pi OS and it seems to be working fine. If the lid on the jar is loose, the molasses may accumulate ants and even some bugs. The new results are $ ./qemu-aarch64-static ./pichart-serial -t "Zero AARCH64" pi...
by ejolson
Sat Jul 11, 2020 11:09 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

Next question: have you tried to run it in a chroot, rather than a static binary? That was my original plan. After the Pi pie chart program runs stably, I'll try chroot to the full 64-bit Raspberry Pi OS and after that maybe an initial RAM file system designed to pivot root straight into the beta r...
by ejolson
Sat Jul 11, 2020 10:34 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

The aarch64 binary runs happily on my amd64 router / rootfs provider / monitoring machine, with a result of 'My Computer has Raspberry Pi ratio=1.92935' (whilst doing ~4Mb/s Wireguard traffic). So yeah, it's an odd bug that it doesn't work on aarch64 on armhf. Have you tried gdb? It seems to work o...
by ejolson
Sat Jul 11, 2020 9:59 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

It isn't sure, but is wondering if there's some weird alignment issue cropping up somewhere. Then it left to catch rodents in my back garden -- it farms them -- so I think that's the last I'll see of it for the evening. I tried the exact same binary that was segfaulting using qemu-aarch64-static on...
by ejolson
Sat Jul 11, 2020 9:25 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

I asked a cat. It confirmed I was right. That's what I thought. The pichart program has an option -s to skip the tests and simply draw a pie chart based on the reference data included in the program. This also caused a segmentation fault until I inserted some debugging code and now it runs fine. Th...
by ejolson
Sat Jul 11, 2020 8:58 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

It's going to be dog slow, is my prediction. To get help I showed this thread to the canine coder who immediately complained that dogs are not slow. After looking at the results, Fido coughed and then asked, do you want me to debug all the segfaults in your code? It would be quicker if you rewrote ...
by ejolson
Sat Jul 11, 2020 8:10 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

The entertainment seems to have ended with a segmentation fault. I've updated the post accordingly and changed my optimistic conclusion. Maybe I need to set the Cortex-A72 option in QEMU. Any help getting the rest of the benchmarks to run would be appreciated.
by ejolson
Sat Jul 11, 2020 7:51 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

The results of that are going to be highly entertaining. It's going to be dog slow, is my prediction. Don't get me wrong: I love binfmt, and qemu, and I use them a lot (mostly for fixing up systems, or to speed up installing lots of packages, which is a very slow operation over NFS), but quick it i...
by ejolson
Sat Jul 11, 2020 7:49 pm
Forum: General discussion
Topic: I have New Pi 8GB! and Plans in the making....
Replies: 47
Views: 2795

Re: I have New Pi 8GB! and Plans in the making....

I was thinking FTP as the primary recommended way (more efficient). Though I will have a web based utility to allow them to upload as well if they don't have a FTP client. I definitely want to stick with USB 3.0 as 2.0 would bottleneck my SSDs pretty bad. Yes, I wasn't recommending that hub for you...
by ejolson
Sat Jul 11, 2020 7:36 pm
Forum: General discussion
Topic: A Pi Pie Chart
Replies: 138
Views: 19417

Re: A Pi Pie Chart

Just because I was reading the thread New processor run (in a laptop) root@G3ntleGiraffe:~/pichart-34# ./pichart-openmp -t "Ubuntu WSL2 Win10 i5-9300H" pichart -- Raspberry Pi Performance OPENMP version 34 Prime Sieve P=14630843 Workers=8 Sec=0.196982 Mops=4743.21 Merge Sort N=16777216 Workers=16 S...
by ejolson
Sat Jul 11, 2020 6:32 pm
Forum: Networking and servers
Topic: Guide: Install Wireguard On Raspberry latest releases
Replies: 11
Views: 619

Re: Guide: Install Wireguard On Raspberry latest releases

If you are referring to 32-bit Rasdpbian piOS but with 64-bit kernel and obviously 32-bit userland no, I have never tried if I put a 32-bit I want everything in 32-bit. If you are referring instead to raspbian pios 64 bit with kernel then 64 bit and 64 bit userland yes and it works That's good to k...
by ejolson
Sat Jul 11, 2020 6:22 pm
Forum: Off topic discussion
Topic: Pis...the answer is Pis!
Replies: 22
Views: 822

Re: Pis...the answer is Pis!

So far, all of the "distance learning" my grandson has had to do is done in a browser, so there is actually a great deal of platform independence. I may be an outlier, but I actually want students to receive outside help--parents or otherwise--on their homework. For me the difficulty is exams and q...

Go to advanced search