Hi, im trying to install 3.1 but when i run make after make menuconfig i get this error which i dont know what is causing it. ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/i386/Kconfig CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-i386 CC arch/i386/kernel/asm-offsets.s arch/i386/kernel/asm-offsets.c: In function ''foo'': arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 probably doesn''t match constraints arch/i386/kernel/asm-offsets.c:79: error: impossible constraint in ''asm'' make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 does anyone know what could be causing it? thanks Ian _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin > Sent: 21 May 2007 21:01 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Make error > > Hi, > > im trying to install 3.1 but when i run > > make after make menuconfig i get this error which i dont know > what is causing it. > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf -s arch/i386/Kconfig > CHK include/linux/version.h > UPD include/linux/version.h > CHK include/linux/utsrelease.h > UPD include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-i386 > CC arch/i386/kernel/asm-offsets.s > arch/i386/kernel/asm-offsets.c: In function ''foo'': > arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 > probably doesn''t match constraints > arch/i386/kernel/asm-offsets.c:79: error: impossible > constraint in ''asm'' > make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 >I''m just pulling 3.1 now, I''ll see if I can reproduce it. -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. Ian ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Tue 22/05/2007 11:47 To: Ian Tobin; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin > Sent: 21 May 2007 21:01 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Make error > > Hi, > > im trying to install 3.1 but when i run > > make after make menuconfig i get this error which i dont know > what is causing it. > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf -s arch/i386/Kconfig > CHK include/linux/version.h > UPD include/linux/version.h > CHK include/linux/utsrelease.h > UPD include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-i386 > CC arch/i386/kernel/asm-offsets.s > arch/i386/kernel/asm-offsets.c: In function ''foo'': > arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 > probably doesn''t match constraints > arch/i386/kernel/asm-offsets.c:79: error: impossible > constraint in ''asm'' > make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 >I''m just pulling 3.1 now, I''ll see if I can reproduce it. -- Mats _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 22 May 2007 12:00 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon.And that will make what difference? It should still build. -- Mats> > Ian > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 11:47 > To: Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Ian Tobin > > Sent: 21 May 2007 21:01 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Make error > > > > Hi, > > > > im trying to install 3.1 but when i run > > > > make after make menuconfig i get this error which i dont know > > what is causing it. > > > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make > > HOSTLD scripts/kconfig/conf > > scripts/kconfig/conf -s arch/i386/Kconfig > > CHK include/linux/version.h > > UPD include/linux/version.h > > CHK include/linux/utsrelease.h > > UPD include/linux/utsrelease.h > > SYMLINK include/asm -> include/asm-i386 > > CC arch/i386/kernel/asm-offsets.s > > arch/i386/kernel/asm-offsets.c: In function ''foo'': > > arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 > > probably doesn''t match constraints > > arch/i386/kernel/asm-offsets.c:79: error: impossible > > constraint in ''asm'' > > make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 > > make: *** [prepare0] Error 2 > > > I''m just pulling 3.1 now, I''ll see if I can reproduce it. > > -- > Mats > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
ok sorry :( Ian ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Tue 22/05/2007 12:03 To: Ian Tobin; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 22 May 2007 12:00 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon.And that will make what difference? It should still build. -- Mats> > Ian > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 11:47 > To: Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Ian Tobin > > Sent: 21 May 2007 21:01 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] Make error > > > > Hi, > > > > im trying to install 3.1 but when i run > > > > make after make menuconfig i get this error which i dont know > > what is causing it. > > > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make > > HOSTLD scripts/kconfig/conf > > scripts/kconfig/conf -s arch/i386/Kconfig > > CHK include/linux/version.h > > UPD include/linux/version.h > > CHK include/linux/utsrelease.h > > UPD include/linux/utsrelease.h > > SYMLINK include/asm -> include/asm-i386 > > CC arch/i386/kernel/asm-offsets.s > > arch/i386/kernel/asm-offsets.c: In function ''foo'': > > arch/i386/kernel/asm-offsets.c:79: warning: asm operand 0 > > probably doesn''t match constraints > > arch/i386/kernel/asm-offsets.c:79: error: impossible > > constraint in ''asm'' > > make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1 > > make: *** [prepare0] Error 2 > > > I''m just pulling 3.1 now, I''ll see if I can reproduce it. > > -- > Mats > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 22 May 2007 12:00 > > To: Petersson, Mats; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. > > And that will make what difference? It should still build. >It could make the world of difference... aren''t there a few different flavours that come under the i386 architecture? Certainly I don''t think you''d reproduce a problem from arch/i386 on a powerpc or amd64. A copy of the .config is probably required to reproduce the problem though... as well as the version of gcc etc in use. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: James Harper [mailto:james.harper@bendigoit.com.au] > Sent: 22 May 2007 12:30 > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 12:00 > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. > > > > And that will make what difference? It should still build. > > > > It could make the world of difference... aren''t there a few different > flavours that come under the i386 architecture? Certainly I > don''t think > you''d reproduce a problem from arch/i386 on a powerpc or amd64.What MACHINE it is won''t make much of a difference (afaik Linux doesn''t have any logic to figure out what the hardware looks like much beyond figuring which model and mode of processor it is being run on). The architecture being built for is a different matter.> > A copy of the .config is probably required to reproduce the problem > though... as well as the version of gcc etc in use.Possibly, but I''ve just repro''d the problem (although, as you say, x86_64 build doesn''t have the same problem!) And I believe I know what the problem is too: The subarchitecture in the config isn''t set to "Xen" but "PC-compatible". -- Mats> > James_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
yes your correct, it was set to PC-compatable, i have changed that to XEN and it is now compiling. not sure how you figured that out but thanks :) ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Tue 22/05/2007 12:45 To: James Harper; Ian Tobin; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: James Harper [mailto:james.harper@bendigoit.com.au] > Sent: 22 May 2007 12:30 > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 12:00 > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. > > > > And that will make what difference? It should still build. > > > > It could make the world of difference... aren''t there a few different > flavours that come under the i386 architecture? Certainly I > don''t think > you''d reproduce a problem from arch/i386 on a powerpc or amd64.What MACHINE it is won''t make much of a difference (afaik Linux doesn''t have any logic to figure out what the hardware looks like much beyond figuring which model and mode of processor it is being run on). The architecture being built for is a different matter.> > A copy of the .config is probably required to reproduce the problem > though... as well as the version of gcc etc in use.Possibly, but I''ve just repro''d the problem (although, as you say, x86_64 build doesn''t have the same problem!) And I believe I know what the problem is too: The subarchitecture in the config isn''t set to "Xen" but "PC-compatible". -- Mats> > James_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 22 May 2007 13:01 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > yes your correct, it was set to PC-compatable, i have changed > that to XEN and it is now compiling. > > not sure how you figured that out but thanks :)I just went through the "obvious" steps of "trying to build just the kernel", which meant "make menuconfig" on a "clean" Linux-2.6.18, which in turn meant that the config file isn''t set up for Xen (I noticed that it wasn''t before I tested it, so I just guessed that was the problem - which I then proved by changing it and, as you say, it compiles). The reason it fails is that the patches that Xen apply modifies some things. In this case, a macro that would in native mode compile nicely, but now turns into something that can''t be used in asm-offsets in Xen. -- Mats> > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 12:45 > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > Sent: 22 May 2007 12:30 > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > -----Original Message----- > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > Sent: 22 May 2007 12:00 > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. > > > > > > And that will make what difference? It should still build. > > > > > > > It could make the world of difference... aren''t there a few > different > > flavours that come under the i386 architecture? Certainly I > > don''t think > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > What MACHINE it is won''t make much of a difference (afaik > Linux doesn''t > have any logic to figure out what the hardware looks like much beyond > figuring which model and mode of processor it is being run on). The > architecture being built for is a different matter. > > > > > A copy of the .config is probably required to reproduce the problem > > though... as well as the version of gcc etc in use. > > Possibly, but I''ve just repro''d the problem (although, as you say, > x86_64 build doesn''t have the same problem!) > > And I believe I know what the problem is too: The > subarchitecture in the > config isn''t set to "Xen" but "PC-compatible". > > -- > Mats > > > > James > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, getting another problem now. I can now use menuconfig and select the bits to install. I then issue command make which takes a while but completes. I then issue make install which also completes I then cd../ ictsrv:/usr/src/xen-3.1.0-src make install goes quite a way through then brings up this error if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b / -r 2.6.18-xen; fi make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz make[3]: Entering directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, please run ''make mrproper'' in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. make[5]: *** [prepare3] Error 1 make[4]: *** [vmlinuz] Error 2 make[3]: *** [vmlinuz] Error 2 make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make[2]: *** [build] Error 2 make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' make: *** [install-kernels] Error 1 ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper CLEAN scripts/basic CLEAN scripts/kconfig CLEAN include/config CLEAN .config ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# Ive tried everything i can think of make clean make clean install make mrproper deleted all 3.1 files out from /boot even removed the whole source directory and started again, still no joy. Any ideas? thanks Ian ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Tue 22/05/2007 13:06 To: Ian Tobin; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 22 May 2007 13:01 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > yes your correct, it was set to PC-compatable, i have changed > that to XEN and it is now compiling. > > not sure how you figured that out but thanks :)I just went through the "obvious" steps of "trying to build just the kernel", which meant "make menuconfig" on a "clean" Linux-2.6.18, which in turn meant that the config file isn''t set up for Xen (I noticed that it wasn''t before I tested it, so I just guessed that was the problem - which I then proved by changing it and, as you say, it compiles). The reason it fails is that the patches that Xen apply modifies some things. In this case, a macro that would in native mode compile nicely, but now turns into something that can''t be used in asm-offsets in Xen. -- Mats> > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 12:45 > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > Sent: 22 May 2007 12:30 > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > -----Original Message----- > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > Sent: 22 May 2007 12:00 > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 2.4 Xeon. > > > > > > And that will make what difference? It should still build. > > > > > > > It could make the world of difference... aren''t there a few > different > > flavours that come under the i386 architecture? Certainly I > > don''t think > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > What MACHINE it is won''t make much of a difference (afaik > Linux doesn''t > have any logic to figure out what the hardware looks like much beyond > figuring which model and mode of processor it is being run on). The > architecture being built for is a different matter. > > > > > A copy of the .config is probably required to reproduce the problem > > though... as well as the version of gcc etc in use. > > Possibly, but I''ve just repro''d the problem (although, as you say, > x86_64 build doesn''t have the same problem!) > > And I believe I know what the problem is too: The > subarchitecture in the > config isn''t set to "Xen" but "PC-compatible". > > -- > Mats > > > > James > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Try "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in your "linux" directory. No guarantees, but I think that''s what the problem is. -- Mats> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 23 May 2007 13:14 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Hi, > > getting another problem now. > > I can now use menuconfig and select the bits to install. > > I then issue command make which takes a while but completes. > I then issue make install which also completes > > I then > > cd../ > ictsrv:/usr/src/xen-3.1.0-src > make install > > > goes quite a way through then brings up this error > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > -ae -F System.map -b / -r 2.6.18-xen; fi > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz > make[3]: Entering directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > please run ''make mrproper'' > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > make[5]: *** [prepare3] Error 1 > make[4]: *** [vmlinuz] Error 2 > make[3]: *** [vmlinuz] Error 2 > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make[2]: *** [build] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > make: *** [install-kernels] Error 1 > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > CLEAN scripts/basic > CLEAN scripts/kconfig > CLEAN include/config > CLEAN .config > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > Ive tried everything i can think of > > make clean > make clean install > make mrproper > deleted all 3.1 files out from /boot > > even removed the whole source directory and started again, > still no joy. Any ideas? > > thanks > > Ian > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 13:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 22 May 2007 13:01 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > yes your correct, it was set to PC-compatable, i have changed > > that to XEN and it is now compiling. > > > > not sure how you figured that out but thanks :) > > I just went through the "obvious" steps of "trying to build just the > kernel", which meant "make menuconfig" on a "clean" > Linux-2.6.18, which > in turn meant that the config file isn''t set up for Xen (I > noticed that > it wasn''t before I tested it, so I just guessed that was the problem - > which I then proved by changing it and, as you say, it compiles). > > The reason it fails is that the patches that Xen apply modifies some > things. In this case, a macro that would in native mode > compile nicely, > but now turns into something that can''t be used in asm-offsets in Xen. > > -- > Mats > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 12:45 > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > Sent: 22 May 2007 12:30 > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > -----Original Message----- > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > Sent: 22 May 2007 12:00 > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > 2.4 Xeon. > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > It could make the world of difference... aren''t there a few > > different > > > flavours that come under the i386 architecture? Certainly I > > > don''t think > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > What MACHINE it is won''t make much of a difference (afaik > > Linux doesn''t > > have any logic to figure out what the hardware looks like > much beyond > > figuring which model and mode of processor it is being run on). The > > architecture being built for is a different matter. > > > > > > > > A copy of the .config is probably required to reproduce > the problem > > > though... as well as the version of gcc etc in use. > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > x86_64 build doesn''t have the same problem!) > > > > And I believe I know what the problem is too: The > > subarchitecture in the > > config isn''t set to "Xen" but "PC-compatible". > > > > -- > > Mats > > > > > > James > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, sorry, you want me to go to linux-2.6.18-xen directory and run "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Wed 23/05/2007 14:05 To: Ian Tobin; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error Try "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in your "linux" directory. No guarantees, but I think that''s what the problem is. -- Mats> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 23 May 2007 13:14 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Hi, > > getting another problem now. > > I can now use menuconfig and select the bits to install. > > I then issue command make which takes a while but completes. > I then issue make install which also completes > > I then > > cd../ > ictsrv:/usr/src/xen-3.1.0-src > make install > > > goes quite a way through then brings up this error > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > -ae -F System.map -b / -r 2.6.18-xen; fi > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz > make[3]: Entering directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > please run ''make mrproper'' > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > make[5]: *** [prepare3] Error 1 > make[4]: *** [vmlinuz] Error 2 > make[3]: *** [vmlinuz] Error 2 > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make[2]: *** [build] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > make: *** [install-kernels] Error 1 > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > CLEAN scripts/basic > CLEAN scripts/kconfig > CLEAN include/config > CLEAN .config > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > Ive tried everything i can think of > > make clean > make clean install > make mrproper > deleted all 3.1 files out from /boot > > even removed the whole source directory and started again, > still no joy. Any ideas? > > thanks > > Ian > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 13:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 22 May 2007 13:01 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > yes your correct, it was set to PC-compatable, i have changed > > that to XEN and it is now compiling. > > > > not sure how you figured that out but thanks :) > > I just went through the "obvious" steps of "trying to build just the > kernel", which meant "make menuconfig" on a "clean" > Linux-2.6.18, which > in turn meant that the config file isn''t set up for Xen (I > noticed that > it wasn''t before I tested it, so I just guessed that was the problem - > which I then proved by changing it and, as you say, it compiles). > > The reason it fails is that the patches that Xen apply modifies some > things. In this case, a macro that would in native mode > compile nicely, > but now turns into something that can''t be used in asm-offsets in Xen. > > -- > Mats > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 12:45 > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > Sent: 22 May 2007 12:30 > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > -----Original Message----- > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > Sent: 22 May 2007 12:00 > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > 2.4 Xeon. > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > It could make the world of difference... aren''t there a few > > different > > > flavours that come under the i386 architecture? Certainly I > > > don''t think > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > What MACHINE it is won''t make much of a difference (afaik > > Linux doesn''t > > have any logic to figure out what the hardware looks like > much beyond > > figuring which model and mode of processor it is being run on). The > > architecture being built for is a different matter. > > > > > > > > A copy of the .config is probably required to reproduce > the problem > > > though... as well as the version of gcc etc in use. > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > x86_64 build doesn''t have the same problem!) > > > > And I believe I know what the problem is too: The > > subarchitecture in the > > config isn''t set to "Xen" but "PC-compatible". > > > > -- > > Mats > > > > > > James > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I ran that then cd../ and ran make install but same problem :( CONFIG_MODULES=y make[3]: Entering directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 modules GEN /usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32/Makefile scripts/kconfig/conf -s arch/i386/Kconfig Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, please run ''make mrproper'' in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. make[5]: *** [prepare3] Error 1 make[4]: *** [modules] Error 2 make[3]: *** [modules] Error 2 make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make[3]: Entering directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 modules_install if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b / -r 2.6.18-xen; fi make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz make[3]: Entering directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, please run ''make mrproper'' in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. make[5]: *** [prepare3] Error 1 make[4]: *** [vmlinuz] Error 2 make[3]: *** [vmlinuz] Error 2 make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' make[2]: *** [build] Error 2 make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' make[1]: *** [linux-2.6-xen-install] Error 2 make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' make: *** [install-kernels] Error 1 ________________________________ From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Wed 23/05/2007 14:36 To: Ian Tobin Subject: RE: [Xen-users] Make error> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 23 May 2007 14:33 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Hi, > > sorry, you want me to go to linux-2.6.18-xen directory and run > > "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32"Yes. -- Mats> > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Wed 23/05/2007 14:05 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > Try "make mrproper > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in > your "linux" > directory. > > No guarantees, but I think that''s what the problem is. > > -- > Mats > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 23 May 2007 13:14 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > Hi, > > > > getting another problem now. > > > > I can now use menuconfig and select the bits to install. > > > > I then issue command make which takes a while but completes. > > I then issue make install which also completes > > > > I then > > > > cd../ > > ictsrv:/usr/src/xen-3.1.0-src > > make install > > > > > > goes quite a way through then brings up this error > > > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > > -ae -F System.map -b / -r 2.6.18-xen; fi > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 > INSTALL_PATH=/ vmlinuz > > make[3]: Entering directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > > please run ''make mrproper'' > > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > > make[5]: *** [prepare3] Error 1 > > make[4]: *** [vmlinuz] Error 2 > > make[3]: *** [vmlinuz] Error 2 > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make[2]: *** [build] Error 2 > > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make: *** [install-kernels] Error 1 > > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > > CLEAN scripts/basic > > CLEAN scripts/kconfig > > CLEAN include/config > > CLEAN .config > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > > > Ive tried everything i can think of > > > > make clean > > make clean install > > make mrproper > > deleted all 3.1 files out from /boot > > > > even removed the whole source directory and started again, > > still no joy. Any ideas? > > > > thanks > > > > Ian > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 13:06 > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 13:01 > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > yes your correct, it was set to PC-compatable, i have changed > > > that to XEN and it is now compiling. > > > > > > not sure how you figured that out but thanks :) > > > > I just went through the "obvious" steps of "trying to build just the > > kernel", which meant "make menuconfig" on a "clean" > > Linux-2.6.18, which > > in turn meant that the config file isn''t set up for Xen (I > > noticed that > > it wasn''t before I tested it, so I just guessed that was > the problem - > > which I then proved by changing it and, as you say, it compiles). > > > > The reason it fails is that the patches that Xen apply modifies some > > things. In this case, a macro that would in native mode > > compile nicely, > > but now turns into something that can''t be used in > asm-offsets in Xen. > > > > -- > > Mats > > > > > > > > > ________________________________ > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > > Sent: Tue 22/05/2007 12:45 > > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > > Sent: 22 May 2007 12:30 > > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > -----Original Message----- > > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > > Sent: 22 May 2007 12:00 > > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > > 2.4 Xeon. > > > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > > > > It could make the world of difference... aren''t there a few > > > different > > > > flavours that come under the i386 architecture? Certainly I > > > > don''t think > > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > > > What MACHINE it is won''t make much of a difference (afaik > > > Linux doesn''t > > > have any logic to figure out what the hardware looks like > > much beyond > > > figuring which model and mode of processor it is being > run on). The > > > architecture being built for is a different matter. > > > > > > > > > > > A copy of the .config is probably required to reproduce > > the problem > > > > though... as well as the version of gcc etc in use. > > > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > > x86_64 build doesn''t have the same problem!) > > > > > > And I believe I know what the problem is too: The > > > subarchitecture in the > > > config isn''t set to "Xen" but "PC-compatible". > > > > > > -- > > > Mats > > > > > > > > James > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I am facing the same problem. Have anyone figured out the solution. Regards, Vineet On 5/23/07, Ian Tobin <itobin@tidyhosts.com> wrote:> > Hi, > > I ran that then cd../ and ran make install but same problem :( > > CONFIG_MODULES=y > make[3]: Entering directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src > /build-linux-2.6.18-xen_x86_32 modules > GEN /usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32/Makefile > scripts/kconfig/conf -s arch/i386/Kconfig > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, please run ''makemrproper'' > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > make[5]: *** [prepare3] Error 1 > make[4]: *** [modules] Error 2 > make[3]: *** [modules] Error 2 > make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make[3]: Entering directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src > /build-linux-2.6.18-xen_x86_32 modules_install > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F > System.map -b / -r 2.6.18-xen; fi > make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz > make[3]: Entering directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen O=/usr/src/xen-3.1.0-src > /build-linux-2.6.18-xen_x86_32 vmlinuz > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, please run ''makemrproper'' > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > make[5]: *** [prepare3] Error 1 > make[4]: *** [vmlinuz] Error 2 > make[3]: *** [vmlinuz] Error 2 > make[3]: Leaving directory `/usr/src/xen-3.1.0-src/build- > linux-2.6.18-xen_x86_32'' > make[2]: *** [build] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > make: *** [install-kernels] Error 1 > > > > > ------------------------------ > *From:* Petersson, Mats [mailto:Mats.Petersson@amd.com] > *Sent:* Wed 23/05/2007 14:36 > *To:* Ian Tobin > *Subject:* RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com <itobin@tidyhosts.com>] > > Sent: 23 May 2007 14:33 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > Hi, > > > > sorry, you want me to go to linux-2.6.18-xen directory and run > > > > "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" > > Yes. > > -- > Mats > > > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com<Mats.Petersson@amd.com> > ] > > Sent: Wed 23/05/2007 14:05 > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > Try "make mrproper > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in > > your "linux" > > directory. > > > > No guarantees, but I think that''s what the problem is. > > > > -- > > Mats > > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com <itobin@tidyhosts.com>] > > > Sent: 23 May 2007 13:14 > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > Hi, > > > > > > getting another problem now. > > > > > > I can now use menuconfig and select the bits to install. > > > > > > I then issue command make which takes a while but completes. > > > I then issue make install which also completes > > > > > > I then > > > > > > cd../ > > > ictsrv:/usr/src/xen-3.1.0-src > > > make install > > > > > > > > > goes quite a way through then brings up this error > > > > > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > > > -ae -F System.map -b / -r 2.6.18-xen; fi > > > make[3]: Leaving directory > > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 > > INSTALL_PATH=/ vmlinuz > > > make[3]: Entering directory > > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > > > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > > > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > > > please run ''make mrproper'' > > > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > > > make[5]: *** [prepare3] Error 1 > > > make[4]: *** [vmlinuz] Error 2 > > > make[3]: *** [vmlinuz] Error 2 > > > make[3]: Leaving directory > > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > > make[2]: *** [build] Error 2 > > > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > > > make[1]: *** [linux-2.6-xen-install] Error 2 > > > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > > > make: *** [install-kernels] Error 1 > > > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > > > CLEAN scripts/basic > > > CLEAN scripts/kconfig > > > CLEAN include/config > > > CLEAN .config > > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > > > > > Ive tried everything i can think of > > > > > > make clean > > > make clean install > > > make mrproper > > > deleted all 3.1 files out from /boot > > > > > > even removed the whole source directory and started again, > > > still no joy. Any ideas? > > > > > > thanks > > > > > > Ian > > > > > > > > > ________________________________ > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com<Mats.Petersson@amd.com> > ] > > > Sent: Tue 22/05/2007 13:06 > > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com <itobin@tidyhosts.com>] > > > > Sent: 22 May 2007 13:01 > > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > yes your correct, it was set to PC-compatable, i have changed > > > > that to XEN and it is now compiling. > > > > > > > > not sure how you figured that out but thanks :) > > > > > > I just went through the "obvious" steps of "trying to build just the > > > kernel", which meant "make menuconfig" on a "clean" > > > Linux-2.6.18, which > > > in turn meant that the config file isn''t set up for Xen (I > > > noticed that > > > it wasn''t before I tested it, so I just guessed that was > > the problem - > > > which I then proved by changing it and, as you say, it compiles). > > > > > > The reason it fails is that the patches that Xen apply modifies some > > > things. In this case, a macro that would in native mode > > > compile nicely, > > > but now turns into something that can''t be used in > > asm-offsets in Xen. > > > > > > -- > > > Mats > > > > > > > > > > > > ________________________________ > > > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com<Mats.Petersson@amd.com> > ] > > > > Sent: Tue 22/05/2007 12:45 > > > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: James Harper [mailto:james.harper@bendigoit.com.au<james.harper@bendigoit.com.au> > ] > > > > > Sent: 22 May 2007 12:30 > > > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > -----Original Message----- > > > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com<itobin@tidyhosts.com> > ] > > > > > > > Sent: 22 May 2007 12:00 > > > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > > > 2.4 Xeon. > > > > > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > > > > > > > It could make the world of difference... aren''t there a few > > > > different > > > > > flavours that come under the i386 architecture? Certainly I > > > > > don''t think > > > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > > > > > What MACHINE it is won''t make much of a difference (afaik > > > > Linux doesn''t > > > > have any logic to figure out what the hardware looks like > > > much beyond > > > > figuring which model and mode of processor it is being > > run on). The > > > > architecture being built for is a different matter. > > > > > > > > > > > > > > A copy of the .config is probably required to reproduce > > > the problem > > > > > though... as well as the version of gcc etc in use. > > > > > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > > > x86_64 build doesn''t have the same problem!) > > > > > > > > And I believe I know what the problem is too: The > > > > subarchitecture in the > > > > config isn''t set to "Xen" but "PC-compatible". > > > > > > > > -- > > > > Mats > > > > > > > > > > James > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I think this is a big bug, ive have tried it on several systems all with the same problem. Ian -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: 23 May 2007 14:06 To: Ian Tobin; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error Try "make mrproper O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in your "linux" directory. No guarantees, but I think that''s what the problem is. -- Mats> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 23 May 2007 13:14 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Hi, > > getting another problem now. > > I can now use menuconfig and select the bits to install. > > I then issue command make which takes a while but completes. > I then issue make install which also completes > > I then > > cd../ > ictsrv:/usr/src/xen-3.1.0-src > make install > > > goes quite a way through then brings up this error > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > -ae -F System.map -b / -r 2.6.18-xen; fi > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 INSTALL_PATH=/ vmlinuz > make[3]: Entering directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > please run ''make mrproper'' > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > make[5]: *** [prepare3] Error 1 > make[4]: *** [vmlinuz] Error 2 > make[3]: *** [vmlinuz] Error 2 > make[3]: Leaving directory > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > make[2]: *** [build] Error 2 > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > make[1]: *** [linux-2.6-xen-install] Error 2 > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > make: *** [install-kernels] Error 1 > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > CLEAN scripts/basic > CLEAN scripts/kconfig > CLEAN include/config > CLEAN .config > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > Ive tried everything i can think of > > make clean > make clean install > make mrproper > deleted all 3.1 files out from /boot > > even removed the whole source directory and started again, > still no joy. Any ideas? > > thanks > > Ian > > > ________________________________ > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tue 22/05/2007 13:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > > > > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 22 May 2007 13:01 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > yes your correct, it was set to PC-compatable, i have changed > > that to XEN and it is now compiling. > > > > not sure how you figured that out but thanks :) > > I just went through the "obvious" steps of "trying to build just the > kernel", which meant "make menuconfig" on a "clean" > Linux-2.6.18, which > in turn meant that the config file isn''t set up for Xen (I > noticed that > it wasn''t before I tested it, so I just guessed that was the problem - > which I then proved by changing it and, as you say, it compiles). > > The reason it fails is that the patches that Xen apply modifies some > things. In this case, a macro that would in native mode > compile nicely, > but now turns into something that can''t be used in asm-offsets in Xen. > > -- > Mats > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 12:45 > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > Sent: 22 May 2007 12:30 > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > -----Original Message----- > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > Sent: 22 May 2007 12:00 > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > 2.4 Xeon. > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > It could make the world of difference... aren''t there a few > > different > > > flavours that come under the i386 architecture? Certainly I > > > don''t think > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > What MACHINE it is won''t make much of a difference (afaik > > Linux doesn''t > > have any logic to figure out what the hardware looks like > much beyond > > figuring which model and mode of processor it is being run on). The > > architecture being built for is a different matter. > > > > > > > > A copy of the .config is probably required to reproduce > the problem > > > though... as well as the version of gcc etc in use. > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > x86_64 build doesn''t have the same problem!) > > > > And I believe I know what the problem is too: The > > subarchitecture in the > > config isn''t set to "Xen" but "PC-compatible". > > > > -- > > Mats > > > > > > James > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 13 June 2007 10:30 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > I think this is a big bug, ive have tried it on several > systems all with > the same problem.Yes, it''s almost certainly some form of bug, but I think the real problem is that we''re doing "make mrproper" in the wrong place. I had the same problem the other day (sorry, I should have posted about it, but I didn''t remember at the time), and I found that if you do "cd build-linux-2.6.18-xen_x86_32; make mrproper; cd ..; make dist" it will work. -- Mats> > Ian > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: 23 May 2007 14:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Try "make mrproper > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in > your "linux" > directory. > > No guarantees, but I think that''s what the problem is. > > -- > Mats > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 23 May 2007 13:14 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > Hi, > > > > getting another problem now. > > > > I can now use menuconfig and select the bits to install. > > > > I then issue command make which takes a while but completes. > > I then issue make install which also completes > > > > I then > > > > cd../ > > ictsrv:/usr/src/xen-3.1.0-src > > make install > > > > > > goes quite a way through then brings up this error > > > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > > -ae -F System.map -b / -r 2.6.18-xen; fi > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 > INSTALL_PATH=/ vmlinuz > > make[3]: Entering directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > > please run ''make mrproper'' > > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > > make[5]: *** [prepare3] Error 1 > > make[4]: *** [vmlinuz] Error 2 > > make[3]: *** [vmlinuz] Error 2 > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make[2]: *** [build] Error 2 > > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make: *** [install-kernels] Error 1 > > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > > CLEAN scripts/basic > > CLEAN scripts/kconfig > > CLEAN include/config > > CLEAN .config > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > > > Ive tried everything i can think of > > > > make clean > > make clean install > > make mrproper > > deleted all 3.1 files out from /boot > > > > even removed the whole source directory and started again, > > still no joy. Any ideas? > > > > thanks > > > > Ian > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 13:06 > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 13:01 > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > yes your correct, it was set to PC-compatable, i have changed > > > that to XEN and it is now compiling. > > > > > > not sure how you figured that out but thanks :) > > > > I just went through the "obvious" steps of "trying to build just the > > kernel", which meant "make menuconfig" on a "clean" > > Linux-2.6.18, which > > in turn meant that the config file isn''t set up for Xen (I > > noticed that > > it wasn''t before I tested it, so I just guessed that was > the problem - > > which I then proved by changing it and, as you say, it compiles). > > > > The reason it fails is that the patches that Xen apply modifies some > > things. In this case, a macro that would in native mode > > compile nicely, > > but now turns into something that can''t be used in > asm-offsets in Xen. > > > > -- > > Mats > > > > > > > > > ________________________________ > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > > Sent: Tue 22/05/2007 12:45 > > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > > Sent: 22 May 2007 12:30 > > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > -----Original Message----- > > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > > Sent: 22 May 2007 12:00 > > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > > 2.4 Xeon. > > > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > > > > It could make the world of difference... aren''t there a few > > > different > > > > flavours that come under the i386 architecture? Certainly I > > > > don''t think > > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > > > What MACHINE it is won''t make much of a difference (afaik > > > Linux doesn''t > > > have any logic to figure out what the hardware looks like > > much beyond > > > figuring which model and mode of processor it is being > run on). The > > > architecture being built for is a different matter. > > > > > > > > > > > A copy of the .config is probably required to reproduce > > the problem > > > > though... as well as the version of gcc etc in use. > > > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > > x86_64 build doesn''t have the same problem!) > > > > > > And I believe I know what the problem is too: The > > > subarchitecture in the > > > config isn''t set to "Xen" but "PC-compatible". > > > > > > -- > > > Mats > > > > > > > > James > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Really? Ill give that a blast then, I was about to give up lol :) Thanks Ian -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: 13 June 2007 10:33 To: Ian Tobin; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 13 June 2007 10:30 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > I think this is a big bug, ive have tried it on several > systems all with > the same problem.Yes, it''s almost certainly some form of bug, but I think the real problem is that we''re doing "make mrproper" in the wrong place. I had the same problem the other day (sorry, I should have posted about it, but I didn''t remember at the time), and I found that if you do "cd build-linux-2.6.18-xen_x86_32; make mrproper; cd ..; make dist" it will work. -- Mats> > Ian > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: 23 May 2007 14:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Try "make mrproper > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in > your "linux" > directory. > > No guarantees, but I think that''s what the problem is. > > -- > Mats > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 23 May 2007 13:14 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > Hi, > > > > getting another problem now. > > > > I can now use menuconfig and select the bits to install. > > > > I then issue command make which takes a while but completes. > > I then issue make install which also completes > > > > I then > > > > cd../ > > ictsrv:/usr/src/xen-3.1.0-src > > make install > > > > > > goes quite a way through then brings up this error > > > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > > -ae -F System.map -b / -r 2.6.18-xen; fi > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 > INSTALL_PATH=/ vmlinuz > > make[3]: Entering directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > > please run ''make mrproper'' > > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > > make[5]: *** [prepare3] Error 1 > > make[4]: *** [vmlinuz] Error 2 > > make[3]: *** [vmlinuz] Error 2 > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make[2]: *** [build] Error 2 > > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make: *** [install-kernels] Error 1 > > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > > CLEAN scripts/basic > > CLEAN scripts/kconfig > > CLEAN include/config > > CLEAN .config > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > > > Ive tried everything i can think of > > > > make clean > > make clean install > > make mrproper > > deleted all 3.1 files out from /boot > > > > even removed the whole source directory and started again, > > still no joy. Any ideas? > > > > thanks > > > > Ian > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 13:06 > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 13:01 > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > yes your correct, it was set to PC-compatable, i have changed > > > that to XEN and it is now compiling. > > > > > > not sure how you figured that out but thanks :) > > > > I just went through the "obvious" steps of "trying to build just the > > kernel", which meant "make menuconfig" on a "clean" > > Linux-2.6.18, which > > in turn meant that the config file isn''t set up for Xen (I > > noticed that > > it wasn''t before I tested it, so I just guessed that was > the problem - > > which I then proved by changing it and, as you say, it compiles). > > > > The reason it fails is that the patches that Xen apply modifies some > > things. In this case, a macro that would in native mode > > compile nicely, > > but now turns into something that can''t be used in > asm-offsets in Xen. > > > > -- > > Mats > > > > > > > > > ________________________________ > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > > Sent: Tue 22/05/2007 12:45 > > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > > Sent: 22 May 2007 12:30 > > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > -----Original Message----- > > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > > Sent: 22 May 2007 12:00 > > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > > 2.4 Xeon. > > > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > > > > It could make the world of difference... aren''t there a few > > > different > > > > flavours that come under the i386 architecture? Certainly I > > > > don''t think > > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > > > What MACHINE it is won''t make much of a difference (afaik > > > Linux doesn''t > > > have any logic to figure out what the hardware looks like > > much beyond > > > figuring which model and mode of processor it is being > run on). The > > > architecture being built for is a different matter. > > > > > > > > > > > A copy of the .config is probably required to reproduce > > the problem > > > > though... as well as the version of gcc etc in use. > > > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > > x86_64 build doesn''t have the same problem!) > > > > > > And I believe I know what the problem is too: The > > > subarchitecture in the > > > config isn''t set to "Xen" but "PC-compatible". > > > > > > -- > > > Mats > > > > > > > > James > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Just so you know, ive done that and still same problem :( Thanks Ian -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Ian Tobin Sent: 13 June 2007 10:36 To: Petersson, Mats; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error Really? Ill give that a blast then, I was about to give up lol :) Thanks Ian -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: 13 June 2007 10:33 To: Ian Tobin; James Harper; xen-users@lists.xensource.com Subject: RE: [Xen-users] Make error> -----Original Message----- > From: Ian Tobin [mailto:itobin@tidyhosts.com] > Sent: 13 June 2007 10:30 > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > I think this is a big bug, ive have tried it on several > systems all with > the same problem.Yes, it''s almost certainly some form of bug, but I think the real problem is that we''re doing "make mrproper" in the wrong place. I had the same problem the other day (sorry, I should have posted about it, but I didn''t remember at the time), and I found that if you do "cd build-linux-2.6.18-xen_x86_32; make mrproper; cd ..; make dist" it will work. -- Mats> > Ian > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: 23 May 2007 14:06 > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > Subject: RE: [Xen-users] Make error > > Try "make mrproper > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32" in > your "linux" > directory. > > No guarantees, but I think that''s what the problem is. > > -- > Mats > > > -----Original Message----- > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > Sent: 23 May 2007 13:14 > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > Hi, > > > > getting another problem now. > > > > I can now use menuconfig and select the bits to install. > > > > I then issue command make which takes a while but completes. > > I then issue make install which also completes > > > > I then > > > > cd../ > > ictsrv:/usr/src/xen-3.1.0-src > > make install > > > > > > goes quite a way through then brings up this error > > > > if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod > > -ae -F System.map -b / -r 2.6.18-xen; fi > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C build-linux-2.6.18-xen_x86_32 ARCH=i386 > INSTALL_PATH=/ vmlinuz > > make[3]: Entering directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make -C /usr/src/xen-3.1.0-src/linux-2.6.18-xen > > O=/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32 vmlinuz > > Using /usr/src/xen-3.1.0-src/linux-2.6.18-xen as source for kernel > > /usr/src/xen-3.1.0-src/linux-2.6.18-xen is not clean, > > please run ''make mrproper'' > > in the ''/usr/src/xen-3.1.0-src/linux-2.6.18-xen'' directory. > > make[5]: *** [prepare3] Error 1 > > make[4]: *** [vmlinuz] Error 2 > > make[3]: *** [vmlinuz] Error 2 > > make[3]: Leaving directory > > `/usr/src/xen-3.1.0-src/build-linux-2.6.18-xen_x86_32'' > > make[2]: *** [build] Error 2 > > make[2]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make[1]: *** [linux-2.6-xen-install] Error 2 > > make[1]: Leaving directory `/usr/src/xen-3.1.0-src'' > > make: *** [install-kernels] Error 1 > > ictsrv:/usr/src/xen-3.1.0-src# cd linux-2.6.18-xen > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# make mrproper > > CLEAN scripts/basic > > CLEAN scripts/kconfig > > CLEAN include/config > > CLEAN .config > > ictsrv:/usr/src/xen-3.1.0-src/linux-2.6.18-xen# > > > > Ive tried everything i can think of > > > > make clean > > make clean install > > make mrproper > > deleted all 3.1 files out from /boot > > > > even removed the whole source directory and started again, > > still no joy. Any ideas? > > > > thanks > > > > Ian > > > > > > ________________________________ > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > Sent: Tue 22/05/2007 13:06 > > To: Ian Tobin; James Harper; xen-users@lists.xensource.com > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > -----Original Message----- > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > Sent: 22 May 2007 13:01 > > > To: Petersson, Mats; James Harper; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > yes your correct, it was set to PC-compatable, i have changed > > > that to XEN and it is now compiling. > > > > > > not sure how you figured that out but thanks :) > > > > I just went through the "obvious" steps of "trying to build just the > > kernel", which meant "make menuconfig" on a "clean" > > Linux-2.6.18, which > > in turn meant that the config file isn''t set up for Xen (I > > noticed that > > it wasn''t before I tested it, so I just guessed that was > the problem - > > which I then proved by changing it and, as you say, it compiles). > > > > The reason it fails is that the patches that Xen apply modifies some > > things. In this case, a macro that would in native mode > > compile nicely, > > but now turns into something that can''t be used in > asm-offsets in Xen. > > > > -- > > Mats > > > > > > > > > ________________________________ > > > > > > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > > > Sent: Tue 22/05/2007 12:45 > > > To: James Harper; Ian Tobin; xen-users@lists.xensource.com > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: James Harper [mailto:james.harper@bendigoit.com.au] > > > > Sent: 22 May 2007 12:30 > > > > To: Petersson, Mats; Ian Tobin; xen-users@lists.xensource.com > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > -----Original Message----- > > > > > > From: Ian Tobin [mailto:itobin@tidyhosts.com] > > > > > > Sent: 22 May 2007 12:00 > > > > > > To: Petersson, Mats; xen-users@lists.xensource.com > > > > > > Subject: RE: [Xen-users] Make error > > > > > > > > > > > > thanks Matts, just so you know this is a Dell PE1750 > > 2.4 Xeon. > > > > > > > > > > And that will make what difference? It should still build. > > > > > > > > > > > > > It could make the world of difference... aren''t there a few > > > different > > > > flavours that come under the i386 architecture? Certainly I > > > > don''t think > > > > you''d reproduce a problem from arch/i386 on a powerpc or amd64. > > > > > > What MACHINE it is won''t make much of a difference (afaik > > > Linux doesn''t > > > have any logic to figure out what the hardware looks like > > much beyond > > > figuring which model and mode of processor it is being > run on). The > > > architecture being built for is a different matter. > > > > > > > > > > > A copy of the .config is probably required to reproduce > > the problem > > > > though... as well as the version of gcc etc in use. > > > > > > Possibly, but I''ve just repro''d the problem (although, as you say, > > > x86_64 build doesn''t have the same problem!) > > > > > > And I believe I know what the problem is too: The > > > subarchitecture in the > > > config isn''t set to "Xen" but "PC-compatible". > > > > > > -- > > > Mats > > > > > > > > James > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users