glibc with kernel-4.14 headers on riscv
Abhishek Kumar
Abhishek.kumar@exaleapsemi.com
Wed Apr 27 07:11:07 GMT 2022
Hi ,
I am woking on kernel-4.14 to give support for riscv (fu540 plateform) ,I am using glibc2.27 for my kernel after build the kernel when booting it at boot time it is giving me error "FATAL: kernel too old",
so please suggest me which glibc version I should use for my kernel-4.14 so that it will be compatible for riscv.
bellow is the error I am getting at boot time.
[ 1.106608] This architecture does not have kernel memory protection.
FATAL: kernel too old
[ 1.182177] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00
[ 1.182177]
[ 1.191211] CPU: 2 PID: 1 Comm: init Tainted: G W 4.14.155-riscv #1
[ 1.198584] Call Trace:
[ 1.201032] [<ffffffe000027c6e>] walk_stackframe+0x0/0xa2
[ 1.206403] [<ffffffe000027dac>] show_stack+0x26/0x34
[ 1.211445] [<ffffffe00033cc9a>] dump_stack+0x66/0x84
[ 1.216475] [<ffffffe00002b186>] panic+0xca/0x1de
[ 1.221163] [<ffffffe00002d976>] do_exit+0x734/0x738
[ 1.226111] [<ffffffe00002d9d0>] do_group_exit+0x26/0x82
[ 1.231407] [<ffffffe00002da40>] SyS_exit_group+0x14/0x18
[ 1.236792] [<ffffffe000026cb4>] check_syscall_nr+0x1e/0x22
please try to give some suggestions.
Thanks
Abhishek
More information about the Libc-help
mailing list