Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

Testing And Unstable • Re: [SID - Unstable] size of the initrd.img

$
0
0
Maybe you can trim down to only the firmware required for your actual card and rebuild your initrd.img?
Is there any script or conf file that determines how the initrd is built from the file tree perspective?

If I see correctly the lsinitramfs shows multiple instances of the same file in usr/lib/firmware/nvidia/ga10* directories:

Code:

-rw-r--r--   1 root     root     38061600 Jul 14 16:22 usr/lib/firmware/nvidia/ga102/gsp/gsp-535.113.01.bin-rw-r--r--   1 root     root     38061600 Jul 14 16:22 usr/lib/firmware/nvidia/ga103/gsp/gsp-535.113.01.bin-rw-r--r--   1 root     root     38061600 Jul 14 16:22 usr/lib/firmware/nvidia/ga104/gsp/gsp-535.113.01.bin-rw-r--r--   1 root     root     38061600 Jul 14 16:22 usr/lib/firmware/nvidia/ga106/gsp/gsp-535.113.01.bin-rw-r--r--   1 root     root     38061600 Jul 14 16:22 usr/lib/firmware/nvidia/ga107/gsp/gsp-535.113.01.bin
vs. the ad10* directories, where the files are linked:

Code:

lrwxrwxrwx   1 root     root           34 Jul 17 21:41 usr/lib/firmware/nvidia/ad102/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.binlrwxrwxrwx   1 root     root           34 Jul 17 21:41 usr/lib/firmware/nvidia/ad103/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.binlrwxrwxrwx   1 root     root           34 Jul 17 21:41 usr/lib/firmware/nvidia/ad104/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.binlrwxrwxrwx   1 root     root           34 Jul 17 21:41 usr/lib/firmware/nvidia/ad106/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.binlrwxrwxrwx   1 root     root           34 Jul 17 21:41 usr/lib/firmware/nvidia/ad107/gsp/gsp-535.113.01.bin -> ../../ga102/gsp/gsp-535.113.01.bin
But if I check the same directory in the root fs, it is actually linked:

Code:

root@p1g4:~# ls -al /usr/lib/firmware/nvidia/ga103total 55drwxr-xr-x  6 root root  7 Jul 16 19:37 .drwxr-xr-x 37 root root 37 Jul 16 19:37 ..drwxr-xr-x  2 root root  5 Jul 16 19:37 acrdrwxr-xr-x  2 root root  7 Jul 16 19:37 grlrwxrwxrwx  1 root root 12 Jul 14 16:22 gsp -> ../ga102/gspdrwxr-xr-x  2 root root  3 Jul 16 19:37 nvdecdrwxr-xr-x  2 root root  6 Jul 16 19:37 sec2

Statistics: Posted by maloosheck — 2024-07-20 16:26



Viewing all articles
Browse latest Browse all 2849

Trending Articles