qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@ums.usu.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Re: Firefox crashes inside qemu
Date: Mon, 03 Jan 2005 12:16:47 +0500	[thread overview]
Message-ID: <crarf3$jh0$1@sea.gmane.org> (raw)
In-Reply-To: cr98ce$14f$1@sea.gmane.org

Alexander E. Patrakov wrote:

> Lennert Buytenhek wrote:
> 
>> On Sun, Jan 02, 2005 at 08:36:30PM +0500, Alexander E. Patrakov wrote:
>> 
>>> >> Firefox will crash. I suppose that there is some bug in the CPU
>>> >> emulation.
>>> >> 
>>> >> How can I help debugging this problem further?
>>> > 
>>> > Can you try that disk image on a 'real' machine and see if it crashes
>>> > then also?
>>> 
>>> I instaled win2k from the same CD to a real computer. Firefox downloaded
>>> from the same URL doesn't crash under the same condition.
>> 
>> There are many different factors in both scenarios besides that one of
>> them uses qemu and the other one does not: disk size, video card, network
>> card, etc.
>> 
>> 
>>> But how do I test a qemu image on a real machine?
>> 
>> I would just dd it to an old IDE disk, even though that might give issues
>> with differing head/sector counts.
>> 
>> dd if=disk.img of=/dev/hdx bs=1024k
>> 
>> (Where /dev/hdx is the old IDE disk.)
> 
> I see. The problem is that I don't have any old IDE disk at hand. But I
> will dd that into VMware tomorrow in order to see if the installation is
> really bad. As for the geometry, the doc at
> http://linux-ntfs.sourceforge.net/ntfs/files/boot.html is known sufficient
> for fixing such issues.
> 

After changing the IDE driver to "generic dual-channel" (in order to avoid
"inaccessible boot device" blue screen) and dd'ing the disk image into
VMware (using Knoppix and ssh to the host), Firefox doesn't crash. So the
problem is indeed in qemu.

I also had private mail conversation with marc, who suggested to try his
"interp" patch. Since qemu cannot boot win2k with this patch, I had to boot
win2k with the regular qemu, savevm, loadvm into patched qemu and only then
start Firefox. It then crashed as described in the first mail in this
thread.

I hope this information is useful.

-- 
Alexander E. Patrakov

  reply	other threads:[~2005-01-03  7:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-02 14:33 [Qemu-devel] Firefox crashes inside qemu Alexander E. Patrakov
2005-01-02 14:56 ` Lennert Buytenhek
2005-01-02 15:36   ` [Qemu-devel] " Alexander E. Patrakov
2005-01-02 15:57     ` Lennert Buytenhek
2005-01-02 16:45       ` [Qemu-devel] " Alexander E. Patrakov
2005-01-03  7:16         ` Alexander E. Patrakov [this message]
2005-01-03 14:28           ` Lennert Buytenhek
2005-01-03 14:53             ` [Qemu-devel] " Alexander E. Patrakov
2005-01-03 15:16             ` [Qemu-devel] " Alexander E. Patrakov

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='crarf3$jh0$1@sea.gmane.org' \
    --to=patrakov@ums.usu.ru \
    --cc=qemu-devel@nongnu.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).