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

Re: [Xen-users] Memory and Logs issue

To: kris <kris@xxxxxxxxxx>
Subject: Re: [Xen-users] Memory and Logs issue
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Wed, 24 Sep 2008 23:05:48 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 24 Sep 2008 20:06:30 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=0KZxdXbeHmnKsRttxTJD2wwDZBzedoGuf9mSZC12dak=; b=SlO+pEyfYNPr5ov09wNGTabtOummkvNk4QDY02cYSZtjL4Qah6ErScCYAP64/cI4Sq O02rRcYMVHYWAsCUUFlWj5m1R9O5vdpiBzCreOwhTzRrMi6S3XaamQk9RbbnZDAf1ooi zDPA9EvDQKCpk6GjPMgGyWIzTv9g9bfg5jfXQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=sKz8Lcj2Eexd3c0VwFfd8C5Db+nTAlRq805EOWqWMOXerv8HUk0Jy/x5N6a1Ab2cNh YKVx51E4dKGXX8akzgQzHXQDWrkJX+z0p1PGuLUpdMnPbSV9DDe8oKIbvEhb2GgYEsqS 8uhNue5H6BGbaLS2gIXBq7NMkexn6ymYu4NPE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <F78A8636-FA54-4F9C-BFF7-3E5E79BFF1CC@xxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <F78A8636-FA54-4F9C-BFF7-3E5E79BFF1CC@xxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Sep 24, 2008 at 3:52 PM, kris <kris@xxxxxxxxxx> wrote:
> Hi list,
>
> After a long break of using Xen I decided to use it again on one of my
> dedicated servers. I have since run into 2 issues.
>
> 1. The server is a dual core dell with 4gb of ram. On boot, dmesg shows:
>
> [    0.420172] Memory: 3812444k/3991228k available (2531k kernel code,
> 169916k reserved, 1329k data, 220k init)
>
> Yet, `free -m' shows only 1712mb total. Before I installed Xen, I was
> running Ubuntu-Server 32bit, all 4gb showed. I wiped it to install Xen and
> installed Ubuntu-Server x64.
>
> 2. Every 10 seconds I get this in the domU's /var/log/daemon
>
> Sep 24 15:51:14 dns init: hvc0 main process (23242) terminated with status 1
> Sep 24 15:51:14 dns init: hvc0 main process ended, respawning
>
> It is hvc0 because there seems to be an issue with not having a console show
> when doing an `xm create <name> -c', so someone in #xen @ FreeNode said to
> mount the LVM partition and copy /etc/events.d/tty1 to /etc/events.d/hvc0
> and edit it accordingly.
>

I had the console problem similar to this one.

look carefully in /etc/events.d/*

Also run ps ax | grep getty

Get SSH in the guest, and SSH in if necessary.

There is a mismatch here of the tty that you are passing your guest and
what is being run, you may even have multiple ttys that are being spawned.

I ran into something somewhat similar, here is my setup:

http://xen.markmail.org/search/?q=Todd%20Deshane%20hvc#query:Todd%20Deshane%20hvc%20from%3A%22Todd%20Deshane%22+page:1+mid:cdp2zdxzjdnsploh+state:results

But also watch carefully in /etc/event.d/* for strange/extra entries
with hvc* in them.

Hope that helps,
Cheers,
Todd


-- 
Todd Deshane
http://todddeshane.net
check out our book: http://runningxen.com

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

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