Hi all, Sorry if it's a repost, I wasn't subscribed on the list. I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl. Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel. Do you have a process to update correctly the kernel or generate the rpm file for it? I've tried to make the linux tar with (on bananapi): make bananapi_defconfig (getting the old one from actual kernel) make rpm but I've got some errors (don't have the log here). Maybe there is another process? I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot,
Sorry for the bad mail below:
Hi all,
I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.
Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel (I've got very bad performance using openvpn for example. Using newer kernel increase by 200%).
Do you have a process to update correctly the kernel or generate the rpm file for it?
I've tried to "make rpm" using the defconfig existing, but I got:
scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules. Stop. make[2]: *** [_modinst_post] Error 2 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install)
I'm using bananapi M1 (I've helped to validate the actual image of CentOS).
Thanks a lot,
Le 05/10/2016 à 09:32, Nicolas Repentin a écrit :
Hi all, Sorry if it's a repost, I wasn't subscribed on the list. I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl. Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel. Do you have a process to update correctly the kernel or generate the rpm file for it? I've tried to make the linux tar with (on bananapi): make bananapi_defconfig (getting the old one from actual kernel) make rpm but I've got some errors (don't have the log here). Maybe there is another process? I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot,
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hi Nicolas,
On Wed, Oct 05, 2016 at 09:43:07PM +0200, Nicolas Repentin wrote:
Sorry for the bad mail below:
Hi all,
I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.
Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel (I've got very bad performance using openvpn for example. Using newer kernel increase by 200%).
Do you have a process to update correctly the kernel or generate the rpm file for it?
I've tried to "make rpm" using the defconfig existing, but I got:
scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules. Stop. make[2]: *** [_modinst_post] Error 2 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install)
I was facing exact same issue while building rpms for aarch64. So for arm64 (aarch64) fix is to set proper value for UTS_MACHINE variable which is used by rpm packaging stuff.
Following patch addresses it: http://www.spinics.net/lists/arm-kernel/msg527466.html
So may be this will help you in addressing you build issue.
Vadim
I'm using bananapi M1 (I've helped to validate the actual image of CentOS).
Thanks a lot,
Le 05/10/2016 à 09:32, Nicolas Repentin a écrit :
Hi all, Sorry if it's a repost, I wasn't subscribed on the list. I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl. Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel. Do you have a process to update correctly the kernel or generate the rpm file for it? I've tried to make the linux tar with (on bananapi): make bananapi_defconfig (getting the old one from actual kernel) make rpm but I've got some errors (don't have the log here). Maybe there is another process? I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot,
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
Hello Thanks Vadim for your help, but I think I miss some steps on the kernel compilation (the bananapi don't boot).
@Team, can you provide help about your process to generate the actual kernel? Or can you tell if you can provide a newer kernel (like 4.7 or 4.8) ?
Regards Nicolas 6 octobre 2016 10:54 "Vadim Lomovtsev" a écrit:
Hi Nicolas, On Wed, Oct 05, 2016 at 09:43:07PM +0200, Nicolas Repentin wrote: Sorry for the bad mail below: Hi all,
I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.
Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel (I've got very bad performance using openvpn for example. Using newer kernel increase by 200%).
Do you have a process to update correctly the kernel or generate the rpm file for it?
I've tried to "make rpm" using the defconfig existing, but I got:
scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules. Stop. make[2]: *** [_modinst_post] Error 2 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install) I was facing exact same issue while building rpms for aarch64. So for arm64 (aarch64) fix is to set proper value for UTS_MACHINE variable which is used by rpm packaging stuff.
Following patch addresses it: http://www.spinics.net/lists/arm-kernel/msg527466.html (http://www.spinics.net/lists/arm-kernel/msg527466.html)
So may be this will help you in addressing you build issue.
Vadim I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot, Le 05/10/2016 à 09:32, Nicolas Repentin a écrit : Hi all, Sorry if it's a repost, I wasn't subscribed on the list. I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl. Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel. Do you have a process to update correctly the kernel or generate the rpm file for it? I've tried to make the linux tar with (on bananapi): make bananapi_defconfig (getting the old one from actual kernel) make rpm but I've got some errors (don't have the log here). Maybe there is another process? I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot, _______________________________________________ Arm-dev mailing list Arm-dev@centos.org (mailto:Arm-dev@centos.org) https://lists.centos.org/mailman/listinfo/arm-dev (https://lists.centos.org/mailman/listinfo/arm-dev) _______________________________________________ Arm-dev mailing list Arm-dev@centos.org (mailto:Arm-dev@centos.org) https://lists.centos.org/mailman/listinfo/arm-dev (https://lists.centos.org/mailman/listinfo/arm-dev)
W dniu 07.10.2016 o 16:34, Nicolas Repentin pisze:
Hello
Thanks Vadim for your help, but I think I miss some steps on the kernel compilation (the bananapi don't boot).
@Team, can you provide help about your process to generate the actual kernel? Or can you tell if you can provide a newer kernel (like 4.7 or 4.8) ?
Grab kernels from Fedora and test them?
I tried it doesn't work. All stuff on /boot is not updated.
Le 7 octobre 2016 16:49:31 GMT+02:00, Marcin Juszkiewicz marcin.juszkiewicz@linaro.org a écrit :
W dniu 07.10.2016 o 16:34, Nicolas Repentin pisze:
Hello
Thanks Vadim for your help, but I think I miss some steps on the
kernel
compilation (the bananapi don't boot).
@Team, can you provide help about your process to generate the actual kernel? Or can you tell if you can provide a newer kernel (like 4.7
or
4.8) ?
Grab kernels from Fedora and test them?
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Nicolas Repentin nicolas@shivaserv.fr
Am 07.10.2016 um 16:50 schrieb Nicolas Repentin:
I tried it doesn't work. All stuff on /boot is not updated.
Obviously the BananaPi got mainline kernel support [1], so you may try to build your own kernel from source [2].
[1] http://linux-sunxi.org/LeMaker_Banana_Pi#Mainline_kernel [2] https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-...
I don't know to which extend the sunxi_defconfig differs from the CentOS distro kernel defconfig, you may try both.
Cheers Uli
Hello
Yes I know who to create the defconfig and mainline (I did a github for that https://github.com/ouafnico/BananaPi-Archlinux).
I will try this way..
Le 7 octobre 2016 19:16:10 GMT+02:00, Uli Middelberg uli@middelberg.de a écrit :
Am 07.10.2016 um 16:50 schrieb Nicolas Repentin:
I tried it doesn't work. All stuff on /boot is not updated.
Obviously the BananaPi got mainline kernel support [1], so you may try to build your own kernel from source [2].
[1] http://linux-sunxi.org/LeMaker_Banana_Pi#Mainline_kernel [2] https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-...
I don't know to which extend the sunxi_defconfig differs from the CentOS distro kernel defconfig, you may try both.
Cheers Uli
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Nicolas Repentin nicolas@shivaserv.fr
Hello
I've made a CentOS 7 ARM image with 4.8.1 kernel for Bananapi (based on CentOS-Userland-7-armv7hl-Minimal-1511-BananaPi.img).
If someone want to try it, I can provide it.
Thanks,
Le 07/10/2016 à 19:22, Nicolas Repentin a écrit :
Hello
Yes I know who to create the defconfig and mainline (I did a github for that https://github.com/ouafnico/BananaPi-Archlinux).
I will try this way..
Le 7 octobre 2016 19:16:10 GMT+02:00, Uli Middelberg uli@middelberg.de a écrit :
Am 07.10.2016 um 16:50 schrieb Nicolas Repentin:
I tried it doesn't work. All stuff on /boot is not updated.
Obviously the BananaPi got mainline kernel support [1], so you may try to build your own kernel from source [2].
[1] http://linux-sunxi.org/LeMaker_Banana_Pi#Mainline_kernel [2] https://github.com/umiddelb/armhf/wiki/How-To-compile-a-custom-Linux-kernel-...
I don't know to which extend the sunxi_defconfig differs from the CentOS distro kernel defconfig, you may try both.
Cheers Uli
Arm-dev mailing list Arm-dev@centos.org https://lists.centos.org/mailman/listinfo/arm-dev
-- Nicolas Repentin nicolas@shivaserv.fr
On 05/10/16 21:43, Nicolas Repentin wrote:
Sorry for the bad mail below:
Hi all,
I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.
Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel (I've got very bad performance using openvpn for example. Using newer kernel increase by 200%).
Do you have a process to update correctly the kernel or generate the rpm file for it?
I've tried to "make rpm" using the defconfig existing, but I got:
scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules. Stop. make[2]: *** [_modinst_post] Error 2 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install)
I'm using bananapi M1 (I've helped to validate the actual image of CentOS).
Thanks a lot,
Hi Nicolas,
Sorry for the late answer, but was caught by various things on both personal and private sides, which had higher priority than arm-dev. Which kernel version do you need ? We asked for feedback around newer kernel on the list, but lack of feedback so nothing really pushed to mirror.centos.org, but here are the last kernel we built for armhfp/armv7 : http://armv7.dev.centos.org/repodir/arm-kernels/
The goal was to use the same LTS kernel (so 4.4.x when discussed) across AltArch (when not using the distro one, which - for armhfp - doesn't work) You can find for example http://armv7.dev.centos.org/repodir/arm-kernels/4.4.14-201/ (but now I see that on http://mirror.centos.org/altarch/7/experimental/x86_64/Packages/ there were other ones, like 4.4.22-201, which I just submitted to the armhfp builders, so will appear later)
Cheers,
Hello
Thanks for your feedback.
I've compiled the 4.7.7 and 4.8.1 this weekend, and works well on CentOS7, but not using the same boot as the original image (using zImage and dtb). Do you have a process to generate the RPM like yours?
I will try your versions too.
Thanks, Nicolas 10 octobre 2016 08:45 "Fabian Arrotin" a écrit:
On 05/10/16 21:43, Nicolas Repentin wrote: Sorry for the bad mail below: Hi all,
I'm searching the good process to upgrade the kernel on CentOS 7 armv7hl.
Actually the 4.2 kernel is not supporting crypto drivers for sunxi, and need to be patched, or need to use a newer kernel (I've got very bad performance using openvpn for example. Using newer kernel increase by 200%).
Do you have a process to update correctly the kernel or generate the rpm file for it?
I've tried to "make rpm" using the defconfig existing, but I got:
scripts/Makefile.fwinst:43: *** mixed implicit and static pattern rules. Stop. make[2]: *** [_modinst_post] Error 2 erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.GAPIw3 (%install)
I'm using bananapi M1 (I've helped to validate the actual image of CentOS). Thanks a lot, Hi Nicolas,
Sorry for the late answer, but was caught by various things on both personal and private sides, which had higher priority than arm-dev. Which kernel version do you need ? We asked for feedback around newer kernel on the list, but lack of feedback so nothing really pushed to mirror.centos.org, but here are the last kernel we built for armhfp/armv7 : http://armv7.dev.centos.org/repodir/arm-kernels (http://armv7.dev.centos.org/repodir/arm-kernels/)
The goal was to use the same LTS kernel (so 4.4.x when discussed) across AltArch (when not using the distro one, which - for armhfp - doesn't work) You can find for example http://armv7.dev.centos.org/repodir/arm-kernels/4.4.14-201 (http://armv7.dev.centos.org/repodir/arm-kernels/4.4.14-201/) (but now I see that on http://mirror.centos.org/altarch/7/experimental/x86_64/Packages (http://mirror.centos.org/altarch/7/experimental/x86_64/Packages/) there were other ones, like 4.4.22-201, which I just submitted to the armhfp builders, so will appear later)
Cheers, -- Fabian Arrotin The CentOS Project | http://www.centos.org (http://www.centos.org) gpg key: 56BEC54E | twitter: @arrfab _______________________________________________ Arm-dev mailing list Arm-dev@centos.org (mailto:Arm-dev@centos.org) https://lists.centos.org/mailman/listinfo/arm-dev (https://lists.centos.org/mailman/listinfo/arm-dev)
On 10/10/16 09:30, Nicolas Repentin wrote:
Hello
Thanks for your feedback.
I've compiled the 4.7.7 and 4.8.1 this weekend, and works well on CentOS7, but not using the same boot as the original image (using zImage and dtb). Do you have a process to generate the RPM like yours?
I will try your versions too.
Thanks,
Busy today with a big HW migration for CentOS Infra so I'll probably not answer to all your questions directly. But you can grab the .src.rpm from here : http://vault.centos.org/altarch/7/experimental/Source/i386/Source/SPackages/... and try to use it as a starting point ?
Also worth validating if you need 4.7/4.8 or if 4.4.x is enough ...
The question was more "how to generate a new rpm file for CentOS, starting from kernel 4.7/4.8 sources". But maybe you can't share the process?
I will test the 4.4, technically the 4.4 is enough for my need (the cryptodev are added on 4.3 patched I think). Thanks, Nicolas 10 octobre 2016 09:59 "Fabian Arrotin" a écrit:
On 10/10/16 09:30, Nicolas Repentin wrote: Hello
Thanks for your feedback.
I've compiled the 4.7.7 and 4.8.1 this weekend, and works well on CentOS7, but not using the same boot as the original image (using zImage and dtb). Do you have a process to generate the RPM like yours?
I will try your versions too.
Thanks, Busy today with a big HW migration for CentOS Infra so I'll probably not answer to all your questions directly. But you can grab the .src.rpm from here : http://vault.centos.org/altarch/7/experimental/Source/i386/Source/SPackages/... (http://vault.centos.org/altarch/7/experimental/Source/i386/Source/SPackages/...) and try to use it as a starting point ?
Also worth validating if you need 4.7/4.8 or if 4.4.x is enough ...
-- Fabian Arrotin The CentOS Project | http://www.centos.org (http://www.centos.org) gpg key: 56BEC54E | twitter: @arrfab _______________________________________________ Arm-dev mailing list Arm-dev@centos.org (mailto:Arm-dev@centos.org) https://lists.centos.org/mailman/listinfo/arm-dev (https://lists.centos.org/mailman/listinfo/arm-dev)