|
From: | Struan Bartlett |
Subject: | Re: [Qemu-devel] Re: Re: Nothing happens |
Date: | Fri, 20 May 2005 01:30:17 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050420 Debian/1.7.7-2 |
I'm at a bit of a loss to explain this. My strace output is quite
different. I'm running the 2005-05-18 snapshot of qemu 0.7.0. I think it's time to start inserting fprintf(stderr, "OK1\n"); statements into your code, recompiling, to trace the error origin (or use gdb). In detail... Yours: $ grep ^open /tmp/qemu.log open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib/libdl.so.2", O_RDONLY) = 3 open("/lib/libc.so.6", O_RDONLY) = 3 open("/dev/urandom", O_RDONLY) = 3 open("/dev/tty", O_RDWR|O_NONBLOCK) = 3 open("/etc/mtab", O_RDONLY) = 3 open("/proc/meminfo", O_RDONLY) = 3 open("./run", O_RDONLY) = 3 Mine: $ grep ^open /tmp/q.log open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib/tls/libm.so.6", O_RDONLY) = 3 open("/usr/lib/libz.so.1", O_RDONLY) = 3 open("/usr/lib/libSDL-1.2.so.0", O_RDONLY) = 3 open("/lib/tls/libpthread.so.0", O_RDONLY) = 3 open("/lib/tls/libutil.so.1", O_RDONLY) = 3 open("/lib/tls/libc.so.6", O_RDONLY) = 3 open("/usr/X11R6/lib/libX11.so.6", O_RDONLY) = 3 open("/usr/X11R6/lib/libXext.so.6", O_RDONLY) = 3 open("/usr/lib/libasound.so.2", O_RDONLY) = 3 open("/lib/tls/libdl.so.2", O_RDONLY) = 3 open("/dev/net/tun", O_RDWR|O_LARGEFILE) = 3 open("/dev/shm/qemuybaeub", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4 open("/dev/shm/qemuybaeub", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE, 0600) = 5 open("c.img", O_RDONLY|O_LARGEFILE) = 6 open("c.img", O_RDWR|O_LARGEFILE) = 6 open("/dev/kqemu", O_RDWR|O_LARGEFILE) = 7 open("/home/struan/.Xauthority", O_RDONLY) = 9 open("/home/struan/.Xauthority", O_RDONLY) = 9 open("/home/struan/.Xauthority", O_RDONLY) = 10 open("/etc/ld.so.cache", O_RDONLY) = 10 open("/usr/lib/libXcursor.so.1", O_RDONLY) = 10 open("/usr/lib/libXrender.so.1", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/C/XI18N_OBJS", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/locale.alias", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/locale.dir", O_RDONLY) = 10 open("/usr/X11R6/lib/X11/locale/C/XLC_LOCALE", O_RDONLY) = 10 open("/home/struan/.Xdefaults-xebedee", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/stat", O_RDONLY) = 10 open("/usr/local/share/qemu/bios.bin", O_RDONLY|O_LARGEFILE) = 10 open("/usr/local/share/qemu/bios.bin", O_RDONLY|O_LARGEFILE) = 10 open("/usr/local/share/qemu/vgabios-cirrus.bin", O_RDONLY|O_LARGEFILE) = 10 open("/etc/localtime", O_RDONLY) = 10 Rudi Lippert wrote: well, nothing really means nothing. the guest window does not come up, and the console window does not show anything, even with -monitor stdio. the thread just goes to sleep. strace may be interesting, and 5kb are not too much, i think, so here it comes. thanks for now, Rudi Struan Bartlett wrote:How do you mean 'nothing'? Can you be more precise? Does it display the network interface configuration? open the guest window? Or really is does it just hang immediately? With the '-monitor stdio' option does it give you a monitor prompt? Have you tried running qemu with: strace qemu <your normal options> 2>/tmp/qemu.log On Wed, 18 May 2005, Rudi Lippert wrote:My OS: GNU/Linux (Gentoo) QEMU Version: 0.7.0, compiled using the standard ebuild; no kqemu or qvm86 I'd include the exact build options, but they're rather lengthy. I've experienced the same problem with 0.6.1 and CVS somewhere in between 0.6.1 and 0.7.0. Cheers, Rudi Hetz Ben Hamo wrote:How about starting with trivial details such as: * Which host OS do you use? * Which QEMU version? * binaries downloaded or did you compile it? Thanks, Hetz On 5/18/05, Rudi Lippert <address@hidden> wrote:Hi! I keep wondering why QEMU does not do anything when I start it. First of all: yes, I know how to use QEMU. When I use it on my other PC, it works like a charm. The major difference between the two systems is, that this one is an AMD64. And here is what happens when I start QEMU: Nothing. No output, no CPU activity. I know that this is not a whole lot of information, but I will provide any further information that is requested. Thanks in advance! Rudi Lippert (Herzogenaurach, Germany) |
[Prev in Thread] | Current Thread | [Next in Thread] |