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

Re: [Xen-users] Unaible to create DomU Guest


  • To: Ian Campbell <Ian.Campbell@xxxxxxxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Dorian <dechangydorian@xxxxxxxx>
  • Date: Tue, 30 Apr 2013 17:15:34 +0100 (BST)
  • Delivery-date: Tue, 30 Apr 2013 16:16:46 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=fJTA+vFLIwkT/6HqI+L/F2vC5lVMvlBTQhdsBgvnBouFJmiqsSQyalDodGUmAWrOIMA/jXMbHvxlD7WHoZ9sClLhb1OsbAvLzAbChlO58pejzyqJnNSupjBqhPsyaE2P4X28+GpHN+zXUN08dUbltpSlErWKYguLfz8aPn2EQ/o=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Each reply in bold Char.
Thx

De : Ian Campbell <Ian.Campbell@xxxxxxxxxx>
À : Dorian <dechangydorian@xxxxxxxx>
Cc : "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Envoyé le : Mardi 30 avril 2013 16h07
Objet : Re: [Xen-users] Unaible to create DomU Guest

On Tue, 2013-04-30 at 13:58 +0100, Dorian wrote:
> Hello.
>
>
> First of all I 'm pretty new to Linux and this is my first install of
> Xen. So don't mind me wrong if sometimes I don't know which command is
> appropriate to fetch results.
>
>
> I'm running a new Debian Squeeze release 2.6.32-5-xen-amd64 with
> minimal components. I've been going through install of Xen as per the
> documentation for the 4.2.1 release and did so by source. However I
> installed (make install & make world) from
> within /user/Download/xen4.2.1, I don't know if that is a good/bad
> idea?

If you are new to this then I would strongly recommend you use the
version of Xen which is packaged in Debian. Likewise for the kernel.
[...]

I'm not sure what you mean with  "version of Xen which is packaged in Debian"
when I tried to install with aptitude, I got uncomplete install. From source it looks like correct.
On top... of this I can't google a distro of Debian with Xen included (pre-packaged), if that is what you meant. If so please resume with this practice.... :


> Vif x.x should appear after xm create Virtual-guest.cfg, I guess
> (which in my case is MArie-DHCP)
>
> root@debian:/home/dorian# brctl show
> bridge name    bridge id        STP enabled    interfaces
> pan0        8000.000000000000    no       
> xenbr0        8000.002655c46159    no        eth0

Does vifx.y exist in the "ifconfig -a" output?

This is the second issue I aim to view in sight. I don't see it. I have :

eth0
lo
pan0
wlan0
xenbr0
xenbr0:avahi

I can tell that when I launch the guest ( #xm create ), the network "icon" shows an vifx.y device when I slide my mouse over it. Unfortunately , as the guest doesn't perform the read/write execution  and returns recursive error in hotplug.log, it crashes and alert me with "Error: Device 0 (vif) could not be connected. Hotplug scripts not working." This bug is reported in the page > wiki.xen.org/wiki/xenCommonProblems#  
Problems are quoted below (I put them in bold char)

> "This problem is often related to udev. Do you have udev installed? Is
> your udev the correct/supported version? "This error usually has more
> information in the end revealing the real reason.. for example:
> Error: Device 0 (vif) could not be connected. Hotplug scripts not working.


> "This problem is often caused by not having "xen-netback" driver
> loaded in dom0 kernel.
> "The hotplug scripts are located in /etc/xen/scripts by default, and
> are labeled with the prefix vif-*. Those "scripts log
> to /var/log/xen/xen-hotplug.log, and more detailed information can be
> found there."

>I  know I installed udev, prior to install xen from source
> since hotplug plugin doesn't exists/shows up.

Do you have Xen rules file in /et/udev/rules.d/foo?

e.g. No file ./foo doesn't exist. Whereas I have 
xen-backend.rules
xend.rules + 3 other beginin 70-... & z60.. 85-pcm..

# head -n2 /etc/udev/rules.d/xen-backend.rules
SUBSYSTEM=="xen-backend", KERNEL=="tap*", ENV{UDEV_CALL}="1", RUN
+="/etc/xen/scripts/blktap $env{ACTION}"
SUBSYSTEM=="xen-backend", KERNEL=="v...
...

> I've been trying to locate xen-netback driver.
> root@debian:/dev# cat /proc/modules | grep xen
> xen_evtchn 4355 1 - Live 0xffffffffa04d7000
> xenfs 9616 1 - Live 0xffffffffa04ce000

>>Did you try "modprobe xen-netback" ? Or "find /lib/modules -name
>>\*netback\*" in case it was called something else in Squeeze?

A locate xen-netback returns NOthing
Prompted modprobe xen-netback >> answer: FATAL: Module xen-netback not found. '(I remind of the former and latter also missing - see below ) How do I get around!? Maybe I'll never fix it on my own :5 But once @ A TIME 

> >>>>>>These modules seem .ok
> But since this call :
> http://wiki.xen.org/wiki/Mainline_Linux_Kernel_Configs#Update_modules
> The following modules may be required:STep 2
>
>    xen-evtchn
>    xen-gntdev    >>> missing        >>>> I think the error comes from
>    xen-netback    >>>missing                this missing drivers
>    xen-blkback    >>>missing
>    xenfs
>    blktap        >>> missing  |Are they missing from Xen 4.2.1 from source Or
> did they don't install properly (something like exit with errors? I'm willing to re install
> with detailed info if needed...).

These modules come from your kernel, not from Xen itself. The -xen
flavours of the Debian kernel should have them already (either modular
or static). If you built your own kernel then you will need to ensure
you enable the relevant option.

Is it this you mean that installing xen from source DID NOT install these modules. They are present in the Debian kernel?
How come I get a FATAL answer! Again you point out the xen flavour of Debian kernel... Hm kernel 2.6.32-5 is one ? Can you answer this basic and maybe idiot Q by Yes or No? Thx! Hm, sezcondly I'm afraid I won't build my own kernel - I've never read an article on this topic. Looks like too much developer side on either sides. My respect. Final: if these modules should have been packed with the Debian kernel, how will I install them. This is a basic question but for instance an aptitude search xen-netback returns 0.

Ian.




_______________________________________________
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®.