All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: Roland Dreier <rdreier@cisco.com>
Cc: kvm-devel <kvm@vger.kernel.org>
Subject: Re: Fresh install of Windows XP hangs early in boot?
Date: Tue, 29 Jul 2008 18:23:32 -0300	[thread overview]
Message-ID: <20080729212332.GA8331@dmt.cnet> (raw)
In-Reply-To: <adaiquo32eu.fsf@cisco.com>

On Tue, Jul 29, 2008 at 12:39:53PM -0700, Roland Dreier wrote:
> I built with debugging symbols, and this seems to be an issue with SCSI
> disk emulation.  The traceback is:
> 
> #0  0x00007fc086d7dd10 in memcpy () from /lib/libc.so.6
> #1  0x00000000004a319b in cpu_physical_memory_rw (addr=108661608,
>     buf=0x7fff904ca190 "\224['\206\210\030z\006I�A", len=4, is_write=0)
>     at /users/rdreier/kvm-deb.git/qemu/exec.c:2847
> #2  0x000000000041f0c2 in lsi_execute_script (s=0x2ef7a30) at ../cpu-all.h:924
> #3  0x000000000049bd91 in qcow_aio_read_cb (opaque=0x3018d70, ret=0) at block-qcow2.c:840
> #4  0x000000000041cba0 in qemu_aio_poll () at /users/rdreier/kvm-deb.git/qemu/block-raw-posix.c:513
> #5  0x000000000040b38a in main_loop_wait (timeout=<value optimized out>)
>     at /users/rdreier/kvm-deb.git/qemu/vl.c:7777
> #6  0x00000000004f607a in kvm_main_loop () at /users/rdreier/kvm-deb.git/qemu/qemu-kvm.c:587
> #7  0x0000000000412b46 in main (argc=<value optimized out>, argv=0x7fff904cb0c8)
>     at /users/rdreier/kvm-deb.git/qemu/vl.c:7811
> 
> and no progress ever seems to be made (the same address is read over and
> over)
> 
> I'm trying again with IDE instead of SCSI disks.  But I would like to
> help debug the SCSI emulation... will look at it further later, and I'm
> happy to provide any info someone else could use.

Hi Roland,

Known problem:
http://www.nabble.com/LSI:-avoid-infinite-loops-p17116605.html

Windows driver has scripts code which busy loops on main memory. Since
that executes in vcpu context, the cpu won't ever get a chance to change
the variable which the SCSI emulation is looping at.

The proposed hack, however, is half-assed (see Paul Brook's comments on
that thread).



  parent reply	other threads:[~2008-07-29 21:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <aday73k34zw.fsf@cisco.com>
2008-07-29 19:08 ` Fresh install of Windows XP hangs early in boot? Roland Dreier
2008-07-29 19:39   ` Roland Dreier
2008-07-29 21:02     ` Alberto Treviño
2008-07-29 21:23     ` Marcelo Tosatti [this message]
2008-07-29 22:00       ` Roland Dreier
2008-07-29 22:57         ` Marcelo Tosatti
2008-07-30  1:14           ` Marcelo Tosatti
2008-07-30  5:25             ` Roland Dreier
2008-07-30  3:27           ` Roland Dreier
2008-07-30  4:32         ` Alberto Treviño
2008-07-30  7:14         ` Chris Lalancette
2008-07-30 14:55           ` Roland Dreier
2008-07-30 15:13             ` Avi Kivity
2008-07-30  5:27       ` Roland Dreier
2008-07-31 19:34         ` Marcelo Tosatti

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=20080729212332.GA8331@dmt.cnet \
    --to=mtosatti@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=rdreier@cisco.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.