Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Building Xen Source

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Bharath
    Posts
    49

    Smile Building Xen Source

    Hello friends,
    I have installed xen during o.s installion and used it with SLED 10 VM.Now i hav a wish to download the source from the xen website and to compile and run it.So i have dowbloaded a file called "xen-3.3.1.tar.gz" from the xen website and trying to build it.Now i have successfully removed the xen which was inbuilt in suse.I have read the Read me file and tried it..but i could not succeed.The moment i press "enter" in the grub menu"xen 3.3.1".i get error"error 15"..
    i think i have committed a fatal mistake..Can any one help me from scratch..
    "Linux is just like rivers...They follow their own routes and remain accessible to anyone.It is in the hands of public to keep it usable or unusable"

  2. #2
    Join Date
    Mar 2009
    Location
    Bharath
    Posts
    49

    Smile Re: Building Xen Source

    Honestly,I dont know why,i cant understand why this question is attracting no interest from my fellow users..hey friends..pls have a look at the question and try to give me a clue..
    "Linux is just like rivers...They follow their own routes and remain accessible to anyone.It is in the hands of public to keep it usable or unusable"

  3. #3
    Join Date
    Mar 2009
    Location
    Bharath
    Posts
    49

    Talking Re: Building Xen Source

    Quote Originally Posted by chintalvaady View Post
    Honestly,I dont know why,i cant understand why this question is attracting no interest from my fellow users..hey friends..pls have a look at the question and try to give me a clue..
    Dot no how to bring in people here
    "Linux is just like rivers...They follow their own routes and remain accessible to anyone.It is in the hands of public to keep it usable or unusable"

  4. #4
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Building Xen Source

    Hey, it is not the question of not creating interest etc. This is a forum and people come here whenever they get free time. Then again, only those who have expertise in the topic can help.

    You just posted it few hours back. So, please be patient. Someone will answer you.

  5. #5
    Join Date
    Mar 2009
    Location
    Bharath
    Posts
    49

    Smile Re: Building Xen Source

    Ok fine thanks
    "Linux is just like rivers...They follow their own routes and remain accessible to anyone.It is in the hands of public to keep it usable or unusable"

  6. #6
    avnxxi NNTP User

    Default Re: Building Xen Source

    It is not so simple as you think.
    When i compile 11.1 with Xen 3.4 i'll describe the process
    if success

  7. #7
    avnxxi NNTP User

    Smile Re: Building Xen Source

    How to rebuild xen-3.3.1-enabled kernel SuSE 11.1 for x86_64:

    1. Install packages (may be you need more):

    sparse-0.4.1.git1-1.33.x86_64.rpm
    kernel-source-2.6.27.21-0.1.1.src.rpm
    kernel-xen-2.6.27.21-0.1.2.nosrc.rpm
    xen-3.3.1_18494_03-1.8.src.rpm

    In /usr/src/packages/SOURCES you can see tens of patches which
    make difference between SuSE's version of Xen and standard one

    2. cd /usr/src/packages/SPECS

    3. comment reference to "kernel-dummy" in kernel-xen.spec

    4. rpmbuild --rebuild kernel-xen.spec

    5. get results in /usr/src/packages/RPMS/x86_64

    kernel-xen-2.6.27.21-0.1.2.x86_64.rpm
    kernel-xen-base-2.6.27.21-0.1.2.x86_64.rpm
    kernel-xen-extra-2.6.27.21-0.1.2.x86_64.rpm

    You can install it as usually.

    http://www.avnsite.com

  8. #8
    egoipse NNTP User

    Default Re: Building Xen Source

    I have had the exact same trouble as you have had with Xen from source except my kernel booted but would not mount my encrypted LVM volumes. I had really fallen in love with SUSE but I just didn't have another day to devote to getting it running with xen so, I went back with Ubuntu. Here's a breif overview of what I had to do to get xen working from source (I'll post the rest if I get a chance at work tomorrow b/c my scratchpad is there with all of the "notes to self"):
    1. (here's an obvious one) downloaded xen-3.4.tar.gz (probably not the right file name but you get the point, the 3.4 one) from xen's site
    2. extract to ~/tmp (to keep things clean)
    3. cd ~/tmp
    4. wget somefile* (google "linux/compile.h error" and you'll find it I'll post the complete stuff tomorrow, but doing this much tonight will oblige me to finish)
    5. hg clone somefile* (this is really sad, I just can'e remeber what it is)
    6. Install openssh-devel, libx11-devel, zlib-devel, ncurses-devel, and more
    7 through infinity. lots of make then depmod then mkinitrd

    Basically the end result was a running xen kernel but one that could not boot into my encrypted lvm volumes. From the googling that I have done I think the correct kernel modules for encryption are not loaded, and I'm honestly not sure how to do that. I've tried xen with ubuntu before (about a year ago) but I also gave up when it failed to know what to do with my encrypted disk. I REALLY REALLY like suse otherwise, coming from ubuntu I was at a loss after the install because 99% of all my tweaks were already done! Alas, time is scarse and I have to have this server up this week and it looks like it will be KVM and not xen because this wouldn't work. Again, I'll post more quantity and better quality tomorrow and see if we can get some good neurons firing here.

  9. #9

    Default Re: Building Xen Source

    Quote Originally Posted by avnxxi View Post
    How to rebuild xen-3.3.1-enabled kernel SuSE 11.1 for x86_64:

    1. Install packages (may be you need more):

    sparse-0.4.1.git1-1.33.x86_64.rpm
    kernel-source-2.6.27.21-0.1.1.src.rpm
    kernel-xen-2.6.27.21-0.1.2.nosrc.rpm
    xen-3.3.1_18494_03-1.8.src.rpm

    In /usr/src/packages/SOURCES you can see tens of patches which
    make difference between SuSE's version of Xen and standard one

    2. cd /usr/src/packages/SPECS

    3. comment reference to "kernel-dummy" in kernel-xen.spec

    4. rpmbuild --rebuild kernel-xen.spec

    5. get results in /usr/src/packages/RPMS/x86_64

    kernel-xen-2.6.27.21-0.1.2.x86_64.rpm
    kernel-xen-base-2.6.27.21-0.1.2.x86_64.rpm
    kernel-xen-extra-2.6.27.21-0.1.2.x86_64.rpm

    You can install it as usually.

    http://www.avnsite.com

    This doesn't seem to work anymore on OpenSUSE 13.2. kernel-dummy doesn't exist anymore in kernel-xen.spec
    I have a similar problem that I wish to recompile the supplied Xen kernel in 13.2 using 13.2 source code and make a change (disable a driver from it).
    Can anyone provide me with instructions to doing so?

  10. #10
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,043

    Default Re: Building Xen Source

    On Mon, 07 Dec 2015 22:56:06 +0000, ysaliens wrote:

    > Can anyone provide me with instructions to doing so?


    If it were me, I'd install the kernel sources and then do a 'make
    cloneconfig' to clone the current config.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •