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/
Home Products Support Community News


Re: [Xen-users] Quirky Bug: "cat /dev/urandom"

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Quirky Bug: "cat /dev/urandom"
From: William Schaller <wschalle@xxxxxxxxx>
Date: Tue, 14 Jun 2005 08:32:44 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 15 Jun 2005 08:25:26 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K5Onj54ED006rEDf4JCJdgoXwbZm+zKsd55/0w8iwEHqBpqeq8iuxChTXgrq2Xa2FpA5nLtIKMFHDRHfq3IZYIYioHaECULTN+YIhqd7PkCgpInxbbdAIeQ8HelMVt+suORIk1EXedHNMg2tX5JZpPSXecrqt0lKVHRxjK7wPW4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200506141138.04716.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <435dea5605061314392b16539@xxxxxxxxxxxxxx> <9cde8bff050614024560c9409a@xxxxxxxxxxxxxx> <200506141138.04716.mark.williamson@xxxxxxxxxxxx>
Reply-to: William Schaller <wschalle@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Here's the scenario: I'm using two ssh windows to control the box.
With one, I start xend, create the domain. With the other, I use xm
console to log into the domain. Logged into the domain, I exec cat
/dev/urandom. Predictably, the screen starts to fill with junk. At
this point, ctrl-c, nor any other method of escaping either cat or
this console will work. Attempting any command using xm or xend in the
other window simply hangs until I ctrl-c. Stopping and restarting xend
has no effect. I can kill the bash process the other window is
running, but if I reconnect to the console, I get the same garbage
dumping endlessly.

I discovered this while testing out the balloon driver. I was going to
cat /dev/urandom > file for a while until I had about 60 GB, then gzip
the file to see if I would get a OOM. But I left off the > file and
ended up with the above conundrum.


On 6/14/05, Mark Williamson <mark.williamson@xxxxxxxxxxxx> wrote:
> Since Xend handles console output, splurging huge amounts of text to the
> console is probably breaking it. (which is still a known issue, AFAIK)
> Does the domain actually keep outputting to the console?  Can you disconnect
> and reconnect to the console?  What happens then?
> Cheers,
> Mark
> On Tuesday 14 June 2005 10:45, aq wrote:
> > On 6/14/05, William Schaller <wschalle@xxxxxxxxx> wrote:
> > > If you execute cat /dev/urandom at the xm console of a guest domain,
> > > it will spew garbage forever.
> >
> > one question: what do you expect to get from /dev/urandom?
> >
> > regards,
> > aq
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users

Xen-users mailing list