WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] RE: Hotplug scripts not working.

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: Hotplug scripts not working.
From: <ramamurthy.suresh@xxxxxxxxx>
Date: Tue, 24 Jun 2008 14:26:31 +0530
Delivery-date: Tue, 24 Jun 2008 01:57:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <E1KB4I0-0008UG-A5@host-192-168-0-1-bcn-london>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcjV18LwL41uchMiStekg2DJr3vPtwAADR8Q
Thread-topic: Hotplug scripts not working.
Hi,

Please try creating a ramdisk with xennet and xenblk preload options and 
include this ramdisk in VM configuration file. (you can use mkinitrd, man 
pages).

Regards,
Suresh.

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
xen-users-request@xxxxxxxxxxxxxxxxxxx
Sent: Tuesday, June 24, 2008 2:23 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Xen-users Digest, Vol 40, Issue 198

Send Xen-users mailing list submissions to
        xen-users@xxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users
or, via email, send a message with subject or body 'help' to
        xen-users-request@xxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
        xen-users-owner@xxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Xen-users digest..."


Today's Topics:

   1. Hotplug scripts not working. (amazab@xxxxxxxx)
   2. Where does Xen store its DomU-state saves? Partitioning   and
      LVM Question (Evan Miller)
   3. Re: about module nVidia GeForce 8400 G in Xen (Igor Chubin)
   4. RE: Multiple NIC and ports in XEN source and XEN  enterprise
      (Fischer, Anna)
   5. xm console does not return a console (piyush masrani)
   6. RE: xm console does not return a console (Kumar, Venkat)


----------------------------------------------------------------------

Message: 1
Date: Mon, 23 Jun 2008 19:55:21 -0400 (EDT)
From: amazab@xxxxxxxx
Subject: [Xen-users] Hotplug scripts not working.
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID: <35987.152.14.92.149.1214265321.squirrel@xxxxxxxxxxxxxxxx>
Content-Type: text/plain;charset=iso-8859-1

Hello all,

I know I have been bugging you recently with many questions but you guys
have been so helpful which makes me greedy. Here is another one.


I installed Xen 3.2.1 on 64 bit FC8. Now when I try to create a guest
domain I always get the error:

"Error: Device 0 (vif) could not be connected. Hotplug scripts not working"

I got the same error ehrn I tried to create the guest with virt-install or
even manually using "xm create". I have the same configuration on a 32-bit
FC8  machine with nor problems. I also found several posts on the mailing
list but none was useful to my problem.


I tried both HVM and para-virtualized guests. I only got the HVM guests to
run when I changed the parameter vif=[,,] to vif0=[,,]. But obviously I
could not get the guest to use the network. When I used the same trick
with my para-virtualized guest the kernel hangs during load time while it
waits for "XENBUS" to start.

I have udev installed on my machine. i really wonder why does in needs
hotplug for!!!

Any help??

Ahmed



------------------------------

Message: 2
Date: Mon, 23 Jun 2008 19:57:25 -0400
From: Evan Miller <forums.office@xxxxxxxxx>
Subject: [Xen-users] Where does Xen store its DomU-state saves?
        Partitioning    and LVM Question
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID: <48603865.90109@xxxxxxxxx>
Content-Type: text/plain; charset=windows-1252; format=flowed

Hi everyone!

Where does Xen save the "DomU state saves"?

I have been trying to figure out the most time-proof partition scheme
for my set up and I was wondering if I could make the folder(?) where
Xen 3.2.1 save it's DomU states saves (what is the right expression for
this?) and put it on its own LVM partition here is why:


I only have 2GB RAM on my ML570. I will be upgrading memory as I need
(up to 32GB).

If Xen saves its DomU-saves to the Dom0's partition then as my server
receives more RAM and I will allocate more memory to DomUs that folder
with in Dom0 will expand to such large proportions that it chokes of
Dom0's hard drive space and crash the system. If I have a LVM in an
automatic mode resizing the partitions as needed I should always be in
good shape when it comes to that.

Of course this could all be avoided if Xen saves the states to the DomU
partition and reads them from there accordingly. Somehow I suspect that
Xen saves the DomU state saves somewhere on the Dom0 partition by
default (if you only have a "/" partition containing the whole Dom0).


I'm still attempting to figure out the best partitioning scheme for my
boxes...any help would be appreciated.

Thank you in advance,



Sincerely,



Evan Miller



+++++++++++++++++++++++++++

Hello Friends,

After over 30 hours of scouring the web for a recent comprehensive guide of
installing Xen on Debian Etch I feel like I have no choice but to post here
(my first mailing list post!).

I found many good guides, but it seems that they all lack:
    A. recommended partitioning scheme
and/or
    B. LVM set up




**************************************
I was following the http://www.howtoforge.com/debian_etch_xen_3.1 guide and
everything went well for a while, but the [new] Xen version was incompatible
with some of the instructions so I set out to look for a more recent guide
and found out that there is a much easier way to install Xen (from sources)
now and that I should use LVM.

The above link was the only one that gave the detailed partitioning
recommendations I needed:


*       /boot 150 MB (Primary) (Location for the new partition: Beginning) 
(ext3)
(Bootable flag: on <-- important, otherwise your system will not boot!)
*       swap 1GB (Logical) (Location for the new partition: Beginning)
*       / 3GB (Logical) (Location for the new partition: Beginning) (ext3)
*       /vserver the rest (Logical) (Location for the new partition: Beginning)
(ext3)

Unfortunately it is missing instructions for using LVM.


This guide mentions LVM, but has proprietary partitioning scheme and old Xen
version: http://www.d7031.de/text/xen_with_lvm_under_etch.shtml


http://www.cosmocode.de/en/blogs/gohr/20070130123639/ - This guide gets very
close covering both, but it is outdated and I am wary about mixing the
original guide's ( http://www.howtoforge.com/debian_etch_xen_3.1 )
partitioning scheme and this one.


I also was hoping to achieve the internal routing and the best guides that
seem to cover that are the original guide I mentioned and the
http://xgu.ru/wiki/Xenomips/en (later one is a bit beyond me at this time).




**************************************

I am sorry for the convoluted first post - I think it reflects my mind state
at this time! XD

I would like to introduce myself to all of you: My name is Evan, I am a *NIX
newbie, I have been "messing about" with Linux distos since 2001 and about
as long with FreeBSD. Unfortunately I have not ventured far beyond GUI and
always came back to Windows XP.

Lately I was put in charge of creating a test set up for our startup so I
have been forced to learn many things at once while producing some sort of
positive results on a very tight schedule.

We have decided that a Xen setup running on top of Etch was the way to go,
but actually implementing such a setup has proven to be very challenging.

I would appreciate any help, but please keep in mind my limited linux and
non-gui experience (I'm just learning to appreciate vi).




**************************************

Hardware:

I have 2 Xen candidates:

1. ML570 2G Server with 4 2.4GHz Xeons, 2GB PC 2100 Ram (6GB more coming)
and 6 15k 73GB SCSI drives (and 6 more to come) running on the the LSI 320-2
controller in Raid0 soon to be backed up on to 2 SATA 2 1TB Drives running
off a SATA 300 Promise controller.

2. Intel Pentium D 820 (dual core 2.8GHz) based desktop with 1GB ram and
on-board sata 150 running a 240GB SATA drive (more drives and memory will be
added). The P5LP-LE motherboard (
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c00864946&lc=en&cc=us )
supports VT chips so at some point we may upgrade this box to Intel VT cpu
(I am not sure if I will have to reinstall the VT enabled Xen at that point
or not).


Eventually I would like to run a mix of:
http://lxer.com/module/forums/t/24435/ and http://xgu.ru/wiki/Xenomips/en
and have the ability to move live machines from the ML570 to the Desktop 820
D system at night to save on power.


**************************************

For now I would be happy with a solid partition recommendation to get me
started on the way to these goals.

I will start with the Desktop D 820 system with Etch running as Dom0 on a
250GB SATA drive.

I would like to eventually have a GUI access to managing Xen DomUs so I
thought I would mention this encase a 3GB root partition (
http://www.howtoforge.com/debian_etch_xen_3.1 )  would be too small.

Keeping all above in mind what would be the recommended partition scheme for
the 250GB drive?

**************************************




Thank you in advance,

Sincerely,

=)

Evan Miller

+++++++++++++++++++++++++++



------------------------------

Message: 3
Date: Tue, 24 Jun 2008 11:03:37 +0300
From: Igor Chubin <igor@xxxxxxx>
Subject: Re: [Xen-users] about module nVidia GeForce 8400 G in Xen
To: Christopher Isip <cmisip@xxxxxxxxx>
Cc: ??!? Jansen <janseneric@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx,
        xen-users-owner@xxxxxxxxxxxxxxxxxxx
Message-ID: <20080624080337.GD10106@xxxxxxx>
Content-Type: text/plain; charset=utf-8

On Mo, Jun 23, 2008 at 05:03:13 -0400, Christopher Isip wrote:
> On Mon, Jun 23, 2008 at 5:08 AM, â'¬(R)!(c) Jansen <janseneric@xxxxxxxxx> 
> wrote:
>
> > Thank you for the quick reply,
> > But does it work with the newest nvidia driver
> > (NVIDIA-Linux-x86-173.14.09.pkg1.run) or just with the driver that shown in
> > it (NVIDIA-Linux-x86-1.0-9631-pkg1.run)?
> > I have installed the newest driver in the base kernel, I am afraid of the
> > kernel panic with the xen kernel
> > Cause it seems that the newest driver must have a major modification since
> > in which the driver mentioned that worked with xen kernel.
> >
> > Thank you very much once again
> > ERic Jansen
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
> >
>
> It will work with the newest driver without any modifications.  Just set the
> environment variable.


You talk about

export IGNORE_XEN_PRESENCE=1

right?

I have downloaded drivers from the page:

http://www.nvidia.com/object/linux_display_ia32_173.14.09.html

and have tried to install it with the variable
IGNORE_XEN_PRESENCE set to 1.



export IGNORE_XEN_PRESENCE=1
sh NVIDIA-Linux-x86-173.14.09-pkg1.run  --x-module-path=/usr/lib/xorg/modules/


I have got the same error message
"Xen was detected; I don't want to continue"
or something like this.


Have you installed NVidia drivers in this way?
What is the kernel version on the system where you have installed
it?
May it be due to my kernel is too old?
$ uname -a
Linux cholpon 2.6.18-4-xen-686 #1 SMP Thu May 10 03:24:35 UTC 2007
i686 GNU/Linux


Any other ideas?

Thank you in advance.





>
> Chris

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

--
WBR, i.m.chubin




------------------------------

Message: 4
Date: Tue, 24 Jun 2008 08:03:01 +0000
From: "Fischer, Anna" <anna.fischer@xxxxxx>
Subject: RE: [Xen-users] Multiple NIC and ports in XEN source and XEN
        enterprise
To: Venefax <venefax@xxxxxxxxx>
Cc: "D.Kalogeras@xxxxxxxxxxx" <D.Kalogeras@xxxxxxxxxxx>,
        "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Message-ID:
        
<0199E0D51A61344794750DC57738F58E3F6778F483@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>

Content-Type: text/plain; charset="us-ascii"

> From: Venefax [mailto:venefax@xxxxxxxxx]
> Sent: 23 June 2008 12:12
> To: Fischer, Anna; D.Kalogeras@xxxxxxxxxxx
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [Xen-users] Multiple NIC and ports in XEN source and XEN
> enterprise
>
> I decided to assign a physical NIC to every DOMU, to minimize
> bottleneck,
> since my app is a telephony softswitch, and depends on network IO. I
> have 8
> NICS in the box and 8 softswitches.
>
> The question is, how can I do that?

A basic solution would be to create a bridge per physical NIC and then connect 
the DomUs to those bridges. You could also use PCI passthrough - in that case 
only the DomU would have access to the NICs and you would not see any traffic 
in Dom0.

> Also, is there a way to measure the
> network IO that each domu is generating, using dom0. I mean, without
> installing any software on domu's, only by looking at dom0?
> I have also heavy network traffic between domu's. How can I optimize
> that?
> Some of the domu's are in different networks, and I noticed that the
> packets
> go out on the internet and come back, which is ridiculous.

Not quite sure what you mean here... If you only do bridging in Dom0 and your 
VMs are on different networks then packets may need to go out of Dom0 in order 
to route them. But that depends on how you network is set up, it is not a Xen 
issue. What setup do you run in your Dom0? Do you use the bridge?

> How can that
> path
> be shortened? I imagined that since the mac addresses are local, XEN
> would
> be able to send it directly to the destination, is that even possible?

Yes, for example, if all your guests are on the same networks then the bridge 
would pass them directly to the correct destination. If you need to have the 
guests on different networks then you could do routing in Dom0.

> Finally, what brands are there for Virtualization-aware NICs? Maybe I
> will
> buy one.

For example: Neterion X3100, Solarflare Solarstorm, Mellanox ConnectX EN.




------------------------------

Message: 5
Date: Tue, 24 Jun 2008 14:05:08 +0530
From: "piyush masrani" <masrani.piyush@xxxxxxxxx>
Subject: [Xen-users] xm console does not return a console
To: xen-users@xxxxxxxxxxxxxxxxxxx
Message-ID:
        <aefb6ea00806240135p5ff8303qdc008811a949ea27@xxxxxxxxxxxxxx>
Content-Type: text/plain; charset="iso-8859-1"

Hi

I have installed xen 3.10 on ubuntu 7.10 (Gutsy Gibbon) through
repositories...
I followed the following link:
http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories

 I am able to create Guest VMs on it by using xen-create-image and able to
run them by using xm create. But i am not getting the console of the created
VMs( xm console is not working. Not even by using the option -c in xm
create)...The shell in which i run these commands don't return any
prompt...what should i do?

Thanking in advance

-Piyush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/archives/html/xen-users/attachments/20080624/8645813b/attachment.htm

------------------------------

Message: 6
Date: Tue, 24 Jun 2008 16:51:59 +0800
From: "Kumar, Venkat" <Venkat.Kumar@xxxxxxx>
Subject: RE: [Xen-users] xm console does not return a console
To: piyush masrani <masrani.piyush@xxxxxxxxx>,
        "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Message-ID:
        <532F993CC2E6654CADFE057ADC6C2FA31B7E651076@xxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

First of all, Are you sure that your domain is created and booted properly.
If yes, is it a HVM or a PV guest?
Check in xm list whether your domain is created and running.
What does xm create -c show?
If xm list shows your domain and still you are not able to connect to the 
console.

Use a vncviewer to attach to a console.
For example : vncviewer 12.0.0.1:5900
Use 5901 if 5900 is not working.
As you keep creating additional VM's increment the screen number 590x. I guess 
this helps.

Venkat


================================
Venkata Kumar Duvvuru,
LSI Engenio,
Adv. Development,
Bangalore.
Mob: +91-9880318542
Off : +91-80-41978700 ( Extn : 3544 )
================================
________________________________
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of piyush masrani
Sent: Tuesday, June 24, 2008 2:05 PM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm console does not return a console

Hi

I have installed xen 3.10 on ubuntu 7.10 (Gutsy Gibbon) through repositories...
I followed the following link:
http://www.howtoforge.com/ubuntu-7.10-server-install-xen-from-ubuntu-repositories

 I am able to create Guest VMs on it by using xen-create-image and able to run 
them by using xm create. But i am not getting the console of the created VMs( 
xm console is not working. Not even by using the option -c in xm create)...The 
shell in which i run these commands don't return any prompt...what should i do?

Thanking in advance

-Piyush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.xensource.com/archives/html/xen-users/attachments/20080624/5be635b1/attachment.html

------------------------------

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


End of Xen-users Digest, Vol 40, Issue 198
******************************************

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] RE: Hotplug scripts not working., ramamurthy.suresh <=