Je suis actuellement en train d'essayer de mettre à niveau mon noyau Linux de 4.4.0-63 à 4.10.12 . J'ai obtenu à travers les étapes (en utilisant http://www.thegeekstuff.com/2013/06/compile-linux-kernel manuel) de: make
->make modules
->make modules_install
Erreur: "gzip: stdout: Il ne reste plus d'espace sur le périphérique" pendant la mise à niveau du noyau Linux (alors qu'il y a de l'espace)
Bien que une fois que j'essaie de faire "make install
" Je reçois l'erreur suivante:
[email protected]:/usr/src/linux-4.10.12$ sudo make install
sh ./arch/x86/boot/install.sh 4.10.12 arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.12
/boot/vmlinuz-4.10.12
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.12
/boot/vmlinuz-4.10.12
update-initramfs: Generating /boot/initrd.img-4.10.12
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.10.12 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
make[1]: *** [install] Error 1
make: *** [install] Error 2
D'abord, J'ai vérifié pour voir si/boot était pleine, mais il semblait que ce n'était pas:
[email protected]:/usr/src/linux-4.10.12$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 252G 43G 197G 18%/
...
/dev/sda1 236M 75M 149M 34% /boot
d'après ce que j'ai vu en ligne, ce qui a généralement à voir avec les versions du noyau passé s tic tac plus autour tha n ils doivent. Bien que, de ce que je pouvais voir, il n'y avait pas les versions antérieures à traîner après l'exécution « dpkg -l linux-image*
»:
un linux-image
ii linux-image-4.4.0-63-generic
ii linux-image-extra-4.4.0-63-generic
ii linux-image-generic-lts-xenial
Je ne sais pas d'autre endroit où chercher à comprendre le problème (d'autant plus qu'il semble comme/boot n'est pas plein). Des idées?
modifier Ajout commentaire demandé commandes:
[email protected]:/usr/src/linux-4.10.12$ df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/dm-0 16777216 469172 16308044 3%/
..
/dev/sda1 62248 307 61941 1% /boot
[email protected]:/usr/src/linux-4.10.12$ ls -l /boot
total 69528
-rw-r--r-- 1 root root 1245512 Feb 13 06:43 abi-4.4.0-63-generic
-rw-r--r-- 1 root root 203277 Apr 25 22:42 config-4.10.12
-rw-r--r-- 1 root root 203277 Apr 25 22:32 config-4.10.12.old
-rw-r--r-- 1 root root 190255 Feb 13 06:43 config-4.4.0-63-generic
drwxr-xr-x 5 root root 1024 Apr 25 20:17 grub
-rw-r--r-- 1 root root 35960364 Apr 25 17:46 initrd.img-4.4.0-63-generic
drwx------ 2 root root 12288 Feb 15 16:18 lost+found
-rw-r--r-- 1 root root 176500 Mar 12 2014 memtest86+.bin
-rw-r--r-- 1 root root 178176 Mar 12 2014 memtest86+.elf
-rw-r--r-- 1 root root 178680 Mar 12 2014 memtest86+_multiboot.bin
-rw-r--r-- 1 root root 3662296 Apr 25 22:42 System.map-4.10.12
-rw-r--r-- 1 root root 3662296 Apr 25 22:32 System.map-4.10.12.old
-rw------- 1 root root 3897401 Feb 13 06:43 System.map-4.4.0-63-generic
-rw-r--r-- 1 root root 7169312 Apr 25 22:42 vmlinuz-4.10.12
-rw-r--r-- 1 root root 7169312 Apr 25 22:32 vmlinuz-4.10.12.old
-rw------- 1 root root 6989520 Feb 13 06:43 vmlinuz-4.4.0-63-generic
Edit2 montés tmpfs:
[email protected]:/usr/src/linux-4.10.12$ sudo mount -t tmpfs none /boot
[email protected]:/usr/src/linux-4.10.12$ sudo make install
sh ./arch/x86/boot/install.sh 4.10.12 arch/x86/boot/bzImage \
System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.10.12
/boot/vmlinuz-4.10.12
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.10.12
/boot/vmlinuz-4.10.12
update-initramfs: Generating /boot/initrd.img-4.10.12
W: Possible missing firmware /lib/firmware/ast_dp501_fw.bin for module ast
run-parts: executing /etc/kernel/postinst.d/pm-utils 4.10.12 /boot/vmlinuz-
4.10.12
run-parts: executing /etc/kernel/postinst.d/update-notifier 4.10.12
/boot/vmlinuz-4.10.12
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 4.10.12
/boot/vmlinuz-4.10.12
[email protected]:/usr/src/linux-4.10.12$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/dm-0 252G 43G 197G 18%/
...
none 16G 310M 16G 2% /boot
Veuillez noter que SO est réservé aux questions de programmation. Vérifiez super utilisateur, UNIX et Linux ou un autre site approprié où ce serait sur le sujet. –
MangoOfFury, qu'est-ce que la sortie 'ls -l/boot'? Combien de modules sont activés dans votre configuration du noyau? Combien de modules sont installés dans votre initramfs? Vérifiez https://askubuntu.com/questions/223248, https: // askubuntu.com/questions/497032 et autres résultats de recherche pour "Génération" + "gzip: stdout: Pas d'espace sur le périphérique" – osgx
J'ai ajouté la sortie de "df -i" et "ls -l/boot". Aussi, excuses. Je n'étais pas au courant que c'était hors sujet – MangoOfFury