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

Re: Re: [Xen-devel] How can I use grant table in domainU?


  • To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • From: ruozeng wang <ruozeng.w@xxxxxxxxx>
  • Date: Thu, 14 Apr 2011 20:22:24 +0800
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 14 Apr 2011 05:24:11 -0700
  • 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=EbhlegNSimjBGsh1ONymJ1/Lm1Y2KlqOOtyMJ/5KIVv3i5YqudpcANpK/bH4ru4OsK UcXu792kvOXm2UtXp31zaGSPhxNHTfm1SRQehMO+pt2x05wnogpg+OKD6Li/C/KZJy7q D99NLts0XP/DLHgI5j28Tdz4vLknW11wBq7dY=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This is from /var/log/xen/xend-debug.log:

Xend started at Thu Apr 14 17:39:00 2011.
cat: /sys/bus/scsi/devices/host0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host0/model: No such file or directory
cat: /sys/bus/scsi/devices/host0/type: No such file or directory
cat: /sys/bus/scsi/devices/host0/rev: No such file or directory
cat: /sys/bus/scsi/devices/host0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host1/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host1/model: No such file or directory
cat: /sys/bus/scsi/devices/host1/type: No such file or directory
cat: /sys/bus/scsi/devices/host1/rev: No such file or directory
cat: /sys/bus/scsi/devices/host1/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host2/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host2/model: No such file or directory
cat: /sys/bus/scsi/devices/host2/type: No such file or directory
cat: /sys/bus/scsi/devices/host2/rev: No such file or directory
cat: /sys/bus/scsi/devices/host2/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host3/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host3/model: No such file or directory
cat: /sys/bus/scsi/devices/host3/type: No such file or directory
cat: /sys/bus/scsi/devices/host3/rev: No such file or directory
cat: /sys/bus/scsi/devices/host3/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host4/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host4/model: No such file or directory
cat: /sys/bus/scsi/devices/host4/type: No such file or directory
cat: /sys/bus/scsi/devices/host4/rev: No such file or directory
cat: /sys/bus/scsi/devices/host4/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/host5/vendor: No such file or directory
cat: /sys/bus/scsi/devices/host5/model: No such file or directory
cat: /sys/bus/scsi/devices/host5/type: No such file or directory
cat: /sys/bus/scsi/devices/host5/rev: No such file or directory
cat: /sys/bus/scsi/devices/host5/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target2:0:0/scsi_level: No such file or directory
cat: /sys/bus/scsi/devices/target3:0:0/vendor: No such file or directory
cat: /sys/bus/scsi/devices/target3:0:0/model: No such file or directory
cat: /sys/bus/scsi/devices/target3:0:0/type: No such file or directory
cat: /sys/bus/scsi/devices/target3:0:0/rev: No such file or directory
cat: /sys/bus/scsi/devices/target3:0:0/scsi_level: No such file or directory

Is there any connections between this and the "address already in use" problem?

thanks


ruozeng.w
2011-4-14

2011/4/14 ruozeng wang <ruozeng.w@xxxxxxxxx>
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

 


Rackspace

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