Skip to contentSkip to conversation

Nothing happens

Qemu-devel Rudi Lippert 7 participants 10 messages May 18, 2005 – May 21, 2005

lore
Share & tools
lore
#0 lore raw

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)

#1 lore raw

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

Quoted 18 lines · Rudi Lippert

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)

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#2 lore raw

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

Quoted 28 lines · Hetz Ben Hamo

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

Quoted 18 lines · Rudi Lippert

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)

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#3 lore raw

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

Quoted 51 lines · Rudi Lippert

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

Quoted 28 lines · Hetz Ben Hamo

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

Quoted 18 lines · Rudi Lippert

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)

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#4 lore raw

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

Quoted 6 lines · Struan Bartlett

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?

Quoted 43 lines

Have you tried running qemu with:

strace qemu <your normal options> 2>/tmp/qemu.log

Quoted 37 lines · Rudi Lippert

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

Quoted 23 lines · Hetz Ben Hamo

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

Quoted 13 lines · Rudi Lippert

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)

execve("./run", ["./run", "-monitor", "stdio"], [/* 57 vars */]) = 0
uname({sys="Linux", node="rudi", ...}) = 0
brk(0) = 0x5ba000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=100748, ...}) = 0
mmap(NULL, 100748, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9556c000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\17\0"..., 640) = 640
lseek(3, 624, SEEK_SET) = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=11480, ...}) = 0
mmap(NULL, 1056984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a9566c000 mprotect(0x2a9566e000, 1048792, PROT_NONE) = 0
mmap(0x2a9576c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x2a9576c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\316"..., 640) = 640
lseek(3, 624, SEEK_SET) = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1270528, ...}) = 0
mmap(NULL, 2250248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a9576f000 mprotect(0x2a9588b000, 1086984, PROT_NONE) = 0
mmap(0x2a9596f000, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100000) = 0x2a9596f000 mmap(0x2a95990000, 17928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95990000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95995000 mprotect(0x2a9598a000, 12288, PROT_READ) = 0
munmap(0x2a9556c000, 100748) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\211\377\260-\276\3508\247", 8) = 8
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0

open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
close(3)                                = 0
brk(0)                                  = 0x5ba000
brk(0x5db000)                           = 0x5db000
getuid()                                = 1000
getgid()                                = 100
geteuid()                               = 1000
getegid()                               = 100

rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/etc/mtab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=694, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000 read(3, "/dev/hdc3 / ext3 rw,noatime 0 0\n"..., 4096) = 694

close(3)                                = 0
munmap(0x2a9556c000, 4096)              = 0
open("/proc/meminfo", O_RDONLY)         = 3

fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000
read(3, "MemTotal: 1026832 kB\nMemFre"..., 1024) = 600
close(3) = 0
munmap(0x2a9556c000, 4096) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="rudi", ...}) = 0
stat("/vms/w2k", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

getpid()                                = 11960
getppid()                               = 11959
getpgrp()                               = 11959

rt_sigaction(SIGCHLD, {0x431290, [], SA_RESTORER, 0x2a9579eba0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("./run", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffefe0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, "#!/bin/bash\n/usr/local/bin/qemu "..., 80) = 76
lseek(3, 0, SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0

dup2(3, 255)                            = 255
close(3)                                = 0
fcntl(255, F_SETFD, FD_CLOEXEC)         = 0
fcntl(255, F_GETFL)                     = 0x8000 (flags O_RDONLY|O_LARGEFILE)

fstat(255, {st_mode=S_IFREG|0755, st_size=76, ...}) = 0
lseek(255, 0, SEEK_CUR) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/bash\n/usr/local/bin/qemu "..., 76) = 76 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork() = 11961
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0 rt_sigaction(SIGINT, {0x4300d0, [], SA_RESTORER, 0x2a9579eba0}, {SIG_DFL}, 8) = 0 wait4(-1, <unfinished ...>

#5 lore raw

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
Quoted 178 lines · Rudi Lippert

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

Quoted 164 lines · Struan Bartlett

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

Quoted 150 lines · Rudi Lippert

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

Quoted 134 lines · Hetz Ben Hamo

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

Quoted 122 lines · Rudi Lippert

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)

------------------------------------------------------------------------

execve("./run", ["./run", "-monitor", "stdio"], [/* 57 vars */]) = 0
uname({sys="Linux", node="rudi", ...}) = 0
brk(0) = 0x5ba000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=100748, ...}) = 0
mmap(NULL, 100748, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2a9556c000
close(3) = 0
open("/lib/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\17\0"..., 640) = 640
lseek(3, 624, SEEK_SET) = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=11480, ...}) = 0
mmap(NULL, 1056984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a9566c000 mprotect(0x2a9566e000, 1048792, PROT_NONE) = 0
mmap(0x2a9576c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x2a9576c000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260\316"..., 640) = 640
lseek(3, 624, SEEK_SET) = 624
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\2\0\0\0\4\0\0\0"..., 32) = 32
fstat(3, {st_mode=S_IFREG|0755, st_size=1270528, ...}) = 0
mmap(NULL, 2250248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2a9576f000 mprotect(0x2a9588b000, 1086984, PROT_NONE) = 0
mmap(0x2a9596f000, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x100000) = 0x2a9596f000 mmap(0x2a95990000, 17928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2a95990000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a95995000 mprotect(0x2a9598a000, 12288, PROT_READ) = 0
munmap(0x2a9556c000, 100748) = 0
open("/dev/urandom", O_RDONLY) = 3
read(3, "\211\377\260-\276\3508\247", 8) = 8
close(3) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0

open("/dev/tty", O_RDWR|O_NONBLOCK)     = 3
close(3)                                = 0
brk(0)                                  = 0x5ba000
brk(0x5db000)                           = 0x5db000
getuid()                                = 1000
getgid()                                = 100
geteuid()                               = 1000
getegid()                               = 100

rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("/etc/mtab", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=694, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000 read(3, "/dev/hdc3 / ext3 rw,noatime 0 0\n"..., 4096) = 694

close(3)                                = 0
munmap(0x2a9556c000, 4096)              = 0
open("/proc/meminfo", O_RDONLY)         = 3

fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9556c000
read(3, "MemTotal: 1026832 kB\nMemFre"..., 1024) = 600
close(3) = 0
munmap(0x2a9556c000, 4096) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="rudi", ...}) = 0
stat("/vms/w2k", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

getpid()                                = 11960
getppid()                               = 11959
getpgrp()                               = 11959

rt_sigaction(SIGCHLD, {0x431290, [], SA_RESTORER, 0x2a9579eba0}, {SIG_DFL}, 8) = 0 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
open("./run", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fbfffefe0) = -1 ENOTTY (Inappropriate ioctl for device)
lseek(3, 0, SEEK_CUR) = 0
read(3, "#!/bin/bash\n/usr/local/bin/qemu "..., 80) = 76
lseek(3, 0, SEEK_SET) = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0

dup2(3, 255)                            = 255
close(3)                                = 0
fcntl(255, F_SETFD, FD_CLOEXEC)         = 0
fcntl(255, F_GETFL)                     = 0x8000 (flags O_RDONLY|O_LARGEFILE)

fstat(255, {st_mode=S_IFREG|0755, st_size=76, ...}) = 0
lseek(255, 0, SEEK_CUR) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0
read(255, "#!/bin/bash\n/usr/local/bin/qemu "..., 76) = 76 rt_sigprocmask(SIG_BLOCK, NULL, [RTMIN], 8) = 0 rt_sigprocmask(SIG_BLOCK, [INT CHLD], [RTMIN], 8) = 0
fork() = 11961
rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0 rt_sigprocmask(SIG_SETMASK, [RTMIN], NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, [CHLD], [RTMIN], 8) = 0 rt_sigaction(SIGINT, {0x4300d0, [], SA_RESTORER, 0x2a9579eba0}, {SIG_DFL}, 8) = 0 wait4(-1, <unfinished ...>

------------------------------------------------------------------------

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#6 lore raw
In reply to Rudi Lippert
Quoted 10 lines · Rudi Lippert

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

[...]

Do you have the SDL devel packages installed? Usually people have this problem when they compiled Qemu without SDL... Could you compare what SDL packages are installed on the two computers?

#7 lore raw
In reply to Rudi Lippert

----- Original Message -----
From: "Rudi Lippert" <[email protected]>

Quoted 3 lines

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

Quoted 1 line

works like a charm.

I had similar problems when I run qemu on NT4 for a while ago. Using "-nics 0" make the system start. The sad thing is that qemu by default (at least never versions) doesn't write any error messages or output when it's started on Windows. I did report this for a while ago by didn't have any response.

http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00006.html

PEK

#8 lore raw
Quoted 16 lines · Per-Erik Kristensson

----- Original Message -----
From: "Rudi Lippert" <[email protected]>

Quoted 5 lines

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

Quoted 3 lines

works like a charm.

Quoted 10 lines

I had similar problems when I run qemu on NT4 for a while ago. Using "-nics 0" make the system start. The sad thing is that qemu by default (at least never versions) doesn't write any error messages or output when it's started on Windows. I did report this for a while ago by didn't have any response.

http://lists.gnu.org/archive/html/qemu-devel/2005-05/msg00006.html

PEK

PEK,

The no-console-on-Windows can be resolved by linking extra libraries, as per http://lists.gnu.org/archive/html/qemu-devel/2005-04/msg00422.html

Damien

#9 lore raw
Quoted 2 lines · Damien Mascord

The no-console-on-Windows can be resolved by linking extra libraries, as per http://lists.gnu.org/archive/html/qemu-devel/2005-04/msg00422.html

Actually, no additional libs are needed, just the -mconsole compile-time option. Another option is to edit the compiled executable, I posted a small program that does that a while ago:
<http://lists.gnu.org/archive/html/qemu-devel/2005-04/msg00437.html>

Signature · 4 lines
< Jernej Simoncic ><><><><>< http://deepthought.ena.si/ >

Logic is a systematic method of coming to the wrong conclusion with confidence.
       -- Manley's Maxim