All of lore.kernel.org
 help / color / mirror / Atom feed
* [Q]Xen 3.1 kernel config surprises!!
@ 2007-08-17  9:24 pradeep singh rautela
  2007-08-17 12:31 ` Ian Campbell
  0 siblings, 1 reply; 4+ messages in thread
From: pradeep singh rautela @ 2007-08-17  9:24 UTC (permalink / raw)
  To: xen-devel

Hi All,

[ First, the reason i resorted to doing this is because default dom0
and xen panic pretty soon :-/. ]

I tried shifting to Xen-3.1 but i must admit i was stumbled and
surprised to see some changes which are bothering me from last 4 days.

First the moment i do a
$make linux-2.6-xen CONFIGMODE=menuconfig
 it prompts me all well. I do my changes and do make xen to install
the hypervisor.
Well and good till here.

I decided to compile a custom dom0 and domU kernels.
I did at the root xen-3.1 src tree
  $make linux-2.6-xen0 CONFIGMODE=menuconfig

i made changes. Now i did
  $make linux-2.6-xenU CONFIGMODE=menuconfig
and made further changes.

Suddenly i thought of changing something in xenU and xen0 configs but
the config seems to be lost :-/, forcing me to the same spot from
where i started.

Sorry but i thought kernel config is supposed to be saved on exit from
menuconfig and not vanished. Did i miss something silly?
[OTOH why should the above commands totally erase the existing
.config? .... can't they just check if a .config exists and if it
does, make Xen/dom0/domU specific changes which are absolutely
necessary and leave rest of entries intact]

BTW i can't use a saved .config in any way to generate xen,dom0 or
domU for that matterr. Why?

I tried copying my custom config file to buidlconfigs dir, to replace
the default ones for xen, xenU and xen0 for x86_32 but still not luck
:-(.

Previous versions looked charm to work with when it came to kernel
recompilation.

Can anyone point me to appropriate link or howto ? Or give me a hint
on what am i missing here?

Machine info :-

Intel Pentium D 2.8 Ghz.
No VT-x.
uname -a : Linux blufox 2.6.23-rc2-lguest #1 SMP PREEMPT Mon Aug 6
14:29:49 IST 2007 i686 GNU/Linux

Box is an Ubuntu work machine.

Thanks
--pradeep

-- 
--
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q]Xen 3.1 kernel config surprises!!
  2007-08-17  9:24 [Q]Xen 3.1 kernel config surprises!! pradeep singh rautela
@ 2007-08-17 12:31 ` Ian Campbell
  2007-08-17 12:47   ` pradeep singh rautela
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Campbell @ 2007-08-17 12:31 UTC (permalink / raw)
  To: pradeep singh rautela; +Cc: xen-devel

On Fri, 2007-08-17 at 14:54 +0530, pradeep singh rautela wrote:

> Sorry but i thought kernel config is supposed to be saved on exit from
> menuconfig and not vanished. Did i miss something silly?

No, this seems to have been broken when the kernel was upgraded to
2.6.18 (i.e. frickin' ages ago!). It seems that "make oldconfig" doesn't
create include/linux/autoconf.h anymore and that "make silentoldconfig"
is required instead. We use include/linux/autoconfig.h as the makefile
stamp to indicate whether to write an initial configuration or not.

Can you try 
http://xenbits.xensource.com/staging/xen-unstable.hg?rev/ae923d1f50bf

Ian.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q]Xen 3.1 kernel config surprises!!
  2007-08-17 12:31 ` Ian Campbell
@ 2007-08-17 12:47   ` pradeep singh rautela
       [not found]     ` <6bc632150708170547t3a9d5af5p92e1fa78b96c86d@mail.gmail.com >
  0 siblings, 1 reply; 4+ messages in thread
From: pradeep singh rautela @ 2007-08-17 12:47 UTC (permalink / raw)
  To: Ian Campbell; +Cc: xen-devel

On 8/17/07, Ian Campbell <Ian.Campbell@xensource.com> wrote:
> On Fri, 2007-08-17 at 14:54 +0530, pradeep singh rautela wrote:
[snip]
>
> No, this seems to have been broken when the kernel was upgraded to
> 2.6.18 (i.e. frickin' ages ago!). It seems that "make oldconfig" doesn't
> create include/linux/autoconf.h anymore and that "make silentoldconfig"
> is required instead. We use include/linux/autoconfig.h as the makefile
> stamp to indicate whether to write an initial configuration or not.
>
> Can you try
> http://xenbits.xensource.com/staging/xen-unstable.hg?rev/ae923d1f50bf
Sure Ian.
How much does this affects xen-3.1 release?

thanks Ian.
--pradeep
>
> Ian.
>
>
>


-- 
--
pradeep singh rautela

"Genius is 1% inspiration, and 99% perspiration" - not me :)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Q]Xen 3.1 kernel config surprises!!
       [not found]     ` <6bc632150708170547t3a9d5af5p92e1fa78b96c86d@mail.gmail.com >
@ 2007-08-17 12:53       ` Mats Petersson
  0 siblings, 0 replies; 4+ messages in thread
From: Mats Petersson @ 2007-08-17 12:53 UTC (permalink / raw)
  To: pradeep singh rautela, Ian Campbell; +Cc: xen-devel

At 13:47 17/08/2007, pradeep singh rautela wrote:
>On 8/17/07, Ian Campbell <Ian.Campbell@xensource.com> wrote:
> > On Fri, 2007-08-17 at 14:54 +0530, pradeep singh rautela wrote:
>[snip]
> >
> > No, this seems to have been broken when the kernel was upgraded to
> > 2.6.18 (i.e. frickin' ages ago!). It seems that "make oldconfig" doesn't
> > create include/linux/autoconf.h anymore and that "make silentoldconfig"
> > is required instead. We use include/linux/autoconfig.h as the makefile
> > stamp to indicate whether to write an initial configuration or not.
> >
> > Can you try
> > http://xenbits.xensource.com/staging/xen-unstable.hg?rev/ae923d1f50bf
>Sure Ian.
>How much does this affects xen-3.1 release?

Do you mean "how does this affect the binaries released by 
XenSource"? Probably not at all.

If you mean, how do I apply this to 3.1, just copy the content of 
that patch into a file (say in a file called "fixbuild.patch" in your 
home directory), then go to your xen 3.1 tree and do "patch -p 1 < 
~/fix-build.patch". It should apply without much fuss.

--
Mats


>thanks Ian.
>--pradeep
> >
> > Ian.
> >
> >
> >
>
>
>--
>--
>pradeep singh rautela
>
>"Genius is 1% inspiration, and 99% perspiration" - not me :)
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@lists.xensource.com
>http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-17 12:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17  9:24 [Q]Xen 3.1 kernel config surprises!! pradeep singh rautela
2007-08-17 12:31 ` Ian Campbell
2007-08-17 12:47   ` pradeep singh rautela
     [not found]     ` <6bc632150708170547t3a9d5af5p92e1fa78b96c86d@mail.gmail.com >
2007-08-17 12:53       ` Mats Petersson

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.