All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Jorge Lucángeli Obes" <t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm-26 and Vista
Date: Sun, 03 Jun 2007 19:02:12 +0300	[thread overview]
Message-ID: <4662E604.7000905@qumranet.com> (raw)
In-Reply-To: <59abf66e0706021634k1435f66mbdb1bdda450b178a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Jorge Lucángeli Obes wrote:
> Hi everyone. I'm again trying to get 32-bit Vista Ultimate to run as a
> guest on my 64-bit Core 2 Duo T5600. I'm using Xubuntu Feisty with a
> custom 2.6.20.3 kernel and kvm-26. Avi's WBINVD patch in kvm-26 got
> Vista not to generate real-mode errors anymore. However, I still
> cannot get to boot it correctly. Now I get a "Bus error". Something,
> somewhere, is making unaligned reads:
>
> Program received signal SIGBUS, Bus error.
> [Switching to Thread 47681682213376 (LWP 6570)]
> ldl_phys (addr=47681685016573) at ../cpu-all.h:322
> 322         return *(uint32_t *)ptr;
> (gdb) bt
> #0  ldl_phys (addr=47681685016573) at ../cpu-all.h:322
> #1  0x000000000047e9dd in kvm_readl (opaque=0x7fffeaf13670,
>   


can you add a line here (kvm_readl)

    if (addr > 0x9fffc && addr < 0xa0000) return 0;

?

the problem is not the misalignment, it's reading from the vga address 
range at 0xa0000 which is not memory mapped.

I'm at a loss to explain why this doesn't happen here.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

  parent reply	other threads:[~2007-06-03 16:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-02 23:34 kvm-26 and Vista Jorge Lucángeli Obes
     [not found] ` <59abf66e0706021634k1435f66mbdb1bdda450b178a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-03 14:56   ` Nakajima, Jun
     [not found]     ` <97D612E30E1F88419025B06CB4CF1BE10262DA08-1a9uaKK1+wJcIJlls4ac1rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-03 15:10       ` Jorge Lucángeli Obes
2007-06-03 16:02   ` Avi Kivity [this message]
     [not found]     ` <4662E604.7000905-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-03 16:24       ` Jorge Lucángeli Obes
     [not found]         ` <59abf66e0706030924p37b38a9bh19c14fd13534ee3c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-04  9:43           ` Avi Kivity
     [not found]             ` <4663DEB2.2060807-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-04 14:58               ` Jorge Lucángeli Obes
     [not found]                 ` <59abf66e0706040758n5a16083er786acaeb50cb3326-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2007-06-05  2:01                   ` Jorge Lucángeli Obes

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=4662E604.7000905@qumranet.com \
    --to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=t4m5yn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.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 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.