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: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Problem upgrading xen-unstable
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 25 May 2005 00:22:16 +0100
Cc: 'Ian Pratt' <m+Ian.Pratt@xxxxxxxxxxxx>, Ge van Geldorp <gvg@xxxxxxxxxxx>
Delivery-date: Tue, 24 May 2005 23:26:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200505240846.j4O8kbej029766@xxxxxxxxxxxxxxxxxxx>
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>
Organization: University of Cambridge
References: <200505240846.j4O8kbej029766@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> > 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.

There are some more files you can try deleting (lucky you!), in addition to 
what Ian suggested:
/usr/lib/libxc* /usr/lib/libxutil* /usr/sbin/{xcs,xend,xentrace,xencons,xm}

Just for paranoia you could delete the contents of /var/xen (you might have to 
recreate some directories later for Xend to work) and /etc/xen (assuming 
you've nothing valuable in there).

Once you've deleted all those, and the original suggestions, make mrproper in 
the Xen distribution (this deletes a whole load of stuff so watch out you 
don't blow away any files you've added).  Then make world to build from 
scratch.

The guess I'm working with is that there's some sort of weird incompatibility 
crept in between two changesets in unstable, which you may have been unlucky 
enough to tickle.  You may want to repull to get up to date, just in case it 
got fixed later on...

If all this doesn't help, it's a bit mysterious.  What are you using for a 
console?  xm create -c, xm console and xencons should all behave properly.  
If you use telnet to connect to a domain console it sometimes gets confused.

Cheers,
Mark

> 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
>
> 012345678901234567890123456789012345678901234567890123456789234567890123456
>7 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

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

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