From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B236B1381F3 for ; Wed, 24 Jul 2013 09:50:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CE3CE0A04; Wed, 24 Jul 2013 09:50:34 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 6A04CE09BE for ; Wed, 24 Jul 2013 09:50:33 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFG4rxNq/2dsb2JhbABEvw4Xc4IeAQEEOxsBKDcTIQUlJBOICwagC6EikClhA41+iA6FfohwgV6DEw X-IPAS-Result: Av4EABK/CFG4rxNq/2dsb2JhbABEvw4Xc4IeAQEEOxsBKDcTIQUlJBOICwagC6EikClhA41+iA6FfohwgV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="19679431" Received: from 184-175-19-106.dsl.teksavvy.com (HELO waltdnes.org) ([184.175.19.106]) by ironport2-out.teksavvy.com with SMTP; 24 Jul 2013 05:50:25 -0400 Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 24 Jul 2013 05:50:25 -0400 From: "Walter Dnes" Date: Wed, 24 Jul 2013 05:50:25 -0400 To: Gentoo Users List Subject: [gentoo-user] QEMU setup questions Message-ID: <20130724095025.GA24229@waltdnes.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 7b7b6e80-930f-4f43-836d-0a17d67ead2b X-Archives-Hash: d3cc3cfaa3e0c57a28757eb2c9140d13 So I emerged QEMU, which pulled in some dependancies. Things are not going well... 1) The following warning shows up in elog... > WARN: pretend > You have decided to compile your own SeaBIOS. This is not supported > by upstream unless you use their recommended toolchain (which you are > not). If you are intending to use this build with QEMU, realize you > will not receive any support if you have compiled your own SeaBIOS. > Virtual machines subtly fail based on changes in SeaBIOS. I don't see any USE flags about this. 2) I download a Gentoo install ISO, and create a 7 gig raw file sda.raw, and start qemu-kvm $ qemu-kvm -hda sda.raw -cdrom installx86.iso -boot d Could not access KVM kernel module: Permission denied failed to initialize KVM: Permission denied but... but... but... I am a member of group "kvm". 3) su to root and retry to start QEMU # qemu-kvm -hda sda.raw -cdrom installx86.iso -boot d qemu-system-x86_64: pci_add_option_rom: failed to find romfile "pxe-e1000.rom" VNC server running on `127.0.0.1:5900' So root has sufficient permission, but there's a problem with the BIOS, possibly related to item 1) above Note; I can run as regular user, either of the 2 commands... $ qemu-system-i386 -hda sda.raw -cdrom installx86.iso -boot d $ qemu-system-x86_64 -hda sda.raw -cdrom installx86.iso -boot d This doesn't run into permission problem 2), but still runs into the rom not found problem 3). 4) At least VNC is running. I emerged tigervnc and tried it $ vncviewer TigerVNC Viewer 64-bit v1.2.0 (20130723) Built on Jul 23 2013 at 21:36:16 Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt) See http://www.tigervnc.org for information on TigerVNC. X_ChangeGC: BadFont (invalid Font parameter) 0x0 ...and the dialog box is all blanks, presumably because of the missing fonts. I had QEMU working a few years ago, and I don't remember running into all these problems. What gives? -- Walter Dnes I don't run "desktop environments"; I run useful applications