Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DYuh2-0002ZM-13 for qemu-devel@nongnu.org; Thu, 19 May 2005 19:44:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DYugw-0002Wo-6F for qemu-devel@nongnu.org; Thu, 19 May 2005 19:44:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYugu-0002NZ-Ch for qemu-devel@nongnu.org; Thu, 19 May 2005 19:44:36 -0400 Received: from [217.204.41.189] (helo=kula.newsnow.net) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DYubW-0001Ba-W2 for qemu-devel@nongnu.org; Thu, 19 May 2005 19:39:03 -0400 Received: from r3j188.chello.upc.cz ([213.220.201.188] helo=[192.168.0.4]) by kula.newsnow.net with esmtp (Exim 3.35 #1 (Debian)) id 1DYuT4-0008Pz-00 for ; Fri, 20 May 2005 00:30:18 +0100 Message-ID: <428D2189.3020501@praguespringpeople.org> Date: Fri, 20 May 2005 01:30:17 +0200 From: Struan Bartlett MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Re: Nothing happens References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------040607070008070808060207" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------040607070008070808060207 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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 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 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) >>>>> >>>>> >>>>> >>>>>------------------------------------------------------------------------ >>>>> >>>>>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, >>>>> >>>>> >>>>>------------------------------------------------------------------------ >>>>> >>>>>_______________________________________________ >>>>>Qemu-devel mailing list >>>>>Qemu-devel@nongnu.org >>>>>http://lists.nongnu.org/mailman/listinfo/qemu-devel >>>>> >>>>> --------------040607070008070808060207 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit 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 <Rudi@lyrikpage.de> 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)

          

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 Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel
--------------040607070008070808060207--