From mboxrd@z Thu Jan 1 00:00:00 1970 From: myglc2 Subject: bug#23838: Guix on Debian 8.3 'guix system vm ...' -> "ERROR: qemu failed "qemu-system-x86_64" Date: Fri, 24 Jun 2016 09:53:12 -0400 Message-ID: <86lh1ur8vr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRaa-00087y-8k for bug-guix@gnu.org; Fri, 24 Jun 2016 09:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGRaU-0007Xk-94 for bug-guix@gnu.org; Fri, 24 Jun 2016 09:56:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRaU-0007Xg-62 for bug-guix@gnu.org; Fri, 24 Jun 2016 09:56:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGRaT-0003gB-Qr for bug-guix@gnu.org; Fri, 24 Jun 2016 09:56:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRZo-0007RJ-Vc for bug-guix@gnu.org; Fri, 24 Jun 2016 09:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGRZi-0007Sk-QD for bug-guix@gnu.org; Fri, 24 Jun 2016 09:55:19 -0400 Received: from plane.gmane.org ([80.91.229.3]:39872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGRZi-0007Sa-IS for bug-guix@gnu.org; Fri, 24 Jun 2016 09:55:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bGRZg-00006h-8G for bug-guix@gnu.org; Fri, 24 Jun 2016 15:55:12 +0200 Received: from c-73-167-118-254.hsd1.ma.comcast.net ([73.167.118.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 15:55:12 +0200 Received: from myglc2 by c-73-167-118-254.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 15:55:12 +0200 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 23838@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Apologies in advance if I missed a required step & this is operator error as it is my first attempt to use QEMU/Debian. Running Guix on Debian 8.3, I set up qemu like this ... su apt-get update apt-get upgrade apt-get install qemu apt-get install qemu-kvm apt-get install libvirt-bin adduser g1 kvm adduser g1 libvirt ... then, as user g1, I checked that virsh commands work ... g1@e3b:~/dev/vms$ virsh list --all Id Name State ---------------------------------------------------- g1@e3b:~/dev/vms$ virsh --connect qemu:///system list --all Id Name State ---------------------------------------------------- g1@e3b:~/dev/vms$ virsh version --daemon Compiled against library: libvirt 1.2.9 Using library: libvirt 1.2.9 Using API: QEMU 1.2.9 Running hypervisor: QEMU 2.1.2 Running against daemon: 1.2.9 ... then, using this version of guix ... git branch -av | grep '* master' * master bae0636 bournish: Add 'wc' command. g1@e3b:~/dev/guix$ stat /home/g1/.config/guix/latest | grep File: File: ‘/home/g1/.config/guix/latest’ -> ‘../../dev/guix’ ... I tried making a guix vm ... g1@e3b:~/dev/vms$ guix system vm ../configs/c01system.scm --expose=$HOME --share=$HOME/tmp=/exchange --verbosity=1 ;;; note: source file /home/g1/.config/guix/latest/gnu/packages/screen.scm ;;; newer than compiled /home/g1/.config/guix/latest/gnu/packages/screen.go ;;; compiling /home/g1/.config/guix/latest/gnu/packages/screen.scm ;;; compiled /home/g1/.cache/guile/ccache/2.0-LE-8-2.0/home/g1/dev/guix/gnu/packages/screen.scm.go substitute: warning: failed to install locale: Invalid argument substitute: updating list of substitutes from 'http://hydra.gnu.org'... 100.0% The following derivations will be built: /gnu/store/jz6mlhlz7f5sp4g93spac69bxfjpjbqg-run-vm.sh.drv /gnu/store/5f6zfsx0fa0bzkl4ynqb1lf5pk3m4rfs-qemu-image.drv warning: failed to install locale: Invalid argument building path(s) `/gnu/store/nbppjjb2kkb17nr8jqas7hchkg669nv9-qemu-image' Formatting 'image.qcow2', fmt=qcow2 size=31457280 encryption=off cluster_size=65536 lazy_refcounts=off refcount_bits=16 Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied Backtrace: In ice-9/boot-9.scm: 157: 10 [catch #t # ...] In unknown file: ?: 9 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 7 [eval # #] In ice-9/boot-9.scm: 2401: 6 [save-module-excursion #] 4050: 5 [#] 1724: 4 [%start-stack load-stack #] 1729: 3 [#] In unknown file: ?: 2 [primitive-load "/gnu/store/kfakhvdns3vjpivw6pk0bkdqafywr9s9-qemu-image-builder"] In ./gnu/build/vm.scm: 127: 1 [load-in-linux-vm "/gnu/store/9yprr0vmwnpvlkr2a0jgylpf9py6cf83-linux-vm-loader" ...] In unknown file: ?: 0 [scm-error misc-error #f "~A ~S" ("qemu failed" "qemu-system-x86_64") #f] ERROR: In procedure scm-error: ERROR: qemu failed "qemu-system-x86_64" environment variable `PATH' set to `/gnu/store/nk0z0qs8g3i03jfyi6hr2rwnd9pg2qnv-qemu-minimal-2.6.0/bin:/gnu/store/34j2zmi69mqwrslpyizbi9mcxmn2hzgb-coreutils-8.24/bin' builder for `/gnu/store/5f6zfsx0fa0bzkl4ynqb1lf5pk3m4rfs-qemu-image.drv' failed with exit code 1 cannot build derivation `/gnu/store/jz6mlhlz7f5sp4g93spac69bxfjpjbqg-run-vm.sh.drv': 1 dependencies couldn't be built guix system: error: build failed: build of `/gnu/store/jz6mlhlz7f5sp4g93spac69bxfjpjbqg-run-vm.sh.drv' failed g1@e3b:~/dev/vms$ tia, - George --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=c01glc.scm Content-Transfer-Encoding: base64 KHVzZS1wYWNrYWdlLW1vZHVsZXMKIGdob3N0c2NyaXB0IDs7IGdzLWZvbnRzCiBmb250cyA7OyBm b250LWRlamF2dSBmb250LWdudS1mcmVlZm9udC10dGYKIGJhc2UKICkgCihwYWNrYWdlcy0+bWFu aWZlc3QKIChsaXN0CiAgZ3MtZm9udHMgZm9udC1kZWphdnUgZm9udC1nbnUtZnJlZWZvbnQtdHRm CiAgZ251LW1ha2UKICApKQo= --=-=-=--