|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] Problem upgrading xen-unstable
> 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
|
|
|
|
|