Re: [PATCH 6.6 000/326] 6.6.16-rc2 review

Стас Ничипорович
2024-02-04T04:43:25Z

After trying again to create the ipset with timeout option I get a kernel panic
# ipset create throttled-ips hash:ip family inet hashsize 1024 maxelem
100000 timeout 600 bucketsize 12 initval 0x22b96e3a
ipset v7.20: Set cannot be created: set with the same name already exists

[Sat Feb 3 21:51:43 2024] Kernel 6.6.16- started...
[Sat Feb 3 21:51:44 2024] ------------[ cut here ]------------
[Sat Feb 3 21:51:44 2024] WARNING: CPU: 0 PID: 0 at
__run_timers.part.0+0x45d/0x570
[Sat Feb 3 21:51:44 2024] Modules linked in: netconsole configfs
xt_multiport xt_HL xt_TCPMSS xt_tcpudp xt_comment xt_mark
iptable_mangle iptable_raw iptable_filter xt_MASQUERADE xt_set
iptable_nat nfnetlink_cttimeout nfnetlink_log ip_set_list_set
ip_set_hash_ipport ip_set_hash_ip ip_set_hash_netiface ip_set_hash_net
ip_set nf_nat_sip nf_nat_ftp nf_nat_tftp nf_nat_irc nf_nat_amanda
nf_nat_h323 nf_nat_snmp_basic asn1_decoder nf_nat_pptp nf_nat
nf_conntrack_irc nf_conntrack_snmp nf_conntrack_netbios_ns
nf_conntrack_broadcast nf_conntrack_sip nf_conntrack_tftp
nf_conntrack_pptp ts_kmp nf_conntrack_amanda nf_conntrack_sane
nf_conntrack_h323 xt_conntrack nf_conntrack_ftp xt_dns(O)
nf_conntrack_netlink nfnetlink ipt_NETFLOW(O) ip6_tables ip_tables
xt_ndpi(O) xt_RATELIMIT(O) nf_conntrack_rtcache nf_conntrack
nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic crc32c_intel
x_tables vrf sha1_ssse3 sha1_generic hmac ipv6 ixgbevf ixgbe mdio
mdio_devres libphy ifb virtio_rng rng_core button
[Sat Feb 3 21:51:44 2024] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G
O 6.6.16- #12
[Sat Feb 3 21:51:44 2024] RIP: 0010:__run_timers.part.0+0x45d/0x570
[Sat Feb 3 21:51:44 2024] Code: 21 0d f5 7e 89 ca 89 c8 81 e2 00 00
00 80 44 09 f2 65 0f b1 15 0c 0d f5 7e 39 c1 75 e0 48 89 df e8 38 b0
48 00 e9 53 ff ff ff <0f> 0b e9 4c ff ff ff 44 89 f2 4c 89 fe 48 c7 c7
e0 9a 8f 81 c6 05
[Sat Feb 3 21:51:44 2024] RSP: 0018:ffff88807d805f20 EFLAGS: 00010046
[Sat Feb 3 21:51:44 2024] RAX: 0000000000000000 RBX: ffff88807d81c9c0
RCX: ffff88807d805f20
[Sat Feb 3 21:51:44 2024] RDX: ffff888003207768 RSI: 00000000000000a5
RDI: ffff88807d81c9e8
[Sat Feb 3 21:51:44 2024] RBP: ffff88807d805f20 R08: 0000000003ffeee2
R09: 7fffffffffffffff
[Sat Feb 3 21:51:44 2024] R10: ffffffff81a050c0 R11: 0000000000000082
R12: dead000000000122
[Sat Feb 3 21:51:44 2024] R13: 0000000000000000 R14: ffffffff81a050c8
R15: 0000000000000000
[Sat Feb 3 21:51:44 2024] FS: 0000000000000000(0000)
GS:ffff88807d800000(0000) knlGS:0000000000000000
[Sat Feb 3 21:51:44 2024] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Sat Feb 3 21:51:44 2024] CR2: 00007fb98e5e95b0 CR3: 0000000001a12003
CR4: 00000000001706b0
[Sat Feb 3 21:51:44 2024] Call Trace:
[Sat Feb 3 21:51:44 2024] <IRQ>
[Sat Feb 3 21:51:44 2024] ? __warn+0x6c/0x130
[Sat Feb 3 21:51:44 2024] ? report_bug+0x136/0x1b0
[Sat Feb 3 21:51:44 2024] ? handle_bug+0x36/0x70
[Sat Feb 3 21:51:44 2024] ? exc_invalid_op+0x17/0x1a0
[Sat Feb 3 21:51:44 2024] ? asm_exc_invalid_op+0x16/0x20
[Sat Feb 3 21:51:44 2024] ? __run_timers.part.0+0x45d/0x570
[Sat Feb 3 21:51:44 2024] ? ktime_get+0x30/0x90
[Sat Feb 3 21:51:44 2024] ? clockevents_program_event+0x76/0xd0
[Sat Feb 3 21:51:44 2024] __do_softirq+0xb4/0x1e8
[Sat Feb 3 21:51:44 2024] irq_exit_rcu+0x5d/0x80
[Sat Feb 3 21:51:44 2024] sysvec_apic_timer_interrupt+0x66/0x80
[Sat Feb 3 21:51:44 2024] </IRQ>
[Sat Feb 3 21:51:44 2024] <TASK>
[Sat Feb 3 21:51:44 2024] asm_sysvec_apic_timer_interrupt+0x16/0x20
[Sat Feb 3 21:51:44 2024] RIP: 0010:default_idle+0xb/0x10
[Sat Feb 3 21:51:44 2024] Code: 07 76 e7 48 89 07 49 c7 c0 08 00 00
00 4d 29 c8 4c 01 c7 4c 29 c2 e9 72 ff ff ff cc cc cc cc eb 07 0f 00
2d 47 27 2b 00 fb f4 <fa> c3 0f 1f 00 65 48 8b 04 25 c0 10 02 00 f0 80
48 02 20 48 8b 10
[Sat Feb 3 21:51:44 2024] RSP: 0018:ffffffff81a03eb0 EFLAGS: 00000206
[Sat Feb 3 21:51:44 2024] RAX: ffff88807d81fa80 RBX: 0000000000000000
RCX: 4000000000000000
[Sat Feb 3 21:51:44 2024] RDX: 0000000000000000 RSI: 0000000000000000
RDI: 00000000000d8494
[Sat Feb 3 21:51:44 2024] RBP: ffffffff81a08a40 R08: 0000000000000001
R09: 0000000000000000
[Sat Feb 3 21:51:44 2024] R10: 0000000000100000 R11: 000000000122662f
R12: ffffffff81a08a40
[Sat Feb 3 21:51:44 2024] R13: ffff88807ffda040 R14: ffffffff81a085e0
R15: 0000000000013c70
[Sat Feb 3 21:51:44 2024] default_idle_call+0x1f/0x26
[Sat Feb 3 21:51:44 2024] do_idle+0x92/0xf0
[Sat Feb 3 21:51:44 2024] cpu_startup_entry+0x21/0x30
[Sat Feb 3 21:51:44 2024] rest_init+0x9e/0xa0
[Sat Feb 3 21:51:44 2024] arch_call_rest_init+0x5/0x20
[Sat Feb 3 21:51:44 2024] start_kernel+0x3f3/0x460
[Sat Feb 3 21:51:44 2024] x86_64_start_reservations+0x14/0x30
[Sat Feb 3 21:51:44 2024] x86_64_start_kernel+0xa9/0xc0
[Sat Feb 3 21:51:44 2024] secondary_startup_64_no_verify+0x174/0x17b
[Sat Feb 3 21:51:44 2024] </TASK>
[Sat Feb 3 21:51:44 2024] ---[ end trace 0000000000000000 ]---

reverting netfilter-ipset-fix-performance-regression-in-swap-o.patch
fixes panic.