From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= Subject: Re: [Xen-devel] pvgrub2 is merged Date: Wed, 18 Dec 2013 15:58:53 +0100 Message-ID: <52B1B82D.9050501@gmail.com> References: <527EA084.6000706@gmail.com> <5295D867.9050306@m2r.biz> <5295DCA0.2010805@gmail.com> <529616EA.4000504@m2r.biz> <529617B7.2020507@gmail.com> <52961CD5.1040009@m2r.biz> <20131127213552.3120f5e5@opensuse.site> <52973FF8.7040502@m2r.biz> <52974D98.3090608@gmail.com> <5297508C.40607@m2r.biz> <52987A43.9070806@m2r.biz> <52987D7F.3050006@gmail.com> <52988F86.6050008@m2r.biz> <529DB2F1.4080509@m2r.biz> <529DB363.7080003@gmail.com> <529DBED9.80105@m2r.biz> <529DC07E.8000201@gmail.com> <529DE3FD.90002@m2r.biz> <529DF9D5.2060301@gmail.com> <529E03FB.90603@m2r.biz> <52A1B0CB.3000705@m2r.biz> <52A1B5E8.5090709@gmail.com> <52A1E2CD.9030002@m2r.biz> <52A1E56E.3070105@gmail.com> <52A1EBAB.5090006@m2r.biz> <52A2F341.9010606@gmail.com> <52A5961A.2010608@m2r.biz> <52B02B13.1000103@m2r.biz> <52B02F84.6070403@gmail.com> <52B04D6E.3070700@m2r.biz> <52B0527C.40104@gmail.com> <52B057BD.8070701@m2r.biz> <52B05AF1.1040508@gmail.com> <52B05B5C.1080901@m2r.biz> <52B06131.8040809@m2r.biz> Reply-To: The development of GNU GRUB Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1377403746776699861==" Return-path: In-Reply-To: <52B06131.8040809@m2r.biz> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: grub-devel-bounces+gcbgd-grub-devel=m.gmane.org@gnu.org Sender: grub-devel-bounces+gcbgd-grub-devel=m.gmane.org@gnu.org To: Fabio Fantoni Cc: The development of GRUB 2 , xen-devel List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1377403746776699861== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Um9KouXUxl0Lmv7XOoGMjdxM0hwpKpq1m" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Um9KouXUxl0Lmv7XOoGMjdxM0hwpKpq1m Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 17.12.2013 15:35, Fabio Fantoni wrote: > Il 17/12/2013 15:10, Fabio Fantoni ha scritto: >> Il 17/12/2013 15:08, Vladimir '=CF=86-coder/phcoder' Serbinenko ha scr= itto: >>>> Thanks. >>>> Now there is another error, probably introduced by xenfb support: >>>> >>> doesn't look like related to xenfb. Is it 64-bit or PAE guest? >> >> 64 bit >=20 > I did "git reset --hard" to commit "Remove grub_bios_interrupt on > coreboot." and then I applied only > "grub-core/lib/x86_64/xen/relocator.S: Fix hypercall ABI violation." > commit. > Now the Sid domU boot correctly, therefore the regression is caused by > "xenfb" or "xen grants to v1" commit, should I find the exact commit > that causes that problem or these informations are enough for you? It's because of vfb. Apparently vfb framebuffer stays mapped as rw even after vfb shutdown phcoder@debian:15:52:40:~/grub2$ sudo xenstore-ls /local/domain/54/device/vfb 0 =3D "" backend =3D "/local/domain/0/backend/vfb/54/0" backend-id =3D "0" state =3D "1" phcoder@debian:15:52:51:~/grub2$ sudo xenstore-ls /local/domain/0/backend/vfb/54/0 frontend =3D "/local/domain/54/device/vfb/0" frontend-id =3D "54" online =3D "1" state =3D "2" domain =3D "grub" vnc =3D "1" vnclisten =3D "127.0.0.1" vncdisplay =3D "0" vncunused =3D "1" sdl =3D "0" opengl =3D "0" feature-resize =3D "1" hotplug-status =3D "connected" When I do "dry vfb": do everything except writing vfb state problem disappears. So my question would be: - how can I inspect how backend maps framebuffer pages? - Why does it map as rw and not ro? It doesn't need to write to framebuff= er? - How do I force it to drop the mapping? --Um9KouXUxl0Lmv7XOoGMjdxM0hwpKpq1m Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iF4EAREKAAYFAlKxuC0ACgkQmBXlbbo5nOuOQQEArDMdrvDONfapk0UrYDyPpQuD TQIyNFvKRED/qn75csAA/R1uobfyRhShHvJk1bJTR56kcF9Eq40pgvnXxlpEbV79 =EIBa -----END PGP SIGNATURE----- --Um9KouXUxl0Lmv7XOoGMjdxM0hwpKpq1m-- --===============1377403746776699861== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel --===============1377403746776699861==--