OpenWrt's out-of-tree 204-module_strip.patch causes issues

Arınç ÜNAL arinc.unal at arinc9.com
Sat Jun 1 13:23:20 PDT 2024


I've been working on porting MP-DCCP to Teltonika SDK 7.6.10. The SDK is
based off of OpenWrt, close to 22.03.6. After spending hours on figuring
out why my MP-DCCP port works on the vanilla 5.10.201 but not OpenWrt's
5.10.201, I've started looking for OpenWrt's out-of-tree kernel patches. I
was able to pinpoint it to
target/linux/generic/hack-5.10/204-module_strip.patch. I see that this
patch is still there for 6.6 on the main branch of the OpenWrt repository.

For my case, I just removed this patch and moved on. I'm only sending this
email as proof that OpenWrt's out-of-tree patches cause issues.

[    1.897757] ------------[ cut here ]------------
[    1.902441] WARNING: CPU: 0 PID: 1 at fs/sysfs/group.c:116 internal_create_group+0x3ac/0x3d4
[    1.911179] Modules linked in:
[    1.914253] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.201 #0
[    1.920346] Hardware name: Mediatek Cortex-A7 (Device Tree)
[    1.925936] [<c010d780>] (unwind_backtrace) from [<c0109c00>] (show_stack+0x10/0x14)
[    1.933688] [<c0109c00>] (show_stack) from [<c04c21f8>] (dump_stack+0x88/0x9c)
[    1.940917] [<c04c21f8>] (dump_stack) from [<c011ead8>] (__warn+0x9c/0xf8)
[    1.947796] [<c011ead8>] (__warn) from [<c011eb9c>] (warn_slowpath_fmt+0x68/0x78)
[    1.955287] [<c011eb9c>] (warn_slowpath_fmt) from [<c02f0300>] (internal_create_group+0x3ac/0x3d4)
[    1.964258] [<c02f0300>] (internal_create_group) from [<c08efb98>] (mpdccp_link_sysfs_init+0x90/0xb4)
[    1.973489] [<c08efb98>] (mpdccp_link_sysfs_init) from [<c0d2786c>] (mpdccp_link_module_init+0x24/0xdc)
[    1.982889] [<c0d2786c>] (mpdccp_link_module_init) from [<c0101920>] (do_one_initcall+0x54/0x1f4)
[    1.991769] [<c0101920>] (do_one_initcall) from [<c0d0125c>] (kernel_init_freeable+0x22c/0x280)
[    2.000474] [<c0d0125c>] (kernel_init_freeable) from [<c0900454>] (kernel_init+0x8/0x118)
[    2.008657] [<c0900454>] (kernel_init) from [<c0100148>] (ret_from_fork+0x14/0x2c)
[    2.016229] Exception stack(0xc1079fb0 to 0xc1079ff8)
[    2.021282] 9fa0:                                     00000000 00000000 00000000 00000000
[    2.029465] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.037645] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    2.044348] ---[ end trace a1a1b229e3c1a883 ]---

Arınç



More information about the openwrt-devel mailing list