shankha
2009-Sep-07 17:53 UTC
[Xen-users] Installing two versions of xen on the same machine
Hi, I wanted to use Xen on my Suse box so i installed it from yast. It''s 3.3. Now i have installed another version of Xen 3.4. I want it to install it form source. I followed the usual steps. make world. I did not do make install as it would have overwritten some files of my previous installation. I wanted to know if there is a cleaner way to do it. Meaning not copying everything to /boot but having it on my local directory itself and somehow in the grub mention the vmlinuz and other files to be picked up from local directory and not to be picked up from /boot. Is this allowed or i can only have one version of xen running on my system. After copying everything correctly i ran into a problem. 1)When i try to build a initrd image using mkinitrd it says it is not able to find the map file. I use the following command mkinitrd -M map system.map-2.6.18-8-xen -v -f initrd-2.6.18.8-xen 2.6.18.8-xen Kernel image : /boot/vmlinuz-2.6.18-8-xen Initrd image: /boot/nitrd-2.6.18.8-xen Kernel Modules: <not avaliable> Could not find map System.map-2.6.18.8-xen/boot/System.map. Please specify a correct file with -M. I created the file under the above mentioned path and renamed my system file to System.map as asked. It still throws up the same error. Could you let me know what could be the issue ? Have i not correctly copied kernel modules. I have copied the lib/modules/kernel-version from my local installation to /lib/modules. thanks shankha _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-07 20:24 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Tue, Sep 8, 2009 at 12:53 AM, shankha<shankhabanerjee@gmail.com> wrote:> Is this allowed or i can only have one version of xen running on my system.Pretty much the later. AFAIK Debian has some wrapper scripts for Xen userland tools to allow multiple versions of Xen coexist, but it''s not an easy thing to do when you install from source. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-07 20:57 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, Thanks for your reply. Could you please let me know what is the problem with my mkinitrd command. Is it because i may have forgot to copy some part of the installation. IF yes can we make a wild guess. Also what are the correct options that should be used while creating the image. thanks shankha On Mon, Sep 7, 2009 at 4:24 PM, Fajar A. Nugraha<fajar@fajar.net> wrote:> On Tue, Sep 8, 2009 at 12:53 AM, shankha<shankhabanerjee@gmail.com> wrote: >> Is this allowed or i can only have one version of xen running on my system. > > Pretty much the later. AFAIK Debian has some wrapper scripts for Xen > userland tools to allow multiple versions of Xen coexist, but it''s not > an easy thing to do when you install from source. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-08 03:21 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > I am trying to use a new version of the hypervisor. I am not trying to > install a new version of the kernel.In that case you don''t need to install kernel 2.6.18-8 if you don''t want to. You can use your existing kernel. However installing hypervisor and userland tools will overwrite some files installed by your OS if your OS already has its own Xen version. -- Fajar> > thanks > > On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@gmail.com> wrote: >>> Hi, >>> Thanks for your reply. Could you please let me know what is the >>> problem with my mkinitrd command. Is it because i may have forgot to >>> copy some part of the installation. >> >> Installing a new KERNEL (including xen kernel) should be "safe" (as in >> it shouldn''t overwrite anything you already have) assuming it''s >> version is different from what you have. It''s easier to simply run >> "make modules_install" and "make install" on kernel build directory. >> >> Installxing Xen however, is more then just the kernel. It also >> installs hypervisor userland tools (e.g. xm, xend, etc.), which most >> likely will overwrite what you already have. Which is why I said you >> can only have one version of Xen. >> >> What are you trying to do here? Use a new kernel or use a new Xen >> version? Those two does not necessarily be done at the same time. If >> you only want a new Xen version, usually you can just use kernel-xen >> provided by your distro and simply install the hypervisor (xen.gz) and >> userland tools. >> >> Here''s a hint : trying out different versions of Xen is actually >> easiest on RHEL5, thanks to Gitco''s repository >> http://www.gitco.de/repo/. >> >>> IF yes can we make a wild guess. >>> Also what are the correct options that should be used while creating >>> the image. >> >> man mkinitrd? I''m not familiar enough with Suse, but as I recall its >> option is slightly different from Redhat''s. >> >> -- >> Fajar >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-08 09:46 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi Fajar, Thanks for your continued help. I checked through yast the following are installed on my system 1. Kernel-Xen The linux kernel for xen paravirtualization. This kernel can be used both as the domain0 ("xen0") and as an unprivileged ("xenU") kernel. Version : 2.6.27.7-9.1 (x86_64) 2. kernel-xen-base The Linux kernel for Xen paravirtualization. This kernel can be used both as the domain0 ("xen0") and as an unprivileged ("xenU") kernel. 2.6.27.7-9.1 (x86_64) 3. kernel-xen-extra The Linux kernel for Xen paravirtualization. This kernel can be used both as the domain0 ("xen0") and as an unprivileged ("xenU") kernel. 2.6.27.7-9.1 (x86_64) 4. xen This is the xen hypervisor 3.3.1_18494_03-1.8 (x86_64) 4. xen-devel 3.3.1_18494_03-1.8 (x86_64) This package contains libraries and header files. When i try to to uninstall this package it says it has a dependency on libvrt. 5.xen - libs xen virtualization libraries 6. xen - tools Packages for starting stopping packages. I guess i can let the first 3 packages as it is. I will uninstall the xen hypervisor and other packages related to it. I can then put the the new hypervisor(3.4) and related libraries under /boot and boot with the kernel already installed. Does it look good or have i made mistakes ? thanks On Mon, Sep 7, 2009 at 11:21 PM, Fajar A. Nugraha<fajar@fajar.net> wrote:> On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi, >> I am trying to use a new version of the hypervisor. I am not trying to >> install a new version of the kernel. > > In that case you don''t need to install kernel 2.6.18-8 if you don''t > want to. You can use your existing kernel. > However installing hypervisor and userland tools will overwrite some > files installed by your OS if your OS already has its own Xen version. > > -- > Fajar > >> >> thanks >> >> On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >>> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@gmail.com> wrote: >>>> Hi, >>>> Thanks for your reply. Could you please let me know what is the >>>> problem with my mkinitrd command. Is it because i may have forgot to >>>> copy some part of the installation. >>> >>> Installing a new KERNEL (including xen kernel) should be "safe" (as in >>> it shouldn''t overwrite anything you already have) assuming it''s >>> version is different from what you have. It''s easier to simply run >>> "make modules_install" and "make install" on kernel build directory. >>> >>> Installxing Xen however, is more then just the kernel. It also >>> installs hypervisor userland tools (e.g. xm, xend, etc.), which most >>> likely will overwrite what you already have. Which is why I said you >>> can only have one version of Xen. >>> >>> What are you trying to do here? Use a new kernel or use a new Xen >>> version? Those two does not necessarily be done at the same time. If >>> you only want a new Xen version, usually you can just use kernel-xen >>> provided by your distro and simply install the hypervisor (xen.gz) and >>> userland tools. >>> >>> Here''s a hint : trying out different versions of Xen is actually >>> easiest on RHEL5, thanks to Gitco''s repository >>> http://www.gitco.de/repo/. >>> >>>> IF yes can we make a wild guess. >>>> Also what are the correct options that should be used while creating >>>> the image. >>> >>> man mkinitrd? I''m not familiar enough with Suse, but as I recall its >>> option is slightly different from Redhat''s. >>> >>> -- >>> Fajar >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-08 10:04 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, One more query. When i had build the source code of the xen hypervisor (make world) it had build the linux kernel also(downloaded the bits using mercurial). Would it be possible to just build the hypervisor ? Isn''t the hypervisor and linux kernel linked ? Pardon my ignorance. Like is the linux kernel which is used is specially build to work with the hyper visor or i can i can build any version of the kernel and it should work with the hypervisor. thanks On Tue, Sep 8, 2009 at 5:46 AM, shankha<shankhabanerjee@gmail.com> wrote:> Hi Fajar, > Thanks for your continued help. I checked through yast the following > are installed on my system > > 1. Kernel-Xen > The linux kernel for xen paravirtualization. > This kernel can be used both as the domain0 ("xen0") and as an > unprivileged ("xenU") kernel. > > Version : 2.6.27.7-9.1 (x86_64) > > 2. kernel-xen-base > The Linux kernel for Xen paravirtualization. > This kernel can be used both as the domain0 ("xen0") and as an > unprivileged ("xenU") kernel. > > 2.6.27.7-9.1 (x86_64) > > 3. kernel-xen-extra > The Linux kernel for Xen paravirtualization. > This kernel can be used both as the domain0 ("xen0") and as an > unprivileged ("xenU") kernel. > > > 2.6.27.7-9.1 (x86_64) > > 4. xen > This is the xen hypervisor > > 3.3.1_18494_03-1.8 (x86_64) > > 4. xen-devel > 3.3.1_18494_03-1.8 (x86_64) > > This package contains libraries and header files. > > When i try to to uninstall this package it says it has a dependency on libvrt. > > 5.xen - libs > xen virtualization libraries > > 6. xen - tools > Packages for starting stopping packages. > > > I guess i can let the first 3 packages as it is. I will > uninstall the xen hypervisor and other packages related to it. > > I can then put the the new hypervisor(3.4) and related libraries > under /boot and boot with the kernel already installed. > > Does it look good or have i made mistakes ? > > thanks > > > On Mon, Sep 7, 2009 at 11:21 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >> On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@gmail.com> wrote: >>> Hi, >>> I am trying to use a new version of the hypervisor. I am not trying to >>> install a new version of the kernel. >> >> In that case you don''t need to install kernel 2.6.18-8 if you don''t >> want to. You can use your existing kernel. >> However installing hypervisor and userland tools will overwrite some >> files installed by your OS if your OS already has its own Xen version. >> >> -- >> Fajar >> >>> >>> thanks >>> >>> On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >>>> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@gmail.com> wrote: >>>>> Hi, >>>>> Thanks for your reply. Could you please let me know what is the >>>>> problem with my mkinitrd command. Is it because i may have forgot to >>>>> copy some part of the installation. >>>> >>>> Installing a new KERNEL (including xen kernel) should be "safe" (as in >>>> it shouldn''t overwrite anything you already have) assuming it''s >>>> version is different from what you have. It''s easier to simply run >>>> "make modules_install" and "make install" on kernel build directory. >>>> >>>> Installxing Xen however, is more then just the kernel. It also >>>> installs hypervisor userland tools (e.g. xm, xend, etc.), which most >>>> likely will overwrite what you already have. Which is why I said you >>>> can only have one version of Xen. >>>> >>>> What are you trying to do here? Use a new kernel or use a new Xen >>>> version? Those two does not necessarily be done at the same time. If >>>> you only want a new Xen version, usually you can just use kernel-xen >>>> provided by your distro and simply install the hypervisor (xen.gz) and >>>> userland tools. >>>> >>>> Here''s a hint : trying out different versions of Xen is actually >>>> easiest on RHEL5, thanks to Gitco''s repository >>>> http://www.gitco.de/repo/. >>>> >>>>> IF yes can we make a wild guess. >>>>> Also what are the correct options that should be used while creating >>>>> the image. >>>> >>>> man mkinitrd? I''m not familiar enough with Suse, but as I recall its >>>> option is slightly different from Redhat''s. >>>> >>>> -- >>>> Fajar >>>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-08 10:40 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, Should i need to build the initrd image or i can use the old one(the one which was build when i installed a previous version of xen hypervisor). I am am using the old kernel. thanks shankha On Tue, Sep 8, 2009 at 6:04 AM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > One more query. When i had build the source code of the xen > hypervisor (make world) it had build the linux kernel also(downloaded > the bits using mercurial). > > Would it be possible to just build the hypervisor ? > > Isn''t the hypervisor and linux kernel linked ? Pardon my ignorance. > > Like is the linux kernel which is used is specially build to work > with the hyper visor or i can i can build any version of the kernel > and it should work with the hypervisor. > > thanks > > On Tue, Sep 8, 2009 at 5:46 AM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi Fajar, >> Thanks for your continued help. I checked through yast the following >> are installed on my system >> >> 1. Kernel-Xen >> The linux kernel for xen paravirtualization. >> This kernel can be used both as the domain0 ("xen0") and as an >> unprivileged ("xenU") kernel. >> >> Version : 2.6.27.7-9.1 (x86_64) >> >> 2. kernel-xen-base >> The Linux kernel for Xen paravirtualization. >> This kernel can be used both as the domain0 ("xen0") and as an >> unprivileged ("xenU") kernel. >> >> 2.6.27.7-9.1 (x86_64) >> >> 3. kernel-xen-extra >> The Linux kernel for Xen paravirtualization. >> This kernel can be used both as the domain0 ("xen0") and as an >> unprivileged ("xenU") kernel. >> >> >> 2.6.27.7-9.1 (x86_64) >> >> 4. xen >> This is the xen hypervisor >> >> 3.3.1_18494_03-1.8 (x86_64) >> >> 4. xen-devel >> 3.3.1_18494_03-1.8 (x86_64) >> >> This package contains libraries and header files. >> >> When i try to to uninstall this package it says it has a dependency on libvrt. >> >> 5.xen - libs >> xen virtualization libraries >> >> 6. xen - tools >> Packages for starting stopping packages. >> >> >> I guess i can let the first 3 packages as it is. I will >> uninstall the xen hypervisor and other packages related to it. >> >> I can then put the the new hypervisor(3.4) and related libraries >> under /boot and boot with the kernel already installed. >> >> Does it look good or have i made mistakes ? >> >> thanks >> >> >> On Mon, Sep 7, 2009 at 11:21 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >>> On Tue, Sep 8, 2009 at 4:53 AM, shankha<shankhabanerjee@gmail.com> wrote: >>>> Hi, >>>> I am trying to use a new version of the hypervisor. I am not trying to >>>> install a new version of the kernel. >>> >>> In that case you don''t need to install kernel 2.6.18-8 if you don''t >>> want to. You can use your existing kernel. >>> However installing hypervisor and userland tools will overwrite some >>> files installed by your OS if your OS already has its own Xen version. >>> >>> -- >>> Fajar >>> >>>> >>>> thanks >>>> >>>> On Mon, Sep 7, 2009 at 5:37 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >>>>> On Tue, Sep 8, 2009 at 3:57 AM, shankha<shankhabanerjee@gmail.com> wrote: >>>>>> Hi, >>>>>> Thanks for your reply. Could you please let me know what is the >>>>>> problem with my mkinitrd command. Is it because i may have forgot to >>>>>> copy some part of the installation. >>>>> >>>>> Installing a new KERNEL (including xen kernel) should be "safe" (as in >>>>> it shouldn''t overwrite anything you already have) assuming it''s >>>>> version is different from what you have. It''s easier to simply run >>>>> "make modules_install" and "make install" on kernel build directory. >>>>> >>>>> Installxing Xen however, is more then just the kernel. It also >>>>> installs hypervisor userland tools (e.g. xm, xend, etc.), which most >>>>> likely will overwrite what you already have. Which is why I said you >>>>> can only have one version of Xen. >>>>> >>>>> What are you trying to do here? Use a new kernel or use a new Xen >>>>> version? Those two does not necessarily be done at the same time. If >>>>> you only want a new Xen version, usually you can just use kernel-xen >>>>> provided by your distro and simply install the hypervisor (xen.gz) and >>>>> userland tools. >>>>> >>>>> Here''s a hint : trying out different versions of Xen is actually >>>>> easiest on RHEL5, thanks to Gitco''s repository >>>>> http://www.gitco.de/repo/. >>>>> >>>>>> IF yes can we make a wild guess. >>>>>> Also what are the correct options that should be used while creating >>>>>> the image. >>>>> >>>>> man mkinitrd? I''m not familiar enough with Suse, but as I recall its >>>>> option is slightly different from Redhat''s. >>>>> >>>>> -- >>>>> Fajar >>>>> >>>> >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-08 11:29 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Tue, Sep 8, 2009 at 4:46 PM, shankha<shankhabanerjee@gmail.com> wrote:> Hi Fajar, > Thanks for your continued help. I checked through yast the following > are installed on my system > > 1. Kernel-Xen> 2. kernel-xen-base> 3. kernel-xen-extra> I guess i can let the first 3 packages as it is.Correct.> I can then put the the new hypervisor(3.4) and related libraries > under /boot and boot with the kernel already installed. > > Does it look good or have i made mistakes ?Actually only the hypervisor (xen.gz) is in /boot. The userland part (tools and libraries) are mostly in /usr. Good luck. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-08 11:39 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Tue, Sep 8, 2009 at 5:40 PM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > Should i need to build the initrd image or i can use the old one(the > one which was build when i installed a previous version of xen > hypervisor). I am am using the old kernel.If you''re using the old kernel you can continue to use the old initrd. There''s one possible change though: You might need to add "pci=nomsi" to kernel parameter. http://lists.xensource.com/archives/html/xen-users/2009-06/msg00090.html> On Tue, Sep 8, 2009 at 6:04 AM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi, >> One more query. When i had build the source code of the xen >> hypervisor (make world) it had build the linux kernel also(downloaded >> the bits using mercurial). >> >> Would it be possible to just build the hypervisor ?Should be. I forgot what the command is (is it make tools?) try looking at README (if available) or makefile. Anyway, even if it builds and install a new kernel, you can simply choose not to use the new (2.6.18) kernel and use your old suse kernel instead.>> >> Isn''t the hypervisor and linux kernel linked ? Pardon my ignorance. >> >> Like is the linux kernel which is used is specially build to work >> with the hyper visor or i can i can build any version of the kernel >> and it should work with the hypervisor.In general, yes, the hypervisor and kernel is connected. However newer xen kernel has a compatibility option, by default selected to 3.0.2. This means that as long as your hypervisor and userland has the same version, and it''s >= 3.0.2, it should work (minus some version-specific feature) I''ve been using Redhat''s kernel-xen (built against Redhat''s Xen 3.1.2+) with Xen 3.3 and 3.4, and it works great. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-08 11:41 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, Little bit of success :-) I uninstalled the old hypervisor. I was able to install the new xen hypervisor and boot to the new kernel. after booting when i said xend start Traceback (most recent call last): File "/usr/sbin/xend", line 36, in <module> from xen.xend.server import SrvDaemon ImportError: No module named xen.xend.server I got this error message. I think my python installation got corrupted somehow because earlier i was able to run it smoothly. Now it is seems to be misbehaving. Could this be the reason. thanks shankha On Tue, Sep 8, 2009 at 7:29 AM, Fajar A. Nugraha<fajar@fajar.net> wrote:> On Tue, Sep 8, 2009 at 4:46 PM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi Fajar, >> Thanks for your continued help. I checked through yast the following >> are installed on my system >> >> 1. Kernel-Xen > >> 2. kernel-xen-base > >> 3. kernel-xen-extra > >> I guess i can let the first 3 packages as it is. > > Correct. > >> I can then put the the new hypervisor(3.4) and related libraries >> under /boot and boot with the kernel already installed. >> >> Does it look good or have i made mistakes ? > > Actually only the hypervisor (xen.gz) is in /boot. The userland part > (tools and libraries) are mostly in /usr. > > Good luck. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-08 11:45 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Tue, Sep 8, 2009 at 6:41 PM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > Little bit of success :-) > > I uninstalled the old hypervisor. > > I was able to install the new xen hypervisor and boot to the new kernel. > > after booting when i said > > xend start > Traceback (most recent call last): > File "/usr/sbin/xend", line 36, in <module> > from xen.xend.server import SrvDaemon > ImportError: No module named xen.xend.server > > I got this error message. > > I think my python installation got corrupted somehow because > earlier i was able to run it smoothly. Now it is seems to be > misbehaving. Could this be the reason.Looks like you haven''t properly installed Xen userland tools yet. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-08 12:01 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, I have build the tools from source and after building the xen hypervisor i did a make install which according to README is supposed to copy the specified files to appropriate places. I think i am making a mistake. Could you please let me know where i should place the tools directory or just adding it to the PATH would do the job. thanks shankha On Tue, Sep 8, 2009 at 7:45 AM, Fajar A. Nugraha<fajar@fajar.net> wrote:> On Tue, Sep 8, 2009 at 6:41 PM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi, >> Little bit of success :-) >> >> I uninstalled the old hypervisor. >> >> I was able to install the new xen hypervisor and boot to the new kernel. >> >> after booting when i said >> >> xend start >> Traceback (most recent call last): >> File "/usr/sbin/xend", line 36, in <module> >> from xen.xend.server import SrvDaemon >> ImportError: No module named xen.xend.server >> >> I got this error message. >> >> I think my python installation got corrupted somehow because >> earlier i was able to run it smoothly. Now it is seems to be >> misbehaving. Could this be the reason. > > > Looks like you haven''t properly installed Xen userland tools yet. > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-09 04:31 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Wed, Sep 9, 2009 at 4:40 AM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > Yes i did that. I somehow think it is got to do something with Python. > Python was working fine before uninstalling xen. > > Inside the Python lib directory there is a xen directory which has > xenstore and other tools..... to clean it up a bit more ....Here''s what I did : - install Opensuse 11.1 - download hypervisor and tools source (not the kernel) from http://www.xen.org/products/xen_source.html - extract - zypper install gcc zlib-devel gettext-tools libopenssl-devel xorg-x11-devel dev86 SDL-devel ncurses-devel python-devel bridge-utils - make install-xen - make install-tools -- Fajar> > > thanks > shankha > > On Tue, Sep 8, 2009 at 4:15 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >> On Tue, Sep 8, 2009 at 7:01 PM, shankha<shankhabanerjee@gmail.com> wrote: >>> Hi, >>> I have build the tools from source and after building the xen >>> hypervisor i did a make install which according to README is supposed >>> to copy the specified files to appropriate places. >> >> That''s odd. Can you confirm that you did a "make install" AFTER >> uninstalling suse''s xen rpm? >> >> -- >> Fajar >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-09 05:00 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi, Thanks ... the installation was smooth. Since my installation of various packages got clumsy i removed the old Suse installation and installed it fresh. So i do not have the xen linux kernel. Is there a command to install the xen kernel seperately ? One more request. Is there a way to uninstall it cleanly. thanks shankha On Wed, Sep 9, 2009 at 12:31 AM, Fajar A. Nugraha<fajar@fajar.net> wrote:> On Wed, Sep 9, 2009 at 4:40 AM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi, >> Yes i did that. I somehow think it is got to do something with Python. >> Python was working fine before uninstalling xen. >> >> Inside the Python lib directory there is a xen directory which has >> xenstore and other tools..... to clean it up a bit more .... > > Here''s what I did : > - install Opensuse 11.1 > - download hypervisor and tools source (not the kernel) from > http://www.xen.org/products/xen_source.html > - extract > - zypper install gcc zlib-devel gettext-tools libopenssl-devel > xorg-x11-devel dev86 SDL-devel ncurses-devel python-devel bridge-utils > - make install-xen > - make install-tools > > -- > Fajar > >> >> >> thanks >> shankha >> >> On Tue, Sep 8, 2009 at 4:15 PM, Fajar A. Nugraha<fajar@fajar.net> wrote: >>> On Tue, Sep 8, 2009 at 7:01 PM, shankha<shankhabanerjee@gmail.com> wrote: >>>> Hi, >>>> I have build the tools from source and after building the xen >>>> hypervisor i did a make install which according to README is supposed >>>> to copy the specified files to appropriate places. >>> >>> That''s odd. Can you confirm that you did a "make install" AFTER >>> uninstalling suse''s xen rpm? >>> >>> -- >>> Fajar >>> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Sep-09 06:32 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
On Wed, Sep 9, 2009 at 12:00 PM, shankha<shankhabanerjee@gmail.com> wrote:> Hi, > Thanks ... the installation was smooth. > > Since my installation of various packages got clumsy > i removed the old Suse installation and installed it fresh. > > So i do not have the xen linux kernel. Is there a command to install > the xen kernel seperately ?If you want to use Xen''s 2.6.18 kernel, you can do a "make help" on the untarred xen source directory. It will show you how to do lots of things. Alternatively, go to http://www.xen.org/products/xen_source.html, download "Linux 2.6.18 with Xen 3.4.x support source tarball", and configure it like a normal kernel (make menuconfig, make, etc.) And there''s newer kernels of course. See http://wiki.xensource.com/xenwiki/XenDom0Kernels If you just want to use Suse''s kernel-xen, the obvious way would be to run "zypper install kernel-xen".> > One more request. Is there a way to uninstall it cleanly.I''m not sure. "make uninstall" MIGHT work, but I haven''t tested it. There was a warning on this list sometime ago that "make uninstall" deletes stuff on /boot with "xen" name on it, whether it''s installed by the source or not. I don''t know if it''s still the case. This is one of the reasons why I prefer using RHEL5 + Gitco. I can simply do a "yum install" and "yum erase" :D -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
shankha
2009-Sep-10 04:45 UTC
Re: [Xen-users] Installing two versions of xen on the same machine
Hi Fajar, Thanks a lot for all the help. Installation got over smoothly. There are some booting issues. I think my scripts which specify the various boot parameters for xen kernel are not correct. I will try and fix those. Thanks a lot. thanks shankha On Wed, Sep 9, 2009 at 2:32 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Sep 9, 2009 at 12:00 PM, shankha<shankhabanerjee@gmail.com> wrote: >> Hi, >> Thanks ... the installation was smooth. >> >> Since my installation of various packages got clumsy >> i removed the old Suse installation and installed it fresh. >> >> So i do not have the xen linux kernel. Is there a command to install >> the xen kernel seperately ? > > If you want to use Xen''s 2.6.18 kernel, you can do a "make help" on > the untarred xen source directory. It will show you how to do lots of > things. > > Alternatively, go to http://www.xen.org/products/xen_source.html, > download "Linux 2.6.18 with Xen 3.4.x support source tarball", and > configure it like a normal kernel (make menuconfig, make, etc.) > > And there''s newer kernels of course. See > http://wiki.xensource.com/xenwiki/XenDom0Kernels > > If you just want to use Suse''s kernel-xen, the obvious way would be to > run "zypper install kernel-xen". > > >> >> One more request. Is there a way to uninstall it cleanly. > > I''m not sure. "make uninstall" MIGHT work, but I haven''t tested it. > There was a warning on this list sometime ago that "make uninstall" > deletes stuff on /boot with "xen" name on it, whether it''s installed > by the source or not. I don''t know if it''s still the case. > > This is one of the reasons why I prefer using RHEL5 + Gitco. I can > simply do a "yum install" and "yum erase" :D > > -- > Fajar >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users