Go to advanced search

by jdb
Thu Jul 04, 2019 3:41 pm
Forum: General discussion
Topic: Raspi 4 Turning off USB Power, Permission denied
Replies: 2
Views: 255

Re: Raspi 4 Turning off USB Power, Permission denied

That command affects the dwc_otg controller, not the xhci controller. You should be able to use "uhubctl" to power off the ports.
The Ethernet port on Pi4 is independent of anything to do with USB.
by jdb
Thu Jul 04, 2019 1:37 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

@jackd12001 can you try the U1/U2 powersave disable as described above?
by jdb
Thu Jul 04, 2019 12:03 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

Can you post the full lsusb of your SSD adapter?
by jdb
Thu Jul 04, 2019 10:32 am
Forum: Advanced users
Topic: Increasing MTU on Pi 4
Replies: 4
Views: 991

Re: Increasing MTU on Pi 4

In theory the hardware supports up to 16k packet sizes but increasing the MTU will, as you say, need tweaks to the packet buffer configuration. My hunch is that the buffers need to end up 4k page-sized for compatibility with the rest of Linux which means jumbo frames span more than 1 tx or rx buffer...
by jdb
Thu Jul 04, 2019 8:29 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

A possible cause of low performance even with the stock VLI firmware could be UAS blacklisting - on an x86 pc with 4.19.5 my SSD adapter is downgraded to mass-storage, but on the Pi it's quite happy using UAS transport.
Ignore this - I had a leftover module blacklist from testing on the PC.
by jdb
Wed Jul 03, 2019 8:25 pm
Forum: General discussion
Topic: RP4 without ESD protection shipped
Replies: 15
Views: 850

Re: RP4 without ESD protection shipped

The boxes have a conductive coating. We do this to remove the plastic ESD baggie that all previous models have shipped in - which usually ends up in landfill as it's unrecycleable :( Also your fears about ESD are unfounded - all of the interfaces are safe against 2kV HBM discharges - which includes ...
by jdb
Wed Jul 03, 2019 6:00 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

For some reason I thought the Airspy was a USB3.0 device. The U1/U2 settings only apply to superspeed devices - USB2.0 devices are unaffected.
by jdb
Wed Jul 03, 2019 4:23 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

Okay. I've done some more testing. I'm still seeing a problem with the new firmware even with the setpci tweak that turns off ASPM L1. Throughput is okay when ASPM L1 disabled but something in the new firmware is messing up timing or latency even with ASPM disabled. I have this Airspy setup to be a...
by jdb
Tue Jul 02, 2019 6:17 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 895
Views: 104859

Re: Raspberry Pi 4 Thread - general discussion

I've removed references to commands that do "download this random shellscript and execute it as root". This is universally bad practice - don't do it.
There are any number of benchmarking applications out there - bonnie++ and iozone are two examples.
by jdb
Tue Jul 02, 2019 6:11 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

This fixes my problem with the AirSpy SDR. For anybody curious, this PCI config register change is disabling ASPM L1 on the VL805 so it only powers down one direction of the link now. Ding Ding Ding! We have a winner. Yes, this is what the command does. There's some weird interaction between timers...
by jdb
Tue Jul 02, 2019 4:52 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

Can you try this:

Code: Select all

sudo apt-get install pciutils
sudo setpci -s 01:00.0 0xD4.B=0x41
And see if that changes any of the SSD speeds?
by jdb
Tue Jul 02, 2019 2:32 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 - new VLI firmware issues

I'm not sure if it's relevant, but in case it is : I've had some very strange things going on with USB3 & SSD / HDD on a Stock firmware Pi 4. Prepping the disk : sudo gdisk /dev/sda d n (take defaults) w then formatting : sudo mke2fs -t ext4 -L rootfs /dev/sda1 Causes the mouse icon to stop moving ...
by jdb
Tue Jul 02, 2019 2:13 pm
Forum: Compute Module
Topic: USB 2.0 Dropped frames
Replies: 25
Views: 3026

Re: USB 2.0 Dropped frames

The forum DM facility was disabled several months ago. [email protected] is a monitored address for enquiries.
by jdb
Tue Jul 02, 2019 1:38 pm
Forum: Troubleshooting
Topic: pi4 - connecting arduino uno disables all USB peripherals
Replies: 4
Views: 185

Re: pi4 - connecting arduino uno disables all USB peripherals

What is the output of dmesg after plugging/unplugging the arduino uno?
by jdb
Tue Jul 02, 2019 1:32 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 temperature

If you have a usb3.0 hub available, what happens when you plug the SSD with poor performance into a hub port instead of the Pi4 USB3.0 port?
by jdb
Tue Jul 02, 2019 12:38 pm
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 temperature

Are there any errors in dmesg after the drive's been accessed in a slow fashion?
by jdb
Tue Jul 02, 2019 12:24 pm
Forum: Compute Module
Topic: USB 2.0 Dropped frames
Replies: 25
Views: 3026

Re: USB 2.0 Dropped frames

We are currently dealing with post-release fallout from Pi4 as people rapidly get their hands on them. The tentative fix will end up adding another bit in the fiq_fsm_mask parameter that pipelines isochronous transfers but will require testing with hardware that demonstrates the issue. Can you email...
by jdb
Tue Jul 02, 2019 11:44 am
Forum: Troubleshooting
Topic: Raspberry Pi 4 - new VLI firmware issues
Replies: 69
Views: 19942

Re: Raspberry Pi 4 temperature

Please post a full sudo lsusb -v listing for your SSD. On 0137a8 with a Sabrent USB-SATA adapter, I get 350MB/s in the same test.
by jdb
Tue Jul 02, 2019 9:30 am
Forum: Advanced users
Topic: RPI4 gives Kernel errors under heavy USB3 load
Replies: 1
Views: 493

Re: RPI4 gives Kernel errors under heavy USB3 load

https://github.com/torvalds/linux/blob/master/drivers/usb/host/xhci-ring.c#L2673 /* FIXME: handle more event types */ It's a benign error caused by the event ring being full - as you're hammering IO then the hardware is generating events (interrupts) faster than the kernel can process them. There's ...
by jdb
Sun Jun 30, 2019 10:54 pm
Forum: General discussion
Topic: RPI4, out of order and Spectre vulnerabilities
Replies: 27
Views: 2365

Re: RPI4, out of order and Spectre vulnerabilities

I doubt you could write this off as an academic curiosity or harmless because ` there is no malware that uses this attack vector .`. ARM tells a different story (17-06-2019),see link OP, they explicitly state that an A72 processor is vulnerable, and write about needed mitigation mechanisms. Re-read...
by jdb
Sun Jun 30, 2019 4:08 pm
Forum: General discussion
Topic: RPI4, out of order and Spectre vulnerabilities
Replies: 27
Views: 2365

Re: RPI4, out of order and Spectre vulnerabilities

A72 is immune to Meltdown. A72 is vulnerable to Spectre, but this means context leakage in the same process space. The practical upshot of this is that on A72, there is yet another way to exfiltrate data from the web browser via malicious javascript - that is mitigated against quite effectively via ...
by jdb
Sat Jun 29, 2019 5:40 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 895
Views: 104859

Re: Raspberry Pi 4 Thread - general discussion

schorsch76 wrote:
Sat Jun 29, 2019 4:16 pm
I got an usb keyboard, HDMI, Ethernet (no Wifi configured), power and thats it

EDIT: I got the 3A PSU from the Pi foundation.
Does the Pi reboot successfully if you unplug everything except ethernet and power? (i.e. unplug all other peripherals during the shutdown phase)
by jdb
Sat Jun 29, 2019 4:07 pm
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 895
Views: 104859

Re: Raspberry Pi 4 Thread - general discussion

Thanks to Reichelt.de i got my RPi4 at thursday :) Very nice device, but i got an anoying problem: The reboot does not always properly work. Regardless if i do "sudo reboot -f" or "sudo reboot". The device is connected to LAN (at 100 MBit). Latest buster image from the download site and newest upda...
by jdb
Sat Jun 29, 2019 4:02 pm
Forum: General discussion
Topic: What limits RPi4 OC to 1750 MHz?
Replies: 22
Views: 3090

Re: What limits RPi4 OC to 1750 MHz?

The latest firmware from rpi-update lets you OC past 1750mhz. I've hit a wall at 2Ghz where is refuses to boot at anything higher, but that could just be the limits of my pi. The ARM clock frequency is derived from a PLL VCO divided by 2, and previously on Pi4 we limited all VCOs to 3GHz. The Raspb...

Go to advanced search