From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Schwinge Subject: Re: Debian linux-image-2.6.32-4-xen-amd64 2.6.32-11 doesn't boot with > 4 GiB; resets immediatelly, no log messages Date: Tue, 20 Apr 2010 13:18:18 +0200 Message-ID: <20100420111818.GA4416@kepler.schwinge.homeip.net> References: <20100408113422.GD4183@kepler.schwinge.homeip.net> <20100408133820.GA29832@phenom.dumpdata.com> <20100408221953.GG4183@kepler.schwinge.homeip.net> <4BBE5DF2.6040707@goop.org> <20100409180016.GA14029@kepler.schwinge.homeip.net> <4BBF7004.8000707@goop.org> <20100410221349.GM4183@kepler.schwinge.homeip.net> <4BC1013D.2020003@goop.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1969755675==" Return-path: In-Reply-To: <4BC1013D.2020003@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: Ian Campbell , xen-devel@lists.xensource.com, Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org --===============1969755675== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! On Sat, Apr 10, 2010 at 03:52:45PM -0700, Jeremy Fitzhardinge wrote: > On 04/10/2010 03:13 PM, Thomas Schwinge wrote: > >> Normally that would be OK, because it uses: > >> > >> __get_user(pfn, &machine_to_phys_mapping[mfn]); > >> > >> to dereference the array. But at this early stage, none of the kernel= 's > >> exception handlers have been set up, so this will just fault into Xen. > >> > >> It would be interesting to confirm this by building your kernel with > >> CONFIG_DEBUG_INFO=3Dy in the .config, and verify that the faulting > >> instruction is actually this line. > >> =20 > > Bingo! >=20 > Excellent. Now I just need to work out how to do a proper manual limit > check on the mfn. (I've always been a bit suspicious of this code, > because there's no guarantee that a random invalid mfn *won't* happen to > return the pfn we're looking for...) Any news already about this one? Regards, Thomas --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkvNjXgACgkQFaWaPJ2HwAqROgCfVNtgJkt5iXPEy2bdtKQO0sAX 6dEAnjKfq1ge3mLW1X9AXeU+hs/P8YQc =AnSL -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- --===============1969755675== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1969755675==--