public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: "Alejandro Riveira Fernández" <ariveira@gmail.com>
Cc: Avi Kivity <avi@redhat.com>,
	kvm@vger.kernel.org,
	Linux-Kernel-Mailing-List <linux-kernel@vger.kernel.org>
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	[thread overview]
Message-ID: <87d42zr8rl.fsf@spindle.srvr.nix> (raw)
In-Reply-To: <20091130130509.52762237@varda> (Alejandro Riveira Fernández's message of "Mon, 30 Nov 2009 13:05:09 +0100")

On 30 Nov 2009, Alejandro Riveira Fernández spake thusly:
>  When I install the infamous nvidia driver I use. « sudo stop gdm » 
> there are a start and restart aliases too see « man initctl ».

Aha! That's done it. New upstartish aliases I hadn't noticed...

FWIW, my qemu startup line (later adjusted, see below):

DISPLAY=mutilate: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=/vm/linux/ubuntwo.img,if=virtio,index=0,boot=on,format=raw \
    -drive file=/usr/local/tmp/ubuntu-9.10-beta-alternate-amd64.iso,if=ide,media=cdrom,index=2 \
    -net nic,macaddr=52:54:00:4b:f7:7f,vlan=0,model=virtio,name=virtio.0 \
    -net tap,vlan=0,ifname=ubuntwo,script=/sbin/qemu-linux.ifup,downscript=/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=0x117e5e8) at /usr/src/qemu/x86_64-spindle/hw/vmware_vga.c:572
572     /usr/src/qemu/x86_64-spindle/hw/vmware_vga.c: No such file or directory.
        in /usr/src/qemu/x86_64-spindle/hw/vmware_vga.c
(gdb) bt
#0  vmsvga_fifo_run (s=0x117e5e8) 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 soon
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 to
them, as qemu has stolen Ctrl-Alt for its own purposes: so the system is
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 for
*two flipping years*. Sheesh.

:/

  reply	other threads:[~2009-11-30 21:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-27 21:56 2.6.31.5 x86-64 KVM: 'emulation failed (pagetable) rip 7fb49335da7b 66 0f 7f 07' Nix
2009-11-29 10:43 ` Avi Kivity
2009-11-29 13:48   ` Nix
2009-11-29 14:23     ` Avi Kivity
2009-11-29 22:27       ` usb_add crashes stable kvm-0.11.0 Nix
2009-12-03  0:27         ` Nix
2009-11-29 23:31       ` 2.6.31.5 x86-64 KVM: 'emulation failed (pagetable) rip 7fb49335da7b 66 0f 7f 07' Nix
2009-11-30  8:15         ` Avi Kivity
2009-11-30 12:05         ` Alejandro Riveira Fernández
2009-11-30 21:40           ` Nix [this message]
2009-12-01  9:59             ` Avi Kivity
2009-12-01 10:12               ` Avi Kivity
2009-12-02 13:25       ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d42zr8rl.fsf@spindle.srvr.nix \
    --to=nix@esperi.org.uk \
    --cc=ariveira@gmail.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox