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

[Xen-users] Fwd: Fwd: xc_dom_kernel_file failed: No such file or directory



Sorry. My last mail has the wrong recipient. I dont know why, all
mails on this mail list, when I chose to answer, do this to the
sender, instead to mail list. So i need to delete it, and write the
right email.

Sorry, my bad. So.. Here is my mail.:


> On Mon, Apr 21, 2014 at 05:48:00PM -0300, Facu Curti wrote:
> > On Mon, Apr 21, 2014 at 10:26:13AM +0100, Wei Liu wrote:
> > > On Fri, Apr 18, 2014 at 06:37:25PM -0300, Facu Curti wrote:
> > > > On Fri, Apr 18, 2014 at 06:01:40PM +0100, Ian Campbell wrote:
> > > > > On Fri, 2014-04-18 at 13:55 -0300, Facu Curti wrote:
> > > > >
> > > > > > I tried to give mode +x to /usr/lib/xen/bin/qemu-dm, but it doesn't
> > > > > > exist. Maybe I have a missed package?
> > > > >
> > > > > You haven't given any details about your dom0 distro, how you 
> > > > > installed
> > > > > Xen, nor what version of Xen you are running, so it is very hard to 
> > > > > give
> > > > > any advice.
> > > > >
> > > > > Ian.
> > > >
> > > > Solved! :). You was rigth. I'm using gentoo:
> > > >
> > > > uname -a:
> > > > Linux facGentoo 3.12.13-gentoo #21 SMP PREEMPT Tue Apr 15 08:57:05 ART 
> > > > 2014 x86_64 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz GenuineIntel 
> > > > GNU/Linux
> > > >
> > > > I had emerged xen-tools without qemu flag. Before:
> > > >
> > > > emerge -pva xen-tools:
> > > >
> > > > [ebuild   R    ] app-emulation/xen-tools-4.3.1-r5  USE="pam -qemu -api 
> > > > -custom-cflags -debug -doc -flask -hvm (-ocaml) -pygrub -python -screen 
> > > > -static-libs -xend" PYTHON_SINGLE_TARGET="python2_7 -python2_6" 
> > > > PYTHON_TARGETS="python2_7 -python2_6" 21,972 kB
> > > >
> > > > Now:
> > > >
> > > > [ebuild   R    ] app-emulation/xen-tools-4.3.1-r5  USE="pam qemu -api 
> > > > -custom-cflags -debug -doc -flask -hvm (-ocaml) -pygrub -python -screen 
> > > > -static-libs -xend" PYTHON_SINGLE_TARGET="python2_7 -python2_6" 
> > > > PYTHON_TARGETS="python2_7 -python2_6" 21,972 kB
> > > >
> > > > So, it is solved. But now I have another problem ._. This will end
> > > > sometime? lol.
> > > >
> > > > libxl: error: libxl_device.c:894:device_backend_callback: unable to add 
> > > > device with path /local/domain/0/backend/vif/11/0
> > > > libxl: error: libxl_create.c:1115:domcreate_attach_vtpms: unable to add 
> > > > nic devices
> > > > libxl: error: libxl_device.c:894:device_backend_callback: unable to 
> > > > remove device with path /local/domain/0/backend/vif/11/0
> > > > libxl: error: libxl.c:1452:devices_destroy_cb: libxl__devices_destroy 
> > > > failed for 11
> > > >
> > >
> > > Looks like you don't have a backend driver for Xen virtual network
> > > interface.
> > >
> > > Do you have a module called xen_netback loaded in Dom0? Or can you check
> > > it is compiled in the kernel?
> > >
> > > Wei.
> >
> > I dont have this option :/ I just have XEN_NETDEV_FRONTEND and
> > XEN_NETDEV_BACKEND. Both compiled in kernel. I attach my .config
> >
>
> OK, XEN_NETDEV_BACKEND=y in your config file so you've had netback
> compiled in.
>
> I can see from your config file you're using bridge network. It might
> be worth checking if br0 exists
Yes. Here is a ifconfig:

br0: flags=4419<UP,BROADCAST,
RUNNING,PROMISC,MULTICAST>  mtu 1500
        inet 192.168.1.5  netmask 255.255.255.0  broadcast 255.255.255.255
        ether ac:22:0b:c1:dc:de  txqueuelen 0  (Ethernet)
        RX packets 333871  bytes 316215275 (301.5 MiB)
        RX errors 0  dropped 33  overruns 0  frame 0
        TX packets 278785  bytes 69452782 (66.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether ac:22:0b:c1:dc:de  txqueuelen 1000  (Ethernet)
        RX packets 334035  bytes 320920139 (306.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 278785  bytes 69452782 (66.2 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 0  (Local Loopback)
        RX packets 6  bytes 328 (328.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 6  bytes 328 (328.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

And my /etc/conf.d/net:

modules="iproute2" # optional

config_enp3s0="null"
dns_servers_br0="192.168.1.136"

config_br0="dhcp" # change this line if your network config is static
brctl_br0="setfd 0 sethello 10 stp off"
bridge_br0="enp3s0"

rc_net_br0_need="net.enp3s0"
rc_net_enp3s0_provide="!net"


> and userspace vif-bridge script runs
> correctly.
How can I check that?

> You can find some reference Dom0 network setup on
> wiki.xen.org.
The wiki does not works for me. I had trouble setting up the network.
I finally get it using the config I have now.

>
> Wei.

Thank you!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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