qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1158912] Re: QEMU Version 1.4.0 - SLIRP hangs VM


From: Kenneth Salerno
Subject: [Qemu-devel] [Bug 1158912] Re: QEMU Version 1.4.0 - SLIRP hangs VM
Date: Mon, 25 Mar 2013 20:57:46 -0000

Result of git bisect:

commit 837d1f978224f7e7b020c71ffb10b291952cc596
Merge: a6fc23e 2b35e93
Author: Blue Swirl <address@hidden>
Date:   Sat Jan 12 12:46:57 2013 +0000

    Merge branch 's390-reorg' of git://repo.or.cz/qemu/rth
    
    * 's390-reorg' of git://repo.or.cz/qemu/rth: (149 commits)
      target-s390: Claim maintainership
      target-s390: Use noreturn for exception and load_psw
      target-s390: Use TCG_CALL_NO_WG for misc helpers
      target-s390: Use TCG_CALL_NO_WG for integer helpers
      target-s390: Use TCG_CALL_NO_WG for floating-point helpers
      target-s390: Use TCG_CALL_NO_WG for memory helpers
      target-s390: Perform COMPARE AND SWAP inline
      target-s390: Optimize get_address
      target-s390: Optimize ADDC/SUBB
      target-s390: Optimize ADDU/SUBU CC testing
      target-s390: Tidy comparisons
      target-s390: Optmize emitting discards
      target-s390: Optimize XC
      target-s390: Fix cpu_clone_regs
      target-s390: Implement LOAD/SET FP AND SIGNAL
      target-s390: Implement SET ROUNDING MODE
      target-s390: Use uint64_to_float128
      target-s390: Implement LCDFR
      target-s390: Check insn operand specifications
      target-s390: Implement CPSDR
      ...


There are 1,484 files affected by this commit - Is there a way I can narrow 
this down even further within this commit?

Also attaching "strace -f" output from guest during execution of "zypper
dup" leading to hang, as well as corresponding qemu gdb log following
hang.

The last lines of the strace are:

time(NULL)                              = 1364222018
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
uname({sys="Linux", node="suse-ppc", ...}) = 0
write(3, "2013-03-25 10:33:38 <1> suse-ppc"..., 127) = 127
time(NULL)                              = 1364222018
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
uname({sys="Linux", node="suse-ppc", ...}) = 0
write(3, "2013-03-25 10:33:38 <1> suse-ppc"..., 137) = 137
close(9)                                = 0
time(NULL)                              = 1364222018
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
uname({sys="Linux", node="suse-ppc", ...}) = 0
write(3, "2013-03-25 10:33:38 <1> suse-ppc"..., 127) = 127
time(NULL)                              = 1364222018
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
uname({sys="Linux", node="suse-ppc", ...}) = 0
write(3, "2013-03-25 10:33:38 <1> suse-ppc"..., 137   <------------ QEMU window 
becomes unresponsive

** Attachment added: "strace log"
   
https://bugs.launchpad.net/qemu/+bug/1158912/+attachment/3596880/+files/suse-strace.log

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1158912

Title:
  QEMU Version 1.4.0 - SLIRP hangs VM

Status in QEMU:
  New

Bug description:
  (Note: problem is not present in version 1.3.0)

  Stacktrace: please see attached gdb log file.

  Steps to reproduce:

  1. gdb -x debug-qemu.gdb testing/qemu-1.4.0/ppc64-softmmu/qemu-system-
  ppc64

  Contents of debug-qemu.gdb:

  run -L ./testing/qemu-1.4.0/pc-bios  -name "[DEBUG] Software und
  System-Entwicklung IBM POWER7" -cpu POWER7_v2.3 -M pseries -m 1024
  -rtc base=utc -nodefaults -vga std -monitor vc -serial vc -netdev
  type=user,id=mynet0,hostfwd=tcp:127.0.0.1:9011-10.0.2.11:22 -device
  virtio-net-pci,netdev=mynet0 -drive file=images/suse-
  ppc.img,if=virtio,index=0,media=disk,cache=unsafe -kernel
  images/iso/suseboot/vmlinux -append "root=/dev/mapper/system-root ro
  audit=0 selinux=0 apparmor=0" -initrd images/iso/suseboot/initrd.img
  -drive if=scsi,bus=0,unit=0,media=cdrom

  
  2. build information
      QEMU: ppc64 full emulation, version 1.4.0
      Host OS: Windows XP
      Guest OS: openSUSE 12.2 kernel 3.4.6-2.10-ppc64

      PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin:$PATH
      PKG_CONFIG_LIBDIR=/usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig
      THREADS=4
      export PKG_CONFIG_LIBDIR
      
      sed -i 's/--static-libs/--static --libs/' configure
      CC=i686-pc-mingw32-gcc ./configure \
            --target-list=ppc64-softmmu \
            --enable-debug \
            --enable-sdl \
            --static \
            --enable-fdt && \
      sed -i 's/ -Wl,--dynamicbase//g; s/-Wl,--nxcompat //g;'  config-host.mak 
&& \
      make -j$THREADS && {
            echo "renaming binw.exe to bin.exe..."
            for i in `echo $TARGET_LIST | tr ',' ' '`; do
                   BINARCH=`echo $i | sed 's/-softmmu//'`
                   mv $i/qemu-system-${BINARCH}w.exe \
                          $i/qemu-system-$BINARCH.exe
            done
      }

     
  3. From VM: 
      Command to hang VM: zypper dup
      Last message before VM hang:  Retrieving repository 
'openSUSE-12.2-12.2-0' metadata -----------------------[|]

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1158912/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]