Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-02-06 Thread Michelle Konzack
Am 2008-01-24 23:34:44, schrieb Martin Marcher:
 aptitude install xen-linx-image-2.6-xen-amd64
 
 no i'm not joking, those with the hypervisor and ioemu and i was set, I had
 the 2 or 3 minor updates since etch release and all of those kernels worked
 fine.

I am using the xen-linx-image-2.6-xen-686 and it just
works on a AMD Sempron 2800+ but I was not able to
recompile this pig for a k7 which crash all the time.

 AGAIN: I didn't install any specific version i think i even
 used linux-image-xen-amd64 - it just works with etch

:-)

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-02-06 Thread Michelle Konzack
Am 2008-01-24 21:02:02, schrieb Ted Hilts:
 Also, I was talking about kernel versions higher than yours (up in the 
 twenties where yours was 18) and 32 bit. But whether the CPU is 32 bit 

Sorry, but I am using the latest linux-image-2.6.23-1-xen-686 from
Unstable/Sid which I have tried to rebuild under my AMD Sempron but
without success (I use the make-kpkg targer all and it build all
without any Xen kernels)

 information the Xen Debian problem occurred on the 2.6 kernel at some 
 point and there were many requests on the debian-user list asking why 
 they could not get the AMD Xen stuff to work. So it will be interesting 
 to see if things have now changed.  I don't doubt your set up works and 
 works well but I am willing to bet that the etch stable kernel version 
 will not work for you.  Maybe, with Debian 4.0 the problem has been 
 resolved -- hope so!

Unfortunatly not, k7 does crash (kernel Oops) all the time while loading

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-02-06 Thread Michelle Konzack
Am 2008-01-25 12:11:35, schrieb Martin Marcher:
 Any specific reason you need a newer kernel? (Again) I wouldn't do that on a
 server machine. Also xen patches are always a couple of versions behind -
 at least in my experience - so they only apply cleanly to the version
 stated on xensource

Yes, some of my newer Hardware is not recognized with 2.6.18...

Thanks, Greetings and nice Day
Michelle Konzack
Systemadministrator
Tamay Dogan Network
Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
# Debian GNU/Linux Consultant #
Michelle Konzack   Apt. 917  ICQ #328449886
   50, rue de Soultz MSN LinuxMichi
0033/6/6192519367100 Strasbourg/France   IRC #Debian (irc.icq.com)


signature.pgp
Description: Digital signature


Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-02-02 Thread Michael D. Norwick

Michael D. Norwick wrote:

Michael D. Norwick wrote:

Rick Thomas wrote:

I'm trying to get started with Xen.

Still trying to build a Xen kernel with or without the dfsg.  Found 
this though;


http://help.lockergnome.com/linux/build-XEN-make-kpkg-ftopict384180.html

Michael
Still trying to compile a XEN enabled kernel and got somewhat farther.  
Taking hints from a blog on building xen 3.2 specifically I found


http://www.cl.cam.ac.uk/research/srg/netos/xen/readmes/hg-cheatsheet.txt

Unfortunately, I did not bookmark the initial page that linked to the 
mercurial cheatsheet above.  It essentially said that the xen 3.2 stable 
source build was broken and that in order to get it to build correctly 
it recommended downloading the whole 'testing' repository source tree 
using the command;


$ hg clone http://xenbits.xensource.com/xen-3.2-testing.hg

I wondered where hg was (I knew it was the symbol for mercury) as I did 
not have that particular program installed.  It turns out that the xen 
project uses mercurial as a revision control system and that program 
needed to be installed in order to clone the project source tree.  Now I 
have cvs, subversion AND mercurial.  Using;


$ sudo apt-get install mercurial

brought in mercurial along with python 2.5 and friends.  I was then able 
to run the hg command and download the 'testing (3.2.1)' source tree.  I 
thought I had all the tools necessary to build xen a week ago but, 
apparently not.  The build is running now and I can relate the rest of 
the story if anyone is interested.  I would also like to try 'make 
world' on the xen-3.2 directory to see if I just needed tools which were 
not spelled out in the 'README'.  I've used up a lot of bandwidth 
(sorry!) at kernel.org getting linux 2.6.18 several times and still will 
need to resolve;


1.  The kernel xen-3.2 uses, appears to be set at linux-2.6.18 and 
trying to use a more recent kernel version appears troublesome.
2.  Building distribution packages are documented on RedHat, Ubuntu, and 
CentOS, but debian will require some study (and I don't know if I care

about running xen from a .deb).

Michael


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Martin Marcher
Rick Thomas wrote:

 I sincerely hope that the lack of Xen support in Lenny is a temporary
 thing that will be fixed before the first Beta release.  Does anybody
 know what's the problem?

The problem is that xen is quite behind with kernels, afaik it's a HUGE
patch to apply and the most recent version is 18 (or 20 or something, it's
been some time) and I gave up following that since the only sane options to
get a stable xen host where:

a) use distro packages from a stable tree
b) use the download from xensource (which I dislike because it pollutes the
machine)

If I could decide again I'd probably go with VMWare or kvm or vserver which
I heard are include in the kernel mainline (well the latter 2 iirc), but
xen seems to choose the commercial way and just adds patches based on their
business plan. I don't hink it will be included in the mainline kernel any
time soon. (Yes bash me, but that is just my personal experience)

I may be wrong on vserver, but i read a bit about the kvm stuff and forgot
about it since we have no way to switch away from xen due to lack of
resources.

/martin

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Rick Thomas


Well, that's too bad.

Is this in any way related to the error messages I got when I tried  
to do



aptitude update  aptitude dist-upgrade



on my Xen/Etch test machine?

I'm particularly concerned about libc6-xen being marked broken.

For what it's worth, my other Etch machines navigated the kernel  
upgrade without incident.  It's just the Xen machine that has a problem.


Any suggestions?

Rick

Error messages follow...


The following packages are BROKEN:
  libc6-xen
The following NEW packages will be automatically installed:
  libc6-i686 linux-image-2.6.18-6-686 linux-image-2.6.18-6-xen-686
  linux-modules-2.6.18-6-xen-686
The following NEW packages will be installed:
  libc6-i686 linux-image-2.6.18-6-686 linux-image-2.6.18-6-xen-686
  linux-modules-2.6.18-6-xen-686
The following packages will be upgraded:
  linux-doc-2.6.18 linux-image-2.6-686 linux-image-2.6-xen-686
3 packages upgraded, 4 newly installed, 0 to remove and 0 not  
upgraded.
Need to get 35.5MB/36.6MB of archives. After unpacking 101MB will  
be used.

The following packages have unmet dependencies:
  libc6-xen: Conflicts: libc6-i686 but 2.3.6.ds1-13etch4 is to be  
installed.

Resolving dependencies...
The following actions will resolve these dependencies:

Keep the following packages at their current version:
libc6-i686 [Not Installed]
linux-image-2.6-686 [2.6.18+6etch2 (stable, stable, now)]
linux-image-2.6.18-6-686 [Not Installed]

Score is 20





On Jan 30, 2008, at 12:03 PM, Martin Marcher wrote:


Rick Thomas wrote:


I sincerely hope that the lack of Xen support in Lenny is a temporary
thing that will be fixed before the first Beta release.  Does anybody
know what's the problem?


The problem is that xen is quite behind with kernels, afaik it's a  
HUGE
patch to apply and the most recent version is 18 (or 20 or  
something, it's
been some time) and I gave up following that since the only sane  
options to

get a stable xen host where:

a) use distro packages from a stable tree
b) use the download from xensource (which I dislike because it  
pollutes the

machine)

If I could decide again I'd probably go with VMWare or kvm or  
vserver which
I heard are include in the kernel mainline (well the latter 2  
iirc), but
xen seems to choose the commercial way and just adds patches based  
on their
business plan. I don't hink it will be included in the mainline  
kernel any

time soon. (Yes bash me, but that is just my personal experience)

I may be wrong on vserver, but i read a bit about the kvm stuff and  
forgot

about it since we have no way to switch away from xen due to lack of
resources.

/martin



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Rick Thomas


On Jan 30, 2008, at 12:03 PM, Martin Marcher wrote:


Rick Thomas wrote:


I sincerely hope that the lack of Xen support in Lenny is a temporary
thing that will be fixed before the first Beta release.  Does anybody
know what's the problem?


The problem is that xen is quite behind with kernels, afaik it's a  
HUGE
patch to apply and the most recent version is 18 (or 20 or  
something, it's
been some time) and I gave up following that since the only sane  
options to

get a stable xen host where:

a) use distro packages from a stable tree
b) use the download from xensource (which I dislike because it  
pollutes the

machine)

If I could decide again I'd probably go with VMWare or kvm or  
vserver which
I heard are include in the kernel mainline (well the latter 2  
iirc), but
xen seems to choose the commercial way and just adds patches based  
on their
business plan. I don't hink it will be included in the mainline  
kernel any

time soon. (Yes bash me, but that is just my personal experience)

I may be wrong on vserver, but i read a bit about the kvm stuff and  
forgot

about it since we have no way to switch away from xen due to lack of
resources.

/martin



In what way does the download from Xensource pollute the machine?

Thanks!

Rick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Ken Irving
On Wed, Jan 30, 2008 at 02:59:49PM -0500, Rick Thomas wrote:
 On Jan 30, 2008, at 12:03 PM, Martin Marcher wrote:
 Rick Thomas wrote:

 I sincerely hope that the lack of Xen support in Lenny is a temporary
 thing that will be fixed before the first Beta release.  Does anybody
 know what's the problem?

 ... and I gave up following that since the only sane options to
 get a stable xen host where:

 a) use distro packages from a stable tree
 b) use the download from xensource (which I dislike because it  
 pollutes the  machine)
 ...

 In what way does the download from Xensource pollute the machine?

I suppose that might be a sort of rhetorical question, but downloading
software into /usr/local, /opt/ and the like should be perfectly safe on a
debian system.  debian doesn't mess with those parts of the filesystem,
and as long as the installed stuff doesn't mess with the non-local
system directories, libraries, etc., there should be no conflicts.
If the sources you're installing from *do* put things into system
as opposed to local places, then you could probably look at that as
polluting the machine.  

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-30 Thread Michael D. Norwick

Michael D. Norwick wrote:

Rick Thomas wrote:

I'm trying to get started with Xen.

Thanks!


Rick
I don't know if you've been here:   
http://www.howtoforge.com/perfect_setup_xen3_debian, but, I too am 
trying to build a XEN enabled kernel using linux 2.6.23.9.  This link 
looked straightforward and possible.  I have not gotten to the point 
of patching the kernel for XEN.  I was also trying to add current 
support for NFSv4 and GRSecurity so it's a bit jumbled right now (a 
lot of rejects).  Building for a  Pentium 4 3.2 GHz. Dell system.  A 
search of debian-kernel did not return anything useful IMHO.


Michael


Still trying to build a Xen kernel with or without the dfsg.  Found this 
though;


http://help.lockergnome.com/linux/build-XEN-make-kpkg-ftopict384180.html

Michael


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-25 Thread Martin Marcher
Ted Hilts wrote:
 Also, I was talking about kernel versions higher than yours (up in the
 twenties where yours was 18) and 32 bit. But whether the CPU is 32 bit

debian stable highest version number is 2.6.18 so there is no way to get a
stable distro with a higher version number (stable as in: only packages
from the repo) - also I recommend against using packages outside of stable
on a server (at least if you don't have a testing lab to verify everything
works)

 on 64bit machines could be a problem, I don't know.  Also, the AMD was
 the only working CPU architecture available on Debian and I don't know

no, xen only supports x86, amd isn't the architecture, read below amd64 is
for all x86_64 CPUs - afaik it's just a historic naming oddity. I'm
running xen as a playground at home too with an intel core 2 duo - no idea
about detailed specs just some office pc that was cheap at the time buying
it.

 why that was the case.  Many people do not use AMD  as their CPU

it's just called amd64 you can run it fine on intels 64bit processors. It's
historical since the x86_64 was first from amd and only later from intel.

Any specific reason you need a newer kernel? (Again) I wouldn't do that on a
server machine. Also xen patches are always a couple of versions behind -
at least in my experience - so they only apply cleanly to the version
stated on xensource

 architecture.  Somewhere, just before etch was declared as STABLE the
 AMD Xen stuff failed to work properly and this condition was verified by
 someone (I don't have the name handy) who was doing some kind of liaison
 between Debian and Xen.  That's why I said it did not work on Debian.

well stable has always worked for me. sarge didn't have xen so i can't
follow the notion of not working installing the original packages from
xensource has always worked on any distro (tried it with 3 different ubuntu
versions and sarge)

 This liaison person has already confirmed that and was attempting to
 find a way around no Debian Xen until the next stable version (which
 seems to be on its way or is already here). So it seems by my

if you really must use xen+debian/oldstable (sarge) I'd go with the official
packages from the xen homepage.

 information the Xen Debian problem occurred on the 2.6 kernel at some
 point and there were many requests on the debian-user list asking why
 they could not get the AMD Xen stuff to work. So it will be interesting
 to see if things have now changed.  I don't doubt your set up works and
 works well but I am willing to bet that the etch stable kernel version

etch has been stable since some time now

 will not work for you.  Maybe, with Debian 4.0 the problem has been
 resolved -- hope so!

before etch there was no xen in stable (read: sarge didn't have xen) iirc

 I did not snip out the rest of the stuff.

it already is in the archives, so no reason to 

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-25 Thread Rick Thomas


On Jan 24, 2008, at 8:19 AM, Martin Marcher wrote:


Jozef Peterka wrote:


Hi all,
I might be rushing in to conversation, but I will try to install  
Debian
Etch and make it Dom0 this very weekend. I really look forward to  
it -

although with a little hope to success :)
Nevermind, I wanted wish you good luck with xen, and the important is
let everybody here know what happened. I will do that after  
weekend as

well, I will post my experience in a short mail to this threat.


xen runs fine in etch i have ~15 domUs running on 2 physical  
machines with
~50LVs attached. not a single problem regarding xen on either of  
those.


On the basis of your experience, Martin, I gave up trying to get Xen  
working on Lenny and switched to Etch.  I followed the instructions  
at http://www.howtoforge.com/debian_etch_xen_from_debian_repository  
and got it working first try.


I sincerely hope that the lack of Xen support in Lenny is a temporary  
thing that will be fixed before the first Beta release.  Does anybody  
know what's the problem?


Thanks all,

Rick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-24 Thread Jozef Peterka
Hi all,
I might be rushing in to conversation, but I will try to install Debian
Etch and make it Dom0 this very weekend. I really look forward to it -
although with a little hope to success :)
Nevermind, I wanted wish you good luck with xen, and the important is
let everybody here know what happened. I will do that after weekend as
well, I will post my experience in a short mail to this threat.

Have a nice day all
KaiSVK

On Thu, 2008-01-24 at 00:24 -0700, Ted Hilts wrote:
 Rick
 My response at very bottom.
 Ted
 
 Rick Thomas wrote:
  I'm trying to get started with Xen.
 
  I've installed Lenny and a bunch of packages that looked interesting 
  and mentioned Xen in their descriptions.  But there does not seem to 
  be a Xen enabled kernel available.  Is Xen built-in to the Lenny 
  kernels, or what?
 
  I plan to spend tonite with my feet up in the easy chair reading the 
  documents in /usr/share/doc/Xen-docs-3.1/ .  I hope they will be 
  helpful, but they don't seem to mention Debian specifically.  I've 
  googled every which way, but everything I find is for Etch or Sarge 
  and expects me to have a Xen enabled kernel.
 
  More generally, is there a HOWTO or FAQ that would give me some 
  pointers to getting Xen up and running?
 
  Thanks!
 
 
  Rick
 
 
 Hi Rick
 
 Sorry for any typos. There is a problem for newer Debian kernels (as in 
 the etch distribution) and Xen.  They just don't work and there is 
 currently no patch to save the day.  Ubuntu has Xen based recent kernels 
 which apparently work well but I have not yet tried them. The Xen web 
 site has 3 Xen options one of which I think is still free. Either one of 
 these 3 options can be installed providing a DOM 0  basic virtualizing 
 machine. Also, some of the other Linux distributions like SuSE have Xen 
 based kernels.  Xen based kernels are regular kernels but have the Xen 
 application compiled into them making them the basis for hardware 
 virtualization and thus called DOM 0 meaning the virtualization machine 
 that redirects system calls from DOM U distributions.  A DOM U 
 distribution is virtualized meaning that during the time slice for a 
 particular DOM U distribution it's system calls get re-routed to the DOM 
 0 computer resources (mostly hardware including CPU, memory, drives, LAN 
 interface, etc.).  DOM U distributions each have their own partition and 
 are activated by the DOM 0 Xen  application as a virtual machine..  
 There can be as many as 64 partitions in total including the partition 
 for DOM 0. Most designers prefer to have the DOM 0 Xen system as a 
 minimal distribution.  The DOM 0 distribution can create virtual 
 machines from it's own distribution so that you might have several 
 virtual machines each doing one important thing instead of the 
 conventional way where all these things get done on the one 
 distribution.  Of course, you can run other Linux distributions as DOM U 
 installations. This is what makes Xen most efficient.
 
 Your fastest, safest, and best solution right now would be to get one of 
 the 3 optional systems offered by the Xen developers.  Apparently, they 
 have a blog and I know they have a list. I have a  download  of the 
 free  Xen  package on a CD which is now a year old and which I will be  
 installing on  a computer.  I will  install a large Debian distribution 
 as well as smaller Debian distributions each in their own partition and 
 use them as virtual machines.  DOM 0 will be the free Xen package which 
 took me a week to download and now I am trying to find it. The Xen 
 documentation describes how the DOM 0 machine is made aware of the DOM U 
 partitions with their respective distributions.  BTW, you can now take a 
 Windowz distribution like XP or more recent and run it as a DOM U 
 virtual machine.That's neat if you have applications like I have that 
 can only run on Windowz.  But you have to buy a license from MS. 
 
 Hope this information gets you going.  There is one fellow on the 
 debian-user list that has had a Linux Xen system running for about 2 
 years or more but that system would be running on an older kernel and he 
 would have compiled the Xen application into the kernel and I think he 
 used the AMD CPU.  A number of people have tried to update their older 
 Debian kernel with patches which automatically makes their system non 
 operational. I think Debian really missed the importance of Xen and to 
 get a Debian DOM 0 system from the etch distribution was not possible.  
 Apparently there is a new distribution by what I hear on the list 
 chatter. That distribution I am not aware of other than it is Debian 4.x 
 distribution.  Hopefully, if that is the case there may now be kernels 
 available with the Xen application installed.
 
 Have a nice day and if you get Xen up and running please be kind enough 
 to let the list know about your configuration and other issues as there 
 have been many over the last few years that have wanted help and 

Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-24 Thread Martin Marcher
Jozef Peterka wrote:

 Hi all,
 I might be rushing in to conversation, but I will try to install Debian
 Etch and make it Dom0 this very weekend. I really look forward to it -
 although with a little hope to success :)
 Nevermind, I wanted wish you good luck with xen, and the important is
 let everybody here know what happened. I will do that after weekend as
 well, I will post my experience in a short mail to this threat.

xen runs fine in etch i have ~15 domUs running on 2 physical machines with
~50LVs attached. not a single problem regarding xen on either of those.

hth
martin


-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-24 Thread Ted Hilts

Martin

My reply is at the very bottom.
Ted

Martin Marcher wrote:

Jozef Peterka wrote:

  

Hi all,
I might be rushing in to conversation, but I will try to install Debian
Etch and make it Dom0 this very weekend. I really look forward to it -
although with a little hope to success :)
Nevermind, I wanted wish you good luck with xen, and the important is
let everybody here know what happened. I will do that after weekend as
well, I will post my experience in a short mail to this threat.



xen runs fine in etch i have ~15 domUs running on 2 physical machines with
~50LVs attached. not a single problem regarding xen on either of those.

hth
martin


  

Martin

What is the exact kernel version you are running on both machines and 
what are their CPU designations?  The problems in the past have not been 
with the distribution but with various kernels. Did you compile your 
systems from source or did you use pre-compiled packages?  Did you 
compile the source and apply a patch for the kernels  or did you use 
kernel binaries with the Xen package already compiled into the kernel 
binaries?


Looking forward to this information.  Thanks, Ted


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-24 Thread Martin Marcher
On Thursday 24 January 2008 17:13 Ted Hilts wrote:
 Martin
 
 What is the exact kernel version you are running on both machines and
 what are their CPU designations?  The problems in the past have not been
 with the distribution but with various kernels. Did you compile your
 systems from source or did you use pre-compiled packages?  Did you
 compile the source and apply a patch for the kernels  or did you use
 kernel binaries with the Xen package already compiled into the kernel
 binaries?

the xen package isn't compiled into the kernel afaik, you still need some
userland stuff to start/stop (interface) the domUs.

 Looking forward to this information.  Thanks, Ted

aptitude install xen-linx-image-2.6-xen-amd64

no i'm not joking, those with the hypervisor and ioemu and i was set, I had
the 2 or 3 minor updates since etch release and all of those kernels worked
fine.

the dom0 doesn't have anything apart from the official etch repos

http://packages.debian.org/etch/linux-image-2.6-xen-amd64

aptitude search ~ixen
i A linux-image-2.6-xen-amd64   - Linux kernel 2.6 image on AMD64
i A linux-image-2.6.18-5-xen-amd64  - Linux 2.6.18 image on AMD64
i   linux-image-xen-amd64   - Linux kernel image on AMD64
i A linux-modules-2.6.18-5-xen-amd6 - Linux 2.6.18 modules on AMD64
i   xen-hypervisor-3.0.3-1-amd64- The Xen Hypervisor on AMD64
i   xen-utils-3.0.3-1   - XEN administrative tools
i A xen-utils-common- XEN administrative tools - common
files


First Box (2 cores/1 cpu):
cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 39
model name  : AMD Opteron(tm) Processor 146
stepping: 1
cpu MHz : 2009.290
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni
lahf_lm
bogomips: 5024.69
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Second Box (4 cores/2 cpus):
$ cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 65
model name  : Dual-Core AMD Opteron(tm) Processor 2212 HE
stepping: 2
cpu MHz : 2000.070
cache size  : 1024 KB
physical id : 0
siblings: 1
core id : 0
cpu cores   : 1
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext
3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips: 5002.02
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc


AGAIN: I didn't install any specific version i think i even
used linux-image-xen-amd64 - it just works with etch

hth
martin

-- 
http://noneisyours.marcher.name
http://feeds.feedburner.com/NoneIsYours

You are not free to read this message,
by doing so, you have violated my licence
and are required to urinate publicly. Thank you.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-24 Thread Ted Hilts

Martin

Thanks for your information, you will find my reply further down.

Martin Marcher wrote:

On Thursday 24 January 2008 17:13 Ted Hilts wrote:
  

Martin

What is the exact kernel version you are running on both machines and
what are their CPU designations?  The problems in the past have not been
with the distribution but with various kernels. Did you compile your
systems from source or did you use pre-compiled packages?  Did you
compile the source and apply a patch for the kernels  or did you use
kernel binaries with the Xen package already compiled into the kernel
binaries?



the xen package isn't compiled into the kernel afaik, you still need some
userland stuff to start/stop (interface) the domUs.
  

Martin

Thanks for your information further down from these comments.

I did not snip out the information below my following comments as I 
thought the information to be useful not just to me but to others that 
may be aware of our dialog.



As I remember, the package as I call it consists of 2 integrated parcels 
of code.  One parcel of code is integrated into the kernel as a patch 
and the other as you mentioned is like a dependent parcel for managing 
the operations.  But definitely, the kernel is altered and has 
attributes the un-patched kernel does not have.  So one either applies 
the patch or one gets a binary that has already been patched.  Sounds to 
me you obtained a kernel binary that was pre-patched for use with Xen.  
There is no way the ordinary kernel can become the core of an Xen system 
without the patch.  However, Intel hardware changes associated with the 
CPU chip may change that -- I simply do not know.


Also, I was talking about kernel versions higher than yours (up in the 
twenties where yours was 18) and 32 bit. But whether the CPU is 32 bit 
on 64bit machines could be a problem, I don't know.  Also, the AMD was 
the only working CPU architecture available on Debian and I don't know 
why that was the case.  Many people do not use AMD  as their CPU 
architecture.  Somewhere, just before etch was declared as STABLE the 
AMD Xen stuff failed to work properly and this condition was verified by 
someone (I don't have the name handy) who was doing some kind of liaison 
between Debian and Xen.  That's why I said it did not work on Debian.  
This liaison person has already confirmed that and was attempting to 
find a way around no Debian Xen until the next stable version (which 
seems to be on its way or is already here). So it seems by my 
information the Xen Debian problem occurred on the 2.6 kernel at some 
point and there were many requests on the debian-user list asking why 
they could not get the AMD Xen stuff to work. So it will be interesting 
to see if things have now changed.  I don't doubt your set up works and 
works well but I am willing to bet that the etch stable kernel version 
will not work for you.  Maybe, with Debian 4.0 the problem has been 
resolved -- hope so!


I did not snip out the rest of the stuff.

Thanks -- Ted
  

Looking forward to this information.  Thanks, Ted



aptitude install xen-linx-image-2.6-xen-amd64

no i'm not joking, those with the hypervisor and ioemu and i was set, I had
the 2 or 3 minor updates since etch release and all of those kernels worked
fine.

the dom0 doesn't have anything apart from the official etch repos

http://packages.debian.org/etch/linux-image-2.6-xen-amd64

aptitude search ~ixen
i A linux-image-2.6-xen-amd64   - Linux kernel 2.6 image on AMD64
i A linux-image-2.6.18-5-xen-amd64  - Linux 2.6.18 image on AMD64
i   linux-image-xen-amd64   - Linux kernel image on AMD64
i A linux-modules-2.6.18-5-xen-amd6 - Linux 2.6.18 modules on AMD64
i   xen-hypervisor-3.0.3-1-amd64- The Xen Hypervisor on AMD64
i   xen-utils-3.0.3-1   - XEN administrative tools
i A xen-utils-common- XEN administrative tools - common
files


First Box (2 cores/1 cpu):
cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 39
model name  : AMD Opteron(tm) Processor 146
stepping: 1
cpu MHz : 2009.290
cache size  : 1024 KB
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36
clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni
lahf_lm
bogomips: 5024.69
TLB size: 1024 4K pages
clflush size: 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp

Second Box (4 cores/2 cpus):
$ cat /proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 65
model name  : Dual-Core AMD Opteron(tm) Processor 2212 HE
stepping: 2
cpu MHz : 2000.070
cache size  : 1024 KB
physical id : 0
siblings: 1
core id : 0
cpu cores   : 1
fpu : yes
fpu_exception  

Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-23 Thread Rick Thomas

I'm trying to get started with Xen.

I've installed Lenny and a bunch of packages that looked interesting  
and mentioned Xen in their descriptions.  But there does not seem to  
be a Xen enabled kernel available.  Is Xen built-in to the Lenny  
kernels, or what?


I plan to spend tonite with my feet up in the easy chair reading the  
documents in /usr/share/doc/Xen-docs-3.1/ .  I hope they will be  
helpful, but they don't seem to mention Debian specifically.  I've  
googled every which way, but everything I find is for Etch or Sarge  
and expects me to have a Xen enabled kernel.


More generally, is there a HOWTO or FAQ that would give me some  
pointers to getting Xen up and running?


Thanks!


Rick


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-23 Thread Michael D. Norwick

Rick Thomas wrote:

I'm trying to get started with Xen.

Thanks!


Rick
I don't know if you've been here:   
http://www.howtoforge.com/perfect_setup_xen3_debian, but, I too am 
trying to build a XEN enabled kernel using linux 2.6.23.9.  This link 
looked straightforward and possible.  I have not gotten to the point of 
patching the kernel for XEN.  I was also trying to add current support 
for NFSv4 and GRSecurity so it's a bit jumbled right now (a lot of 
rejects).  Building for a  Pentium 4 3.2 GHz. Dell system.  A search of 
debian-kernel did not return anything useful IMHO.


Michael


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Getting started with Xen -- Xen enabled kernel for Lenny?

2008-01-23 Thread Ted Hilts

Rick
My response at very bottom.
Ted

Rick Thomas wrote:

I'm trying to get started with Xen.

I've installed Lenny and a bunch of packages that looked interesting 
and mentioned Xen in their descriptions.  But there does not seem to 
be a Xen enabled kernel available.  Is Xen built-in to the Lenny 
kernels, or what?


I plan to spend tonite with my feet up in the easy chair reading the 
documents in /usr/share/doc/Xen-docs-3.1/ .  I hope they will be 
helpful, but they don't seem to mention Debian specifically.  I've 
googled every which way, but everything I find is for Etch or Sarge 
and expects me to have a Xen enabled kernel.


More generally, is there a HOWTO or FAQ that would give me some 
pointers to getting Xen up and running?


Thanks!


Rick



Hi Rick

Sorry for any typos. There is a problem for newer Debian kernels (as in 
the etch distribution) and Xen.  They just don't work and there is 
currently no patch to save the day.  Ubuntu has Xen based recent kernels 
which apparently work well but I have not yet tried them. The Xen web 
site has 3 Xen options one of which I think is still free. Either one of 
these 3 options can be installed providing a DOM 0  basic virtualizing 
machine. Also, some of the other Linux distributions like SuSE have Xen 
based kernels.  Xen based kernels are regular kernels but have the Xen 
application compiled into them making them the basis for hardware 
virtualization and thus called DOM 0 meaning the virtualization machine 
that redirects system calls from DOM U distributions.  A DOM U 
distribution is virtualized meaning that during the time slice for a 
particular DOM U distribution it's system calls get re-routed to the DOM 
0 computer resources (mostly hardware including CPU, memory, drives, LAN 
interface, etc.).  DOM U distributions each have their own partition and 
are activated by the DOM 0 Xen  application as a virtual machine..  
There can be as many as 64 partitions in total including the partition 
for DOM 0. Most designers prefer to have the DOM 0 Xen system as a 
minimal distribution.  The DOM 0 distribution can create virtual 
machines from it's own distribution so that you might have several 
virtual machines each doing one important thing instead of the 
conventional way where all these things get done on the one 
distribution.  Of course, you can run other Linux distributions as DOM U 
installations. This is what makes Xen most efficient.


Your fastest, safest, and best solution right now would be to get one of 
the 3 optional systems offered by the Xen developers.  Apparently, they 
have a blog and I know they have a list. I have a  download  of the 
free  Xen  package on a CD which is now a year old and which I will be  
installing on  a computer.  I will  install a large Debian distribution 
as well as smaller Debian distributions each in their own partition and 
use them as virtual machines.  DOM 0 will be the free Xen package which 
took me a week to download and now I am trying to find it. The Xen 
documentation describes how the DOM 0 machine is made aware of the DOM U 
partitions with their respective distributions.  BTW, you can now take a 
Windowz distribution like XP or more recent and run it as a DOM U 
virtual machine.That's neat if you have applications like I have that 
can only run on Windowz.  But you have to buy a license from MS. 

Hope this information gets you going.  There is one fellow on the 
debian-user list that has had a Linux Xen system running for about 2 
years or more but that system would be running on an older kernel and he 
would have compiled the Xen application into the kernel and I think he 
used the AMD CPU.  A number of people have tried to update their older 
Debian kernel with patches which automatically makes their system non 
operational. I think Debian really missed the importance of Xen and to 
get a Debian DOM 0 system from the etch distribution was not possible.  
Apparently there is a new distribution by what I hear on the list 
chatter. That distribution I am not aware of other than it is Debian 4.x 
distribution.  Hopefully, if that is the case there may now be kernels 
available with the Xen application installed.


Have a nice day and if you get Xen up and running please be kind enough 
to let the list know about your configuration and other issues as there 
have been many over the last few years that have wanted help and advice. 
I reiterate, your best chance of success is to run out of the Xen box as 
provided by the Xen developers.


Thanks -- Ted


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]