All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul Kölle" <paul@subsignal.org>
To: xen-devel@lists.xensource.com
Subject: Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 (F13)
Date: Wed, 09 Jun 2010 09:55:19 +0200	[thread overview]
Message-ID: <hunhd9$cuu$1@dough.gmane.org> (raw)
In-Reply-To: <313919.9756.qm@web56105.mail.re3.yahoo.com>

Hi Boris et al,

I can confirm this problem. Same setup ( KV 2.6.32.15, Ubuntu 10.04 
server). evtchn is built-in, not a module. I manually tried to create 
the device node (mknod /dev/xen/evtchn c 10 62) but xenstored didn't 
like that and after the failed start of xenstored /dev/xen/evtchn 
disappeard again. Is there a quick fix or should I downgrade?

cheers
  Paul

------ info ----------
root@two-new /usr/src # ls -l /dev/xen/
total 0
crw-rw---- 1 root root 10, 55 2010-06-08 21:21 gntdev


root@two-new /usr/src # cat /proc/misc
  55 xen/gntdev
  56 network_throughput
  57 network_latency
  58 cpu_dma_latency
  59 device-mapper
   1 psaux
200 tun
  60 pktcdvd
228 hpet
  61 blktap-control
  62 xen/evtchn
229 fuse
227 mcelog
  63 vga_arbiter
------ info ----------

Am 08.06.2010 22:02, schrieb Boris Derzhavets:
> Reproduced on top of F13 Xen 4.0 Dom0
>
> [root@fedora13 ~]# cd /dev/xen
> [root@fedora13 xen]# ls -l
> total 0
> crw-rw---- 1 root root 10, 61 Jun  8 23:56 gntdev
>
> [root@fedora13 xen]# udevd -V
> 151
>
> [root@fedora13 xen]# cat /proc/misc
> 229 fuse
> 223 uinput
> 130 watchdog
> 184 microcode
>   56 network_throughput
>   57 network_latency
>   58 cpu_dma_latency
>   59 device-mapper
> 144 nvram
> 228 hpet
>   60 blktap-control
>   61 xen/gntdev
>   62 xen/evtchn
> 231 snapshot
> 227 mcelog
>   63 vga_arbiter
>
>
> Boris.
>
> --- On Tue, 6/8/10, Jeremy Fitzhardinge<jeremy@goop.org>  wrote:
>
> From: Jeremy Fitzhardinge<jeremy@goop.org>
> Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
> To: "Boris Derzhavets"<bderzhavets@yahoo.com>
> Cc: "Bastian Blank"<waldi@debian.org>, xen-devel@lists.xensource.com, "Keir Fraser"<keir.fraser@eu.citrix.com>, "Konrad Rzeszutek Wilk"<konrad.wilk@oracle.com>
> Date: Tuesday, June 8, 2010, 3:15 PM
>
> On 06/08/2010 12:13 PM, Boris Derzhavets wrote:
>> Yes it's the kernel, but no device created under /dev/xen (in case
>> 2.6.32.15 been loaded ) :-
>>
>> root@ServerLLX:~# cd /dev/xen
>> root@ServerLLX:/dev/xen# ls -l
>> total 0
>> crw-rw---- 1 root root 10, 61 2010-06-08 23:08 gntdev
>>
>
> What distro?  Perhaps there's something wrong with the udev setup?
>
>      J
>
>>
>> root@ServerLLX:/dev/xen# cat /proc/misc
>>    56 network_throughput
>>    57 network_latency
>>    58 cpu_dma_latency
>>    59 device-mapper
>> 144 nvram
>> 228 hpet
>>    60 blktap-control
>> =>  61 xen/gntdev
>> =>62 xen/evtchn
>> 231 snapshot
>> 227 mcelog
>>    63 vga_arbiter
>>
>> Boris
>>
>> --- On *Tue, 6/8/10, Jeremy Fitzhardinge /<jeremy@goop.org>/* wrote:
>>
>>
>>       From: Jeremy Fitzhardinge<jeremy@goop.org>
>>       Subject: Re: [Xen-devel] Re: Failure to start xend with 2.6.32.15
>>       (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
>>       To: "Boris Derzhavets"<bderzhavets@yahoo.com>
>>       Cc: xen-devel@lists.xensource.com, "Keir Fraser"
>>       <keir.fraser@eu.citrix.com>, "Konrad Rzeszutek Wilk"
>>       <konrad.wilk@oracle.com>
>>       Date: Tuesday, June 8, 2010, 2:50 PM
>>
>>       On 06/08/2010 11:29 AM, Boris Derzhavets wrote:
>>       >  root@ServerLLX:/# find  /  -name "libxc" -print
>>       >  ./usr/src/xen-4.0.0/tools/libxc
>>       >
>>       >  root@ServerLLX:/# cd /dev/xen
>>       >  root@ServerLLX:/dev/xen# ls -l
>>       >  total 0
>>       >  crw-rw---- 1 root root 10, 61 2010-06-08 22:10 gntdev
>>       >  root@ServerLLX:/dev/xen#
>>       >
>>       >  Seems like  i have  evtchn device missing, regardless in .config :-
>>       >
>>
>>       You should be able to see if its present in the kernel by looking at
>>       /proc/misc, but something still needs to create the /dev nodes.
>>       Usually
>>       this is udev, but libxc goes to special lengths to get this wrong, and
>>       will end up deleting the perfectly good nodes unless you update it.
>>
>>       Keir, have the libxc changes been backported to all the release trees?
>>
>>           J
>>
>>       >
>>       >  CONFIG_XEN_BALLOON=y
>>       >  CONFIG_XEN_SCRUB_PAGES=y
>>       >  =>  CONFIG_XEN_DEV_EVTCHN=y
>>       >  CONFIG_XEN_BACKEND=y
>>       >  CONFIG_XEN_NETDEV_BACKEND=y
>>       >  CONFIG_XEN_BLKDEV_BACKEND=y
>>       >  CONFIG_XEN_BLKDEV_TAP=y
>>       >  CONFIG_XEN_BLKBACK_PAGEMAP=y
>>       >  CONFIG_XEN_PCIDEV_BACKEND=y
>>       >  CONFIG_XEN_PCIDEV_BACKEND_VPCI=y
>>       >
>>       >
>>       >  Boris.
>>       >
>>       >
>>       >  --- On *Tue, 6/8/10, Jeremy Fitzhardinge /<jeremy@goop.org
>>       </mc/compose?to=jeremy@goop.org>>/* wrote:
>>       >
>>       >
>>       >      From: Jeremy Fitzhardinge<jeremy@goop.org
>>       </mc/compose?to=jeremy@goop.org>>
>>       >      Subject: [Xen-devel] Re: Failure to start xend with 2.6.32.15
>>       >      (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0
>>       >      To: "Boris Derzhavets"<bderzhavets@yahoo.com
>>       </mc/compose?to=bderzhavets@yahoo.com>>
>>       >      Cc: xen-devel@lists.xensource.com
>>       </mc/compose?to=xen-devel@lists.xensource.com>, "Konrad Rzeszutek
>>       Wilk"
>>       >      <konrad.wilk@oracle.com</mc/compose?to=konrad.wilk@oracle.com>>
>>       >      Date: Tuesday, June 8, 2010, 1:29 PM
>>       >
>>       >      On 06/08/2010 12:57 AM, Boris Derzhavets wrote:
>>       >      >  [2010-06-08 11:50:10 4166] ERROR (SrvDaemon:349) Exception
>>       starting
>>       >      >  xend ((111, 'Connection refused'))
>>       >      >  Traceback (most recent call last):
>>       >      >
>>       >
>>       >      Is your libxc uptodate?  Do you have proper gnttab and evtchn
>>       >      entries in
>>       >      /dev/xen?
>>       >
>>       >          J
>>       >
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py",
>>       >      >  line 341, in run
>>       >      >      servers = SrvServer.create()
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py",
>>       >      >  line 251, in create
>>       >      >      root.putChild('xend', SrvRoot())
>>       >      >    File
>>       >      >
>>       "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py",
>>       >      >  line 40, in __init__
>>       >      >      self.get(name)
>>       >      >    File
>>       "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
>>       >      >  line 84, in get
>>       >      >      val = val.getobj()
>>       >      >    File
>>       "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py",
>>       >      >  line 52, in getobj
>>       >      >      self.obj = klassobj()
>>       >      >    File
>>       >      >
>>       "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py",
>>       >      >  line 30, in __init__
>>       >      >      self.xn = XendNode.instance()
>>       >      >    File
>>       >      "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>>       >      >  line 1141, in instance
>>       >      >      inst.save()
>>       >      >    File
>>       >      "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>>       >      >  line 578, in save
>>       >      >      self.save_networks()
>>       >      >    File
>>       >      "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py",
>>       >      >  line 594, in save_networks
>>       >      >      for network_uuid in XendNetwork.get_all()])
>>       >      >    File
>>       >      "/usr/local/lib/python2.6/dist-packages/xen/xend/XendBase.py",
>>       >      >  line 102, in get_record
>>       >      >      for key in keys])
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNetwork.py",
>>       line
>>       >      >  196, in get_VIFs
>>       >      >      vms = XendDomain.instance().get_all_vms()
>>       >      >    File
>>       >      >
>>       "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>>       >      line
>>       >      >  1882, in instance
>>       >      >      inst.init()
>>       >      >    File
>>       >      >
>>       "/usr/local/lib/python2.6/dist-packages/xen/xend/XendDomain.py",
>>       >      line
>>       >      >  114, in init
>>       >      >      xstransact.Mkdir(XS_VMROOT)
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>>       >      >  line 355, in Mkdir
>>       >      >      complete(path, lambda t: t.mkdir(*args))
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>>       >      >  line 361, in complete
>>       >      >      t = xstransact(path)
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py",
>>       >      >  line 29, in __init__
>>       >      >      self.transaction = xshandle().transaction_start()
>>       >      >    File
>>       >      >
>>       >
>>          "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py",
>>       >      >  line 18, in xshandle
>>       >      >      xs_handle = xen.lowlevel.xs.xs()
>>       >      >
>>       >      >  Boris.
>>       >      >  P.S.  2.6.32.10 works fine.
>>       >      >
>>       >      >
>>       >      >
>>       >
>>       >
>>       >      _______________________________________________
>>       >      Xen-devel mailing list
>>       >      Xen-devel@lists.xensource.com
>>       </mc/compose?to=Xen-devel@lists.xensource.com>
>>       >      </mc/compose?to=Xen-devel@lists.xensource.com
>>       </mc/compose?to=Xen-devel@lists.xensource.com>>
>>       >      http://lists.xensource.com/xen-devel
>>       >
>>       >
>>
>>
>>       _______________________________________________
>>       Xen-devel mailing list
>>       Xen-devel@lists.xensource.com
>>       </mc/compose?to=Xen-devel@lists.xensource.com>
>>       http://lists.xensource.com/xen-devel
>>
>>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
>
>
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-06-09  7:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 18:29 Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 Boris Derzhavets
2010-06-08 18:50 ` Jeremy Fitzhardinge
2010-06-08 18:59   ` Boris Derzhavets
2010-06-08 19:13   ` Boris Derzhavets
2010-06-08 19:15     ` Jeremy Fitzhardinge
2010-06-08 19:27       ` Boris Derzhavets
2010-06-08 20:02       ` Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 (F13) Boris Derzhavets
2010-06-09  7:55         ` Paul Kölle [this message]
2010-06-09 10:34   ` Re: Failure to start xend with 2.6.32.15 (c2cb3df04eb3ff68d0de102b2acacc9b8616e659) under Xen 4.0 Keir Fraser
2010-06-09 11:15     ` Boris Derzhavets
2010-06-09 12:02       ` Keir Fraser
2010-06-09 18:16         ` Jeremy Fitzhardinge
2010-06-09 18:37           ` Boris Derzhavets
2010-06-09 18:50             ` Jeremy Fitzhardinge
2010-06-09 20:01               ` Boris Derzhavets
2010-06-09 20:15                 ` Pasi Kärkkäinen
2010-06-10 13:16                   ` Boris Derzhavets
2010-06-09 12:12     ` Boris Derzhavets

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='hunhd9$cuu$1@dough.gmane.org' \
    --to=paul@subsignal.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.