[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Memory and Logs issue


  • To: kris <kris@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.