From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: guix system disk-image: Could not access KVM kernel module: Permission denied Date: Sat, 03 Mar 2018 17:14:32 +0100 Message-ID: <87606dw2zb.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1es9nz-0001zt-Ee for help-guix@gnu.org; Sat, 03 Mar 2018 11:14:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1es9nw-0006ot-7V for help-guix@gnu.org; Sat, 03 Mar 2018 11:14:39 -0500 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:40762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1es9nv-0006nO-VW for help-guix@gnu.org; Sat, 03 Mar 2018 11:14:36 -0500 Received: by mail-lf0-x22e.google.com with SMTP id 37so17466904lfs.7 for ; Sat, 03 Mar 2018 08:14:35 -0800 (PST) Received: from mimimi (c80-217-164-188.bredband.comhem.se. [80.217.164.188]) by smtp.gmail.com with ESMTPSA id s62sm1871520lfk.79.2018.03.03.08.14.33 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 03 Mar 2018 08:14:33 -0800 (PST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --=-=-= Content-Type: text/plain I'm trying to generate a disk image of Guix. The image creation process goes fine until the start of QEMU: creating raw image of 2607.99 MiB... Formatting '/gnu/store/fwjlpcwc3b81m2s6phwldwyxpd3wzsjm-disk-image', fmt=raw size=2734679872 Could not access KVM kernel module: Permission denied qemu-system-x86_64: failed to initialize KVM: Permission denied file-size: /gnu/store/xsb0k5lrbrc63kardzxa7h4qvland6n2-profile/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: No such file or directory file-size: /gnu/store/xsb0k5lrbrc63kardzxa7h4qvland6n2-profile/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H5:2.7.0.142.23.254.36.32.129.pem: No such file or directory file-size: /gnu/store/xsb0k5lrbrc63kardzxa7h4qvland6n2-profile/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem: No such file or directory file-size: /gnu/store/d48rkmvrbzaabxdldcrdps7cf27rm092-nss-certs-3.35/etc/ssl/certs/NetLock_Arany_=Class_Gold=_F??tan??s??tv??ny:2.6.73.65.44.228.0.16.pem: No such file or directory file-size: /gnu/store/d48rkmvrbzaabxdldcrdps7cf27rm092-nss-certs-3.35/etc/ssl/certs/T??RKTRUST_Elektronik_Sertifika_Hizmet_Sa??lay??c??s??_H5:2.7.0.142.23.254.36.32.129.pem: No such file or directory file-size: /gnu/store/d48rkmvrbzaabxdldcrdps7cf27rm092-nss-certs-3.35/etc/ssl/certs/AC_Ra??z_Certic??mara_S.A.:2.15.7.126.82.147.123.224.21.227.87.240.105.140.203.236.12.pem: No such file or directory Backtrace: 2 (primitive-load "/gnu/store/iyjms00w31p51gz9jfdvrlk7qnd?") In ./gnu/build/vm.scm: 163:4 1 (load-in-linux-vm _ #:output _ #:qemu _ #:memory-size _ ?) In unknown file: 0 (scm-error misc-error #f "~A ~S" ("qemu failed" "qem?") #) ERROR: In procedure scm-error: qemu failed "qemu-system-x86_64" builder for `/gnu/store/qaaf9mr4zwdpfxg0a7gvgl6wyrwrg5dn-disk-image.drv' failed with exit code 1 guix system: error: build failed: build of `/gnu/store/qaaf9mr4zwdpfxg0a7gvgl6wyrwrg5dn-disk-image.drv' failed My host system is Void Linux (which I don't know so well). Permissions for /dev/kvm seem to be correct: > ls -l /dev/kvm crw-rw---- 1 root kvm 0 2018-03-03 14:56 /dev/kvm My user is part of the kvm group. Also the module seems to be loaded fine: > lsmod | grep kvm kvm_intel 225280 0 kvm 630784 1 kvm_intel irqbypass 16384 1 kvm Not sure what's wrong. I am not very familiar with QEMU / KVM I'm afraid... Any clue? Besides, and maybe unrelated, some certificates seem to be missing. Any idea how that could happen? -- Pierre Neidhardt --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlqayegACgkQm9z0l6S7 zH/fCwf/Th7rUQAuni+C6P6+SL1kikKPCDpKvKPpqWg7dxF0iVojbAvLLs3slfWR TQpzrRz3N5g/Y/Cv+v4fpxEhPnQA53sbOVogBcUTRl3hwpW0QFfcxRjGd6HqfRtn j+YiSXKPnu6NSNtAyYU2v8JuY6dVKe9j98OMu32P7fpmir/91Jtvf8nh3lxOMY6A js9rvhhmW7/l1A8bvBRBqQaqoZVpIP6JNZBCqbsCiy+ofIMPXQPsS9Vzvk9l6Hc6 KfyYYQswRuxmipOMs8/md3OubPBWakxCer57I7b87NvH5h2F3Tx/nnvTnzXtbz17 Ua/GaoVsPgygNFpss0PP5Z4FF3A0Wg== =6ufK -----END PGP SIGNATURE----- --=-=-=--