Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #73864

Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases
Date 2021-11-30 20:30 +0100
Message-ID <DpgZb-19O-1@gated-at.bofh.it> (permalink)
References (1 earlier) <DgFDr-5D0-1@gated-at.bofh.it> <DoZbX-7oy-1@gated-at.bofh.it> <Dp8oV-4Ag-1@gated-at.bofh.it> <DgFDr-5D0-1@gated-at.bofh.it> <Dp8oV-4Ag-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, 2021-11-30 at 11:01 +0100, Fabian Grünbichler wrote:
[...]
> possibly interesting in that context (I asked/posted the link in 
> #debian-kernel a few days ago as well) - these BTF sections now actually 
> reference the BTF info in the kernel image itself (as part of the 
> deduplication of shared information), which makes the latter part of the 
> ABI, and AFAICT this is not (yet?) tracked in Debian..
> 
> https://lore.kernel.org/all/1637926692.uyvrkty41j.astroid@nora.none/
> 
> an otherwise ABI compatible kernel upgrade thus has the potential to 
> break module loading altogether, and I'd recommend disabling the split 
> BTF feature for the time being unless you plan on bumping ABI for every 
> kernel update anyway.

Yes, that is interesting/concerning.

If we continue to not bump the ABI number on every update, then I
think:

1. In-tree modules should not be loadable between an upgrade and a
reboot.  (This can happen already for specific modules, due to symbol
version changes that we think don't affect out-of-tree modules.) 
Alternatively, they could still be loadable but then their BTF info
should be completely discarded.

2. Out-of-tree modules should be built without BTF deduplication, or
without BTF info.

The main reason for not bumping the ABI number every time is to avoid
forcing an unnecessary rebuild of out-of-tree modules.  We could try
switching to something like RHEL's "weak-update" mechanism where ABI-
compatible out-of-tree modules are automatically linked into a new
version's modules directory without rebuilding them.  In that case we
would still need to implement item (2) above.

Ben.

-- 
Ben Hutchings
This sentence contradicts itself - no actually it doesn't.

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Bohdan Horbeshko <bodqhrohro@gmail.com> - 2021-11-07 03:00 +0100
  Bug#998716: marked as done (linux-image-5.14.0-2-amd64: The  package size has grown a lot compared to 5.8/5.10 releases) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-11-12 23:30 +0100
  Processed: Re: Bug#998716 closed by Salvatore Bonaccorso  <carnil@debian.org> (Re: Bug#998716: linux-image-5.14.0-2-amd64: The  package size has grown a lot compared to 5.8/5.10 releases) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2021-11-13 09:20 +0100
  Bug#998716: closed by Salvatore Bonaccorso <carnil@debian.org> (Re: Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases) Salvatore Bonaccorso <carnil@debian.org> - 2021-11-13 09:20 +0100
  Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Ben Hutchings <ben@decadent.org.uk> - 2021-11-30 01:30 +0100
    Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Горбешко Богдан  <bodqhrohro@gmail.com> - 2021-11-30 04:30 +0100
      Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Ben Hutchings <ben@decadent.org.uk> - 2021-11-30 13:40 +0100
    Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Fabian Grünbichler <f.gruenbichler@proxmox.com> - 2021-11-30 11:20 +0100
      Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Ben Hutchings <ben@decadent.org.uk> - 2021-11-30 20:30 +0100
        Bug#998716: linux-image-5.14.0-2-amd64: The package size has grown a lot compared to 5.8/5.10 releases Fabian Grünbichler <fabian.gruenbichler@student.tuwien.ac.at> - 2021-12-26 17:50 +0100

csiph-web