[so2] Problema la make boot: "No space left on device."

Daniel Baluta daniel.baluta at gmail.com
Thu Mar 8 15:42:50 EET 2018


2018-03-08 13:08 GMT+02:00 Relu Dragan via so2 <so2 at cursuri.cs.pub.ro>:
> Am uitat sa mentionez ca am dat si comanda "make build" inainte de "make
> copy".
>
> On Thu, Mar 8, 2018 at 1:05 PM, Relu Dragan <draganrelu at gmail.com> wrote:
>>
>> Salut,
>>
>> Am descarcat repo-ul si am incercat sa pornesc masina virtuala de qemu cu
>> urmatoarea secventa de comenzi:
>>
>> git clone https://github.com/linux-kernel-labs/linux.git --depth 1
>>
>> cd linux/
>>
>> make menuconfig
>>
>> make -j8
>>
>> cd tools/labs/
>>
>> LABS="kernel_api" make skels
>>
>> make copy
>>
>> make boot
>>
>> Acesta este log-ul comenzii "make boot"
>>
>> mkdir /tmp/tmp.1aUumDy9it
>> sudo mount -t ext4 -o loop core-image-minimal-qemux86.ext4
>> /tmp/tmp.1aUumDy9it
>> sudo make -C /home/relu/programming/anul4/5-so2/linux modules_install
>> INSTALL_MOD_PATH=/tmp/tmp.1aUumDy9it
>> make: Entering directory '/home/relu/programming/anul4/5-so2/linux'
>>   INSTALL arch/x86/crypto/aes-x86_64.ko
>>   INSTALL arch/x86/crypto/aesni-intel.ko
>>   INSTALL arch/x86/crypto/blowfish-x86_64.ko
>>   INSTALL arch/x86/crypto/camellia-aesni-avx-x86_64.ko
>>   INSTALL arch/x86/crypto/camellia-aesni-avx2.ko
>>   INSTALL arch/x86/crypto/camellia-x86_64.ko
>>   INSTALL arch/x86/crypto/cast5-avx-x86_64.ko
>>   INSTALL arch/x86/crypto/cast6-avx-x86_64.ko
>>   INSTALL arch/x86/crypto/chacha20-x86_64.ko
>>   INSTALL arch/x86/crypto/crc32-pclmul.ko
>>   INSTALL arch/x86/crypto/crct10dif-pclmul.ko
>>   INSTALL arch/x86/crypto/des3_ede-x86_64.ko
>>   INSTALL arch/x86/crypto/ghash-clmulni-intel.ko
>>   INSTALL arch/x86/crypto/glue_helper.ko
>>   INSTALL arch/x86/crypto/poly1305-x86_64.ko
>>   INSTALL arch/x86/crypto/salsa20-x86_64.ko
>>   INSTALL arch/x86/crypto/serpent-avx-x86_64.ko
>>   INSTALL arch/x86/crypto/serpent-avx2.ko
>>   INSTALL arch/x86/crypto/serpent-sse2-x86_64.ko
>>   INSTALL arch/x86/crypto/sha1-mb/sha1-mb.ko
>>   INSTALL arch/x86/crypto/sha1-ssse3.ko
>>   INSTALL arch/x86/crypto/sha256-mb/sha256-mb.ko
>>   INSTALL arch/x86/crypto/sha256-ssse3.ko
>>   INSTALL arch/x86/crypto/sha512-mb/sha512-mb.ko
>>   INSTALL arch/x86/crypto/sha512-ssse3.ko
>>   INSTALL arch/x86/crypto/twofish-avx-x86_64.ko
>>   INSTALL arch/x86/crypto/twofish-x86_64-3way.ko
>>   INSTALL arch/x86/crypto/twofish-x86_64.ko
>>   INSTALL arch/x86/events/intel/intel-cstate.ko
>>   INSTALL arch/x86/events/intel/intel-rapl-perf.ko
>>   INSTALL arch/x86/kernel/cpu/mcheck/mce-inject.ko
>>   INSTALL arch/x86/kernel/cpuid.ko
>>   INSTALL arch/x86/kernel/msr.ko
>>   INSTALL arch/x86/kvm/kvm-amd.ko
>>   INSTALL arch/x86/kvm/kvm-intel.ko
>>   INSTALL arch/x86/kvm/kvm.ko
>>   INSTALL arch/x86/oprofile/oprofile.ko
>>   INSTALL arch/x86/platform/atom/punit_atom_debug.ko
>>   INSTALL block/bfq.ko
>>   INSTALL block/kyber-iosched.ko
>>   INSTALL block/mq-deadline.ko
>>   INSTALL crypto/842.ko
>>   INSTALL crypto/ablk_helper.ko
>>   INSTALL crypto/aes_ti.ko
>>   INSTALL crypto/af_alg.ko
>>   INSTALL crypto/algif_aead.ko
>>   INSTALL crypto/algif_hash.ko
>>   INSTALL crypto/algif_rng.ko
>>   INSTALL crypto/algif_skcipher.ko
>>   INSTALL crypto/ansi_cprng.ko
>>   INSTALL crypto/anubis.ko
>>   INSTALL crypto/arc4.ko
>>   INSTALL crypto/asymmetric_keys/pkcs7_test_key.ko
>>   INSTALL crypto/async_tx/async_memcpy.ko
>>   INSTALL crypto/async_tx/async_pq.ko
>>   INSTALL crypto/async_tx/async_raid6_recov.ko
>>   INSTALL crypto/async_tx/async_tx.ko
>>   INSTALL crypto/async_tx/async_xor.ko
>>   INSTALL crypto/authenc.ko
>>   INSTALL crypto/authencesn.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/authencesn.ko': No
>> space left on device
>>   INSTALL crypto/blowfish_common.ko
>>   INSTALL crypto/blowfish_generic.ko
>>   INSTALL crypto/camellia_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/camellia_generic.ko':
>> No space left on device
>>   INSTALL crypto/cast5_generic.ko
>>   INSTALL crypto/cast6_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/cast6_generic.ko': No
>> space left on device
>>   INSTALL crypto/cast_common.ko
>>   INSTALL crypto/ccm.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/ccm.ko': No space
>> left on device
>>   INSTALL crypto/chacha20_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/chacha20_generic.ko':
>> No space left on device
>>   INSTALL crypto/chacha20poly1305.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/chacha20poly1305.ko':
>> No space left on device
>>   INSTALL crypto/cmac.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/cmac.ko': No space
>> left on device
>>   INSTALL crypto/crc32_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/crc32_generic.ko': No
>> space left on device
>>   INSTALL crypto/cryptd.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/cryptd.ko': No space
>> left on device
>>   INSTALL crypto/crypto_engine.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/crypto_engine.ko': No
>> space left on device
>>   INSTALL crypto/crypto_simd.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/crypto_simd.ko': No
>> space left on device
>>   INSTALL crypto/crypto_user.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/crypto_user.ko': No
>> space left on device
>>   INSTALL crypto/deflate.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/deflate.ko': No space
>> left on device
>>   INSTALL crypto/des_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/des_generic.ko': No
>> space left on device
>>   INSTALL crypto/ecdh_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/ecdh_generic.ko': No
>> space left on device
>>   INSTALL crypto/echainiv.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/echainiv.ko': No
>> space left on device
>>   INSTALL crypto/fcrypt.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/fcrypt.ko': No space
>> left on device
>>   INSTALL crypto/keywrap.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/keywrap.ko': No space
>> left on device
>>   INSTALL crypto/khazad.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/khazad.ko': No space
>> left on device
>>   INSTALL crypto/lrw.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/lrw.ko': No space
>> left on device
>>   INSTALL crypto/lz4.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/lz4.ko': No space
>> left on device
>>   INSTALL crypto/lz4hc.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/lz4hc.ko': No space
>> left on device
>>   INSTALL crypto/mcryptd.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/mcryptd.ko': No space
>> left on device
>>   INSTALL crypto/md4.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/md4.ko': No space
>> left on device
>>   INSTALL crypto/michael_mic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/michael_mic.ko': No
>> space left on device
>>   INSTALL crypto/pcbc.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/pcbc.ko': No space
>> left on device
>>   INSTALL crypto/pcrypt.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/pcrypt.ko': No space
>> left on device
>>   INSTALL crypto/poly1305_generic.ko
>> cp: error writing
>> '/tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/poly1305_generic.ko':
>> No space left on device
>> At main.c:356:
>> - SSL error:0200101C:system library:fopen:No space left on device:
>> bss_file.c:175
>> - SSL error:2006D002:BIO routines:BIO_new_file:system lib: bss_file.c:180
>> sign-file:
>> /tmp/tmp.1aUumDy9it/lib/modules/4.15.0+/kernel/crypto/poly1305_generic.ko.~signed~:
>> No space left on device
>> scripts/Makefile.modinst:36: recipe for target
>> 'crypto/poly1305_generic.ko' failed
>> make[1]: *** [crypto/poly1305_generic.ko] Error 1
>> Makefile:1235: recipe for target '_modinst_' failed
>>
>> Am incercat sa sterg core-image-minimal-qemux86.ext4 si sa o redescarc
>> prin comanda "make copy", insa acelasi set module este instalat pe masina de
>> fiecare data cand rulez "make boot". Am verificat si, intr-adevar nu mai
>> ramane spatiu pe masina virtuala pentru ca prea multe module sunt copiate
>> acolo (m-am uitat in /tmp in directorul unde este montata masina virtuala cu
>> df -h).
>>
>> Exista vreo modalitate prin care as putea sa dezactivez instalarea acestor
>> module pe masina virtuala?
>>

Merita incercat:

make menuconfig

CONFIGY_CRYPTO=n


More information about the so2 mailing list