Anthony Liguori | 1 May 2005 04:09
Picon
Favicon

Re: How to detect a domain shutdown with as less overheadas possible?

Kip Macy wrote:

>In tools/python/xen/xend/XendDomain.py you'll see that reap is called
>by onVirq which in turn is a handler registered for xend.virq.
>xend.virq is an event-channel used by xend for notifications. It is
>set up in tools/python/xen/xend/server/channel.py. In -testing reap
>appears to be called as soon as a domain crashes, meaning that
>everything is working as it should. In -unstable a guest doesn't get
>reaped until 'xm list' gets called awakening xend to the fact that it
>has work to do.
>  
>
There's a bug under bugzilla (#7) about this.  It appears xcs is not 
delivering VIRQs properly.

The DOM_EXC virq won't be delivered for every possible shutdown case 
either.  It's delivered for a crash or for a shutdown (a domain 
initiated shutdown) but not for a domain destroy.

I've found the best way to detect shutdown reliably is with a polling 
loop.  There's code in xenctld to do just this (and I believe Mike Wray 
is doing this too in the new Xend).

I've done performance testing with querying every 2 seconds and the 
overhead is trivial.

As Mark mentioned, there is an event socket for Xend.  Be warned though 
that right now, those event are probably not very reliable.

If you're looking for a cheap solution that can be done with the shell, 
(Continue reading)

Roland M. Kruggel | 1 May 2005 13:35
Picon
Picon

Re: no file descriptor

Am Freitag, 29. April 2005 09:12 schrieb Roland M. Kruggel:
> Hi list,
>
> I have installed my virtuell device by copying a existing real
> Linux installation. Whe I boot this vm i get following error:
>
> <--
> Couldnt get a file descriptor referring to the console
> -->
>
> I get it ca. 150 times. After this message it continues booting.
> The vm runs correctly in text-mode. The start of the x-server
> crashes with this error.
>
> Wher can I switch off these error?

Has nobody a anser for me?

--

-- 
cu

Roland Kruggel  mailto: rk-liste <at> gmx.de
System: Intel 3.2Ghz, Debian sid, 2.6.7, KDE 3.3.2
Ian Pratt | 1 May 2005 13:50
Picon
Picon
Favicon

RE: no file descriptor

> > I have installed my virtuell device by copying a existing 
> real Linux 
> > installation. Whe I boot this vm i get following error:
> >
> > <--
> > Couldnt get a file descriptor referring to the console
> > -->
> >
> > I get it ca. 150 times. After this message it continues booting.
> > The vm runs correctly in text-mode. The start of the 
> x-server crashes 
> > with this error.
> >
> > Wher can I switch off these error?
> 
> Has nobody a anser for me?

Use Xvnc rather than a hardware xserver, and connect to the display with
vncviewer.

Ian
Einhar, Arnon | 1 May 2005 14:37
Picon
Favicon

RE: VT/IVT enabled xen version

Where can I download the 3.0 unstable tree from?

Thanks, Arnon.

-----Original Message-----
From: Steven Hand [mailto:Steven.Hand <at> cl.cam.ac.uk] 
Sent: Thursday, April 21, 2005 11:42 AM
To: Einhar, Arnon
Cc: xen-users <at> lists.xensource.com; Steven.Hand <at> cl.cam.ac.uk
Subject: Re: [Xen-users] VT/IVT enabled xen version

>Does anyone knows when VT ('Vanderpool Technology' or the new name
Intel
>Virtualization Technology) enabled XEN version will be released?

The unstable tree has supported VT since late 2004; you can use this 
now, or wait for the next major release of Xen (3.0).

cheers,

S.
John Que | 1 May 2005 17:39
Picon
Favicon

Error when starting X server in a binary installation : "No screen found"

Hello ,

I had tried to install Xen from the binary install
on RedHat 9 , Intel x86.

I ran the install script and adjusted the grub.conf according to 
documentation.

I do succeed to boot into xen.

When I try to start to X server I get the following error:
"Fatal server error: No screen found"

I have a SiS Display Adapter.

When I run lspci , when booting normally into RH9, I get
the following message regarding this Display Adapter:
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
SiS650/651/M650/740 PCI/AGP VGA Display Adapter

Can I use the X server ?
What should I do to start the X server ?

Regards,
John

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
(Continue reading)

Mark Williamson | 1 May 2005 17:17
Picon
Picon
Favicon

Re: Error when starting X server in a binary installation : "No screen found"

I'm going to take guess and suggest this is to do with the AGP support in 
XenLinux.  Easiest thing to do now is probably to download the 2.0-testing 
tree and build that - it might Just Work because it enables some AGP fixes by 
default.

Cheers,
Mark

On Sunday 01 May 2005 16:39, John Que wrote:
> Hello ,
>
> I had tried to install Xen from the binary install
> on RedHat 9 , Intel x86.
>
> I ran the install script and adjusted the grub.conf according to
> documentation.
>
> I do succeed to boot into xen.
>
> When I try to start to X server I get the following error:
> "Fatal server error: No screen found"
>
> I have a SiS Display Adapter.
>
> When I run lspci , when booting normally into RH9, I get
> the following message regarding this Display Adapter:
> 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS]
> SiS650/651/M650/740 PCI/AGP VGA Display Adapter
>
> Can I use the X server ?
(Continue reading)

Mark Williamson | 1 May 2005 17:31
Picon
Picon
Favicon

Re: VT/IVT enabled xen version

On Sunday 01 May 2005 13:37, Einhar, Arnon wrote:
> Where can I download the 3.0 unstable tree from?

Get snapshot tarballs from: 
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads.html

Or download using BitKeeper from:
bk://xen.bkbits.net/xeno-unstable.bk

HTH,
Mark

>
> Thanks, Arnon.
>
> -----Original Message-----
> From: Steven Hand [mailto:Steven.Hand <at> cl.cam.ac.uk]
> Sent: Thursday, April 21, 2005 11:42 AM
> To: Einhar, Arnon
> Cc: xen-users <at> lists.xensource.com; Steven.Hand <at> cl.cam.ac.uk
> Subject: Re: [Xen-users] VT/IVT enabled xen version
>
> >Does anyone knows when VT ('Vanderpool Technology' or the new name
>
> Intel
>
> >Virtualization Technology) enabled XEN version will be released?
>
> The unstable tree has supported VT since late 2004; you can use this
> now, or wait for the next major release of Xen (3.0).
(Continue reading)

andrew mathes | 2 May 2005 06:45

multiple vif's/bridges

i'm confused what the "mac" paramater on vif's in the startup 
configuration file for a domain does.

i have this in my configuration file:
vif = [ 'mac=aa:00:00:1a:%d:11' % (vmid), 'bridge=xen-br0']
vif = [ 'mac=aa:00:00:1a:%d:12' % (vmid), 'bridge=xen-br1']

and while my REAL question is why this doesn't bind the second vif to 
bridge1, my first concern is that what's happening is the second line's 
MAC is being given to eth0 on my VM, and eth1 is getting something fairly 
random looking.

is this mac the mac of the bridge being binded to, the mac of the new vif 
in the domain?  And if it's the mac of the if in the domain, why would 
these two lines not assign those two macs to eth0/1 respectively?

I'm sure someone out there has bound multiple ethernet cards to different 
interfaces ... seems like a very common server setup, any enlightenment 
from xen guru's out there?

mostly curious about the "vif" paramater in your domain startup 
configuration as well as if you used the default "vif-bridge" script.

thanks a lot
Andrew Mathes
Mark Doll | 2 May 2005 14:59
X-Face
Picon
Favicon

Re: multiple vif's/bridges

Hi Andrew!

andrew mathes wrote:
> i'm confused what the "mac" paramater on vif's in the startup
> configuration file for a domain does.
> 
> i have this in my configuration file:
> vif = [ 'mac=aa:00:00:1a:%d:11' % (vmid), 'bridge=xen-br0']
> vif = [ 'mac=aa:00:00:1a:%d:12' % (vmid), 'bridge=xen-br1']
> 
> and while my REAL question is why this doesn't bind the second vif to
> bridge1,

The first time I used xen, I thought all this would happen
automagically. Butwhen I figured out (like you) that this is not true,
so I started to configure everything outside of xen's startup scripts in
advance of creating domains:

1. Create all the bridge devices that are mentioned in xenU
configuration files; since xen-br0 is already there, in your case only
xen-br1 has to be created:

brctl addbr xen-br1
brctl stp xen-br1 off
brctl setfd xen-br1 0
ip link set xen-br1 up

I disable spanning tree since normally it causes more problems than it
solves and it unnecessarily delays the initial forwarding. When the
domUs boot, their eth0, eth1 etc. are added to the bridges as specified
(Continue reading)

Jody Belka | 2 May 2005 16:24

Re: multiple vif's/bridges

On Sun, May 01, 2005 at 09:45:22PM -0700, andrew mathes wrote:
> i have this in my configuration file:
> vif = [ 'mac=aa:00:00:1a:%d:11' % (vmid), 'bridge=xen-br0']
> vif = [ 'mac=aa:00:00:1a:%d:12' % (vmid), 'bridge=xen-br1']

the configuration files are actually python scripts, so the
2nd line there is replacing the information from the first. This is
what you actually need:

vif = [ 'mac=aa:00:00:1a:%d:11, bridge=xen-br0' % (vmid),
        'mac=aa:00:00:1a:%d:12, bridge=xen-br1' % (vmid)]

J

--

-- 
Jody Belka
knew (at) pimb (dot) org

Gmane