Go to advanced search

by jerrm
Sat Nov 23, 2019 6:56 pm
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

The bonnie++ benchmark was indeed entirely executed on the Pi 4B (4GB) without any error message in /var/log/syslog. No luck here with that firmware and my three test dives. Two don't complete (with log errors), the third completes, but with a lot of spam in the logs. Since my USB 3.0/sata bridges ...
by jerrm
Fri Nov 22, 2019 11:08 pm
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

I have tested serveral usb3.0 - sata adapters attached to a Pi 4B 4GB: the four adapters using the JMicron JMS578 Chip all work just fine without usb storage-quirks - but I had to flash the firmware to version v00.04.01.04 as provided in the odroid forum ( https://wiki.odroid.com/odroid-xu4/softwar...
by jerrm
Tue Nov 19, 2019 11:34 pm
Forum: General discussion
Topic: BCM2837B0 and ARMv8 Crypto Extensions
Replies: 25
Views: 7898

Re: BCM2837B0 and ARMv8 Crypto Extensions

so ultimately it's up to Broadcom to decide what goes in the chip. Not really. Are any of the recent Pi SoC's "off the shelf?" If Raspberry wants a chip with crypto extensions, Broadcom will make it. Cost will decide, and there could well be obscure licensing issues in the way. In an https everywhe...
by jerrm
Mon Oct 28, 2019 11:43 pm
Forum: Networking and servers
Topic: Wireless AP, but reversed?
Replies: 7
Views: 1572

Re: Wireless AP, but reversed?

nmrider66 wrote:
Mon Oct 28, 2019 11:24 pm
What should I do with the file pbridge.sh? Typing sudo pbridge.sh gives me "command not found".
Already answered in the other thread - please don't double post.

I have corrected the original post above. From "sudo pbridge.sh" to "sudo ./pbridge.sh".
by jerrm
Mon Oct 28, 2019 11:37 pm
Forum: Networking and servers
Topic: wlan0 to eth0 bridge?
Replies: 12
Views: 956

Re: wlan0 to eth0 bridge?

nmrider66 wrote:
Mon Oct 28, 2019 11:26 pm
What should I do with the file pbridge.sh? Typing sudo pbridge.sh gives me 'command not found".
Typo.

Assuming the tar extracted and pbridge.sh exists in the current directory - try:

Code: Select all

sudo ./pbridge.sh
by jerrm
Mon Oct 28, 2019 8:29 pm
Forum: Networking and servers
Topic: wlan0 to eth0 bridge?
Replies: 12
Views: 956

Re: wlan0 to eth0 bridge?

If you don't need IPv6, another option with much simpler setup is a pseudo bridge using relayd: https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=247937#p1513931 Try with a clean install, or make sure you have thoroughly un-done all the steps trying to set up the router config. No edits to any...
by jerrm
Tue Oct 15, 2019 5:01 pm
Forum: Other projects
Topic: Sending RS232 to the cloud, portable
Replies: 6
Views: 797

Re: Sending RS232 to the cloud, portable

You mentioned a cellular hotspot, so I assume mobile data is available. Simplest optiion sounds like a Pi with a USB mobile data modem could easily get the data to "the cloud." A point to point wifi link may be doable without the recurring cost, depending on the definition of "long." Battery driven ...
by jerrm
Tue Oct 15, 2019 3:09 pm
Forum: Other projects
Topic: Sending RS232 to the cloud, portable
Replies: 6
Views: 797

Re: Sending RS232 to the cloud, portable

scruss wrote:
Tue Oct 15, 2019 1:54 pm
(Raspberry Pis don't do true real time with most operating systems: there's always some latency and variable delay for any process.)
I doubt the OPs concerned about "real time" in any strict sense if he's positing using google docs as an intermediary.
by jerrm
Fri Oct 11, 2019 9:04 pm
Forum: General discussion
Topic: Will Quick Charge 3.0 provide consistent power to Raspberry Pi 4B?
Replies: 10
Views: 606

Re: Will Quick Charge 3.0 provide consistent power to Raspberry Pi 4B?

I also agree. The anti-charger dogma here is over the top. A QC charger will deliver 5V unless negotiated higher or broken. Outside of burn in testing, all we use on our bench for Pis are QC chargers. I wouldn't recommend using one picked up from the gas station checkout display, but a quality unit ...
by jerrm
Thu Oct 10, 2019 5:50 pm
Forum: Beginners
Topic: RPI3B+, RAID5 NAS performance
Replies: 9
Views: 401

Re: RPI3B+, RAID5 NAS performance

Start with the Pi.

How fast are local read/writes to the array?
by jerrm
Thu Oct 10, 2019 4:27 pm
Forum: General discussion
Topic: Cheap sata ↔ usb3 cable to boot from ssd
Replies: 11
Views: 584

Re: Cheap sata ↔ usb3 cable to boot from ssd

I’ve not seen any issues moving data around on any USB link - just boot issues. For a Pi3x that is true. USB3 support on the Pi4 is another matter. Many adapters just don't work with the Pi with the default UASP driver. The really bad thing about this is it is not always immediately obvious. Someti...
by jerrm
Thu Oct 10, 2019 1:53 pm
Forum: Python
Topic: Writing to a text file in a specific line.
Replies: 10
Views: 715

Re: Writing to a text file in a specific line.

sed -i '3s/.*/newvalue/' file
by jerrm
Wed Oct 09, 2019 3:40 pm
Forum: Beginners
Topic: Does a Buster image created on Pi 3B+ run on Pi4?
Replies: 8
Views: 592

Re: Does a Buster image created on Pi 3B+ run on Pi4?

Yes, a few weeks ago I downloaded an official Raspbian buster lite and wrote that onto an SD card. ...So I'd like to use that very image which is the result of my work on the Pi 3B+, which contains all that fancy functionality, and run it on a Pi 4. If I got B.Goode right, this should be the case. ...
by jerrm
Wed Oct 09, 2019 3:19 pm
Forum: Beginners
Topic: Does a Buster image created on Pi 3B+ run on Pi4?
Replies: 8
Views: 592

Re: Does a Buster image created on Pi 3B+ run on Pi4?

If the image started life as Buster, you should be OK.

Some have reported issues with Stretch images subsequently upgraded to Buster.
by jerrm
Tue Oct 08, 2019 5:50 pm
Forum: Advanced users
Topic: Which USB M2 Adapter for Raspberry Pi?
Replies: 10
Views: 1275

Re: Which USB M2 Adapter for Raspberry Pi?

blachner wrote:
Tue Oct 08, 2019 5:43 pm
The description on Amazon lists UASP support for both.
That is meaningless WRT the Pi.

On a Pi3 it doesn't really matter, but I'd probably order the asmedia based adapter. Better odds of functional uas support if you ever swap out to a Pi4.
by jerrm
Tue Oct 08, 2019 5:21 pm
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

Other adaptors worked fine with just the firmware update, so I tried that first. That didn't solve everything, but it did improve it. I the end I resorted to the quirks, which had proven unnecessary on another adaptor. USB has always been a mess on Linux, even more so with the Pi. I've said before,...
by jerrm
Tue Oct 08, 2019 4:36 pm
Forum: Networking and servers
Topic: making web site https
Replies: 5
Views: 473

Re: making web site https

I've always considered the "s" in https a misnomer. Https encrypts traffic on the wire, think of it as privacy not security. It does nothing to actually secure your server other than make sure no one can sniff your passwords and see your data flowing down the wire. Not a trivial thing by any means, ...
by jerrm
Tue Oct 08, 2019 3:54 pm
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

Beware the odroid firmware. Which one you mean? Some specific one from https://wiki.odroid.com/odroid-xu4/software/jms578_fw_update ? There are several versions inside jms578fwupdater.tgz linked there, the v173.01.00.02 is even from 2019. v173.01.00.02 is what I tested. At first glance it appeared ...
by jerrm
Tue Oct 08, 2019 3:48 pm
Forum: Advanced users
Topic: Which USB M2 Adapter for Raspberry Pi?
Replies: 10
Views: 1275

Re: Which USB M2 Adapter for Raspberry Pi?

For USB2 on something less that a Pi 4 it probably doesn't matter. For Pi4 USB3, the asm chip will probably support UAS and have the edge on performance - but it can be firmware dependent. Plugwash's comment on nvme is a good one, those are USB3 to SATA m2 adapters and will not work with nvme SSDs. ...
by jerrm
Tue Oct 08, 2019 1:05 pm
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

That's interesting because I have one JMS578 adapter that just won't work at all on my PC, but works with the PI 4B after a firmware upgrade and setting the quirk option. I have others that work fine on the Pi and PC after a firmware upgrade. I haven't had a problem with any adapter on the Pi once ...
by jerrm
Tue Oct 08, 2019 2:06 am
Forum: Troubleshooting
Topic: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this
Replies: 62
Views: 33323

Re: STICKY: If you have a Raspberry Pi 4 and are getting bad speeds transferring data to/from USB3.0 SSDs, read this

Is it true that TRIM is disabled with this quirk ? Will this wear out my SSD more quickly ? Yes it is true - no TRIM support with the usb-storage driver. Shouldn't have impact on overall wear, but the drive can't use the blocks as efficiently. It's a shame because the JMS578 adapters have been soli...
by jerrm
Fri Oct 04, 2019 11:17 pm
Forum: Beginners
Topic: Is a Raspberry Pi ideal for downloading data?
Replies: 4
Views: 241

Re: Is a Raspberry Pi ideal for downloading data?

If you are going to worry about a job taking 60 minutes instead of 45 minutes the Pi4 may not be the best option option if you want full 1gbit transfer speeds over ssh. The Pi4's lack of hardware encryption becomes a bottleneck. Raspbian will max out at about 45MByte/s over ssh. Using the 64bit kern...
by jerrm
Wed Oct 02, 2019 3:37 am
Forum: Troubleshooting
Topic: RPI4 Ethernet port needs 8 wires?
Replies: 13
Views: 739

Re: RPI4 Ethernet port needs 8 wires?

rpdom wrote:
Wed Oct 02, 2019 3:26 am
I have got one somewhere. I think it came with a cheap WiFi access point or something.
Same here. Not the norm, but not all that unusual either for consumer 100mbit devices.
by jerrm
Mon Sep 30, 2019 10:15 pm
Forum: General discussion
Topic: Official Rpi4 case needs a fan
Replies: 10
Views: 451

Re: Official Rpi4 case needs a fan

lowfat wrote:
Mon Sep 30, 2019 9:38 pm
I'm concerned that many of the current official case will just end up in landfill.
That's where they belong IMO. The ethics of selling the thing are questionable.
by jerrm
Sun Sep 29, 2019 10:45 pm
Forum: General discussion
Topic: running the system (a pi4b) off of ssd, will it give speed improvements?
Replies: 14
Views: 773

Re: Ssd

I don't see any related error message in the syslog... Good to know. I'll order one and see how it goes. I had a another ASM1351 adapter sitting around that I tried the StarTech firmware on, but it the update utility wouldn't work on it. Didn't really expect it to - device id was 174c:1351 instead ...

Go to advanced search