Portál AbcLinuxu, 14. května 2025 01:03

Dotaz: xen nenajede

15.8.2008 08:28 Lukas
xen nenajede
Přečteno: 820×
Odpovědět | Admin
ahoj, mam prosbu.

mam nainstalovanej debian sid/lenny. na nem chci vytvorit virtualku pomoci xen. system mi normalne nabehne s xen-jadrem(2.6.18-6-xen-amd64), ale nespusti se xend.

chybova hlaska je: File "/usr/lib/xen-3.0.3-1/bin/xm", line 5, in module from xen.xm import main File "/usr/lib/xen-3.0.3-1/lib/python/xen/xm/main.py", line 45, in module from xen.util import security File "/usr/lib/xen-3.0.3-1/lib/python/xen/util/security.py", line 25, in module from xen.lowlevel import acm ImportError: /usr/lib/xen-3.0.3-1/bin/../lib/python/xen/lowlevel/acm.so: undefined symbol: Py_InitModule4

nevim co s tim delat!!!

kdyz jsem to zkousel na i386 debian etch nebyl problem(myslim,ze potreboval python 2.4,ale nevim). myslim si, ze problem je s pythonem 2.5 , ale zase nevim.

pokud by nekdo vedel co s tim(co kam nahrat a jak) byl bych velmi vdecnej.

predem dekuju za rady,

Lukas
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

24.8.2008 14:30 rak
Rozbalit Rozbalit vše Re: xen nenajede - stejny problem
Odpovědět | | Sbalit | Link | Blokovat | Admin
mam stejny problem - zatim jsem narazil na toto: http://www.opensubscriber.com/message/debian-user@lists.debian.org/8451845.html

uz se ti to nejak povedlo? kdyztak se ozvi, dik. rak@email.cz, icq 27306003

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 Windowzzzzz 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 Windowzzzzz. 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
24.8.2008 15:57 rak
Rozbalit Rozbalit vše uz jede
Odpovědět | | Sbalit | Link | Blokovat | Admin
tak postup ktery si matne pamatuju

nainstalovat z testingu xen 3.2

pak v /usr/lib presimlinkovat xen z 3.0.2-1 na 3.2

v grubu (menu) si zkontrolovat,zda bootuje xen 3.2 (my tam meli stary 3.0 - asi to neupdatovalo ten grub).

po restartu xend nabehl

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

hrali sme si jeste s nastavenim virtualu, kdyz se ti nepodari to pustit tak napis

icq 27306003 email rak@email.cz
25.8.2008 12:43 Lukas
Rozbalit Rozbalit vše Re: uz jede
dekuju, urcite to vyzkousim... Lukas
28.2.2009 02:30 skupko | skóre: 16
Rozbalit Rozbalit vše Re: xen nenajede
Odpovědět | | Sbalit | Link | Blokovat | Admin

Pri upgrade nie je nainstalovany novy xen-hypervisor a xen-utils 3.2.1.
Po doinstalovani tychto zalezitosti by sa novy system mal rozbehnut.

Blizsie info: www.mail-archive.com/debian-user@lists.debian.org/msg538669.html

28.2.2009 03:16 skupko | skóre: 16
Rozbalit Rozbalit vše Re: xen nenajede

Prave som ten upgrade vykonal; cize otestovane a funkcne riesenie.
Dokonca som neevidoval ziadne problemy s vif rozhraniami, ako je v mailinglist-e jednym z administratorov avizovane. Vsetko bez problemov. ;-)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.