Custom Kernel Question
I just started using Xen 2.0, and I have a question regarding compiling your own custom kernel for domain 0. I've tried searching the mailing lists and reading the documentation, but nothing seems to work.
I've downloaded the source code tarball for Xen 2.0.4 and I have a working 2.6.10 kernel configuration. How do I compile Xen with my kernel configuration? That is, how do I tell Xen which kernel configuration to use during the compilation?
I've tried placing the kernel configuration file in xen-2.0/linux-2.6.10-xen0 and that didn't work. I also tried placing my configuration file in xen-2.0/dist/install/boot after first performing a "make" and that also didn't work. What am I doing wrong?
Thanks.
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
cd xen-2.0
find . -name *onfig* -print
=>
...
./linux-2.6.10-xen-sparse/arch/xen/configs/xen0_defconfig ./linux-2.6.10-xen-sparse/arch/xen/configs/xenU_defconfig
these get picked up when you make world.
You'll have to merge options from both the Xen default config and your own to get what you want.
c.
Quoted 18 lines · Stephen Le
I just started using Xen 2.0, and I have a question regarding compiling your own custom kernel for domain 0. I've tried searching the mailing lists and reading the documentation, but nothing seems to work.
I've downloaded the source code tarball for Xen 2.0.4 and I have a working 2.6.10 kernel configuration. How do I compile Xen with my kernel configuration? That is, how do I tell Xen which kernel configuration to use during the compilation?
I've tried placing the kernel configuration file in xen-2.0/linux-2.6.10-xen0 and that didn't work. I also tried placing my configuration file in xen-2.0/dist/install/boot after first performing a "make" and that also didn't work. What am I doing wrong?
Thanks.
Quoted 9 lines
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Quoted 10 lines · Stephen Le
I just started using Xen 2.0, and I have a question regarding compiling your own custom kernel for domain 0. I've tried searching the mailing lists and reading the documentation, but nothing seems to work.
I've downloaded the source code tarball for Xen 2.0.4 and I have a working 2.6.10 kernel configuration. How do I compile Xen with my kernel configuration? That is, how do I tell Xen which kernel configuration to use during the compilation?
Quoted 4 lines
I've tried placing the kernel configuration file in xen-2.0/linux-2.6.10-xen0 and that didn't work. I also tried placing my configuration file in xen-2.0/dist/install/boot after first performing a "make" and that also didn't work. What am I doing wrong?
This is what worked for me (from memory). I unpacked a fresh copy of linux 2.6.10 source, and then did:
# First make and install xen and the tools
cd xen-2.0-testing
make xen tools
cd ..
# Then make and install the kernel
cp -a --reply=yes xen-2.0-testing/linux-2.6.10-xen-sparse/* linux-2.6.10 cp .config linux-2.6.10
cd linux-2.6.10
Now you can either do
make xconfig ARCH=xen
or
make oldconfig ARCH=xen
make ARCH=xen
cp vmlinuz /boot/vmlinuz-2.6.10-xen
# Then edit bootloader configuration
nano /etc/grub.conf
Note that Xen will automatically remove items in your kernel config which it thinks won't work.
Signature · 8 lines
Robin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click