[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0179679b736aea7258981dec2d83107cce74dfc1.camel@xry111.site>
Date: Fri, 29 Jul 2022 18:18:16 +0800
From: Xi Ruoyao <xry111@...111.site>
To: Youling Tang <tangyouling@...ngson.cn>, loongarch@...ts.linux.dev
Cc: linux-kernel@...r.kernel.org, WANG Xuerui <kernel@...0n.name>,
Huacai Chen <chenhuacai@...nel.org>,
Jinyang He <hejinyang@...ngson.cn>
Subject: Re: [PATCH v4 0/4] LoongArch: Support new relocation types
On Fri, 2022-07-29 at 17:49 +0800, Youling Tang wrote:
> Hi, Ruoyao
>
> Tested this series of patches v3 on a CLFS 5.5 system, using the new
> cross toolchain,
> $ dmesg | head
> [ 0.000000] Linux version 5.19.0-rc7new-toolchain+ (loongson@...ux)
> (loongarch64-unknown-linux-gnu-gcc (GCC) 13.0.0 20220726 (experimental)
> [master revision
> cf7eac5805e:1e0611b64d8:3fb68f2e666d9de7e0326af9f43b12c9e98f19a6], GNU
> ld (GNU Binutils) 2.39.50.20220726) #1 SMP PREEMPT Fri Jul 29 05:24:15
> EDT 2022
>
> Relocation error when manually loading nf_tables.ko module,
> $ sudo modprobe nf_tables
> odprobe: ERROR: could not insert 'nf_tables': Exec format error
>
> $ dmesg
> [ 61.506737] kmod: module nf_tables: PCALA offset = 0x90007ffffed8c000
> does not fit in 32-bit signed and is unsupported by kernel! dangerous
> apply_r_larch_pcala_hi20 (71) relocation
>
> Do you have the same problem over there?
I can reproduce it with "modprobe x_tables". Will try to debug...
Powered by blists - more mailing lists