I have no copy of the original patch, so you'll need to resend a v2.

Bruce

On Sun, Sep 24, 2023 at 9:15 PM Xiangyu Chen <[email protected]>
wrote:

>
> On 9/18/23 15:36, Xiangyu Chen wrote:
> > From: Xiangyu Chen <[email protected]>
> >
> > When enabled DEBUG_INFO_BTF option, some kernel modules cannot install
> due to mismatch the
> > vmlinux BTF header information and output error message as below:
>
> Friendly ping, thanks :)
>
>
> Br,
>
> Xiangyu
>
> > 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
> >
> > Signed-off-by: Xiangyu Chen <[email protected]>
> > ---
> >   features/debug/debug-btf.cfg | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/features/debug/debug-btf.cfg b/features/debug/debug-btf.cfg
> > index 61815776..59df424f 100644
> > --- a/features/debug/debug-btf.cfg
> > +++ b/features/debug/debug-btf.cfg
> > @@ -1,2 +1,3 @@
> >   # SPDX-License-Identifier: MIT
> >   CONFIG_DEBUG_INFO_BTF=y
> > +CONFIG_MODULE_ALLOW_BTF_MISMATCH=y
> >
> > 
> >
>


-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#13105): 
https://lists.yoctoproject.org/g/linux-yocto/message/13105
Mute This Topic: https://lists.yoctoproject.org/mt/101429003/21656
Group Owner: [email protected]
Unsubscribe: 
https://lists.yoctoproject.org/g/linux-yocto/leave/6687884/21656/624485779/xyzzy
 [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to