From: Nix Subject: Re: 2.6.31.5 x86-64 KVM: 'emulation failed (pagetable) rip 7fb49335da7b 66 0f 7f 07' Date: Mon, 30 Nov 2009 21:40:46 +0000 Message-ID: <87d42zr8rl.fsf@spindle.srvr.nix> References: <87skbzvdgd.fsf@spindle.srvr.nix> <4B125051.6010506@redhat.com> <87k4x9saqn.fsf@spindle.srvr.nix> <4B1283F5.5060204@redhat.com> <87y6lorjq6.fsf@spindle.srvr.nix> <20091130130509.52762237@varda> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Avi Kivity , kvm@vger.kernel.org, Linux-Kernel-Mailing-List To: Alejandro Riveira =?iso-8859-1?Q?Fern=E1ndez?= Return-path: In-Reply-To: <20091130130509.52762237@varda> (Alejandro Riveira =?iso-8859-1?Q?Fern=E1ndez's?= message of "Mon, 30 Nov 2009 13:05:09 +0100") Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 30 Nov 2009, Alejandro Riveira Fern=E1ndez spake thusly: > When I install the infamous nvidia driver I use. =AB sudo stop gdm =BB= =20 > there are a start and restart aliases too see =AB man initctl =BB. Aha! That's done it. New upstartish aliases I hadn't noticed... =46WIW, my qemu startup line (later adjusted, see below): DISPLAY=3Dmutilate:0 /usr/bin/qemu-system-x86_64 -M pc-0.11 -enable-kvm= -m 1024 \ -smp 2 -name ubuntwo -vnc :0 -boot c \ -drive file=3D/vm/linux/ubuntwo.img,if=3Dvirtio,index=3D0,boot=3Don= ,format=3Draw \ -drive file=3D/usr/local/tmp/ubuntu-9.10-beta-alternate-amd64.iso,i= f=3Dide,media=3Dcdrom,index=3D2 \ -net nic,macaddr=3D52:54:00:4b:f7:7f,vlan=3D0,model=3Dvirtio,name=3D= virtio.0 \ -net tap,vlan=3D0,ifname=3Dubuntwo,script=3D/sbin/qemu-linux.ifup,d= ownscript=3D/sbin/qemu-linux.ifdown \ -parallel none -usb -k en-gb -vga vmware -soundhw ac97 -runas linux= -vm \ -serial mon:telnet::10404,server,nowait > Sometimes is not enough though and I have to stop gdm and then pkill > the X server Unfortunately stopping X renders the vnc console useless. I got the SDL console working (note for frustrated others: a quick 'xhost +blah' no longer works in recent X versions, xhost support is gone from the server: you must propagate your xauth cookie across instead), whereupon it coredumps on me with a pretty-much-useless stacktrace: vmsvga_fifo_run (s=3D0x117e5e8) at /usr/src/qemu/x86_64-spindle/hw/vmwa= re_vga.c:572 572 /usr/src/qemu/x86_64-spindle/hw/vmware_vga.c: No such file or d= irectory. in /usr/src/qemu/x86_64-spindle/hw/vmware_vga.c (gdb) bt #0 vmsvga_fifo_run (s=3D0x117e5e8) at /usr/src/qemu/x86_64-spindle/hw/= vmware_vga.c:572 #1 0x0000000000000000 in ?? () I seem to be getting a lot of coredumps from qemu right now :( So I started with -vga std. The emulation failed flood is unaffected (strangely it's not consistent: it happens about half the time). As soo= n as I issue a 'stop gdm', X exits and the emulation flood halts: but although there are other getties running I can't find a way to switch t= o them, as qemu has stolen Ctrl-Alt for its own purposes: so the system i= s pretty much useless (maybe I should get an sshd up and try to restart things from there). (I've never needed to do this before: either my qemus have been text mode all the time, or X with one console.) Surely switching VTs is possible: any clues? Unfortunately Ubuntu bug 417859 has broken the recovery console so I can't use that to get me in in text mode and *then* start X. Not fixed, but then it's only a bug in something critical to system recovery which has been open for months and has had variations on the same bug open fo= r *two flipping years*. Sheesh. :/