* Custom Kernel Question
@ 2005-03-08 18:04 Stephen Le
2005-03-08 18:12 ` Christopher Clark
2005-03-08 18:18 ` Robin Green
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Le @ 2005-03-08 18:04 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom Kernel Question
2005-03-08 18:04 Custom Kernel Question Stephen Le
@ 2005-03-08 18:12 ` Christopher Clark
2005-03-08 18:18 ` Robin Green
1 sibling, 0 replies; 3+ messages in thread
From: Christopher Clark @ 2005-03-08 18:12 UTC (permalink / raw)
To: Stephen Le; +Cc: xen-devel
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.
On Tue, 2005-03-08 at 18:04, Stephen Le wrote:
> 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
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.sourceforge.net
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Custom Kernel Question
2005-03-08 18:04 Custom Kernel Question Stephen Le
2005-03-08 18:12 ` Christopher Clark
@ 2005-03-08 18:18 ` Robin Green
1 sibling, 0 replies; 3+ messages in thread
From: Robin Green @ 2005-03-08 18:18 UTC (permalink / raw)
To: Stephen Le; +Cc: xen-devel
On Tue, 8 Mar 2005, Stephen Le wrote:
> 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?
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.
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-08 18:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-08 18:04 Custom Kernel Question Stephen Le
2005-03-08 18:12 ` Christopher Clark
2005-03-08 18:18 ` Robin Green
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.