Go to advanced search

by jdb
Tue Aug 27, 2019 7:56 am
Forum: Troubleshooting
Topic: Out of memory error on RPi 4 when there's memory
Replies: 10
Views: 516

Re: Out of memory error on RPi 4 when there's memory

Can you watch the output of "sudo slabtop" while doing the rsync? Are there any particularly large entries that appear (e.g. ext4_inode_cache)?
by jdb
Mon Aug 26, 2019 5:05 pm
Forum: Troubleshooting
Topic: Out of memory error on RPi 4 when there's memory
Replies: 10
Views: 516

Re: Out of memory error on RPi 4 when there's memory

Do you have cgroups enabled? Memcg in particular
by jdb
Mon Aug 26, 2019 12:34 pm
Forum: Off topic discussion
Topic: What are fixup files and how does it work?
Replies: 3
Views: 1319

Re: What are fixup files and how does it work?

For each firmware release, the fixup files are used to configure memory splits. There's about 4 symbols (VPU/ARM base address + size) that get patched by the bootloader dependent on what the gpu_mem is set to. The fixup files go with the elf files because section sizes and offsets can change with ea...
by jdb
Thu Aug 22, 2019 8:06 pm
Forum: Off topic discussion
Topic: Best Raspberry Pi Alternatives 2019
Replies: 62
Views: 5264

Re: Best Raspberry Pi Alternatives 2019

With the unique Foundation/Trading split, Raspberry Pi is in a very sustainable position. Fully commercial vendors have to maintain a certain profit margin, and do so through marketing, defined product life and product retirement. The Raspberry Pi companies don't work that way, so they're very hard...
by jdb
Thu Aug 22, 2019 7:56 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 325
Views: 65044

Re: Raspberry Pi 4 usb boot?

Well, I see the snarky point you are trying to make here, but my response to it is embedded in my OP more clearly than the USB boot status was at launch. I know what the raspberry pi is, and I wasn't fooled into thinking it was a desktop computer. My wasted time is my own concern and I know that so...
by jdb
Thu Aug 22, 2019 7:52 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 325
Views: 65044

Re: Raspberry Pi 4 usb boot?

Get it through your thick heads - this thread is about the RPi4 USB booting - I know how I could boot from a microSD card, I've booted from a microSD card - I don't want to!!! I just want to boot from USB, on the RPi4, just like I do on my RPi3B/B+/A+ User was banned for 2 weeks for this post. What...
by jdb
Wed Aug 21, 2019 4:02 pm
Forum: Advanced users
Topic: [Solved] Deactivate Cores
Replies: 7
Views: 6955

Re: [Solved] Deactivate Cores

Try replacing maxcpus=n with isolcpus=n. All CPUs get the same clock, but temperature under load should definitely reduce with <4 CPUs online.
by jdb
Wed Aug 21, 2019 1:02 pm
Forum: General discussion
Topic: Overclocking RPI4 SDRAM? [not possible!]
Replies: 8
Views: 689

Re: Overclocking RPI4 SDRAM? [not possible!]

You cannot overclock the SDRAM controller on Pi 4. Previous options in config.txt for sdram frequency have no effect. There are only a few operating points defined for SDRAM speed (1350/2400/2667/3200) and we are using the fastest one.
by jdb
Sun Aug 18, 2019 3:05 pm
Forum: Troubleshooting
Topic: PI4 odd core frequency showing
Replies: 2
Views: 152

Re: PI4 odd core frequency showing

What resolution display do you have plugged in?
The minimum core clock is a function of how many pixels per second we need to shovel out of the HDMI ports, and it is automatically boosted for pixel clock frequencies >240MHz.
by jdb
Thu Aug 15, 2019 9:54 am
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

I levered open one of the Sabrent USB3.0 adapters that we have (0x152d:0x1561) that exhibit UAS errors and lo, it's a JMS578 inside. After blasting the slightly sketchy Hardkernel firmware to the device, it reports a PID of 0x152d:0x0578 and no longer errors. YMMV.
by jdb
Wed Aug 14, 2019 8:22 pm
Forum: General discussion
Topic: Official Keyboard and mouse
Replies: 33
Views: 1278

Re: Official Keyboard and mouse

The keyboards are more or less okay for casual use but for serious typists they are far from ideal. Or as my wife said when I had her try the "touch", "No! Never going to use that!" The difference being that she used to make her living typing and--at the time--tested at 100wpm. At home, both of us ...
by jdb
Wed Aug 14, 2019 11:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI 4 pl2303 / pl2303x issue.
Replies: 3
Views: 925

Re: RPI 4 pl2303 / pl2303x issue.

Are you using latest kernel/firmware?
by jdb
Mon Aug 12, 2019 7:17 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

After trying multiple adapters, I've come to the conclusion something is "off" for USB3/UAS on the Pi. Several adapters that work great with uas under PC Buster need uas disabled on the Pi. I also don't see the same relative improvements between the uas/usb-storage as seen under PC Buster. If you h...
by jdb
Mon Aug 12, 2019 6:01 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

UAS can have multiple outstanding transfers at any one time, plus there is a separate completions pipe. The completions pipe could return very bursty data if the adapter returns completions out-of-order. I'm not surprised that the ring isn't filled when usb-storage is in use, as that has a single co...
by jdb
Mon Aug 12, 2019 4:15 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

Linux allocates a single Event Ring Segment of size 4k, which corresponds to space for 256 event TRBs - if there are more than 256 events generated before the CPU services the xhci interrupt, then the host controller will stall processing of its command/transfer rings until the kernel acknowledges t...
by jdb
Mon Aug 12, 2019 3:34 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

Hm. A trb type code of 37 implies Host Controller Event but not necessarily "event ring full". More debug required. Can you use this script: #!/bin/bash set -e while : ; do cat /sys/kernel/debug/usb/xhci/0000\:01\:00.0/event-ring/trbs | grep "Controller" done and run it as root until you get some ou...
by jdb
Sat Aug 10, 2019 2:47 pm
Forum: General discussion
Topic: USB problem on Pi 4B
Replies: 35
Views: 3632

Re: USB problem on Pi 4B

What's the output from vmstat 2 when the dmesg log spam is occurring? I would expect a high number of hardware interrupts per second.
by jdb
Mon Aug 05, 2019 7:56 pm
Forum: General discussion
Topic: Raspberry PI 4 Model A - Design Request
Replies: 5
Views: 350

Re: Raspberry PI 4 Model A - Design Request

In before the lock. ;) In after the lock. The feature set provided by Pi 4 Model B doesn't map quite as well to a Model A variant, as you can no longer just remove the ethernet/hub combo chip and make a smaller board. We're still ruminating about Compute Module 4 and what form factor a future "mode...
by jdb
Mon Aug 05, 2019 10:46 am
Forum: Advanced users
Topic: Raspberry PI4 cold boot protected. By design?
Replies: 4
Views: 596

Re: Raspberry PI4 cold boot protected. By design?

I can retrieve kernel messages via pstore/ramoops after a reboot (which implies an 80ms power-off sequence to reset the SD card). I can force a poweroff with GLOBAL_EN and after between 1 and 2 seconds of holding GLOBAL_EN low, RAM is sufficiently corrupted that ramoops no longer recognises the cont...
by jdb
Mon Aug 05, 2019 9:43 am
Forum: Advanced users
Topic: /sys/class/net/eth0/statistics/rx_bytes and tx_bytes resets after 4GB...
Replies: 3
Views: 255

Re: /sys/class/net/eth0/statistics/rx_bytes and tx_bytes resets after 4GB...

It's not as simple as expanding the field sizes reported to ethtool. The hardware counters are 32-bits wide and saturate at 0xffffffff, so the current driver implementation any saturated counter is just reset to 0. As the count saturates, the only way to get accurate stats would be to read and clear...
by jdb
Thu Jul 25, 2019 11:08 pm
Forum: General discussion
Topic: Why i had to take back my PI4B.
Replies: 31
Views: 1106

Re: Why i had to take back my PI4B.

Also I don't know what they did in the manufacturing process of the Raspberry Pi keyboard a couple of drops of condensation fell off the cold drink I was enjoying wet into the keyboard around where the o he was and shortly after that the key stopped working. I'm not sure who you guys are marketing ...
by jdb
Thu Jul 25, 2019 10:18 pm
Forum: General discussion
Topic: Why i had to take back my PI4B.
Replies: 31
Views: 1106

Re: Why i had to take back my PI4B.

american-pi wrote:
Thu Jul 25, 2019 10:11 pm

No crow.
Crows are not included with any model of Raspberry Pi.
What is the point of your post? Is it a complaint, recommendation or review?
by jdb
Wed Jul 24, 2019 10:37 pm
Forum: General discussion
Topic: Digital Signage for Business
Replies: 13
Views: 614

Re: Digital Signage for Business

Spammers sometimes try an innocuous first post while embedding profile links to whatever site they are shilling - the OP has no links in profile, so... not a spammer? maybe?
by jdb
Mon Jul 22, 2019 8:58 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: 42
Views: 16809

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

What are "normal" SSD speeds supposed to be like? As fast as the SSD can go, or 350MB/s - whichever is lower. Thanks, before I did this I was waiting for 5 mins for Raspy 4B to boot, it was stuck after "Reached Target sound card", Chromium took 2-3 minutes to load the first time. Buffered read spee...
by jdb
Mon Jul 22, 2019 4:23 pm
Forum: Troubleshooting
Topic: Pi 4 negative over_voltage appears to cause more heating not less
Replies: 6
Views: 394

Re: Pi 4 negative over_voltage appears to cause more heating not less

Hang on, are you assuming that the setting is broken without measuring things?

Run vcgencmd measure_volts in both cases - default volts and undervolted. This will directly confirm that the setting has had an effect.

Go to advanced search