[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1112541: linux: initrd grew significantly from 6.12.38+deb13 to 6.16.3+deb14 causing ENOSPACE



On Sat, 6 Sep 2025 14:37:30 +0200 Salvatore Bonaccorso
<carnil@debian.org> wrote:
> Hi Paul,
> 
> On Sat, Sep 06, 2025 at 02:06:37PM +0200, Paul Gevers wrote:
> > Hi,
> > 
> > On 06-09-2025 11:42, Salvatore Bonaccorso wrote:
> > > Can you please with lsinitramfs list the contents for both and
provide
> > > those for comparison?
> > 
> > 
> > Please find those attached.
> 
> I had a look, unfortunately I think this is then expected. The
> majority of changes are from the firmware-nvidia-graphics package, and
> the package itself increased from 20250410-2 to 20250808-1
> substantially due to more firmare added:
> 
> $ dpkg-deb -f firmware-nvidia-graphics_20250410-2_all.deb Installed-
Size
> 64591
> $ dpkg-deb -f firmware-nvidia-graphics_20250808-1_all.deb Installed-
Size
> 156283
> 
> For instance the added
> usr/lib/firmware/nvidia/tu102/gsp/gsp-570.144.bin is 28M in size.
> Attached the diff I generated with some pre-subistitution for easier
> comparision.

The huge size and growing number of different builds of the Nvidia GSP
firmware are a real problem.  I don't think there's anything that we can
do about that in the firmware package.  However:

1. This is exacerbated by the fact that the nouveau driver declares
multiple versions of the GSP firmware for some chips with
MODULE_FIRMWARE(), but only needs one (per chip).  In the short term I
think we should patch nouveau to remove the MODULE_FIRMWARE()
declarations for v535.113.01 for chips where it prefers v570.144.

2. In the medium term we need to move to using generic framebuffer
drivers in the initramfs, but several packages have to be changed to
make that work.

Ben.

> If you might not need firmware-nvidia-graphics, then removing it might
> be an option an regenerating the initramfs.


-- 
Ben Hutchings
To err is human; to really foul things up requires a computer.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: