Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: Gentoo Users List <gentoo-user@l.g.o>
Subject: [gentoo-user] QEMU setup questions
Date: Wed, 24 Jul 2013 09:50:39
Message-Id: 20130724095025.GA24229@waltdnes.org
1 So I emerged QEMU, which pulled in some dependancies. Things are not
2 going well...
3
4 1) The following warning shows up in elog...
5
6 > WARN: pretend
7 > You have decided to compile your own SeaBIOS. This is not supported
8 > by upstream unless you use their recommended toolchain (which you are
9 > not). If you are intending to use this build with QEMU, realize you
10 > will not receive any support if you have compiled your own SeaBIOS.
11 > Virtual machines subtly fail based on changes in SeaBIOS.
12
13 I don't see any USE flags about this.
14
15
16 2) I download a Gentoo install ISO, and create a 7 gig raw file sda.raw,
17 and start qemu-kvm
18
19 $ qemu-kvm -hda sda.raw -cdrom installx86.iso -boot d
20 Could not access KVM kernel module: Permission denied
21 failed to initialize KVM: Permission denied
22
23 but... but... but... I am a member of group "kvm".
24
25
26 3) su to root and retry to start QEMU
27
28 # qemu-kvm -hda sda.raw -cdrom installx86.iso -boot d
29 qemu-system-x86_64: pci_add_option_rom: failed to find romfile "pxe-e1000.rom"
30 VNC server running on `127.0.0.1:5900'
31
32 So root has sufficient permission, but there's a problem with the BIOS,
33 possibly related to item 1) above
34
35 Note; I can run as regular user, either of the 2 commands...
36 $ qemu-system-i386 -hda sda.raw -cdrom installx86.iso -boot d
37 $ qemu-system-x86_64 -hda sda.raw -cdrom installx86.iso -boot d
38 This doesn't run into permission problem 2), but still runs into the
39 rom not found problem 3).
40
41 4) At least VNC is running. I emerged tigervnc and tried it
42
43 $ vncviewer
44
45 TigerVNC Viewer 64-bit v1.2.0 (20130723)
46 Built on Jul 23 2013 at 21:36:16
47 Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
48 See http://www.tigervnc.org for information on TigerVNC.
49 X_ChangeGC: BadFont (invalid Font parameter) 0x0
50
51 ...and the dialog box is all blanks, presumably because of the missing
52 fonts.
53
54
55 I had QEMU working a few years ago, and I don't remember running into
56 all these problems. What gives?
57
58 --
59 Walter Dnes <waltdnes@××××××××.org>
60 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] QEMU setup questions William Kenworthy <billk@×××××××××.au>
Re: [gentoo-user] QEMU setup questions Kerin Millar <kerframil@×××××××××××.uk>
Re: [gentoo-user] QEMU setup questions Walter Dnes <waltdnes@××××××××.org>