Page 32 of 145

Re: New kernels

Posted: Sun Apr 30, 2023 8:58 pm
by xeno74
xeno74 wrote: Sat Apr 29, 2023 1:50 pm I was able to revert the PowerPC updates 6.4-1 with the following command:

Code: Select all

git revert 70cc1b5307e8ee3076fdf2ecbeb89eb973aa0ff7 -m 1
After re-compiling, the kernel boots without any problems on my X1000.
Maybe the modifications in the file head_64.S are the problem. This file is responsible for the early boot phase.

Re: New kernels

Posted: Mon May 01, 2023 9:02 am
by xeno74
xeno74 wrote: Sun Apr 30, 2023 8:58 pm Maybe the modifications in the file head_64.S are the problem. This file is responsible for the early boot phase.
I replaced the head_64.S with the one from the final kernel 6.3. Unfortunately it doesn't boot.

The kernel hangs right after the booting Linux via __start() @ 0x0000000000000000 ...

Re: New kernels

Posted: Mon May 01, 2023 2:43 pm
by xeno74
I will revert the modifications in the directory a/arch/powerpc/kernel. Maybe there is the issue.

Re: New kernels

Posted: Mon May 01, 2023 3:56 pm
by xeno74
xeno74 wrote: Mon May 01, 2023 2:43 pm I will revert the modifications in the directory a/arch/powerpc/kernel. Maybe there is the issue.
It compiles if I add the following 2 files from the kernel 6.4:
  • a/arch/powerpc/kernel/smp.c
  • a/arch/powerpc/kernel/sysfs.c
But it doesn't boot.

Re: New kernels

Posted: Tue May 02, 2023 4:31 am
by xeno74
I reported the boot issue to the kernel developers today.

Link: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1

Re: New kernels

Posted: Wed May 03, 2023 9:38 am
by xeno74
Christophe Leroy wrote: You are reverting the entire powerpc changes, that's helpless.

Can you do a bisect ?

Thanks
Christophe
Michael Ellerman wrote: There's a few possibilities, but nothing obvious.

To begin with can you please test the following commits?

77e69ee7ce07
e4ab08be5b49
eeac8ede1755

cheers
Link: [PASEMI NEMO] Boot issue with the PowerPC updates 6.4-1

I will test the following commits:
Commits of the PowerPC updates 6.4-1: powerpc-6.4-1

Re: New kernels

Posted: Wed May 03, 2023 1:50 pm
by xeno74

Code: Select all

git revert 77e69ee7ce0715c39b9a0cde68ff44fe467435ef
Output:

Code: Select all

Auto-merging arch/powerpc/Makefile
[master 4beb21605ec6] Revert "powerpc/64: modules support building with PCREL addresing"
 5 files changed, 35 insertions(+), 309 deletions(-)
Unfortunately, it doesn't boot.

Code: Select all

git revert e4ab08be5b4902e5b350b0e1e1a3c25eb21d76d4
Output:

Code: Select all

[master 0086e2cbbec0] Revert "powerpc/isa-bridge: Remove open coded "ranges" parsing"
 1 file changed, 129 insertions(+), 37 deletions(-)
It boots!!!!!!!!!!! :-)

e4ab08be5b49 -- powerpc/isa-bridge: Remove open coded "ranges" parsing is the bad commit.

Re: New kernels

Posted: Wed May 03, 2023 4:49 pm
by xeno74

Re: New kernels

Posted: Wed May 03, 2023 8:47 pm
by musa
Hi
Fienix boot a normal boot without error on vmlinux-6.4_a4
Have a nice day.
Image

Re: New kernels

Posted: Thu May 04, 2023 3:53 am
by xeno74
musa wrote: Wed May 03, 2023 8:47 pm Hi
Fienix boot a normal boot without error on vmlinux-6.4_a4
Have a nice day.
Thank you for testing! :-)