SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-10-02 21:06:40

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Install Xen

Dear *,

I want to install xen hypervisor in !# and related tools.
From the official Debian wiki (Squeeze) it says that installation can be done through a metapackage. Nevertheless, I get the following when giving it a try:

nuno@NINhOs:~$ sudo apt-get install xen-linux-system
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package xen-linux-system is a virtual package provided by:
  xen-linux-system-amd64 3.2+45~bpo60+1
  xen-linux-system-686-pae 3.2+45~bpo60+1
  xen-linux-system-2.6-xen-686 2.6.32+29
You should explicitly select one to install.

E: Package 'xen-linux-system' has no installation candidate

Any thoughts?
Thank you.
Cheers,
N.

Offline

Help fund CrunchBang, donate to the project!

#2 2012-10-02 21:09:51

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Re: Install Xen

Hi again,

It seems that this will do the trick:

nuno@NINhOs:~$ sudo apt-get install xen-linux-system-2.6-xen-686
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  bridge-utils libc6-xen libxenstore3.0 linux-image-2.6.32-5-xen-686 xen-hypervisor-4.0-i386 xen-linux-system-2.6.32-5-xen-686 xen-utils-4.0
  xen-utils-common xenstore-utils
Suggested packages:
  linux-doc-2.6.32 grub xen-docs-4.0
Recommended packages:
  xen-hypervisor-4.0
The following NEW packages will be installed:
  bridge-utils libc6-xen libxenstore3.0 linux-image-2.6.32-5-xen-686 xen-hypervisor-4.0-i386 xen-linux-system-2.6-xen-686
  xen-linux-system-2.6.32-5-xen-686 xen-utils-4.0 xen-utils-common xenstore-utils
0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
Need to get 31.1 MB of archives.
After this operation, 88.7 MB of additional disk space will be used.
Do you want to continue [Y/n]? 

Cheers,
N.

Offline

#3 2012-10-03 06:22:57

lcafiero
The #! Guy
From: Felton, California, USA
Registered: 2011-07-21
Posts: 2,217
Website

Re: Install Xen

Good job, nunolf -- Could you mark your heading in the original post as [SOLVED] when you have a chance? Thanks.


Res publica non dominetur | Larry the CrunchBang Guy speaks of the pompetous of CrunchBang

CrunchBang Forum moderator

Offline

#4 2012-10-06 20:09:59

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Re: Install Xen

Hi *,

I still did not closed this ticket as resolved, because though I see the usual Xen stuff loading process on my screen, in the end I have a complete black screen. Cannot do nothing ... and have to force the reboot of the machine to another kernel.

Notice that if I load just the xen kernel without XEN 4.0 stuff (thus xend daemon not running) it loads correctly:

nuno@NINhOs:~/downloads$ uname -a
Linux NINhOs 2.6.32-5-xen-686 #1 SMP Sun Sep 23 13:33:12 UTC 2012 i686 GNU/Linux

Cheers,
N.

Offline

#5 2012-10-09 21:54:13

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Re: Install Xen

Hi *,

A bit more of info to see if someone has crossed the same road and has knowledge to keep me in the right track.

Before you read this email, the simple question is.
Has anyone installed successfully Xen 4.0.1 (the one that comes with the !# stable release) in a Asus eeepc 1005HA or similar netbook?

A short overview of the steps taken up to the moment ... I installed Xen 4.0 32bits following the steps previously highlighted in this thread in a Eee PC 1005HA (with 2GB RAM). Yes I know, this is not a machine to do virtualization, but is good enough for testing purposes. As I said previously, booting into the 2.6.32-5-xen-686 kernel gives no problems, but if I boot to the xen aware kernel with Xen 4.0 (i.e. xend daemon is started during the boot sequence) I get a black screen.

After having a quick inspection in the dmesg log when xend service is started I noticed the following:

[    0.000000] Reserving virtual address space above 0xf5800000
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.32-5-xen-686 (Debian 2.6.32-46) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Sun Sep 23 13:33:12 UTC 2012
... snip ...
[    0.000000] ERROR: Unable to locate IOAPIC for GSI 2
[    0.000000] ERROR: Unable to locate IOAPIC for GSI 9
... snip ...
[  172.602745] XENBUS: Unable to read cpu state

The booting process in fact hangs at this last line ... unable to read cpu state.

I'm guessing that I should go to the Xen mailing list and try there.
Already saw some postings with exactly he above xend problems associated to Debian distro's with exactly the same kernel version but up to know did not found a fix, if there's one.

Thank you.
Cheers,
N.

Offline

#6 2012-10-09 22:26:33

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Re: Install Xen

To complement previous email in case it helps someone ...

If I boot the xen aware kernel it seems the CPU is recognized:

[    0.000000] Initializing CPU#0
[    0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.004336] CPU: L1 I cache: 32K, L1 D cache: 24K
[    0.004341] CPU: L2 cache: 512K
[    0.004346] CPU: Physical Processor ID: 0
[    0.004350] CPU: Processor Core ID: 0
[    0.004356] mce: CPU supports 5 MCE banks
[    0.004389] Performance Events: Atom events, Intel PMU driver.
[    0.076615] CPU0: Intel(R) Atom(TM) CPU N280   @ 1.66GHz stepping 02

Full dmesg log here.
If I boot xen kernel with xend CPU is not recognized:

[    0.000000] Initializing CPU#0
[    0.000000] SLUB: Genslabs=13, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] installing Xen timer for CPU 0
[    0.004000] CPU: L1 I cache: 32K, L1 D cache: 24K
[    0.004000] CPU: L2 cache: 512K
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] mce: CPU supports 5 MCE banks
[    0.004000] Performance Events: unsupported p6 CPU model 28 no PMU driver, software events only.

Full dmesg log here.

Offline

#7 2012-10-13 20:37:35

nunolf
Member
From: Amsterdam
Registered: 2012-09-11
Posts: 14

Re: Install Xen

Dear *,

In case someone is interested in ... for the records.
I was not able to figure out how to solve this. Several reports on debian distros running current stable kernel report the same, whithout no one providing a fix for this, at least I was not able to find none from the posts I read.

I moved to waldorf and installed xen 4.1.

nuno@NINhOs:~$ uname -a
Linux NINhOs 3.2.0-3-686-pae #1 SMP Mon Jul 23 03:50:34 UTC 2012 i686 GNU/Linux

nuno@NINhOs:~$ sudo xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1887     2     r-----    264.7

Did not tested the #! stable release 32bits BPO.

Cheers,
N.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo