Never mind. Thank you for testing!kilaueabart wrote: ↑Thu Feb 25, 2021 11:56 pm Please try to forgive me for missing a2, a3, and a4. They probably would have worked as well as a5 seems to, so far.
Kernel 5.12
Re: Kernel 5.12
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Compilation error (alpha6):
I have found the bad commit: Merge tag 'kbuild-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
The changes in the Makefile are responsible for the compiling errors: a/Makefile
I was able to revert this bad commit.
After that the alpha6 compiled without any problems.
I reported this issue to the kernel developers today.
Link: Latest Git kernel doesn't compile because of the LINUX_VERSION_CODE issue
Code: Select all
CC arch/powerpc/kernel/udbg_16550.o
In file included from ./include/linux/stackprotector.h:10:0,
from arch/powerpc/kernel/smp.c:35:
./arch/powerpc/include/asm/stackprotector.h: In function ‘boot_init_stack_canary’:
./arch/powerpc/include/asm/stackprotector.h:29:30: error: expected expression before ‘;’ token
canary ^= LINUX_VERSION_CODE;
^
scripts/Makefile.build:271: recipe for target 'arch/powerpc/kernel/smp.o' failed
make[2]: *** [arch/powerpc/kernel/smp.o] Error 1
Code: Select all
drivers/media/cec/core/cec-api.c: In function ‘cec_adap_g_caps’:
drivers/media/cec/core/cec-api.c:85:35: error: expected expression before ‘;’ token
caps.version = LINUX_VERSION_CODE;
The changes in the Makefile are responsible for the compiling errors: a/Makefile
I was able to revert this bad commit.
Code: Select all
git revert 6fbd6cf85a3be127454a1ad58525a3adcf8612ab -m 1
I reported this issue to the kernel developers today.
Link: Latest Git kernel doesn't compile because of the LINUX_VERSION_CODE issue
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Hi All,
I released the alpha6 of kernel 5.12 for the X1000 and X5000 today.
There are compiling issues but with reverting the bad commit, the kernels compile without any problems. Further information: Latest Git kernel doesn't compile because of the LINUX_VERSION_CODE issue
New:
Download: linux-image-5.12-alpha6-X1000_X5000.tar.gz
In addition, a nice background image for your desktop:
Please test the kernels.
Thanks,
Christian
I released the alpha6 of kernel 5.12 for the X1000 and X5000 today.
There are compiling issues but with reverting the bad commit, the kernels compile without any problems. Further information: Latest Git kernel doesn't compile because of the LINUX_VERSION_CODE issue
New:
Download: linux-image-5.12-alpha6-X1000_X5000.tar.gz
In addition, a nice background image for your desktop:
Please test the kernels.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Christian
RC6 boots and runs fine. My onboard ethernet now works! Although to be honest I hadn't checked this for a fair while. Interestingly I am getting a better speed than my PCI card.
Cheers
ace
RC6 boots and runs fine. My onboard ethernet now works! Although to be honest I hadn't checked this for a fair while. Interestingly I am getting a better speed than my PCI card.
Cheers
ace
Re: Kernel 5.12
Great news! Could you please check if your onboard ethernet also works with the kernel 5.11?
Thanks a lot for testing the alpha6!
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Christian
I am sorry I am not sure it is working (although it may be down to the known need to remove and re-insert the cable). Trouble is it is just too hard for me to access my cables with my setup to remove and insert. Sorry.
ace
I am sorry I am not sure it is working (although it may be down to the known need to remove and re-insert the cable). Trouble is it is just too hard for me to access my cables with my setup to remove and insert. Sorry.
ace
Re: Kernel 5.12
Christian
I had an attack of the guilt's so I bit the bullet and attacked my cables. I have a G5 mac, larger PC and X5000 all together in a very tight spot, together with a Mac Mini I run these through a KVM. Since I needed to get to the network cables behind my X5000 I took the opportunity to do some cable maintenance, not easy in the space I have to work with and a back medical condition!
Anyway I have managed to test 5.12 and 5.11
Results
5.11 onboard ethernet does not work, even removing and replacing the cable.
5.12 onboard ethernet does work but does not survive reboot so the cable needs to be physically removed and re-inserted. After today's maintenance I can at least do the cable removing from my switch rather from the back of the X5000.
I use my PCI card for Linux and onboard for OS4. Hope this helps.
Cheers
allan
I had an attack of the guilt's so I bit the bullet and attacked my cables. I have a G5 mac, larger PC and X5000 all together in a very tight spot, together with a Mac Mini I run these through a KVM. Since I needed to get to the network cables behind my X5000 I took the opportunity to do some cable maintenance, not easy in the space I have to work with and a back medical condition!
Anyway I have managed to test 5.12 and 5.11
Results
5.11 onboard ethernet does not work, even removing and replacing the cable.
5.12 onboard ethernet does work but does not survive reboot so the cable needs to be physically removed and re-inserted. After today's maintenance I can at least do the cable removing from my switch rather from the back of the X5000.
I use my PCI card for Linux and onboard for OS4. Hope this helps.
Cheers
allan
Re: Kernel 5.12
Hi Allan,
It's good to know that the onboard ethernet works with the kernel 5.12. Thanks a lot for your help and for your report.
Cheers,
Christian
It's good to know that the onboard ethernet works with the kernel 5.12. Thanks a lot for your help and for your report.
Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Hi All,
The alpha7 of kernel 5.12 has been released for testing.
New:
Please test the kernels.
Thanks,
Christian
The alpha7 of kernel 5.12 has been released for testing.
New:
- Compiling issue solved through setting up a value for the SUBLEVEL variable in "a/Makefile". Before it wasn't necessary to set up a value for the SUBLEVEL variable.
- Linux Git log
- Phoronix articles, reviews and news stories covering Linux 5.12
Please test the kernels.
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
Re: Kernel 5.12
Masahiro Yamada has created a patch because of the compiling issue. If you don't have set the values of the variables SUBLEVEL and PATCHLEVEL in the file "a/Makefile" in the latest Git kernels then the compiling fails. This patch solves this issue.
Code: Select all
Commit 9b82f13e7ef3 ("kbuild: clamp SUBLEVEL to 255") breaks the build
if SUBLEVEL or PATCHLEVEL is empty.
Commit 78d3bb4483ba ("kbuild: Fix <linux/version.h> for empty SUBLEVEL
or PATCHLEVEL") fixed the issue by prepending a zero.
This time, we cannot take the same approach because we have C code:
#define LINUX_VERSION_PATCHLEVEL $(PATCHLEVEL)
#define LINUX_VERSION_SUBLEVEL $(SUBLEVEL)
Replace empty SUBLEVEL or PATCHLEVEL with a zero.
Fixes: 9b82f13e7ef3 ("kbuild: clamp SUBLEVEL to 255")
Reported-by: Christian Zigotzky <chzigotzky@xenosoft.de>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---
Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index f2dc2f953e23..14c13b09a9e7 100644
--- a/Makefile
+++ b/Makefile
@@ -1283,10 +1283,10 @@ endef
define filechk_version.h
if [ $(SUBLEVEL) -gt 255 ]; then \
echo \#define LINUX_VERSION_CODE $(shell \
- expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 255); \
+ expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + 255); \
else \
echo \#define LINUX_VERSION_CODE $(shell \
- expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \
+ expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \
fi; \
echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + \
((c) > 255 ? 255 : (c)))'; \
@@ -1295,6 +1295,8 @@ define filechk_version.h
echo \#define LINUX_VERSION_SUBLEVEL $(SUBLEVEL)
endef
+$(version_h): PATCHLEVEL := $(if $(PATCHLEVEL), $(PATCHLEVEL), 0)
+$(version_h): SUBLEVEL := $(if $(SUBLEVEL), $(SUBLEVEL), 0)
$(version_h): FORCE
$(call filechk,version.h)
--
2.27.0
http://www.amigalinux.org
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.
http://www.supertuxkart-amiga.de
Running Linux on AmigaONEs can require some tinkering.