From: Werner Dittmann <Werner.Dittmann@t-online.de>
To: qemu-devel@nongnu.org
Cc: ncmike@ncultra.org
Subject: Re: [Qemu-devel] problem with 64/64 guest running grub
Date: Sat, 13 Jan 2007 10:06:03 +0100 [thread overview]
Message-ID: <45A8A0FB.3080005@t-online.de> (raw)
In-Reply-To: <45A284D6.2080805@t-online.de>
Doing some more tests and trying to get more info about the problem
shows some common behaviours:
- the problems are with the x86_64 emulation regardless if it is
running on a 32bit or 64bit host (in my case always Linux host)
- The problems happen in all qemu modes: no kqemu, user kqemu, kernel
kqemu. The main difference: happens on different times during the
installation process
- It happens (at least this is what I can see) only if the 64 bit kernel
that runs in qemu-system-x86_64 executes a 32 bit application. For
example grub is a 32 bit application that runs in the 64bit kernel,
some installation programs (at least in Suse) are also 32bit applications.
The last statement is supported by the following oberservation: when
Qemu crashes or hangs I very often see some strange register values, for
example:
RBX=ffffffff80523028
RSP=ffffffff80522dc0
RIP=ffffffff8025e67c
If you remove the ff s then you have e.g. a instrution pointer address
that is usually a valid address of a 32bit environment. IMHO something
could be wrong with 32bit support inside qemu-system-x86_64.
Any more ideas where to look to "embrace" the problem?
Regards,
Werner
Werner Dittmann wrote:
> Same happen to Suse 64 host/64 guest system (Suse 10.1). A 32-bit
> guest system install quite well.
>
> My trace shows the same symptom: Qemu seems to loop in a very tight
> loop. Sometimes (using infoe registers rapidly) I can even see that
> it seems to switch to 32bit mode inside the guest kernel maybe because
> a 32 bit application is running?
>
> No kqemu is involved when running the 64bit guest, started with
> -no-kqemu.
>
> As mike wrote: any hint how I can help to tackle the problem is
> appreciated.
>
>
> Regards,
> Werner
>
>
> Mike Day wrote:
>> I'm having a problem with qemu (cvs and 0.8.2) running on a 64 bit
>> athlon x2 with a 64 bit guest. When installing edgy in a new 64-bit
>> guest, the guest always freezes when installing grub on the boot
>> partition.
>> This only happens with a 64/64 system. I can run the guest in qemu (as
>> opposed to
>> qemu-system-x86_64) and use grub to install itself, but if I try to do
>> the same thing with qemu-system-x86_64 it hangs.
>> After generating a trace file and stepping through the hang in gdb it
>> looks like the guest is getting overwhhelmed with interrupts. It
>> reminds me of a situation where some device driver is forgetting to
>> issue an eoi and the interrupt line is remaining on, which means that
>> the guest can never make any progress advancing the instruction
>> pointer.
>>
>> I've placed a compressed log file at
>> http://www.ncultra.org/qemu.log.tgz
>>
>> I'd be happy to spend some more time runnign this down - if anyone has
>> any suggestions on how I should proceed I'd be grateful.
>> Mike
>>
>>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
prev parent reply other threads:[~2007-01-13 9:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-08 13:53 [Qemu-devel] problem with 64/64 guest running grub Mike Day
2007-01-08 17:52 ` Werner Dittmann
2007-01-11 18:10 ` [Qemu-devel] Re: problem with 64/64 guest running grub (also 32/64) Ludovic Drolez
2007-01-13 9:06 ` Werner Dittmann [this message]
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=45A8A0FB.3080005@t-online.de \
--to=werner.dittmann@t-online.de \
--cc=ncmike@ncultra.org \
--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).