From mboxrd@z Thu Jan 1 00:00:00 1970 From: Soren Hansen Subject: 32-bit binaries failing in 64 bit guests after using vmport Date: Mon, 21 Apr 2008 09:08:16 +0200 Message-ID: <20080421070816.GC10318@ralph.linux2go.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0807247526==" To: kvm-devel@lists.sourceforge.net Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org --===============0807247526== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZJcv+A0YCCLh2VIg" Content-Disposition: inline --ZJcv+A0YCCLh2VIg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Esteemed kvm developers! I've been trying to debug this bug https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/219165 It originally revealed itself by failing to run grub (which is a 32 bit binary) when installing Ubuntu from our live cd. It turned out to be a more general problem of 32 bit binaries failing to run. The server install worked like a charm. I eventually discovered that loading the vmmouse driver triggered it and narrowed it down to the call to kvm_load_registers in vmport_ioport_read.=20 We're releasing on Thursday, and I needed a quick fix, so I reverted the calls to kvm_{save,load}_registers in vmport_ioport_read to the old code that simply saved the eax, ebx, ecx, edx, esi, and edi registers, but I'm supposing kvm_{load,save}_registers really should work here. I dug a bit further into the code and tried disabling various pieces of the kvm_load_registers until it finally worked again. The problem seems to only arise when the lstar msr is loaded. I've looked at the code, but seeing as three days ago I didn't know there was such a thing as an lstar msr, I'm finding myself getting stuck. :) Any pointers in the right direction would be lovely. --=20 Soren Hansen |=20 Virtualisation specialist | Ubuntu Server Team Canonical Ltd. | http://www.ubuntu.com/ --ZJcv+A0YCCLh2VIg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIDD1gonjfXui9pOMRAgibAJ90AB+XJlQBNjealnUmCCrnJcq3fACdEMTf 2genmSBgMX76sF5pDyzO2eQ= =sQpy -----END PGP SIGNATURE----- --ZJcv+A0YCCLh2VIg-- --===============0807247526== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone --===============0807247526== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel --===============0807247526==--