Warning: Undefined variable $session_id in /usr/home/zenrat/public_html/tech/forums/includes/sessions.php on line 253
Tech Patterns :: [RESOLVED] 6.15 kernel: any idea why Trixie, Oracular, and Plucky kernel debs are so much bigger than the same kernel on older distreleases?

Warning: Undefined variable $s_watching_topic_img in /usr/home/zenrat/public_html/tech/forums/viewtopic.php on line 677


[RESOLVED] 6.15 kernel: any idea why Trixie, Oracular, and Plucky kernel debs are so much bigger than the same kernel on older distreleases?
stevenpusser
Status: Contributor
Joined: 14 Jan 2017
Posts: 102
Reply Quote
Like ~160-170 MB versus 270-280? The modules are still being compressed to .zst files for both.

< Edited by stevenpusser :: Jun 28, 25, 18:57 >

Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1180
Reply Quote
I thought I hit submit last week when I responded but I guess not.

Most likely there's some new data that's not being stripped part of enabling debugging. I'll dig into Debian's linux package and see if they had to make any adjustments for 6.15.
Back to top
stevenpusser
Status: Contributor
Joined: 14 Jan 2017
Posts: 102
Reply Quote
Thanks, I see you fixed it. Now there's a new 555 Nvidia driver in Debian Experimental I need to backport to work with 6.15 kernels.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1180
Reply Quote
Interesting, it must have been a bug in a version before v6.15.3 or .4. I'll mark this as resolved.
Back to top
stevenpusser
Status: Contributor
Joined: 14 Jan 2017
Posts: 102
Reply Quote
Seems to be now recurring with Debian testing/unstable and Plucky. :(
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1180
Reply Quote
So I did some debugging to understand where this is coming from. It turns out that pahole v1.30 exclusively creates bloated .BTF sections in kernel modules. This specifically is affecting Trixie, and is unlikely to ever get "fixed" since it's not a bug that breaks things, but definitely wastes space.

To work around this, I unset CONFIG_DEBUG_INFO_BTF_MODULES and Trixie went from 277mb to 128mb. Other releases also dropped to 128mb from about 170mb.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours