qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Alexander Graf <agraf@suse.de>
Cc: "qemu-devel@nongnu.org qemu-devel" <qemu-devel@nongnu.org>,
	Felix Deichmann <m4j0rd0m0@gmail.com>
Subject: Re: [Qemu-devel] qemu-ppc (prep) crashes with NetBSD guest
Date: Thu, 15 Aug 2013 15:39:23 +0200	[thread overview]
Message-ID: <520CDA0B.6030607@redhat.com> (raw)
In-Reply-To: <E3198CCE-550C-4ABD-B049-EDFD0F5CBC31@suse.de>

  Hi,

>> # qemu-system-ppc -nographic -M prep -m 128M -hda hda.qcow2 -cdrom 
>> NetBSD-6.1-prep.iso -serial ... -kernel sysinst_com0.fs
>> 
>> There seems to be a connection between the amount of RAM chosen
>> and the point where the crash happens. With 128M, qemu will crash
>> when the installer extracts some of the earlier packages, with 256M
>> the crash will happen later when extracting. Each one is
>> reproducible at the exact point of installation. And the amount of
>> bytes extracted could be the amount of RAM minus some number. (64M
>> and >256MB won't boot at all, so I could not finish
>> installation...)

>> Would be great if someone (also with a current qemu) could have a 
>> look, as I did not even manage to get a core file...
> 
> Gerd, this seems to be vbe related and you're the only person I know
> who might have a clue what's going on there :). Based on where the
> VGA code was crashing I came up with the following patch, but I'd
> assume the underlying issue is somewhere else.

Most likely it's somewhere else, yes.  I put my money on someone writing
random yunk into the vga's mmio bar, maybe due to netbsd not detecting
memory correctly.

What does 'info mtree' in the monitor print?

If you append '-global VGA.mmio=0' to the qemu command line, does that
change behavior?

cheers,
  Gerd

  reply	other threads:[~2013-08-15 13:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-13  6:45 [Qemu-devel] qemu-ppc (prep) crashes with NetBSD guest Felix Deichmann
2013-08-15 13:00 ` Alexander Graf
2013-08-15 13:39   ` Gerd Hoffmann [this message]
2013-08-15 14:04     ` Alexander Graf

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=520CDA0B.6030607@redhat.com \
    --to=kraxel@redhat.com \
    --cc=agraf@suse.de \
    --cc=m4j0rd0m0@gmail.com \
    --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).