merged to 6.1+

Bruce

In message: [linux-yocto][yocto-kernel-cache][yocto-6.1][PATCH v2 0/1] debug: 
add CONFIG_MODULE_ALLOW_BTF_MISMATCH to debug-btf.cfg
on 25/09/2023 Xiangyu Chen wrote:

> From: Xiangyu Chen <[email protected]>
> 
> Hi Bruce,
> 
> When we enabled CONFIG_DEBUG_INFO_BTF option, some kernel modules cannot 
> install due to mismatch the 
> vmlinux BTF header information and output error message as below:
> 
> root@intel-x86-64:~#  modprobe squashfs
> BPF:     type_id=12 bits_offset=64
> BPF:
> BPF: Invalid name
> BPF:
> failed to validate module [squashfs] BTF: -22 
> modprobe: ERROR: could not insert 'squashfs': Invalid argument
> 
> This cause some driver/kernel modules cannot work anymore, so add the 
> CONFIG_MODULE_ALLOW_BTF_MISMATCH 
> together with CONFIG_DEBUG_INFO_BTF option in debug-btf.cfg
> 
> 
> Xiangyu Chen (1):
>   debug: add CONFIG_MODULE_ALLOW_BTF_MISMATCH to debug-btf.cfg
> 
>  features/debug/debug-btf.cfg | 1 +
>  1 file changed, 1 insertion(+)
> 
> -- 
> 2.17.1
> 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13117): 
https://lists.yoctoproject.org/g/linux-yocto/message/13117
Mute This Topic: https://lists.yoctoproject.org/mt/101567647/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to