* Compilation question xen-4.0.0
@ 2010-04-09 4:00 Onkar Mahajan
2010-04-09 8:34 ` [Xen-devel] " Pasi Kärkkäinen
0 siblings, 1 reply; 8+ messages in thread
From: Onkar Mahajan @ 2010-04-09 4:00 UTC (permalink / raw)
To: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 662 bytes --]
I compiled xen-4.0.0 like this :
make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE
----------------- FILE ------------------------
the program '/bin/bash' called '/usr/bin/udevinfo', it should use 'udevadm
info <options>', this will stop working in a future release
select-repository: Searching `.:..' for linux-2.6.18-xen.hg
select-repository: Ignoring `.'
select-repository: Found ../linux-2.6.18-xen.hg
/bin/sh: line 2: [: argument expected
select-linux-arch: i386
What is linux-2.6.18-xen.hg ( taken from hg clone
http://xenbits.xensource.com/linux-2.6.18-xen.hg )
and why it is required by xen-4.0.0 for compilation ?
Regards,
Onkar
[-- Attachment #1.2: Type: text/html, Size: 859 bytes --]
[-- Attachment #2: Type: text/plain, Size: 137 bytes --]
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Compilation question xen-4.0.0
2010-04-09 4:00 Compilation question xen-4.0.0 Onkar Mahajan
@ 2010-04-09 8:34 ` Pasi Kärkkäinen
2010-04-09 10:51 ` Onkar Mahajan
0 siblings, 1 reply; 8+ messages in thread
From: Pasi Kärkkäinen @ 2010-04-09 8:34 UTC (permalink / raw)
To: Onkar Mahajan; +Cc: xen-devel, xen-users
On Fri, Apr 09, 2010 at 09:30:52AM +0530, Onkar Mahajan wrote:
> I compiled xen-4.0.0 like this :
>
> make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE
>
> ----------------- FILE ------------------------
> the program '/bin/bash' called '/usr/bin/udevinfo', it should use 'udevadm
> info <options>', this will stop working in a future release
> select-repository: Searching `.:..' for linux-2.6.18-xen.hg
> select-repository: Ignoring `.'
> select-repository: Found ../linux-2.6.18-xen.hg
> /bin/sh: line 2: [: argument expected
> select-linux-arch: i386
>
> What is linux-2.6.18-xen.hg ( taken from hg clone
> [1]http://xenbits.xensource.com/linux-2.6.18-xen.hg )
> and why it is required by xen-4.0.0 for compilation ?
>
It's required because you specified "linux-2.6-xen0 linux-2.6-xenU".
Try specifying "linux-2.6-pvops" instead, or don't specify KERNELS at all.
-- Pasi
> Regards,
> Onkar
>
>
> References
>
> Visible links
> 1. http://xenbits.xensource.com/linux-2.6.18-xen.hg
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compilation question xen-4.0.0
2010-04-09 8:34 ` [Xen-devel] " Pasi Kärkkäinen
@ 2010-04-09 10:51 ` Onkar Mahajan
2010-04-09 17:55 ` [Xen-devel] " Jeremy Fitzhardinge
0 siblings, 1 reply; 8+ messages in thread
From: Onkar Mahajan @ 2010-04-09 10:51 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: xen-devel, xen-users
[-- Attachment #1.1: Type: text/plain, Size: 1524 bytes --]
I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only
headers are
used from here , right ?
Regards,
Onkar
On Fri, Apr 9, 2010 at 2:04 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Fri, Apr 09, 2010 at 09:30:52AM +0530, Onkar Mahajan wrote:
> > I compiled xen-4.0.0 like this :
> >
> > make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU" 2> ../FILE
> >
> > ----------------- FILE ------------------------
> > the program '/bin/bash' called '/usr/bin/udevinfo', it should use
> 'udevadm
> > info <options>', this will stop working in a future release
> > select-repository: Searching `.:..' for linux-2.6.18-xen.hg
> > select-repository: Ignoring `.'
> > select-repository: Found ../linux-2.6.18-xen.hg
> > /bin/sh: line 2: [: argument expected
> > select-linux-arch: i386
> >
> > What is linux-2.6.18-xen.hg ( taken from hg clone
> > [1]http://xenbits.xensource.com/linux-2.6.18-xen.hg )
> > and why it is required by xen-4.0.0 for compilation ?
> >
>
> It's required because you specified "linux-2.6-xen0 linux-2.6-xenU".
> Try specifying "linux-2.6-pvops" instead, or don't specify KERNELS at all.
>
> -- Pasi
>
> > Regards,
> > Onkar
> >
> >
> > References
> >
> > Visible links
> > 1. http://xenbits.xensource.com/linux-2.6.18-xen.hg
>
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
[-- Attachment #1.2: Type: text/html, Size: 2343 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Compilation question xen-4.0.0
2010-04-09 10:51 ` Onkar Mahajan
@ 2010-04-09 17:55 ` Jeremy Fitzhardinge
2010-04-10 5:25 ` Onkar Mahajan
0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Fitzhardinge @ 2010-04-09 17:55 UTC (permalink / raw)
To: Onkar Mahajan; +Cc: xen-devel, xen-users
On 04/09/2010 03:51 AM, Onkar Mahajan wrote:
> I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only
> headers are
> used from here , right ?
That's the source directory. The build goes into a "build..." directory.
J
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Compilation question xen-4.0.0
2010-04-09 17:55 ` [Xen-devel] " Jeremy Fitzhardinge
@ 2010-04-10 5:25 ` Onkar Mahajan
2010-04-10 10:43 ` Pasi Kärkkäinen
0 siblings, 1 reply; 8+ messages in thread
From: Onkar Mahajan @ 2010-04-10 5:25 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: xen-devel, xen-users
Given the following in the dist directory :
[onkar@localhost install]$ pwd
/home/onkar/kern/XEN/xen-4.0.0/dist/install
[onkar@localhost install]$ ls boot/
config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0
xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9
config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU
xen-4.0.gz xen.gz
also,
[onkar@localhost xen-4.0.0]$ pwd
/home/onkar/kern/XEN/xen-4.0.0
[onkar@localhost xen-4.0.0]$ ls
buildconfigs build-linux-2.6-pvops_x86_32
Config.mk.orig docs linux-2.6.18-xen.hg README
unmodified_drivers
build-linux-2.6.18-xen0_x86_32 config COPYING
extras linux-2.6-pvops.git stubdom xen
build-linux-2.6.18-xenU_x86_32 Config.mk dist
install.sh Makefile tools
How should my entry in the /boot/grub/menu.lst look like
I am really struggling to get it right this time. For a month or so i am
not able to boot xen perfectly. So moving on cautiously this time.
Regards,
Onkar
On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>
> On 04/09/2010 03:51 AM, Onkar Mahajan wrote:
> > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only
> > headers are
> > used from here , right ?
>
> That's the source directory. The build goes into a "build..." directory.
>
> J
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compilation question xen-4.0.0
2010-04-10 5:25 ` Onkar Mahajan
@ 2010-04-10 10:43 ` Pasi Kärkkäinen
2010-04-10 11:13 ` [Xen-devel] " Onkar Mahajan
0 siblings, 1 reply; 8+ messages in thread
From: Pasi Kärkkäinen @ 2010-04-10 10:43 UTC (permalink / raw)
To: Onkar Mahajan; +Cc: Jeremy Fitzhardinge, xen-devel, xen-users
On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote:
> Given the following in the dist directory :
>
> [onkar@localhost install]$ pwd
> /home/onkar/kern/XEN/xen-4.0.0/dist/install
> [onkar@localhost install]$ ls boot/
> config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0
> xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9
> config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU
> xen-4.0.gz xen.gz
>
> also,
>
> [onkar@localhost xen-4.0.0]$ pwd
> /home/onkar/kern/XEN/xen-4.0.0
> [onkar@localhost xen-4.0.0]$ ls
> buildconfigs build-linux-2.6-pvops_x86_32
> Config.mk.orig docs linux-2.6.18-xen.hg README
> unmodified_drivers
> build-linux-2.6.18-xen0_x86_32 config COPYING
> extras linux-2.6-pvops.git stubdom xen
> build-linux-2.6.18-xenU_x86_32 Config.mk dist
> install.sh Makefile tools
>
>
> How should my entry in the /boot/grub/menu.lst look like
>
> I am really struggling to get it right this time. For a month or so i am
> not able to boot xen perfectly. So moving on cautiously this time.
>
Do you specifically want to use linux-2.6.18-xen as a dom0 kernel?
Some reason you didn't build (the default) pvops dom0 kernel?
See here for an grub.conf example:
http://wiki.xensource.com/xenwiki/Xen4.0
-- Pasi
> Regards,
> Onkar
>
> On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
> >
> > On 04/09/2010 03:51 AM, Onkar Mahajan wrote:
> > > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only
> > > headers are
> > > used from here , right ?
> >
> > That's the source directory. The build goes into a "build..." directory.
> >
> > J
> >
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Xen-devel] Compilation question xen-4.0.0
2010-04-10 10:43 ` Pasi Kärkkäinen
@ 2010-04-10 11:13 ` Onkar Mahajan
2010-04-10 11:17 ` Pasi Kärkkäinen
0 siblings, 1 reply; 8+ messages in thread
From: Onkar Mahajan @ 2010-04-10 11:13 UTC (permalink / raw)
To: Pasi Kärkkäinen; +Cc: xen-devel, xen-users
Thanks Pasi , for your reply,
On Sat, Apr 10, 2010 at 4:13 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote:
>> Given the following in the dist directory :
>>
>> [onkar@localhost install]$ pwd
>> /home/onkar/kern/XEN/xen-4.0.0/dist/install
>> [onkar@localhost install]$ ls boot/
>> config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0
>> xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9
>> config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU
>> xen-4.0.gz xen.gz
>>
>> also,
>>
>> [onkar@localhost xen-4.0.0]$ pwd
>> /home/onkar/kern/XEN/xen-4.0.0
>> [onkar@localhost xen-4.0.0]$ ls
>> buildconfigs build-linux-2.6-pvops_x86_32
>> Config.mk.orig docs linux-2.6.18-xen.hg README
>> unmodified_drivers
>> build-linux-2.6.18-xen0_x86_32 config COPYING
>> extras linux-2.6-pvops.git stubdom xen
>> build-linux-2.6.18-xenU_x86_32 Config.mk dist
>> install.sh Makefile tools
>>
>>
>> How should my entry in the /boot/grub/menu.lst look like
>>
>> I am really struggling to get it right this time. For a month or so i am
>> not able to boot xen perfectly. So moving on cautiously this time.
>>
>
> Do you specifically want to use linux-2.6.18-xen as a dom0 kernel?
No , nothing like specific dom0 kernel. Anything that works and
fairly latest is
good enough.
> Some reason you didn't build (the default) pvops dom0 kernel?
Pasi , followed following steps :
# wget -c http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz
# tar -xzvf xen-4.0.0.tar.gz
# cd xen-4.0.0
# cd ..
# hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
# make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU"
# make install <------------ this step downloaded jeremy's pvops
kernel and build it.
can you give me some advise on this ...
Regards,
Onkar
>
> See here for an grub.conf example:
> http://wiki.xensource.com/xenwiki/Xen4.0
>
> -- Pasi
>
>> Regards,
>> Onkar
>>
>> On Fri, Apr 9, 2010 at 11:25 PM, Jeremy Fitzhardinge <jeremy@goop.org> wrote:
>> >
>> > On 04/09/2010 03:51 AM, Onkar Mahajan wrote:
>> > > I see that in linux-2.6.18-xen.hg - nothing is compiled . I guess only
>> > > headers are
>> > > used from here , right ?
>> >
>> > That's the source directory. The build goes into a "build..." directory.
>> >
>> > J
>> >
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Compilation question xen-4.0.0
2010-04-10 11:13 ` [Xen-devel] " Onkar Mahajan
@ 2010-04-10 11:17 ` Pasi Kärkkäinen
0 siblings, 0 replies; 8+ messages in thread
From: Pasi Kärkkäinen @ 2010-04-10 11:17 UTC (permalink / raw)
To: Onkar Mahajan; +Cc: xen-devel, xen-users
On Sat, Apr 10, 2010 at 04:43:42PM +0530, Onkar Mahajan wrote:
> Thanks Pasi , for your reply,
>
> On Sat, Apr 10, 2010 at 4:13 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:
> > On Sat, Apr 10, 2010 at 10:55:51AM +0530, Onkar Mahajan wrote:
> >> Given the following in the dist directory :
> >>
> >> [onkar@localhost install]$ pwd
> >> /home/onkar/kern/XEN/xen-4.0.0/dist/install
> >> [onkar@localhost install]$ ls boot/
> >> config-2.6.18.8-xen0 System.map-2.6.18.8-xen0 vmlinuz-2.6.18.8-xen0
> >> xen-4.0.0-rc9.gz xen-4.gz xen-syms-4.0.0-rc9
> >> config-2.6.18.8-xenU System.map-2.6.18.8-xenU vmlinuz-2.6.18.8-xenU
> >> xen-4.0.gz xen.gz
> >>
> >> also,
> >>
> >> [onkar@localhost xen-4.0.0]$ pwd
> >> /home/onkar/kern/XEN/xen-4.0.0
> >> [onkar@localhost xen-4.0.0]$ ls
> >> buildconfigs build-linux-2.6-pvops_x86_32
> >> Config.mk.orig docs linux-2.6.18-xen.hg README
> >> unmodified_drivers
> >> build-linux-2.6.18-xen0_x86_32 config COPYING
> >> extras linux-2.6-pvops.git stubdom xen
> >> build-linux-2.6.18-xenU_x86_32 Config.mk dist
> >> install.sh Makefile tools
> >>
> >>
> >> How should my entry in the /boot/grub/menu.lst look like
> >>
> >> I am really struggling to get it right this time. For a month or so i am
> >> not able to boot xen perfectly. So moving on cautiously this time.
> >>
> >
> > Do you specifically want to use linux-2.6.18-xen as a dom0 kernel?
> No , nothing like specific dom0 kernel. Anything that works and
> fairly latest is
> good enough.
> > Some reason you didn't build (the default) pvops dom0 kernel?
> Pasi , followed following steps :
> # wget -c http://bits.xensource.com/oss-xen/release/4.0.0/xen-4.0.0.tar.gz
> # tar -xzvf xen-4.0.0.tar.gz
> # cd xen-4.0.0
> # cd ..
> # hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
> # make -j2 world KERNELS="linux-2.6-xen0 linux-2.6-xenU"
> # make install <------------ this step downloaded jeremy's pvops
> kernel and build it.
>
> can you give me some advise on this ...
>
Where did you get that example?
Don't specify KERNELS= at all, and then it'll compile pvops dom0 for you.
-- Pasi
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-04-10 11:17 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-09 4:00 Compilation question xen-4.0.0 Onkar Mahajan
2010-04-09 8:34 ` [Xen-devel] " Pasi Kärkkäinen
2010-04-09 10:51 ` Onkar Mahajan
2010-04-09 17:55 ` [Xen-devel] " Jeremy Fitzhardinge
2010-04-10 5:25 ` Onkar Mahajan
2010-04-10 10:43 ` Pasi Kärkkäinen
2010-04-10 11:13 ` [Xen-devel] " Onkar Mahajan
2010-04-10 11:17 ` Pasi Kärkkäinen
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.