* Compile me own kernel ....
@ 2004-12-27 19:25 David Templer
2004-12-27 19:54 ` Jan Kundrát
0 siblings, 1 reply; 8+ messages in thread
From: David Templer @ 2004-12-27 19:25 UTC (permalink / raw)
To: xen-devel@lists.sourceforge.net
Hi,
I wish to compile my own kernel (including xen support) the one shipped
with xen has no module functions at all ;-(
Can you tell me how (or what) I need to add to kernel to get it to work
with Xen ?
I have built many kernels in the past so if its just a patch point to it ;-)
Dave T.
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile me own kernel ....
2004-12-27 19:25 Compile me own kernel David Templer
@ 2004-12-27 19:54 ` Jan Kundrát
2004-12-28 10:18 ` David Templer
0 siblings, 1 reply; 8+ messages in thread
From: Jan Kundrát @ 2004-12-27 19:54 UTC (permalink / raw)
To: David Templer; +Cc: xen-devel@lists.sourceforge.net
David Templer wrote:
> Hi,
>
> I wish to compile my own kernel (including xen support) the one shipped
> with xen has no module functions at all ;-(
>
> Can you tell me how (or what) I need to add to kernel to get it to work
> with Xen ?
>
> I have built many kernels in the past so if its just a patch point to it
> ;-)
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION02231000000000000000
you should also have a look at
http://bugs.gentoo.org/show_bug.cgi?id=70161 , attached .ebuilds are
good examples on what is required to get "working" /usr/src/linux-2.6.9-xen0
-jkt
--
cd /local/pub && more beer > /dev/mouth
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile me own kernel ....
2004-12-27 19:54 ` Jan Kundrát
@ 2004-12-28 10:18 ` David Templer
2004-12-28 10:47 ` Keir Fraser
0 siblings, 1 reply; 8+ messages in thread
From: David Templer @ 2004-12-28 10:18 UTC (permalink / raw)
To: xen-devel@lists.sourceforge.net
Jan Kundrát wrote:
> David Templer wrote:
>
>> Hi,
>>
>> I wish to compile my own kernel (including xen support) the one
>> shipped with xen has no module functions at all ;-(
>>
>> Can you tell me how (or what) I need to add to kernel to get it to
>> work with Xen ?
>>
>> I have built many kernels in the past so if its just a patch point to
>> it ;-)
>
>
> http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION02231000000000000000
>
>
> you should also have a look at
> http://bugs.gentoo.org/show_bug.cgi?id=70161 , attached .ebuilds are
> good examples on what is required to get "working"
> /usr/src/linux-2.6.9-xen0
>
> -jkt
>
Thank you ;-)
I asked the question because when I rebooted into Xen it was very slow
to start & no modules were loaded ie ethernet sound etc... after what
seems like hours I got console prompt & that was it ....
Not using Gentoo ebuilds mean nothing to me ... I wondered if I could
patch my working kernel in some way to get Xen to work ?
Dave T.
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compile me own kernel ....
2004-12-28 10:18 ` David Templer
@ 2004-12-28 10:47 ` Keir Fraser
2004-12-28 14:49 ` Time to increase default dom0_mem value? Jared Rhine
0 siblings, 1 reply; 8+ messages in thread
From: Keir Fraser @ 2004-12-28 10:47 UTC (permalink / raw)
To: David Templer; +Cc: xen-devel@lists.sourceforge.net
> Thank you ;-)
>
> I asked the question because when I rebooted into Xen it was very slow
> to start & no modules were loaded ie ethernet sound etc... after what
> seems like hours I got console prompt & that was it ....
>
> Not using Gentoo ebuilds mean nothing to me ... I wondered if I could
> patch my working kernel in some way to get Xen to work ?
>
> Dave T.
Did you add a 'dom0_mem=xxx' option to Xen's boot-parameter list?
Otherwise it will bot with just 16MB of memory, and your system may
have been thrashing as it booted.
-- Keir
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Time to increase default dom0_mem value?
2004-12-28 10:47 ` Keir Fraser
@ 2004-12-28 14:49 ` Jared Rhine
2004-12-28 17:40 ` Keir Fraser
0 siblings, 1 reply; 8+ messages in thread
From: Jared Rhine @ 2004-12-28 14:49 UTC (permalink / raw)
To: xen-devel
> Did you add a 'dom0_mem=xxx' option to Xen's boot-parameter list?
> Otherwise it will bot with just 16MB of memory, and your system may
> have been thrashing as it booted.
No one really expects a dom0_mem of 16Mb to work reliably.
So perhaps it's not a good default value? I'm not currently seeing the
value of a low default, given that people who need a small value can
easily set it. May I suggest a default value of 64Mb?
Benefits include reduced FAQs on this list, better out-of-the-box
robustness, and optimization for the common case.
If there are benefits to sticking with 16Mb, a quick summary would be
appreciated.
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Time to increase default dom0_mem value?
2004-12-28 14:49 ` Time to increase default dom0_mem value? Jared Rhine
@ 2004-12-28 17:40 ` Keir Fraser
2004-12-28 22:08 ` Nuutti Kotivuori
2004-12-29 8:27 ` Jared Rhine
0 siblings, 2 replies; 8+ messages in thread
From: Keir Fraser @ 2004-12-28 17:40 UTC (permalink / raw)
To: Jared Rhine; +Cc: xen-devel
> No one really expects a dom0_mem of 16Mb to work reliably.
>
> So perhaps it's not a good default value? I'm not currently seeing the
> value of a low default, given that people who need a small value can
> easily set it. May I suggest a default value of 64Mb?
>
> Benefits include reduced FAQs on this list, better out-of-the-box
> robustness, and optimization for the common case.
>
> If there are benefits to sticking with 16Mb, a quick summary would be
> appreciated.
Sensible defaults are probably either a fixed proportion of total
system RAM, or just to print an error and hang. Either of these is
easy to implement.
-- Keir
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Time to increase default dom0_mem value?
2004-12-28 17:40 ` Keir Fraser
@ 2004-12-28 22:08 ` Nuutti Kotivuori
2004-12-29 8:27 ` Jared Rhine
1 sibling, 0 replies; 8+ messages in thread
From: Nuutti Kotivuori @ 2004-12-28 22:08 UTC (permalink / raw)
To: xen-devel
Keir Fraser wrote:
> Sensible defaults are probably either a fixed proportion of total
> system RAM, or just to print an error and hang. Either of these is
> easy to implement.
I wonder, is there a meaningful difference in behaviour between giving
dom0 just the memory it should have, or giving dom0 all the memory
there is and then just ballooning free space for the virtual machines?
If ballooning is a working option, the default could be even to give
all memory to dom0. (Ofcourse excluding what is needed for Xen to
properly function.)
-- Naked
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Time to increase default dom0_mem value?
2004-12-28 17:40 ` Keir Fraser
2004-12-28 22:08 ` Nuutti Kotivuori
@ 2004-12-29 8:27 ` Jared Rhine
1 sibling, 0 replies; 8+ messages in thread
From: Jared Rhine @ 2004-12-29 8:27 UTC (permalink / raw)
To: xen-devel
Jared> [P]erhaps [...] a dom0_mem of 16Mb [is] not a good default
Jared> value?
Keir> Sensible defaults are probably either a fixed proportion of
Keir> total system RAM, or just to print an error and hang. Either
Keir> of these is easy to implement.
Given only those two choices, I definitely think that "require
dom0_mem to be set otherwise error out" is the preferred choice.
Using a percentage of total RAM seems error-prone and will cause even
more community problems because of different behaviors on different
machines. (In other words, you'll now need to ask not only "what did
you set dom0_mem to?", but also "how much total is available?"). If
the default is say 25%, then a 64Mb machine is right back to the
problematic 16Mb, while a 2Gb machine would reserve an unneeded
half-a-gig. Correctness and consistency should come first, so I think
the "percentage of available" approach should be rejected (though
supporting a "dom0_mem=25%" would be a reasonable enhancement).
I personally still think that having an actual value for a default
would be somewhat preferred over "dom0_mem is now a required
parameter", as that's a behavior change instead of a simple tuning.
Since all the documentation already says "dom0_mem=131072", simply
setting that to be the default would likely generate the "least
suprise" for users and work in almost all cases.
Ultimately, it's strictly a matter of opinion, and the community is
unlikely to provide a clear consensus as to the "best" approach. If a
change seems warranted based on the recurring FAQs, I'm sure the
development team will make an appropriate choice.
-- jared@wordzoo.com
"Truth is a great flirt." -- Franz Liszt
-------------------------------------------------------
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://productguide.itmanagersjournal.com/
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-12-29 8:27 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-27 19:25 Compile me own kernel David Templer
2004-12-27 19:54 ` Jan Kundrát
2004-12-28 10:18 ` David Templer
2004-12-28 10:47 ` Keir Fraser
2004-12-28 14:49 ` Time to increase default dom0_mem value? Jared Rhine
2004-12-28 17:40 ` Keir Fraser
2004-12-28 22:08 ` Nuutti Kotivuori
2004-12-29 8:27 ` Jared Rhine
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.