WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] Problem upgrading xen-unstable

To: "'Ian Pratt'" <m+Ian.Pratt@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Problem upgrading xen-unstable
From: "Ge van Geldorp" <gvg@xxxxxxxxxxx>
Date: Tue, 24 May 2005 10:46:37 +0200
Delivery-date: Tue, 24 May 2005 08:46:30 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A95E2296287EAD4EB592B5DEEFCE0E9D1E4172@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVfGY0N92PQ5rYdQR2tEZY/H6CSMQATP1AAADU4R3A=
> From: Ian Pratt [mailto:m+Ian.Pratt@xxxxxxxxxxxx] 
> 
> I'm guessing that this is due to you having an old version of 
> the tools on your search path (the default location was changed).
> 
> try "rm -rf /usr/lib/python/xen 
> /usr/lib/python2.*/site-packages/xen" or look at the "make 
> unistall" target.

Thanks for your tip, unfortunately, even after trying this I still had
problems with console output being garbled. So, I ended up blowing away the
root partition on my domU and reinstalling Linux (does it show I have a
Windows background? <g>). Then I did a fresh build of xen (only change from
defaults was to config in my Ethernet card). Unfortunately, the console
problem is still there. So now I'm wondering if maybe I've hit a bug in Xen.
If I create a domU, "xm console" to it and run the following program a few
times, most of the times it will produce the correct output, but sometimes
it will garble up:

#include <stdio.h>

int
main(int argc, char *argv[])
{
  unsigned Line, Col;
  char Buf[61];

  for (Line = 0; Line < 10; Line++)
    {
      for (Col = 0; Col < sizeof(Buf) - 1; Col++)
        {
          Buf[Col] = '0' + (Line + Col) % 10;
        }
      Buf[sizeof(Buf) - 1] = '\0';
      printf("%s\n", Buf);
      fflush(stdout);
    }

  return 0;
}

Correct, expected output:

012345678901234567890123456789012345678901234567890123456789
123456789012345678901234567890123456789012345678901234567890
234567890123456789012345678901234567890123456789012345678901
345678901234567890123456789012345678901234567890123456789012
456789012345678901234567890123456789012345678901234567890123
567890123456789012345678901234567890123456789012345678901234
678901234567890123456789012345678901234567890123456789012345
789012345678901234567890123456789012345678901234567890123456
890123456789012345678901234567890123456789012345678901234567
901234567890123456789012345678901234567890123456789012345678

Sometimes I see things like this:

123456789012345678901234567890123456789012345678901234567890

0123456789012345678901234567890123456789012345678901234567892345678901234567
89012345678901234567890123456789012345678901
345678901234567890123456789012345678901234567890123456789012
456789012345678901234567890123456789012345678901234567890123
567890123456789012345678901234567890123456789012345678901234
678901234567890123456789012345678901234567890123456789012345
789012345678901234567890123456789012345678901234567890123456
890123456789012345678901234567890123456789012345678901234567
901234567890123456789012345678901234567890123456789012345678

I get the garbled output in about 1 out of 10 runs. Vi'ing a file and then
pressing Ctrl-L a few times also messes up the display.

Can anyone confirm this behaviour?

Gé van Geldorp.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>