Message ID | 20201112120155.333290-2-ju.o@free.fr |
---|---|
State | Superseded |
Headers | show |
Series | [v2,1/2] package/linux-backports: use flex and bison to generate kconfig parser | expand |
Hi Julien, On Thu, Nov 12 2020, Julien Olivain wrote: > Attempting to compile this package with newer Kernel version (e.g. v5.4) > fails with message: > > Generating local configuration database from kernel ...Kernel version parse failed! > > Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now > rather old and beat the very purpose of having newer drivers in older > kernels. > > Note that since backports tag v4.14-rc4-1, the requirement on minimal > kernel version changed from 3.0 to 3.10. See commit [1]. The help text of BR2_PACKAGE_LINUX_BACKPORTS in Config.in should be updated. baruch > [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 > > Signed-off-by: Julien Olivain <ju.o@free.fr> > --- > Changes v1 -> v2: > - Add a note about the change in minimal kernel version (3.0 -> 3.10). > --- > package/linux-backports/linux-backports.hash | 4 ++-- > package/linux-backports/linux-backports.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/linux-backports/linux-backports.hash b/package/linux-backports/linux-backports.hash > index f39bc2ed27..0d60955b02 100644 > --- a/package/linux-backports/linux-backports.hash > +++ b/package/linux-backports/linux-backports.hash > @@ -1,4 +1,4 @@ > -# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/sha256sums.asc > -sha256 a979e194c2ed9fdfca092a448e626d85c5af0e4de5ad993c0967afd15af01285 backports-4.4.2-1.tar.xz > +# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v5.8/sha256sums.asc > +sha256 19b4174d89bf11ee221458e11f1e8dace26558498774b823051156f522d2036b backports-5.8-1.tar.xz > # Locally computed > sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING > diff --git a/package/linux-backports/linux-backports.mk b/package/linux-backports/linux-backports.mk > index 030d7a2864..7e725147dc 100644 > --- a/package/linux-backports/linux-backports.mk > +++ b/package/linux-backports/linux-backports.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LINUX_BACKPORTS_VERSION_MAJOR = 4.4.2 > +LINUX_BACKPORTS_VERSION_MAJOR = 5.8 > LINUX_BACKPORTS_VERSION = $(LINUX_BACKPORTS_VERSION_MAJOR)-1 > LINUX_BACKPORTS_SOURCE = backports-$(LINUX_BACKPORTS_VERSION).tar.xz > LINUX_BACKPORTS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/projects/backports/stable/v$(LINUX_BACKPORTS_VERSION_MAJOR)
Hello Julien, On Thu, 12 Nov 2020 13:01:55 +0100, Julien Olivain <ju.o@free.fr> wrote: > Attempting to compile this package with newer Kernel version (e.g. v5.4) > fails with message: > > Generating local configuration database from kernel ...Kernel version parse failed! > > Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now > rather old and beat the very purpose of having newer drivers in older > kernels. > > Note that since backports tag v4.14-rc4-1, the requirement on minimal > kernel version changed from 3.0 to 3.10. See commit [1]. > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 > > Signed-off-by: Julien Olivain <ju.o@free.fr> > --- > Changes v1 -> v2: > - Add a note about the change in minimal kernel version (3.0 -> 3.10). > --- > package/linux-backports/linux-backports.hash | 4 ++-- > package/linux-backports/linux-backports.mk | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/package/linux-backports/linux-backports.hash b/package/linux-backports/linux-backports.hash > index f39bc2ed27..0d60955b02 100644 > --- a/package/linux-backports/linux-backports.hash > +++ b/package/linux-backports/linux-backports.hash > @@ -1,4 +1,4 @@ > -# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/sha256sums.asc > -sha256 a979e194c2ed9fdfca092a448e626d85c5af0e4de5ad993c0967afd15af01285 backports-4.4.2-1.tar.xz > +# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v5.8/sha256sums.asc > +sha256 19b4174d89bf11ee221458e11f1e8dace26558498774b823051156f522d2036b backports-5.8-1.tar.xz > # Locally computed > sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING $ sha256sum backports-4.4.2-1/COPYING backports-5.8-1/COPYING af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 backports-4.4.2-1/COPYING fb5a425bd3b3cd6071a3a9aff9909a859e7c1158d54d32e07658398cd67eb6a0 backports-5.8-1/COPYING $ cat backports-5.8-1/COPYING The Linux Kernel is provided under: SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note Being under the terms of the GNU General Public License version 2 only, according with: LICENSES/preferred/GPL-2.0 With an explicit syscall exception, as stated at: LICENSES/exceptions/Linux-syscall-note In addition, other licenses may also apply. Please see: Documentation/process/license-rules.rst for more details. All contributions to the Linux Kernel are subject to this COPYING file. Seems the license info needs an update too... Regards, Peter > diff --git a/package/linux-backports/linux-backports.mk b/package/linux-backports/linux-backports.mk > index 030d7a2864..7e725147dc 100644 > --- a/package/linux-backports/linux-backports.mk > +++ b/package/linux-backports/linux-backports.mk > @@ -4,7 +4,7 @@ > # > ################################################################################ > > -LINUX_BACKPORTS_VERSION_MAJOR = 4.4.2 > +LINUX_BACKPORTS_VERSION_MAJOR = 5.8 > LINUX_BACKPORTS_VERSION = $(LINUX_BACKPORTS_VERSION_MAJOR)-1 > LINUX_BACKPORTS_SOURCE = backports-$(LINUX_BACKPORTS_VERSION).tar.xz > LINUX_BACKPORTS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/projects/backports/stable/v$(LINUX_BACKPORTS_VERSION_MAJOR)
Hi Julien, Reviewed-by: Petr Vorel <petr.vorel@gmail.com> > Attempting to compile this package with newer Kernel version (e.g. v5.4) > fails with message: > Generating local configuration database from kernel ...Kernel version parse failed! > Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now > rather old and beat the very purpose of having newer drivers in older > kernels. > Note that since backports tag v4.14-rc4-1, the requirement on minimal > kernel version changed from 3.0 to 3.10. See commit [1]. Good catch! In that case, can please person who merges this update package/linux-backports/Config.in? Kind regards, Petr > [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 Update also package/linux-backports/Config.in: diff --git package/linux-backports/Config.in package/linux-backports/Config.in index 362e6e4bc7..251d202fd2 100644 --- package/linux-backports/Config.in +++ package/linux-backports/Config.in @@ -9,7 +9,7 @@ config BR2_PACKAGE_LINUX_BACKPORTS recent kernels, backported to older ones. This version of linux-backports supports kernels starting - from 3.0. + from 3.10. https://backports.wiki.kernel.org
Julien, Petr, All, On 2020-11-12 22:01 +0100, Petr Vorel spake thusly: > > Attempting to compile this package with newer Kernel version (e.g. v5.4) > > fails with message: > > > Generating local configuration database from kernel ...Kernel version parse failed! > > > Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now > > rather old and beat the very purpose of having newer drivers in older > > kernels. > > > Note that since backports tag v4.14-rc4-1, the requirement on minimal > > kernel version changed from 3.0 to 3.10. See commit [1]. > Good catch! Is this a mandatory dependency for *all* drivers, or only for the WiFi ones? > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 It looks like it is just about the crypto stuff needed for mac80211... Thoughts? Regards, Yann E. MORIN. > Update also package/linux-backports/Config.in: > > diff --git package/linux-backports/Config.in package/linux-backports/Config.in > index 362e6e4bc7..251d202fd2 100644 > --- package/linux-backports/Config.in > +++ package/linux-backports/Config.in > @@ -9,7 +9,7 @@ config BR2_PACKAGE_LINUX_BACKPORTS > recent kernels, backported to older ones. > > This version of linux-backports supports kernels starting > - from 3.0. > + from 3.10. > > https://backports.wiki.kernel.org >
Hi Johannes, Unless using mac80211, which require v3.10 current backports still support kernel v3.0 right? Thanks for info. Kind regards, Petr > Julien, Petr, All, > On 2020-11-12 22:01 +0100, Petr Vorel spake thusly: > > > Attempting to compile this package with newer Kernel version (e.g. v5.4) > > > fails with message: > > > Generating local configuration database from kernel ...Kernel version parse failed! > > > Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now > > > rather old and beat the very purpose of having newer drivers in older > > > kernels. > > > Note that since backports tag v4.14-rc4-1, the requirement on minimal > > > kernel version changed from 3.0 to 3.10. See commit [1]. > > Good catch! > Is this a mandatory dependency for *all* drivers, or only for the WiFi > ones? > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 > It looks like it is just about the crypto stuff needed for mac80211... > Thoughts? > Regards, > Yann E. MORIN. > > Update also package/linux-backports/Config.in: > > diff --git package/linux-backports/Config.in package/linux-backports/Config.in > > index 362e6e4bc7..251d202fd2 100644 > > --- package/linux-backports/Config.in > > +++ package/linux-backports/Config.in > > @@ -9,7 +9,7 @@ config BR2_PACKAGE_LINUX_BACKPORTS > > recent kernels, backported to older ones. > > This version of linux-backports supports kernels starting > > - from 3.0. > > + from 3.10. > > https://backports.wiki.kernel.org
Hi Johannes, All, On 13/11/2020 08:18, Berg, Johannes wrote: >> Unless using mac80211, which require v3.10 current backports still >> support >> kernel v3.0 right? > > Not really. While we haven't actively _removed_ things, we no longer > test them. > > In any case, backports basically only supports WiFi these days anyway, > so what would the point be? In that case, I will send an updated patch that will raise the minimal kernel version requirement to 3.10. Thanks! Julien.
diff --git a/package/linux-backports/linux-backports.hash b/package/linux-backports/linux-backports.hash index f39bc2ed27..0d60955b02 100644 --- a/package/linux-backports/linux-backports.hash +++ b/package/linux-backports/linux-backports.hash @@ -1,4 +1,4 @@ -# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/sha256sums.asc -sha256 a979e194c2ed9fdfca092a448e626d85c5af0e4de5ad993c0967afd15af01285 backports-4.4.2-1.tar.xz +# From: https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v5.8/sha256sums.asc +sha256 19b4174d89bf11ee221458e11f1e8dace26558498774b823051156f522d2036b backports-5.8-1.tar.xz # Locally computed sha256 af8067302947c01fd9eee72befa54c7e3ef8a48fecde7fd71277f2290b2bf0f7 COPYING diff --git a/package/linux-backports/linux-backports.mk b/package/linux-backports/linux-backports.mk index 030d7a2864..7e725147dc 100644 --- a/package/linux-backports/linux-backports.mk +++ b/package/linux-backports/linux-backports.mk @@ -4,7 +4,7 @@ # ################################################################################ -LINUX_BACKPORTS_VERSION_MAJOR = 4.4.2 +LINUX_BACKPORTS_VERSION_MAJOR = 5.8 LINUX_BACKPORTS_VERSION = $(LINUX_BACKPORTS_VERSION_MAJOR)-1 LINUX_BACKPORTS_SOURCE = backports-$(LINUX_BACKPORTS_VERSION).tar.xz LINUX_BACKPORTS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/projects/backports/stable/v$(LINUX_BACKPORTS_VERSION_MAJOR)
Attempting to compile this package with newer Kernel version (e.g. v5.4) fails with message: Generating local configuration database from kernel ...Kernel version parse failed! Upgrading the package to 5.8 fixes this issue. Anyways, v4.4 is now rather old and beat the very purpose of having newer drivers in older kernels. Note that since backports tag v4.14-rc4-1, the requirement on minimal kernel version changed from 3.0 to 3.10. See commit [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git/commit/?id=a0d05f9f9ca50ea8b1d60726fac6b54167257e76 Signed-off-by: Julien Olivain <ju.o@free.fr> --- Changes v1 -> v2: - Add a note about the change in minimal kernel version (3.0 -> 3.10). --- package/linux-backports/linux-backports.hash | 4 ++-- package/linux-backports/linux-backports.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)