Neugebauer, Rolf
2004-Feb-23 23:52 UTC
RE: [Xen-devel] refcount errors then crash on XenoLinux with the latest source
> -----Original Message----- > From: xen-devel-admin@lists.sourceforge.net [mailto:xen-devel- > admin@lists.sourceforge.net] On Behalf Of Kip Macy > Sent: 23 February 2004 21:03 > To: Ian Pratt > Cc: xen-devel@lists.sourceforge.net > Subject: [Xen-devel] refcount errors then crash on XenoLinux with the > latest source >=20 > I had just tested my domain builder for the nth time on xeno-unstable > (very latest source), when I saw the messages below on the console. > DOM0 no longer responds to ping - I''m hoping that it will recover,That is normal if you do an audit of all pages. Interrupts are disabled for the whole time and you are basically trawling the entire frametable twice, which can take some time depending on your memory size.> however, in all likelihood I will be hitting the rpb in a few minutes. >=20 > audit_all_pages > zombie: pfn=3D00000000 cf=3Dfffffffd tf=3Dfffffffd dom=3D00000000 > refcount error: pfn=3D000000 cf=3Dfffffffd refcount=3D1 > audit page: pfn=3D0 info: cf=3Dfffffffd tf=3Dfffffffd ts=3D0 dom=3D0This one is odd, I think. At least I haven''t seen it before.> refcount error: pfn=3D000247 cf=3D00000001 refcount=3D0 > audit page: pfn=3D247 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc648040 >=20 > refcount error: pfn=3D00024d cf=3D00000001 refcount=3D0 > audit page: pfn=3D24d info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc648040These are expected. They are used for comms rings. The rest all indicate an error of some sort. The first three have a mapping but their ref count is wrong. I don''t know the bitmasks for the type and the top of my head but I can have a look tomorrow. If it helps, I also have some more debug code which allows a domain to get the pfn_info from Xen for a given page. I could send you a patch against unstable again tomorrow. Rolf> refcount error: pfn=3D00036f cf=3D40000002 refcount=3D1 > audit page: pfn=3D36f info: cf=3D40000002 tf=3Df0000002 ts=3D0 dom=3Dfc648be0 > pte_pfn=3D002207 cf=3D10000026 tf=3D30000024 dom=3Dfc648be0 > pte_idx=3D3f9 *pte_idx=3D0036f063 >=20 > refcount error: pfn=3D000371 cf=3D40000002 refcount=3D1 > audit page: pfn=3D371 info: cf=3D40000002 tf=3Df0000002 ts=3D0 dom=3Dfc648be0 > pte_pfn=3D002207 cf=3D10000026 tf=3D30000024 dom=3Dfc648be0 > pte_idx=3D3fe *pte_idx=3D00371063 >=20 > refcount error: pfn=3D000372 cf=3D40000002 refcount=3D1 > audit page: pfn=3D372 info: cf=3D40000002 tf=3Df0000002 ts=3D0 dom=3Dfc648be0 > pte_pfn=3D002207 cf=3D10000026 tf=3D30000024 dom=3Dfc648be0 > pte_idx=3D3fd *pte_idx=3D00372063 >=20 > refcount error: pfn=3D000390 cf=3D00000001 refcount=3D0 > audit page: pfn=3D390 info: cf=3D1 tf=3Df0000001 ts=3D4ddca dom=3Dfc649780 >=20 > refcount error: pfn=3D000392 cf=3D00000001 refcount=3D0 > audit page: pfn=3D392 info: cf=3D1 tf=3Df0000001 ts=3D4ddca dom=3Dfc649780 >=20 > refcount error: pfn=3D000393 cf=3D00000001 refcount=3D0 > audit page: pfn=3D393 info: cf=3D1 tf=3Df0000001 ts=3D4ae4c dom=3Dfc64a320 >=20 > refcount error: pfn=3D000395 cf=3D00000001 refcount=3D0 > audit page: pfn=3D395 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc64a320 >=20 > refcount error: pfn=3D00039f cf=3D00000001 refcount=3D0 > audit page: pfn=3D39f info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc64aec0 >=20 > refcount error: pfn=3D0003a1 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3a1 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc64aec0 >=20 > refcount error: pfn=3D0003a2 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3a2 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a4060 >=20 > refcount error: pfn=3D0003a8 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3a8 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a4060 >=20 > refcount error: pfn=3D0003a9 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3a9 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a4c00 >=20 > refcount error: pfn=3D0003ab cf=3D00000001 refcount=3D0 > audit page: pfn=3D3ab info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a4c00 >=20 > refcount error: pfn=3D0003ac cf=3D00000001 refcount=3D0 > audit page: pfn=3D3ac info: cf=3D1 tf=3Df0000001 ts=3D191ab3 dom=3Dfc7a57a0 >=20 > refcount error: pfn=3D0003ae cf=3D00000001 refcount=3D0 > audit page: pfn=3D3ae info: cf=3D1 tf=3Df0000001 ts=3D191ab3 dom=3Dfc7a57a0 >=20 > refcount error: pfn=3D0003af cf=3D00000001 refcount=3D0 > audit page: pfn=3D3af info: cf=3D1 tf=3Df0000001 ts=3D191ab2 dom=3Dfc7a6340 >=20 > refcount error: pfn=3D0003b1 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3b1 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a6340 >=20 > refcount error: pfn=3D0003b2 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3b2 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a6ee0 >=20 > refcount error: pfn=3D0003b4 cf=3D00000001 refcount=3D0 > audit page: pfn=3D3b4 info: cf=3D1 tf=3Df0000001 ts=3D0 dom=3Dfc7a6ee0 >=20 >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=3D1356&alloc_id=3D3438&op=3Dclick > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Kip Macy
2004-Feb-24 00:21 UTC
RE: [Xen-devel] refcount errors then crash on XenoLinux with the latest source
> > If it helps, I also have some more debug code which allows a domain to > get the pfn_info from Xen for a given page. I could send you a patch > against unstable again tomorrow.That would be great. Although I''m hoping to figure out why I''m getting a FAULT10 in my domain before I spend too much time on Xen. -Kip> > Rolf > > > refcount error: pfn=00036f cf=40000002 refcount=1 > > audit page: pfn=36f info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > pte_idx=3f9 *pte_idx=0036f063 > > > > refcount error: pfn=000371 cf=40000002 refcount=1 > > audit page: pfn=371 info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > pte_idx=3fe *pte_idx=00371063 > > > > refcount error: pfn=000372 cf=40000002 refcount=1 > > audit page: pfn=372 info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > pte_idx=3fd *pte_idx=00372063 > > > > refcount error: pfn=000390 cf=00000001 refcount=0 > > audit page: pfn=390 info: cf=1 tf=f0000001 ts=4ddca dom=fc649780 > > > > refcount error: pfn=000392 cf=00000001 refcount=0 > > audit page: pfn=392 info: cf=1 tf=f0000001 ts=4ddca dom=fc649780 > > > > refcount error: pfn=000393 cf=00000001 refcount=0 > > audit page: pfn=393 info: cf=1 tf=f0000001 ts=4ae4c dom=fc64a320 > > > > refcount error: pfn=000395 cf=00000001 refcount=0 > > audit page: pfn=395 info: cf=1 tf=f0000001 ts=0 dom=fc64a320 > > > > refcount error: pfn=00039f cf=00000001 refcount=0 > > audit page: pfn=39f info: cf=1 tf=f0000001 ts=0 dom=fc64aec0 > > > > refcount error: pfn=0003a1 cf=00000001 refcount=0 > > audit page: pfn=3a1 info: cf=1 tf=f0000001 ts=0 dom=fc64aec0 > > > > refcount error: pfn=0003a2 cf=00000001 refcount=0 > > audit page: pfn=3a2 info: cf=1 tf=f0000001 ts=0 dom=fc7a4060 > > > > refcount error: pfn=0003a8 cf=00000001 refcount=0 > > audit page: pfn=3a8 info: cf=1 tf=f0000001 ts=0 dom=fc7a4060 > > > > refcount error: pfn=0003a9 cf=00000001 refcount=0 > > audit page: pfn=3a9 info: cf=1 tf=f0000001 ts=0 dom=fc7a4c00 > > > > refcount error: pfn=0003ab cf=00000001 refcount=0 > > audit page: pfn=3ab info: cf=1 tf=f0000001 ts=0 dom=fc7a4c00 > > > > refcount error: pfn=0003ac cf=00000001 refcount=0 > > audit page: pfn=3ac info: cf=1 tf=f0000001 ts=191ab3 dom=fc7a57a0 > > > > refcount error: pfn=0003ae cf=00000001 refcount=0 > > audit page: pfn=3ae info: cf=1 tf=f0000001 ts=191ab3 dom=fc7a57a0 > > > > refcount error: pfn=0003af cf=00000001 refcount=0 > > audit page: pfn=3af info: cf=1 tf=f0000001 ts=191ab2 dom=fc7a6340 > > > > refcount error: pfn=0003b1 cf=00000001 refcount=0 > > audit page: pfn=3b1 info: cf=1 tf=f0000001 ts=0 dom=fc7a6340 > > > > refcount error: pfn=0003b2 cf=00000001 refcount=0 > > audit page: pfn=3b2 info: cf=1 tf=f0000001 ts=0 dom=fc7a6ee0 > > > > refcount error: pfn=0003b4 cf=00000001 refcount=0 > > audit page: pfn=3b4 info: cf=1 tf=f0000001 ts=0 dom=fc7a6ee0 > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > >------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Rolf Neugebauer
2004-Feb-24 18:42 UTC
RE: [Xen-devel] refcount errors then crash on XenoLinux with the latest source
On Tue, 2004-02-24 at 00:21, Kip Macy wrote:> > > > If it helps, I also have some more debug code which allows a domain to > > get the pfn_info from Xen for a given page. I could send you a patch > > against unstable again tomorrow. > > That would be great. Although I''m hoping to figure out why I''m getting a > FAULT10 in my domain before I spend too much time on Xen. >attached. A new hypercall allows a domain to get info on a given pfn if it belongs to the domain. dom0 should be able to access all memory. I haven''t tested this patch! It compiles against the latest tree. Let me know if you have problems with it or if you find it useful. Rolf -Kip> > > > > Rolf > > > > > refcount error: pfn=00036f cf=40000002 refcount=1 > > > audit page: pfn=36f info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > > pte_idx=3f9 *pte_idx=0036f063 > > > > > > refcount error: pfn=000371 cf=40000002 refcount=1 > > > audit page: pfn=371 info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > > pte_idx=3fe *pte_idx=00371063 > > > > > > refcount error: pfn=000372 cf=40000002 refcount=1 > > > audit page: pfn=372 info: cf=40000002 tf=f0000002 ts=0 dom=fc648be0 > > > pte_pfn=002207 cf=10000026 tf=30000024 dom=fc648be0 > > > pte_idx=3fd *pte_idx=00372063 > > > > > > refcount error: pfn=000390 cf=00000001 refcount=0 > > > audit page: pfn=390 info: cf=1 tf=f0000001 ts=4ddca dom=fc649780 > > > > > > refcount error: pfn=000392 cf=00000001 refcount=0 > > > audit page: pfn=392 info: cf=1 tf=f0000001 ts=4ddca dom=fc649780 > > > > > > refcount error: pfn=000393 cf=00000001 refcount=0 > > > audit page: pfn=393 info: cf=1 tf=f0000001 ts=4ae4c dom=fc64a320 > > > > > > refcount error: pfn=000395 cf=00000001 refcount=0 > > > audit page: pfn=395 info: cf=1 tf=f0000001 ts=0 dom=fc64a320 > > > > > > refcount error: pfn=00039f cf=00000001 refcount=0 > > > audit page: pfn=39f info: cf=1 tf=f0000001 ts=0 dom=fc64aec0 > > > > > > refcount error: pfn=0003a1 cf=00000001 refcount=0 > > > audit page: pfn=3a1 info: cf=1 tf=f0000001 ts=0 dom=fc64aec0 > > > > > > refcount error: pfn=0003a2 cf=00000001 refcount=0 > > > audit page: pfn=3a2 info: cf=1 tf=f0000001 ts=0 dom=fc7a4060 > > > > > > refcount error: pfn=0003a8 cf=00000001 refcount=0 > > > audit page: pfn=3a8 info: cf=1 tf=f0000001 ts=0 dom=fc7a4060 > > > > > > refcount error: pfn=0003a9 cf=00000001 refcount=0 > > > audit page: pfn=3a9 info: cf=1 tf=f0000001 ts=0 dom=fc7a4c00 > > > > > > refcount error: pfn=0003ab cf=00000001 refcount=0 > > > audit page: pfn=3ab info: cf=1 tf=f0000001 ts=0 dom=fc7a4c00 > > > > > > refcount error: pfn=0003ac cf=00000001 refcount=0 > > > audit page: pfn=3ac info: cf=1 tf=f0000001 ts=191ab3 dom=fc7a57a0 > > > > > > refcount error: pfn=0003ae cf=00000001 refcount=0 > > > audit page: pfn=3ae info: cf=1 tf=f0000001 ts=191ab3 dom=fc7a57a0 > > > > > > refcount error: pfn=0003af cf=00000001 refcount=0 > > > audit page: pfn=3af info: cf=1 tf=f0000001 ts=191ab2 dom=fc7a6340 > > > > > > refcount error: pfn=0003b1 cf=00000001 refcount=0 > > > audit page: pfn=3b1 info: cf=1 tf=f0000001 ts=0 dom=fc7a6340 > > > > > > refcount error: pfn=0003b2 cf=00000001 refcount=0 > > > audit page: pfn=3b2 info: cf=1 tf=f0000001 ts=0 dom=fc7a6ee0 > > > > > > refcount error: pfn=0003b4 cf=00000001 refcount=0 > > > audit page: pfn=3b4 info: cf=1 tf=f0000001 ts=0 dom=fc7a6ee0 > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > > Build and deploy apps & Web services for Linux with > > > a free DVD software kit from IBM. Click Now! > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > > _______________________________________________ > > > Xen-devel mailing list > > > Xen-devel@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/xen-devel > > > > > >