PINE64
BETA edition rcu errors - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Hardware (https://forum.pine64.org/forumdisplay.php?fid=122)
+--- Thread: BETA edition rcu errors (/showthread.php?tid=13786)

Pages: 1 2 3


RE: BETA edition rcu errors - 8bit - 10-27-2021

(10-27-2021, 04:41 PM)some_pinephone_user Wrote: I ran the test and got fails inmediately: https://pastebin.com/xbTeksJN

The second ran get the fails inmediately too.

Looks like the errors I was getting. Are you running the latest kernel? I just upgraded and they released it 3 days ago.


RE: BETA edition rcu errors - some_pinephone_user - 10-27-2021

Yes. I'm running 5.14.15-1. Anyway, I ran the test on 5.14.14-2 too with same results.


RE: BETA edition rcu errors - 8bit - 10-27-2021

(10-27-2021, 05:06 PM)some_pinephone_user Wrote: Yes. I'm running 5.14.15-1. Anyway, I ran the test on 5.14.14-2 too with same results.

Hopefully @smaeul will see this and take a look at your errors.

Is this a new PinePhone, has it only started doing this?


RE: BETA edition rcu errors - some_pinephone_user - 10-28-2021

(10-27-2021, 06:31 PM)8bit Wrote:
(10-27-2021, 05:06 PM)some_pinephone_user Wrote: Yes. I'm running 5.14.15-1. Anyway, I ran the test on 5.14.14-2 too with same results.

Hopefully @smaeul will see this and take a look at your errors.

Is this a new PinePhone, has it only started doing this?

It is a new one.


RE: BETA edition rcu errors - some_pinephone_user - 11-05-2021

Any news? How the errors should look like? When "skip" is not 0?


RE: BETA edition rcu errors - some_pinephone_user - 11-07-2021

I did some new test. The RCU failre on deischarging battery logging battery levels. The results are pretty strange: https://dropmefiles.com/4IRLI
Sometimes the test-cycle completes without any error and sometimes with tens of thousand.

@smaeul , could you take a look into?


RE: BETA edition rcu errors - some_pinephone_user - 11-11-2021

I  could manage it disabling sustemd-timesyncd and installing chrony. On Manjaro ARM it looks like this

sudo systemctl mask systemd-timesyncd
sudo systemctl stop systemd-timesyncd
sudo pacman -S chrony


RE: BETA edition rcu errors - smaeul - 11-11-2021

(11-07-2021, 04:40 PM)some_pinephone_user Wrote: I did some new test. The RCU failre on deischarging battery logging battery levels. The results are pretty strange: https://dropmefiles.com/4IRLI
Sometimes the test-cycle completes without any error and sometimes with tens of thousand.

@smaeul , could you take a look into?

Your logs show time jumps that are smaller than those seen on any device before. They are not covered by the existing workaround in the kernel, so an additional kernel change is needed to resolve the errors you are seeing.

The quickest way to fix your time jumps is to apply this patch again, but instead of changing the constant from a 9 to an 8, change it from an 8 to a 7:

https://lore.kernel.org/linux-sunxi/20210515021439.55316-1-samuel@sholland.org/

Decreasing the mask size could have a slight performance impact, so there has been some discussion about finding a better way to filter out the jumps.


RE: BETA edition rcu errors - some_pinephone_user - 11-18-2021

(11-11-2021, 10:56 PM)smaeul Wrote:
(11-07-2021, 04:40 PM)some_pinephone_user Wrote: I did some new test. The RCU failre on deischarging battery logging battery levels. The results are pretty strange: https://dropmefiles.com/4IRLI
Sometimes the test-cycle completes without any error and sometimes with tens of thousand.

@smaeul , could you take a look into?

Your logs show time jumps that are smaller than those seen on any device before. They are not covered by the existing workaround in the kernel, so an additional kernel change is needed to resolve the errors you are seeing.

The quickest way to fix your time jumps is to apply this patch again, but instead of changing the constant from a 9 to an 8, change it from an 8 to a 7:

https://lore.kernel.org/linux-sunxi/20210515021439.55316-1-samuel@sholland.org/

Decreasing the mask size could have a slight performance impact, so there has been some discussion about finding a better way to filter out the jumps.
Did the suggested patch -- right now the problem seems to be gone. Two runs of timer-test didnt get any disphases.


RE: BETA edition rcu errors - some_pinephone_user - 11-02-2022

(11-18-2021, 06:59 PM)some_pinephone_user Wrote:
(11-11-2021, 10:56 PM)smaeul Wrote:
(11-07-2021, 04:40 PM)some_pinephone_user Wrote: I did some new test. The RCU failre on deischarging battery logging battery levels. The results are pretty strange: https://dropmefiles.com/4IRLI
Sometimes the test-cycle completes without any error and sometimes with tens of thousand.

@smaeul , could you take a look into?

Your logs show time jumps that are smaller than those seen on any device before. They are not covered by the existing workaround in the kernel, so an additional kernel change is needed to resolve the errors you are seeing.

The quickest way to fix your time jumps is to apply this patch again, but instead of changing the constant from a 9 to an 8, change it from an 8 to a 7:

https://lore.kernel.org/linux-sunxi/20210515021439.55316-1-samuel@sholland.org/

Decreasing the mask size could have a slight performance impact, so there has been some discussion about finding a better way to filter out the jumps.
Did the suggested patch -- right now the problem seems to be gone. Two runs of timer-test didnt get any disphases.

Is there some progress? Because the newer kernels without a patch still freeze randomly