오류 24: 쓰기 오류: 압축된 블록을 쓸 수 없습니다.

오류 24: 쓰기 오류: 압축된 블록을 쓸 수 없습니다.

저는 Ubuntu 20.04 LTS 서버를 사용하고 있으며 패치로 전체 커널을 다시 컴파일했습니다. 이제 설치 단계인데 실행하면 sudo make install다음과 같은 오류가 표시됩니다.

root@localhost:/home/linux-5.4# sudo make install
sh ./arch/x86/boot/install.sh 5.4.0 arch/x86/boot/bzImage \
        System.map "/boot"
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.4.0 /boot/vmlinuz-5.4.0
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.4.0 /boot/vmlinuz-5.4.0
update-initramfs: Generating /boot/initrd.img-5.4.0
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.4.0 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
make[1]: *** [arch/x86/boot/Makefile:155: install] Error 1
make: *** [arch/x86/Makefile:293: install] Error 2

이것은 내 서버에 남은 명령 공간입니다 df -i.

Filesystem      Inodes  IUsed   IFree IUse% Mounted on
udev            114642    367  114275    1% /dev
tmpfs           125596    500  125096    1% /run
/dev/sda       1568000 271637 1296363   18% /
tmpfs           125596      4  125592    1% /dev/shm
tmpfs           125596      3  125593    1% /run/lock
tmpfs           125596     18  125578    1% /sys/fs/cgroup

df-h산출,

    Filesystem      Size  Used Avail Use% Mounted on
    udev            448M     0  448M   0% /dev
    tmpfs            99M   12M   87M  12% /run
    /dev/sda         25G   22G  2.2G  92% /
    tmpfs           491M     0  491M   0% /dev/shm
    tmpfs           5.0M     0  5.0M   0% /run/lock
    tmpfs           491M     0  491M   0% /sys/fs/cgroup

이전에는 긴 파일 이름 목록이었던 df-h가 이제 올바르게 인쇄된다는 점은 주목할 가치가 있습니다.

답변1

먼저 커널을 설치한 다음 make clean을 실행하고 모듈 설치를 계속했습니다. 이 접근 방식은 필요한 공간을 절약합니다.

관련 정보