From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: kvm-26 and Vista Date: Sun, 03 Jun 2007 19:02:12 +0300 Message-ID: <4662E604.7000905@qumranet.com> References: <59abf66e0706021634k1435f66mbdb1bdda450b178a@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: =?ISO-8859-1?Q?Jorge_Luc=E1ngeli_Obes?= Return-path: In-Reply-To: <59abf66e0706021634k1435f66mbdb1bdda450b178a-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jorge Luc=E1ngeli 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=3D47681685016573) at ../cpu-all.h:322 > 322 return *(uint32_t *)ptr; > (gdb) bt > #0 ldl_phys (addr=3D47681685016573) at ../cpu-all.h:322 > #1 0x000000000047e9dd in kvm_readl (opaque=3D0x7fffeaf13670, > = 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/