Re: initrd sizes mushroomed several months ago

2023-02-06 Thread Anssi Saari
David Wright writes: > You presumably aren't running 686 and amd64 kernels, then, > unlike Felix. It depends on the system too. My amd64 based router doesn't have microcode in the initramfs but that's OK since microcode is handled by the BIOS (Coreboot). Also I think the microcode's not free to

Re: initrd sizes mushroomed several months ago

2023-02-05 Thread Felix Miata
David Wright composed on 2023-02-04 22:43 (UTC-0600): > The other problem for your initrds is that both the amdgpu and radeon > directories are being included, presumably because, according to your > dracut post, both the amdgpu.ko and radeon.ko modules are included > (and I think you implied they

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread David Wright
On Sat 04 Feb 2023 at 18:04:21 (-0500), Felix Miata wrote: > David Wright composed on 2023-02-04 10:59 (UTC-0600): > > > I don't yet know which directories are being included in yours. > > 6 instances of lsinitramfs, with and without -l for 3 kernels: > > # initrd.img-5.17.0-1-amd64; gzip bytes:

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread Felix Miata
David Wright composed on 2023-02-04 10:59 (UTC-0600): > I don't yet know which directories are being included in yours. 6 instances of lsinitramfs, with and without -l for 3 kernels: # initrd.img-5.17.0-1-amd64; gzip bytes:7,649,297; lines:445: https://termbin.com/2o3z https://paste.debian.net/1

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread David Wright
On Sat 04 Feb 2023 at 11:53:36 (-0500), Stefan Monnier wrote: > > I'm guessing his machine has no microcode installed, since that's what > > my first archive contains. Whether that's because his machine is so > > old that it doesn't *need* any, or because he just lives dangerously, > > I cannot sa

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread David Wright
On Fri 03 Feb 2023 at 01:45:33 (-0500), Felix Miata wrote: > David Wright composed on 2023-02-01 22:39 (UTC-0600): > > On Wed 01 Feb 2023 at 00:50:07 (-0500), Felix Miata wrote: > > >> I think 6.0's is smaller because that upgrade cycle is when I installed > >> zstd > >> before the newer kernel.

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread Stefan Monnier
> I'm guessing his machine has no microcode installed, since that's what > my first archive contains. Whether that's because his machine is so > old that it doesn't *need* any, or because he just lives dangerously, > I cannot say. :-) None of my ARM machines have a microcode update in their initr

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread Greg Wooledge
On Sat, Feb 04, 2023 at 10:38:12AM -0600, David Wright wrote: > Sure, I knew that. The problem was that AFAICT, Felix's > initrd had no first, uncompressed cpio, archive, so > $ cpio -t < /boot/initrd.img-6.0.0-6-amd64 > immediately ran into the compressed, main archive. That > took me by surprise

Re: initrd sizes mushroomed several months ago

2023-02-04 Thread David Wright
On Fri 03 Feb 2023 at 20:34:55 (-0500), Greg Wooledge wrote: > On Fri, Feb 03, 2023 at 06:45:14PM -0600, David Wright wrote: > > It's useful, as seen in my post, to skip past the early archive in > > order to see how the main archive has been compressed. > > If you want to see the contents of the *

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread Felix Miata
Felix Miata composed on 2022-11-12 01:57 (UTC-0500): > # grep MODULES= /etc/initramfs-tools/initramfs.conf > MODULES=dep > # ls -Ggh /boot/initrd.img-[5,6]* > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 > -rw-r--r-- 1

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread Greg Wooledge
On Fri, Feb 03, 2023 at 06:45:14PM -0600, David Wright wrote: > It's useful, as seen in my post, to skip past the early archive in > order to see how the main archive has been compressed. If you want to see the contents of the *second* archive in the initrd, you have to call cpio a second time.

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread David Wright
On Fri 03 Feb 2023 at 07:49:39 (-0500), Greg Wooledge wrote: > On Fri, Feb 03, 2023 at 01:45:33AM -0500, Felix Miata wrote: > > David Wright composed on 2023-02-01 22:39 (UTC-0600): > > > $ cpio -t < /boot/initrd.img-6.0.0-6-amd64 > > > > Is that a typo? I copied & pasted that and the screen loa

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread The Wanderer
On 2023-02-03 at 09:57, Felix Miata wrote: > The Wanderer composed on 2023-02-03 07:16 (UTC-0500): > >> FTLIW, my own primary desktop has an AMD graphics card (and has since >> before the initial Debian install), and doesn't have these large >> initrds: > > Oh, but it does > >> $ lh /boot/

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread Felix Miata
The Wanderer composed on 2023-02-03 07:16 (UTC-0500): > FTLIW, my own primary desktop has an AMD graphics card (and has since > before the initial Debian install), and doesn't have these large > initrds: Oh, but it does > $ lh /boot/initrd.img-* > -rw-r--r-- 1 root root 36M Sep 2 08:27 /bo

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread Thomas Schmitt
Hi, David Wright wrote: > > > $ cpio -t < /boot/initrd.img-6.0.0-6-amd64 Felix Miata wrote: > > Is that a typo? I copied & pasted that and the screen loaded binary > > gibberish. Greg Wooledge wrote: > GNU cpio(1) says that -t implies -i, so it should work on Debian. Probably the initrd is co

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread Greg Wooledge
On Fri, Feb 03, 2023 at 01:45:33AM -0500, Felix Miata wrote: > David Wright composed on 2023-02-01 22:39 (UTC-0600): > > $ cpio -t < /boot/initrd.img-6.0.0-6-amd64 > > Is that a typo? I copied & pasted that and the screen loaded binary gibberish. GNU cpio(1) says that -t implies -i, so it shoul

Re: initrd sizes mushroomed several months ago

2023-02-03 Thread The Wanderer
On 2023-02-03 at 01:45, Felix Miata wrote: > David Wright composed on 2023-02-01 22:39 (UTC-0600): >> FTR, I reinstalled 5.10.0-21-amd64 on another machine with MODULES=dep >> and for comparison (initrd only): > >> $ unmkinitramfs /boot/initrd.img-5.10.0-21-amd64 /tmp/unpacked10-21 >> cpio: et

Re: initrd sizes mushroomed several months ago

2023-02-02 Thread Felix Miata
David Wright composed on 2023-02-01 22:39 (UTC-0600): > On Wed 01 Feb 2023 at 00:50:07 (-0500), Felix Miata wrote: >> I think 6.0's is smaller because that upgrade cycle is when I installed zstd >> before the newer kernel. It's specified by default in initramfs.conf, but the >> upgrades from 11 t

Re: initrd sizes mushroomed several months ago

2023-02-02 Thread Felix Miata
The Wanderer composed on 2022-11-13 06:54 (UTC-0500): > On 2022-11-12 Felix Miata wrote: >> # grep MODULES= /etc/initramfs-tools/initramfs.conf >> MODULES=dep >> # ls -Ggh /boot/initrd.img-[5,6]* >> -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 >> -rw-r--r-- 1 31M Aug 2 03:06 /bo

Re: initrd sizes mushroomed several months ago

2023-02-01 Thread David Wright
On Wed 01 Feb 2023 at 00:50:07 (-0500), Felix Miata wrote: > David Wright composed on 2023-01-31 22:56 (UTC-0600): > > On Tue 31 Jan 2023 at 18:31:15 (-0500), Felix Miata wrote: > >> David Wright composed on 2023-01-28 09:10 (UTC-0600): > >>> On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrot

Re: initrd sizes mushroomed several months ago

2023-01-31 Thread Felix Miata
David Wright composed on 2023-01-31 22:56 (UTC-0600): > On Tue 31 Jan 2023 at 18:31:15 (-0500), Felix Miata wrote: >> David Wright composed on 2023-01-28 09:10 (UTC-0600): >>> On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote: I thought only Windows was like that, but apparently n

Re: initrd sizes mushroomed several months ago (was: switch from IDE to AHCI...)

2023-01-31 Thread David Wright
On Tue 31 Jan 2023 at 18:31:15 (-0500), Felix Miata wrote: > David Wright composed on 2023-01-28 09:10 (UTC-0600): > > On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote: > > >> I thought only Windows was like that, but apparently not always. I keep my > >> initramfs configuration set to =d

Re: initrd sizes mushroomed several months ago (was: switch from IDE to AHCI...)

2023-01-31 Thread Felix Miata
David Wright composed on 2023-01-28 09:10 (UTC-0600): > On Sat 28 Jan 2023 at 03:15:11 (-0500), Felix Miata wrote: >> I thought only Windows was like that, but apparently not always. I keep my >> initramfs configuration set to =dep. > And is that the reason behind, and cure for, your mushroomin

Re: initrd sizes mushroomed several months ago

2022-11-15 Thread David Wright
On Sun 13 Nov 2022 at 06:54:47 (-0500), The Wanderer wrote: > On 2022-11-12 at 01:57, Felix Miata wrote: > > > # grep MODULES= /etc/initramfs-tools/initramfs.conf > > MODULES=dep > > # ls -Ggh /boot/initrd.img-[5,6]* > > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > > -rw-r--r-- 1

Re: initrd sizes mushroomed several months ago

2022-11-14 Thread David Wright
On Sat 12 Nov 2022 at 01:57:51 (-0500), Felix Miata wrote: > # grep MODULES= /etc/initramfs-tools/initramfs.conf > MODULES=dep > # ls -Ggh /boot/initrd.img-[5,6]* > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 > -rw-r--r

Re: initrd sizes mushroomed several months ago

2022-11-13 Thread The Wanderer
On 2022-11-12 at 01:57, Felix Miata wrote: > # grep MODULES= /etc/initramfs-tools/initramfs.conf > MODULES=dep > # ls -Ggh /boot/initrd.img-[5,6]* > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 > -rw-r--r-- 1 31M Sep 3

Re: initrd sizes mushroomed several months ago

2022-11-12 Thread David Wright
On Sat 12 Nov 2022 at 01:57:51 (-0500), Felix Miata wrote: > # grep MODULES= /etc/initramfs-tools/initramfs.conf > MODULES=dep > # ls -Ggh /boot/initrd.img-[5,6]* > -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 > -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 > -rw-r--r

initrd sizes mushroomed several months ago

2022-11-11 Thread Felix Miata
# grep MODULES= /etc/initramfs-tools/initramfs.conf MODULES=dep # ls -Ggh /boot/initrd.img-[5,6]* -rw-r--r-- 1 6.8M May 8 2022 /boot/initrd.img-5.17.0-1-686 -rw-r--r-- 1 31M Aug 2 03:06 /boot/initrd.img-5.18.0-3-686 -rw-r--r-- 1 31M Sep 30 15:43 /boot/initrd.img-5.19.0-2-686 -rw-r--r-- 1 36M