All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kmod: Enable xz support by default
@ 2022-04-28  6:26 Khem Raj
  2022-04-28 11:26 ` [OE-core] " Andrei Gherzan
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2022-04-28  6:26 UTC (permalink / raw)
  To: openembedded-core; +Cc: Khem Raj

RPi kernel has started building compressed kernel modules by default
starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
to load kernel modules since kmod and kmod-native do not entertain xz
compressed modules. There is a fix proposed in meta-raspberrypi [1]
but the fix is needed for native and nativesdk recipes as well, perhaps
its best to enable it here for best out of box experience with
meta-raspberrypi

[1] https://github.com/agherzan/meta-raspberrypi/pull/1056

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-kernel/kmod/kmod_29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kmod/kmod_29.bb b/meta/recipes-kernel/kmod/kmod_29.bb
index 9b663490666..32dc49c1269 100644
--- a/meta/recipes-kernel/kmod/kmod_29.bb
+++ b/meta/recipes-kernel/kmod/kmod_29.bb
@@ -27,7 +27,7 @@ S = "${WORKDIR}/git"
 
 EXTRA_OECONF += "--enable-tools"
 
-PACKAGECONFIG ??= "zlib"
+PACKAGECONFIG ??= "zlib xz"
 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
 PACKAGECONFIG[logging] = " --enable-logging,--disable-logging"
 PACKAGECONFIG[manpages] = "--enable-manpages, --disable-manpages, libxslt-native xmlto-native"
-- 
2.36.0



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] kmod: Enable xz support by default
  2022-04-28  6:26 [PATCH] kmod: Enable xz support by default Khem Raj
@ 2022-04-28 11:26 ` Andrei Gherzan
  2022-04-28 15:00   ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Andrei Gherzan @ 2022-04-28 11:26 UTC (permalink / raw)
  To: openembedded, Khem Raj

On Thu, 28 Apr 2022, at 07:26, Khem Raj wrote:
> RPi kernel has started building compressed kernel modules by default
> starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
> to load kernel modules since kmod and kmod-native do not entertain xz
> compressed modules. There is a fix proposed in meta-raspberrypi [1]
> but the fix is needed for native and nativesdk recipes as well, perhaps
> its best to enable it here for best out of box experience with
> meta-raspberrypi
>
> [1] https://github.com/agherzan/meta-raspberrypi/pull/1056
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

I don't see any reason not to do this and it does help with the BSPs using this compression requirement. So here is my +1. Would it be reasonable to propose to have it in kirkstone too? Otherwise, @khem, I'd need to drop compression or downgrade the kernel in kirkstone rpi (or make some yocto incompatible changes - which I'd rather not).

Andrei


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] kmod: Enable xz support by default
  2022-04-28 11:26 ` [OE-core] " Andrei Gherzan
@ 2022-04-28 15:00   ` Khem Raj
  2022-04-29 18:24     ` Steve Sakoman
  0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2022-04-28 15:00 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: openembedded, Steve Sakoman

On Thu, Apr 28, 2022 at 4:27 AM Andrei Gherzan <andrei@gherzan.com> wrote:
>
> On Thu, 28 Apr 2022, at 07:26, Khem Raj wrote:
> > RPi kernel has started building compressed kernel modules by default
> > starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
> > to load kernel modules since kmod and kmod-native do not entertain xz
> > compressed modules. There is a fix proposed in meta-raspberrypi [1]
> > but the fix is needed for native and nativesdk recipes as well, perhaps
> > its best to enable it here for best out of box experience with
> > meta-raspberrypi
> >
> > [1] https://github.com/agherzan/meta-raspberrypi/pull/1056
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
> I don't see any reason not to do this and it does help with the BSPs using this compression requirement. So here is my +1. Would it be reasonable to propose to have it in kirkstone too? Otherwise, @khem, I'd need to drop compression or downgrade the kernel in kirkstone rpi (or make some yocto incompatible changes - which I'd rather not).
>

Its already in staging for master [1] so hope to land it in master
soon. kirkstone is something from Steve to cherry-pick CCing Steve
here

[1] https://git.yoctoproject.org/poky-contrib/log/?h=lucaceresoli/master-next


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] kmod: Enable xz support by default
  2022-04-28 15:00   ` Khem Raj
@ 2022-04-29 18:24     ` Steve Sakoman
  2022-04-29 18:38       ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Sakoman @ 2022-04-29 18:24 UTC (permalink / raw)
  To: Khem Raj; +Cc: Andrei Gherzan, openembedded

On Thu, Apr 28, 2022 at 5:00 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Thu, Apr 28, 2022 at 4:27 AM Andrei Gherzan <andrei@gherzan.com> wrote:
> >
> > On Thu, 28 Apr 2022, at 07:26, Khem Raj wrote:
> > > RPi kernel has started building compressed kernel modules by default
> > > starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
> > > to load kernel modules since kmod and kmod-native do not entertain xz
> > > compressed modules. There is a fix proposed in meta-raspberrypi [1]
> > > but the fix is needed for native and nativesdk recipes as well, perhaps
> > > its best to enable it here for best out of box experience with
> > > meta-raspberrypi
> > >
> > > [1] https://github.com/agherzan/meta-raspberrypi/pull/1056
> > >
> > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> >
> > I don't see any reason not to do this and it does help with the BSPs using this compression requirement. So here is my +1. Would it be reasonable to propose to have it in kirkstone too? Otherwise, @khem, I'd need to drop compression or downgrade the kernel in kirkstone rpi (or make some yocto incompatible changes - which I'd rather not).
> >
>
> Its already in staging for master [1] so hope to land it in master
> soon. kirkstone is something from Steve to cherry-pick CCing Steve
> here
>
> [1] https://git.yoctoproject.org/poky-contrib/log/?h=lucaceresoli/master-next

It's hit master now, so I will cherry-pick into my next patch set.

Steve


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH] kmod: Enable xz support by default
  2022-04-29 18:24     ` Steve Sakoman
@ 2022-04-29 18:38       ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2022-04-29 18:38 UTC (permalink / raw)
  To: Steve Sakoman; +Cc: Andrei Gherzan, openembedded

On Fri, Apr 29, 2022 at 11:24 AM Steve Sakoman <steve@sakoman.com> wrote:
>
> On Thu, Apr 28, 2022 at 5:00 AM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > On Thu, Apr 28, 2022 at 4:27 AM Andrei Gherzan <andrei@gherzan.com> wrote:
> > >
> > > On Thu, 28 Apr 2022, at 07:26, Khem Raj wrote:
> > > > RPi kernel has started building compressed kernel modules by default
> > > > starting 5.15, currenrly therefore meta-raspberrypi kernels are unable
> > > > to load kernel modules since kmod and kmod-native do not entertain xz
> > > > compressed modules. There is a fix proposed in meta-raspberrypi [1]
> > > > but the fix is needed for native and nativesdk recipes as well, perhaps
> > > > its best to enable it here for best out of box experience with
> > > > meta-raspberrypi
> > > >
> > > > [1] https://github.com/agherzan/meta-raspberrypi/pull/1056
> > > >
> > > > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > >
> > > I don't see any reason not to do this and it does help with the BSPs using this compression requirement. So here is my +1. Would it be reasonable to propose to have it in kirkstone too? Otherwise, @khem, I'd need to drop compression or downgrade the kernel in kirkstone rpi (or make some yocto incompatible changes - which I'd rather not).
> > >
> >
> > Its already in staging for master [1] so hope to land it in master
> > soon. kirkstone is something from Steve to cherry-pick CCing Steve
> > here
> >
> > [1] https://git.yoctoproject.org/poky-contrib/log/?h=lucaceresoli/master-next
>
> It's hit master now, so I will cherry-pick into my next patch set.
>

thanks Steve.

> Steve


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-04-29 18:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-28  6:26 [PATCH] kmod: Enable xz support by default Khem Raj
2022-04-28 11:26 ` [OE-core] " Andrei Gherzan
2022-04-28 15:00   ` Khem Raj
2022-04-29 18:24     ` Steve Sakoman
2022-04-29 18:38       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.