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: Re: [Xen-devel] How can I use grant table in domainU?

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: Re: [Xen-devel] How can I use grant table in domainU?
From: ruozeng wang <ruozeng.w@xxxxxxxxx>
Date: Thu, 14 Apr 2011 10:08:42 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Apr 2011 19:09:41 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=X+8VdW7AICdSubTTgBPrKf5rPIGVE2DnCGmPTj0pZSM=; b=YH7KdUP6jcTJm9Ph9s9+p5txqxsOPiE1Bp9UJg7FS9XNBaryS0VUxVu9ChM8KGOtRR e3N5IwEeLKWoecNDfVRF5AlrbfJ5mj5/Lw4n6DNcQvEA8duhGnn4le63KjM6cG2G5kdl OW13KTcnfqRJGjVmOildM82tt2Uo0xNosYq9w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sLc4JS02VyIk6qzJkETmeWcJ1zCKwFVpCL40N6k+RRMFlRXD9bK0wmJTb/Mn8sgJ/J xp5bwb+MBFR9MB2jco7ZEro8sqYh1tqa2Eh4+3ZFu6buvSR2V9PNFyDlcAfPZBNIsnn2 PTAzfGlP5Rin3oKLaVMEg5iG2fhGabHawu908=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110413174325.GA19348@xxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <201104041815185384477@xxxxxxxxx> <201104051205497648564@xxxxxxxxx> <20110405134423.GA6075@xxxxxxxxxxxx> <BANLkTinkrAr9cKb17skdtWdQTJ1AT63xCA@xxxxxxxxxxxxxx> <20110406121510.GA5009@xxxxxxxxxxxx> <BANLkTikHJ5TtiOZOc7mdLpMqg-s4OmMBEA@xxxxxxxxxxxxxx> <20110406152554.GA8253@xxxxxxxxxxxx> <BANLkTi=0fEdC8PjsWp_8rmdwybpsex1q+Q@xxxxxxxxxxxxxx> <20110413174325.GA19348@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Sorry, I forgot to CC, my fault. I'll do it from now on.

Program listening 0.0.0.0:8002 is python

Here is the netstat output:

Proto    Recv-Q    Send-Q    Local Address    Foreign Address    State       PID/Program name   
tcp        0               0             0.0.0.0:8002        0.0.0.0:*                 LISTEN    6416/python



2011/4/14 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
On Wed, Apr 13, 2011 at 11:52:25PM +0800, ruozeng wang wrote:
> Hi,
>
> I've tried to install xen-4.1.0 with 2.6.39-rc2 kernel on CentOS 5.5, Debian
> 5.07 and ubuntu 8.04, at last succeeded with  ubuntu.
> But when I tried to start xend, it failed.

Please also CC the mailing list. I did this for you.
>
> /var/log/xend.log:
>
> *[2011-04-13 20:35:52 6937] DEBUG (tcp:96) Listening on :8002
> [2011-04-13 20:35:52 6937] ERROR (SrvDaemon:349) Exception starting xend
> ((98, 'Address already in use'))
> Traceback (most recent call last):
>   File "usr/lib/python2.5/site-packages/xen/xend/server/SrvDaemon.py", line
> 339, in run
>     relocate.listenRelocation()
>   File "usr/lib/python2.5/site-packages/xen/xend/server/relocate.py", line
> 159, in listenRelocation
>     hosts_allow = hosts_allow)
>   File "usr/lib/python2.5/site-packages/xen/web/tcp.py", line 38, in
> __init__
>     connection.SocketListener.__init__(self, protocol_class)
>   File "usr/lib/python2.5/site-packages/xen/web/connection.py", line 89, in
> __init__
>     self.sock = self.createSocket()
>   File "usr/lib/python2.5/site-packages/xen/web/tcp.py", line 97, in
> createSocket
>     sock.bind((self.interface, self.port))
>   File "<string>", line 1, in bind
> error: (98, 'Address already in use')

Looks like someobyd is listening already on that port.
> [2011-04-13 20:35:52 6936] INFO (SrvDaemon:220) Xend exited with status 1.*
>
> Could you tell me what may cause this? Someone might have met this before,
> but I can't find a solution.
>
>  http://lists.xensource.com/archives/html/xen-users/2006-05/msg00397.html
>
> netstat -ltnp does show an active connection, listening local address
> 0.0.0.0:8002, but I don't know if it is right or not

Ok, what program is using it?
>
>
> thanks
>
> ruozeng.w
> regards
> 2011-4-43
>
>
>
> 2011/4/6 Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
>
> > On Wed, Apr 06, 2011 at 10:57:00PM +0800, ruozeng wang wrote:
> > > Sorry, I'm a little confused……What is this 2.6.39 kernel for? When I
> > build
> > > and install xen, it downloaded a "linux-2.6.18-xen.hg" (using mercurial),
> > > should I update this kernel to 2.6.39? Or update my host OS kernel to
> > > 2.6.39? I found 2.6.39-rc2 kernel at kernel.org, but it's not for xen,
> > it's
> > > a stadard kernel, I think.
> >
> > The standard mainline kernel has Xen components in it. You need to
> > compile it with CONFIG_PVOPS and CONFIG_XEN and you will have a fully
> > working kernel that can boot up either on native, or under the Xen
> > hypervisor.
> >
> >
> > >
> > > So is this my misunderstanding?
> > >
> > > I planed to install xen 4.0.0 on CentOS 5.4 tommorow.
> > > Please tell me some more details. Thank you so much for you patience.
> >
> > Please use Google. Search for 'PVOPS Wiki'.
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>