You are not logged in.

#26 2023-09-11 11:34:42

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Thanks ! I will keep you informed.

Offline

#27 2023-09-11 21:31:06

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Hello,

I think there is a mistake. Pablo confirm that there is no need  to revert anything on 6.4.15.

Offline

#28 2023-09-11 22:26:57

loqs
Member
Registered: 2014-03-06
Posts: 17,747

Re: [SOLVED] Random kernel panic since > 6.3.7

Do you need a new kernel built?

Offline

#29 2023-09-12 03:29:07

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

If possible …
I built a new from vanilla 6.4.15 without any patch with the same config from 6.4.12. But I am not sure that everything is fine…

Offline

#30 2023-09-12 06:50:43

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Hi,
just rebooted to a vanilla 6.4.15. I have used this PKGBUILD http://ix.io/4G7K with this config http://ix.io/4G7L. Hope everything is right.

Tried to lower nft set timeout to 2m for about 1000 elements in a set. All elements were purged correctly without any error message.

But, I have not tested this on previous 6.4.12 or 6.3.9...

Waiting for about 48-72h now and see...

Last edited by cyayon (2023-09-12 06:52:23)

Offline

#31 2023-09-15 19:13:21

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Hi,

No crash since 3 days with 6.4.15.
I will wait again a few days but it should be ok, many thanks !

I asked Pablo N to know if the patch / revert has been merged to 6.5.3, waiting his answer…

Offline

#32 2023-09-15 19:32:24

loqs
Member
Registered: 2014-03-06
Posts: 17,747

Re: [SOLVED] Random kernel panic since > 6.3.7

cyayon wrote:

I asked Pablo N to know if the patch / revert has been merged to 6.5.3, waiting his answer…

Do you have a commit ID or subject for the patch / revert  from any kernel?  The seven netfilter commits back-ported to 6.4.13 were all in 5.3 and I can not see any netfilter commits in 6.4.14 or 6.4.15.

Offline

#33 2023-09-16 04:44:30

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Oh, no...
This morning crash again sad.

Here is the journald log : http://ix.io/4Gvd

Offline

#34 2023-09-16 06:57:11

seth
Member
Registered: 2012-09-03
Posts: 54,446

Re: [SOLVED] Random kernel panic since > 6.3.7

trace looks vastly different, though.

intel_idle.max_cstate=1 processor.max_cstate=1

You do have https://wiki.archlinux.org/title/Microcode ?

Offline

#35 2023-09-16 07:05:21

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Yes I have intel-ucode 20230808-1

grub.cfg :
linux   /slot1/boot/vmlinuz-linux root=UUID=df6ae634-3fbe-4d7b-9a0b-0fd35d2402da rw rootflags=subvol=slot1  consoleblank=0 pcie_aspm=off nvme_core.default_ps_max_latency_us=0
initrd  /slot1/boot/intel-ucode.img /slot1/boot/initramfs-linux.img


grep microcode /proc/cpuinfo
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4
microcode       : 0xf4

Last edited by cyayon (2023-09-16 07:06:22)

Offline

#36 2023-09-16 12:08:27

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Should I add these params to the boot command line ?
Remove microcode ?

Offline

#37 2023-09-16 13:09:29

seth
Member
Registered: 2012-09-03
Posts: 54,446

Re: [SOLVED] Random kernel panic since > 6.3.7

Yes and No.
(The backtraces all feature cpu idling, but oc there's also a 26s stall, so that might be a red herring)
µcode patches are almost mandatory.

Offline

#38 2023-09-16 13:55:32

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

ok, done. thanks.

I also removed flowtable offload on my ip4/ip6 nftables ruleset (call trace referred to).

Which is strange is that I use this cpu with archlinux since about 6 or 7 years and never had any kernel panic / crash.
I regularly upgrade the system / kernel (about every month).

Since > 6.3.7, unable to have uptime > 4 or 5 days...

waiting now...

Last edited by cyayon (2023-09-16 13:58:29)

Offline

#39 2023-09-22 13:48:58

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Hi,

no crash since 6 days with intel_idle.max_cstate=1 processor.max_cstate=1 and kernel 6.4.15.
I also disabled nft flowtables rules (fastpath).
If no crash for the week-end, I will re-enable nft flowtables and let's see...

I will keep you informed.

Offline

#40 2023-10-07 08:52:51

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Hi,
No more crash with 6.4.15 and 6.5.5.

I do not really understand what params intel_idle.max_cstate=1 processor.max_cstate=1 are doing. Could you please explain ?
Thanks.

Offline

#41 2023-10-07 12:40:29

seth
Member
Registered: 2012-09-03
Posts: 54,446

Re: [SOLVED] Random kernel panic since > 6.3.7

They prevent the CPU from entering higher c-states tongue

https://en.wikipedia.org/wiki/ACPI#Processor_states
(The gist is that you're making Greta a very sad girl by using more energy, how dare you!)

Try "intel_idle.max_cstate=4 processor.max_cstate=4", the higher you raise the number, the more likely you'lll experience crashes again.
For an intel CPU, you only need "intel_idle.max_cstate=4" and for an AMD CPU "processor.max_cstate=4"

Offline

#42 2023-10-07 14:59:18

cyayon
Member
Registered: 2016-09-05
Posts: 35

Re: [SOLVED] Random kernel panic since > 6.3.7

Thanks it is clear now !

Offline

#43 2023-10-07 17:29:07

seth
Member
Registered: 2012-09-03
Posts: 54,446

Re: [SOLVED] Random kernel panic since > 6.3.7

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB