Skip to contentSkip to conversation

xen-unstable libvchan not working

DISCUSSION Francisco Rocha 1 participant 2 messages Apr 25, 2012

lore
Share & tools
lore
#0 lore raw

Hi everyone,

I have a machine that have built earlier this year and libvchan works correctly.
Now, I am trying to build a new one but it doesn't work.

I have used the latest xen-unstable.
When I try the vchan-node2 test application I get:

(guest 1 is the server and guest 2 the client)

# ./vchan-node2 server 1 /local/domain/1/data/vchan-1-2
libxenvchan_*_init: No such file or directory

I thought it could be the directory in xenstored so I created it manually but the error persists.

Anyone has came across this problem?

I have all the required modules and libraries running in the guests:

# lsmod | grep xen
xen_gntalloc            5536  0
xen_gntdev              9019  0
xen_evtchn              5032  0
xen_kbdfront            4149  0
xen_netfront           16358  0
xenfs                   9621  1
xen_blkfront           12741  3
# mount | grep xen
none on /proc/xen type xenfs (rw,relatime)
# ls /usr/lib64/ | grep xen
libxenctrl.a
libxenctrl.so
libxenctrl.so.4.2
libxenctrl.so.4.2.0
libxenstore.a
libxenstore.so
libxenstore.so.3.0
libxenstore.so.3.0.0
libxenvchan.a
libxenvchan.so
libxenvchan.so.1.0
libxenvchan.so.1.0.0

Cheers,
Francisco

#1 lore raw
Quoted 11 lines · Francisco Rocha

Hi everyone,

I have a machine that have built earlier this year and libvchan works correctly.
Now, I am trying to build a new one but it doesn't work.

I have used the latest xen-unstable.
When I try the vchan-node2 test application I get:

(guest 1 is the server and guest 2 the client)

Quoted 7 lines
# ./vchan-node2 server 1 /local/domain/1/data/vchan-1-2
libxenvchan_*_init: No such file or directory

I thought it could be the directory in xenstored so I created it manually but the error persists.

Anyone has came across this problem?

I have added some tracing to see which part of the init was failing. It looks like it is xc_evtchn_open. What can cause this to fail?

Quoted 30 lines

I have all the required modules and libraries running in the guests:

# lsmod | grep xen
xen_gntalloc            5536  0
xen_gntdev              9019  0
xen_evtchn              5032  0
xen_kbdfront            4149  0
xen_netfront           16358  0
xenfs                   9621  1
xen_blkfront           12741  3
# mount | grep xen
none on /proc/xen type xenfs (rw,relatime)
# ls /usr/lib64/ | grep xen
libxenctrl.a
libxenctrl.so
libxenctrl.so.4.2
libxenctrl.so.4.2.0
libxenstore.a
libxenstore.so
libxenstore.so.3.0
libxenstore.so.3.0.0
libxenvchan.a
libxenvchan.so
libxenvchan.so.1.0
libxenvchan.so.1.0.0

Cheers,
Francisco