Known bug for 32-bit. Workaround is on the net. http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ Boris ________________________________ From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> To: bderzhavets@yahoo.com Sent: Sun, January 3, 2010 4:25:00 PM Subject: Xenified linux kernel Hi Dear: I am refering to the http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ instruction to build an xenified linux kernel. I exactly follow the instructions but I''ve got the following errors: LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 arch/x86/kernel/built-in.o: In function `timer_interrupt'': /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: undefined reference to `__udivdi3'' make: *** [.tmp_vmlinux1] Error 1 -- Best Regards, Mehdi Sheikhalishahi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, it works Boris. ________________________________ From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> To: Boris Derzhavets <bderzhavets@yahoo.com> Sent: Sun, January 3, 2010 4:45:13 PM Subject: Re: Xenified linux kernel Dear Boris: thanks for your prompt reply. do you think it is possible to apply this instruction on the latest stable linux kernel .32? Regards On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> Known bug for 32-bit. Workaround is on the net. > http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ > > Boris > ________________________________ > From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> > To: bderzhavets@yahoo.com > Sent: Sun, January 3, 2010 4:25:00 PM > Subject: Xenified linux kernel > > Hi Dear: > > I am refering to the > http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ > instruction to build an xenified linux kernel. I exactly follow the > instructions but I''ve got the following errors: > > > LD vmlinux.o > MODPOST vmlinux.o > WARNING: modpost: Found 2 section mismatch(es). > To see full details build your kernel with: > ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86/kernel/built-in.o: In function `timer_interrupt'': > /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: > undefined reference to `__udivdi3'' > make: *** [.tmp_vmlinux1] Error 1 > > > -- > Best Regards, > Mehdi Sheikhalishahi > >-- Best Regards, Mehdi Sheikhalishahi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Oops !! Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. http://code.google.com/p/gentoo-xen-kernel/downloads/list I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for 32-bit. Sorry. Boris. ________________________________ From: Boris Derzhavets <bderzhavets@yahoo.com> To: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> Cc: xen-users@lists.xensource.com Sent: Sun, January 3, 2010 5:14:41 PM Subject: [Xen-users] Re: Xenified linux kernel Yes, it works Boris. ________________________________ From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> To: Boris Derzhavets <bderzhavets@yahoo.com> Sent: Sun, January 3, 2010 4:45:13 PM Subject: Re: Xenified linux kernel Dear Boris: thanks for your prompt reply. do you think it is possible to apply this instruction on the latest stable linux kernel .32? Regards On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> Known bug for 32-bit. Workaround is on the net. > http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ > > Boris > ________________________________ > From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> > To: bderzhavets@yahoo.com > Sent: Sun, January 3, 2010 4:25:00 PM > Subject: Xenified linux kernel > > Hi Dear: > > I am refering to the > http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ > instruction to build an xenified linux kernel. I exactly follow the > instructions but I''ve got the following errors: > > > LD vmlinux.o > MODPOST vmlinux.o > WARNING: modpost: Found 2 section mismatch(es). > To see full details build your kernel with: > ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' > GEN .version > CHK include/linux/compile.h > UPD include/linux/compile.h > CC init/version.o > LD init/built-in.o > LD .tmp_vmlinux1 > arch/x86/kernel/built-in.o: In function `timer_interrupt'': > /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: > undefined reference to `__udivdi3'' > make: *** [.tmp_vmlinux1] Error 1 > > > -- > Best Regards, > Mehdi Sheikhalishahi > >-- Best Regards, Mehdi Sheikhalishahi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote:> Oops !! > Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. > http://code.google.com/p/gentoo-xen-kernel/downloads/list > I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for > 32-bit. > > Sorry. > Boris.Both 32 and 64 bit domU and dom0 have been well tested with xen-patches-2.6.31-9.tar.bz2 and seem to be very stable, but I''ve just uploaded xen-patches-2.6.31-10.tar.bz2 to http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a couple of small fixes for suspend which had broken xen save/restore for pv domU''s. xen-patches-2.6.31-10.tar.bz2 is for 2.6.31.9 although they will probably also apply to .8 Andy> > ________________________________ > From: Boris Derzhavets <bderzhavets@yahoo.com> > To: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> > Cc: xen-users@lists.xensource.com > Sent: Sun, January 3, 2010 5:14:41 PM > Subject: [Xen-users] Re: Xenified linux kernel > > Yes, it works > > Boris. > > ________________________________ > From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> > To: Boris Derzhavets <bderzhavets@yahoo.com> > Sent: Sun, January 3, 2010 4:45:13 PM > Subject: Re: Xenified linux kernel > > Dear Boris: > > thanks for your prompt reply. do you think it is possible to apply > this instruction on the latest stable linux kernel .32? > > Regards > > > On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> > wrote: >> Known bug for 32-bit. Workaround is on the net. >> http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ >> >> Boris >> ________________________________ >> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >> To: bderzhavets@yahoo.com >> Sent: Sun, January 3, 2010 4:25:00 PM >> Subject: Xenified linux kernel >> >> Hi Dear: >> >> I am refering to the >> >> http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ >> instruction to build an xenified linux kernel. I exactly follow the >> instructions but I''ve got the following errors: >> >> >> LD vmlinux.o >> MODPOST vmlinux.o >> WARNING: modpost: Found 2 section mismatch(es). >> To see full details build your kernel with: >> ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' >> GEN .version >> CHK include/linux/compile.h >> UPD include/linux/compile.h >> CC init/version.o >> LD init/built-in.o >> LD .tmp_vmlinux1 >> arch/x86/kernel/built-in.o: In function `timer_interrupt'': >> /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: >> undefined reference to `__udivdi3'' >> make: *** [.tmp_vmlinux1] Error 1 >> >> >> -- >> Best Regards, >> Mehdi Sheikhalishahi >> >> > > > > -- > Best Regards, > Mehdi Sheikhalishahi > > > > _______________________________________________ > 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''ve applied the xen-patch to 2.6.32 kernel series, it seems it is not working well? root@mehdi-desktop:~/linux-2.6.32.2# ./patch.sh ../patchesV3/60000_add-console-use-vt.patch1 applied ../patchesV3/60001_linux-2.6.19-rc1-kexec-move_segment_code-i386.patch1 applied ../patchesV3/60002_linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch1 applied ../patchesV3/60003_ipv6-no-autoconf.patch1 applied ../patchesV3/60004_pci-guestdev.patch1 applied ../patchesV3/60005_pci-reserve.patch1 applied ../patchesV3/60006_sfc-driverlink.patch1 applied ../patchesV3/60007_sfc-resource-driver.patch1 applied ../patchesV3/60008_sfc-driverlink-conditional.patch1 applied ../patchesV3/60009_sfc-external-sram.patch1 applied ../patchesV3/60010_xen3-auto-xen-arch.patch1 applied ../patchesV3/60011_xen3-auto-xen-drivers.patch1 applied ../patchesV3/60012_xen3-auto-include-xen-interface.patch1 applied 4 out of 33 hunks FAILED -- saving rejects to file arch/x86/Kconfig.rej 1 out of 2 hunks FAILED -- saving rejects to file arch/x86/Kconfig.cpu.rej 1 out of 1 hunk FAILED -- saving rejects to file fs/Kconfig.rej Error processing ../patchesV3/60013_xen3-auto-xen-kconfig.patch1 On Sun, Jan 3, 2010 at 4:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: >> Oops !! >> Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. >> http://code.google.com/p/gentoo-xen-kernel/downloads/list >> I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for >> 32-bit. >> >> Sorry. >> Boris. > > Both 32 and 64 bit domU and dom0 have been well tested with > xen-patches-2.6.31-9.tar.bz2 and seem to be very stable, but I''ve just > uploaded xen-patches-2.6.31-10.tar.bz2 to > http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a > couple of small fixes for suspend which had broken xen save/restore > for pv domU''s. > > xen-patches-2.6.31-10.tar.bz2 is for 2.6.31.9 although they will > probably also apply to .8 > > Andy > > > > >> >> ________________________________ >> From: Boris Derzhavets <bderzhavets@yahoo.com> >> To: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >> Cc: xen-users@lists.xensource.com >> Sent: Sun, January 3, 2010 5:14:41 PM >> Subject: [Xen-users] Re: Xenified linux kernel >> >> Yes, it works >> >> Boris. >> >> ________________________________ >> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >> To: Boris Derzhavets <bderzhavets@yahoo.com> >> Sent: Sun, January 3, 2010 4:45:13 PM >> Subject: Re: Xenified linux kernel >> >> Dear Boris: >> >> thanks for your prompt reply. do you think it is possible to apply >> this instruction on the latest stable linux kernel .32? >> >> Regards >> >> >> On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> >> wrote: >>> Known bug for 32-bit. Workaround is on the net. >>> http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ >>> >>> Boris >>> ________________________________ >>> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >>> To: bderzhavets@yahoo.com >>> Sent: Sun, January 3, 2010 4:25:00 PM >>> Subject: Xenified linux kernel >>> >>> Hi Dear: >>> >>> I am refering to the >>> >>> http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ >>> instruction to build an xenified linux kernel. I exactly follow the >>> instructions but I''ve got the following errors: >>> >>> >>> LD vmlinux.o >>> MODPOST vmlinux.o >>> WARNING: modpost: Found 2 section mismatch(es). >>> To see full details build your kernel with: >>> ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' >>> GEN .version >>> CHK include/linux/compile.h >>> UPD include/linux/compile.h >>> CC init/version.o >>> LD init/built-in.o >>> LD .tmp_vmlinux1 >>> arch/x86/kernel/built-in.o: In function `timer_interrupt'': >>> /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: >>> undefined reference to `__udivdi3'' >>> make: *** [.tmp_vmlinux1] Error 1 >>> >>> >>> -- >>> Best Regards, >>> Mehdi Sheikhalishahi >>> >>> >> >> >> >> -- >> Best Regards, >> Mehdi Sheikhalishahi >> >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >-- Best Regards, Mehdi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jan 3, 2010 at 3:36 PM, Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> wrote:> I''ve applied the xen-patch to 2.6.32 kernel series, it seems it is not > working well?The patches are for 2.6.31, they will not apply to 2.6.32. All of the openSUSE kernels are freely available in rpm format from sources like ftp://ftp.suse.com/pub/projects/kernel/kotd/ or http://download.opensuse.org/repositories/Kernel:/HEAD/openSUSE_Factory/ , or you can access a git mirror at http://www.gitorious.org/opensuse/kernel-source , so you should be able to use a binary kernel (you will need a initrd) or assemble the necessary patches to build a .32 kernel quite easily. Andy> > root@mehdi-desktop:~/linux-2.6.32.2# ./patch.sh > ../patchesV3/60000_add-console-use-vt.patch1 applied > ../patchesV3/60001_linux-2.6.19-rc1-kexec-move_segment_code-i386.patch1 applied > ../patchesV3/60002_linux-2.6.19-rc1-kexec-move_segment_code-x86_64.patch1 > applied > ../patchesV3/60003_ipv6-no-autoconf.patch1 applied > ../patchesV3/60004_pci-guestdev.patch1 applied > ../patchesV3/60005_pci-reserve.patch1 applied > ../patchesV3/60006_sfc-driverlink.patch1 applied > ../patchesV3/60007_sfc-resource-driver.patch1 applied > ../patchesV3/60008_sfc-driverlink-conditional.patch1 applied > ../patchesV3/60009_sfc-external-sram.patch1 applied > ../patchesV3/60010_xen3-auto-xen-arch.patch1 applied > ../patchesV3/60011_xen3-auto-xen-drivers.patch1 applied > ../patchesV3/60012_xen3-auto-include-xen-interface.patch1 applied > 4 out of 33 hunks FAILED -- saving rejects to file arch/x86/Kconfig.rej > 1 out of 2 hunks FAILED -- saving rejects to file arch/x86/Kconfig.cpu.rej > 1 out of 1 hunk FAILED -- saving rejects to file fs/Kconfig.rej > Error processing ../patchesV3/60013_xen3-auto-xen-kconfig.patch1 > > On Sun, Jan 3, 2010 at 4:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: >> On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: >>> Oops !! >>> Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. >>> http://code.google.com/p/gentoo-xen-kernel/downloads/list >>> I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for >>> 32-bit. >>> >>> Sorry. >>> Boris. >> >> Both 32 and 64 bit domU and dom0 have been well tested with >> xen-patches-2.6.31-9.tar.bz2 and seem to be very stable, but I''ve just >> uploaded xen-patches-2.6.31-10.tar.bz2 to >> http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a >> couple of small fixes for suspend which had broken xen save/restore >> for pv domU''s. >> >> xen-patches-2.6.31-10.tar.bz2 is for 2.6.31.9 although they will >> probably also apply to .8 >> >> Andy >> >> >> >> >>> >>> ________________________________ >>> From: Boris Derzhavets <bderzhavets@yahoo.com> >>> To: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >>> Cc: xen-users@lists.xensource.com >>> Sent: Sun, January 3, 2010 5:14:41 PM >>> Subject: [Xen-users] Re: Xenified linux kernel >>> >>> Yes, it works >>> >>> Boris. >>> >>> ________________________________ >>> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >>> To: Boris Derzhavets <bderzhavets@yahoo.com> >>> Sent: Sun, January 3, 2010 4:45:13 PM >>> Subject: Re: Xenified linux kernel >>> >>> Dear Boris: >>> >>> thanks for your prompt reply. do you think it is possible to apply >>> this instruction on the latest stable linux kernel .32? >>> >>> Regards >>> >>> >>> On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> >>> wrote: >>>> Known bug for 32-bit. Workaround is on the net. >>>> http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ >>>> >>>> Boris >>>> ________________________________ >>>> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >>>> To: bderzhavets@yahoo.com >>>> Sent: Sun, January 3, 2010 4:25:00 PM >>>> Subject: Xenified linux kernel >>>> >>>> Hi Dear: >>>> >>>> I am refering to the >>>> >>>> http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ >>>> instruction to build an xenified linux kernel. I exactly follow the >>>> instructions but I''ve got the following errors: >>>> >>>> >>>> LD vmlinux.o >>>> MODPOST vmlinux.o >>>> WARNING: modpost: Found 2 section mismatch(es). >>>> To see full details build your kernel with: >>>> ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' >>>> GEN .version >>>> CHK include/linux/compile.h >>>> UPD include/linux/compile.h >>>> CC init/version.o >>>> LD init/built-in.o >>>> LD .tmp_vmlinux1 >>>> arch/x86/kernel/built-in.o: In function `timer_interrupt'': >>>> /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: >>>> undefined reference to `__udivdi3'' >>>> make: *** [.tmp_vmlinux1] Error 1 >>>> >>>> >>>> -- >>>> Best Regards, >>>> Mehdi Sheikhalishahi >>>> >>>> >>> >>> >>> >>> -- >>> Best Regards, >>> Mehdi Sheikhalishahi >>> >>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> > > > > -- > Best Regards, > Mehdi >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, Jan 3, 2010 at 3:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: >> Oops !! >> Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. >> http://code.google.com/p/gentoo-xen-kernel/downloads/list >> I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for >> 32-bit. >> >> Sorry. >> Boris. > > Both 32 and 64 bit domU and dom0 have been well tested with > xen-patches-2.6.31-9.tar.bz2 and seem to be very stable, but I''ve just > uploaded xen-patches-2.6.31-10.tar.bz2 to > http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a > couple of small fixes for suspend which had broken xen save/restore > for pv domU''s.I''ve just noticed a problem with xen-patches-2.6.31-10.tar.bz2 and have removed the download. Sorry :( Andy> > xen-patches-2.6.31-10.tar.bz2 is for 2.6.31.9 although they will > probably also apply to .8 > > Andy > > > > >> >> ________________________________ >> From: Boris Derzhavets <bderzhavets@yahoo.com> >> To: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >> Cc: xen-users@lists.xensource.com >> Sent: Sun, January 3, 2010 5:14:41 PM >> Subject: [Xen-users] Re: Xenified linux kernel >> >> Yes, it works >> >> Boris. >> >> ________________________________ >> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >> To: Boris Derzhavets <bderzhavets@yahoo.com> >> Sent: Sun, January 3, 2010 4:45:13 PM >> Subject: Re: Xenified linux kernel >> >> Dear Boris: >> >> thanks for your prompt reply. do you think it is possible to apply >> this instruction on the latest stable linux kernel .32? >> >> Regards >> >> >> On Sun, Jan 3, 2010 at 2:39 PM, Boris Derzhavets <bderzhavets@yahoo.com> >> wrote: >>> Known bug for 32-bit. Workaround is on the net. >>> http://mulps.wordpress.com/2009/05/29/compiling-xen-kernel-2-6-29-2/ >>> >>> Boris >>> ________________________________ >>> From: Mehdi Sheikhalishahi <mehdi.alishahi@gmail.com> >>> To: bderzhavets@yahoo.com >>> Sent: Sun, January 3, 2010 4:25:00 PM >>> Subject: Xenified linux kernel >>> >>> Hi Dear: >>> >>> I am refering to the >>> >>> http://bderzhavets.wordpress.com/2009/07/07/building-xenified-2-6-30-1-kernel-via-xen-patches-2-6-30-2-tar-bz2/ >>> instruction to build an xenified linux kernel. I exactly follow the >>> instructions but I''ve got the following errors: >>> >>> >>> LD vmlinux.o >>> MODPOST vmlinux.o >>> WARNING: modpost: Found 2 section mismatch(es). >>> To see full details build your kernel with: >>> ''make CONFIG_DEBUG_SECTION_MISMATCH=y'' >>> GEN .version >>> CHK include/linux/compile.h >>> UPD include/linux/compile.h >>> CC init/version.o >>> LD init/built-in.o >>> LD .tmp_vmlinux1 >>> arch/x86/kernel/built-in.o: In function `timer_interrupt'': >>> /usr/src/build/linux-2.6.30.2/arch/x86/kernel/time_32-xen.c:463: >>> undefined reference to `__udivdi3'' >>> make: *** [.tmp_vmlinux1] Error 1 >>> >>> >>> -- >>> Best Regards, >>> Mehdi Sheikhalishahi >>> >>> >> >> >> >> -- >> Best Regards, >> Mehdi Sheikhalishahi >> >> >> >> _______________________________________________ >> 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
Pasi Kärkkäinen
2010-Jan-03 18:03 UTC
Re: [Xen-users] Re: Xenified linux kernel, problem with 2.6.31-10 patches
On Sun, Jan 03, 2010 at 05:19:06PM +0000, Andrew Lyon wrote:> On Sun, Jan 3, 2010 at 3:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > > On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@yahoo.com> wrote: > >> Oops !! > >> Not sure. Try to apply Andy''s the most recent patches to 2.6.31.8 and build. > >> http://code.google.com/p/gentoo-xen-kernel/downloads/list > >> I tested patching per OpenSuse only 2.6.31.8 64-bit kernel. No warranty for > >> 32-bit. > >> > >> Sorry. > >> Boris. > > > > Both 32 and 64 bit domU and dom0 have been well tested with > > xen-patches-2.6.31-9.tar.bz2 and seem to be very stable, but I''ve just > > uploaded xen-patches-2.6.31-10.tar.bz2 to > > http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a > > couple of small fixes for suspend which had broken xen save/restore > > for pv domU''s. > > I''ve just noticed a problem with xen-patches-2.6.31-10.tar.bz2 and > have removed the download. > > Sorry :( >Hello, What kind of problem there was? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jan 4, 2010 at 12:19 AM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> On Sun, Jan 3, 2010 at 3:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: >> http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a >> couple of small fixes for suspend which had broken xen save/restore >> for pv domU''s. > > I''ve just noticed a problem with xen-patches-2.6.31-10.tar.bz2 and > have removed the download.Any plans to release updated patches to fix PV save/restore/migrate? I tried using 2.6.31-9 patch plus the suspend workaround that you mentioned by hacking Kconfig. "xm migrate" works, but I can''t reconnect console on the new dom0 :P -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 05, 2010 at 02:38:21PM +0700, Fajar A. Nugraha wrote:> On Mon, Jan 4, 2010 at 12:19 AM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > > On Sun, Jan 3, 2010 at 3:32 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > >> http://code.google.com/p/gentoo-xen-kernel/downloads/list which has a > >> couple of small fixes for suspend which had broken xen save/restore > >> for pv domU''s. > > > > I''ve just noticed a problem with xen-patches-2.6.31-10.tar.bz2 and > > have removed the download. > > Any plans to release updated patches to fix PV save/restore/migrate? > I tried using 2.6.31-9 patch plus the suspend workaround that you > mentioned by hacking Kconfig. "xm migrate" works, but I can''t > reconnect console on the new dom0 :P >Andy re-released 2.6.31-10 patches. Feel free to try them :) -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jan 5, 2010 at 5:10 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:>> Any plans to release updated patches to fix PV save/restore/migrate? >> I tried using 2.6.31-9 patch plus the suspend workaround that you >> mentioned by hacking Kconfig. "xm migrate" works, but I can''t >> reconnect console on the new dom0 :P >> > > Andy re-released 2.6.31-10 patches. Feel free to try them :)Still doesn''t work. Same sypmtoms: "xm migrate" works, but I can''t reconnect console on the new dom0. And it''s not xenconsoled problem as newly created domUs on this dom0 runs just fine. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 6:57 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Tue, Jan 5, 2010 at 5:10 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >>> Any plans to release updated patches to fix PV save/restore/migrate? >>> I tried using 2.6.31-9 patch plus the suspend workaround that you >>> mentioned by hacking Kconfig. "xm migrate" works, but I can''t >>> reconnect console on the new dom0 :P >>> >> >> Andy re-released 2.6.31-10 patches. Feel free to try them :) > > Still doesn''t work. Same sypmtoms: "xm migrate" works, but I can''t > reconnect console on the new dom0. And it''s not xenconsoled problem as > newly created domUs on this dom0 runs just fine. > > -- > Fajar >I have just tested migration of a 64 bit pv domU and had no problem reconnecting the console afterwards, I moved it 10 times to be sure that it works reliably. I will test 32 bit pv domU once I have upgraded the kernel im my test domU. Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> I have just tested migration of a 64 bit pv domU and had no problem > reconnecting the console afterwards, I moved it 10 times to be sure > that it works reliably. > > I will test 32 bit pv domU once I have upgraded the kernel im my test domU.Weird. Could you send me your .config? At least this will help me pinpoint whether the problem is in my config or something else. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 10:05 AM, Fajar A. Nugraha <fajar@fajar.net> wrote:> On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: >> I have just tested migration of a 64 bit pv domU and had no problem >> reconnecting the console afterwards, I moved it 10 times to be sure >> that it works reliably. >> >> I will test 32 bit pv domU once I have upgraded the kernel im my test domU. > > Weird. Could you send me your .config? At least this will help me > pinpoint whether the problem is in my config or something else. > > -- > Fajar >32 bit domU also migrates successfully, I have attached the Xen and kernel config files for both 32 and 64 bit pv domU, and also the 64 bit dom0 config for my Xen server. I had not setup a migration capable environment before so I simply used file backed disks stored on a nfs server, this seems to work but occasionally a domU will crash during startup complaining that it cannot mount the root filesystem, I found that when this happens starting the domain with -p and then unpausing it after a couple of seconds will enable it to start, but once started I was able to complete several migrations while processes were running in the domU and it caused no problems. Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 06, 2010 at 11:38:36AM +0000, Andrew Lyon wrote:> On Wed, Jan 6, 2010 at 10:05 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: > > On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > >> I have just tested migration of a 64 bit pv domU and had no problem > >> reconnecting the console afterwards, I moved it 10 times to be sure > >> that it works reliably. > >> > >> I will test 32 bit pv domU once I have upgraded the kernel im my test domU. > > > > Weird. Could you send me your .config? At least this will help me > > pinpoint whether the problem is in my config or something else. > > > > -- > > Fajar > > > > 32 bit domU also migrates successfully, I have attached the Xen and > kernel config files for both 32 and 64 bit pv domU, and also the 64 > bit dom0 config for my Xen server. > > I had not setup a migration capable environment before so I simply > used file backed disks stored on a nfs server, this seems to work but > occasionally a domU will crash during startup complaining that it > cannot mount the root filesystem, I found that when this happens > starting the domain with -p and then unpausing it after a couple of > seconds will enable it to start, but once started I was able to > complete several migrations while processes were running in the domU > and it caused no problems. >Did you try tap:aio: disks instead of file: ? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 1:16 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Wed, Jan 06, 2010 at 11:38:36AM +0000, Andrew Lyon wrote: >> On Wed, Jan 6, 2010 at 10:05 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >> > On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: >> >> I have just tested migration of a 64 bit pv domU and had no problem >> >> reconnecting the console afterwards, I moved it 10 times to be sure >> >> that it works reliably. >> >> >> >> I will test 32 bit pv domU once I have upgraded the kernel im my test domU. >> > >> > Weird. Could you send me your .config? At least this will help me >> > pinpoint whether the problem is in my config or something else. >> > >> > -- >> > Fajar >> > >> >> 32 bit domU also migrates successfully, I have attached the Xen and >> kernel config files for both 32 and 64 bit pv domU, and also the 64 >> bit dom0 config for my Xen server. >> >> I had not setup a migration capable environment before so I simply >> used file backed disks stored on a nfs server, this seems to work but >> occasionally a domU will crash during startup complaining that it >> cannot mount the root filesystem, I found that when this happens >> starting the domain with -p and then unpausing it after a couple of >> seconds will enable it to start, but once started I was able to >> complete several migrations while processes were running in the domU >> and it caused no problems. >> > > Did you try tap:aio: disks instead of file: ? > > -- Pasi > >No, I will give that a try. Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 1:18 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> On Wed, Jan 6, 2010 at 1:16 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: >> On Wed, Jan 06, 2010 at 11:38:36AM +0000, Andrew Lyon wrote: >>> On Wed, Jan 6, 2010 at 10:05 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: >>> > On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: >>> >> I have just tested migration of a 64 bit pv domU and had no problem >>> >> reconnecting the console afterwards, I moved it 10 times to be sure >>> >> that it works reliably. >>> >> >>> >> I will test 32 bit pv domU once I have upgraded the kernel im my test domU. >>> > >>> > Weird. Could you send me your .config? At least this will help me >>> > pinpoint whether the problem is in my config or something else. >>> > >>> > -- >>> > Fajar >>> > >>> >>> 32 bit domU also migrates successfully, I have attached the Xen and >>> kernel config files for both 32 and 64 bit pv domU, and also the 64 >>> bit dom0 config for my Xen server. >>> >>> I had not setup a migration capable environment before so I simply >>> used file backed disks stored on a nfs server, this seems to work but >>> occasionally a domU will crash during startup complaining that it >>> cannot mount the root filesystem, I found that when this happens >>> starting the domain with -p and then unpausing it after a couple of >>> seconds will enable it to start, but once started I was able to >>> complete several migrations while processes were running in the domU >>> and it caused no problems. >>> >> >> Did you try tap:aio: disks instead of file: ? >> >> -- Pasi >> >> > > No, I will give that a try. > > Andy >tap:aio behaves the same. Andy _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 06, 2010 at 01:22:55PM +0000, Andrew Lyon wrote:> On Wed, Jan 6, 2010 at 1:18 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > > On Wed, Jan 6, 2010 at 1:16 PM, Pasi Kärkkäinen <pasik@iki.fi> wrote: > >> On Wed, Jan 06, 2010 at 11:38:36AM +0000, Andrew Lyon wrote: > >>> On Wed, Jan 6, 2010 at 10:05 AM, Fajar A. Nugraha <fajar@fajar.net> wrote: > >>> > On Wed, Jan 6, 2010 at 4:56 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > >>> >> I have just tested migration of a 64 bit pv domU and had no problem > >>> >> reconnecting the console afterwards, I moved it 10 times to be sure > >>> >> that it works reliably. > >>> >> > >>> >> I will test 32 bit pv domU once I have upgraded the kernel im my test domU. > >>> > > >>> > Weird. Could you send me your .config? At least this will help me > >>> > pinpoint whether the problem is in my config or something else. > >>> > > >>> > -- > >>> > Fajar > >>> > > >>> > >>> 32 bit domU also migrates successfully, I have attached the Xen and > >>> kernel config files for both 32 and 64 bit pv domU, and also the 64 > >>> bit dom0 config for my Xen server. > >>> > >>> I had not setup a migration capable environment before so I simply > >>> used file backed disks stored on a nfs server, this seems to work but > >>> occasionally a domU will crash during startup complaining that it > >>> cannot mount the root filesystem, I found that when this happens > >>> starting the domain with -p and then unpausing it after a couple of > >>> seconds will enable it to start, but once started I was able to > >>> complete several migrations while processes were running in the domU > >>> and it caused no problems. > >>> > >> > >> Did you try tap:aio: disks instead of file: ? > >> > >> -- Pasi > >> > >> > > > > No, I will give that a try. > > > > Andy > > > > tap:aio behaves the same. >Ok.. anything in "xm log", "xm dmesg" or dom0 "dmesg" ? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Jan 6, 2010 at 6:38 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote:> 32 bit domU also migrates successfully, I have attached the Xen and > kernel config files for both 32 and 64 bit pv domU, and also the 64 > bit dom0 config for my Xen server.Found the culprit :D I''m using something like this on my domU Xen config file #=====================vcpus=8 vcpu_avail=1 cpus="1-7" vfb =[''type=vnc,vnclisten=0.0.0.0''] #====================== when I comment-out vfb entry, I was able to see this on the console ------------[ cut here ]------------ kernel BUG at drivers/xen/core/machine_reboot.c:196! invalid opcode: 0000 [#1] SMP ... so I change the config to simply #=====================vcpus=1 cpus="1-7" #===================== that works, even after I re-enable vfb entry. Same thing happens with your .config or my original .config. So I guess there''s still some bug related to suspend/migrate and cpu hotplug. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, Jan 07, 2010 at 03:39:04PM +0700, Fajar A. Nugraha wrote:> On Wed, Jan 6, 2010 at 6:38 PM, Andrew Lyon <andrew.lyon@gmail.com> wrote: > > 32 bit domU also migrates successfully, I have attached the Xen and > > kernel config files for both 32 and 64 bit pv domU, and also the 64 > > bit dom0 config for my Xen server. > > Found the culprit :D > > I''m using something like this on my domU Xen config file > > #=====================> vcpus=8 > vcpu_avail=1 > cpus="1-7" > > vfb =[''type=vnc,vnclisten=0.0.0.0''] > #======================> > when I comment-out vfb entry, I was able to see this on the console > > ------------[ cut here ]------------ > kernel BUG at drivers/xen/core/machine_reboot.c:196! > invalid opcode: 0000 [#1] SMP > > ... so I change the config to simply > > #=====================> vcpus=1 > cpus="1-7" > #=====================> > that works, even after I re-enable vfb entry. Same thing happens with > your .config or my original .config. > So I guess there''s still some bug related to suspend/migrate and cpu hotplug. >What kernel version is your domU in question running? -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 8, 2010 at 4:21 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote:> On Thu, Jan 07, 2010 at 03:39:04PM +0700, Fajar A. Nugraha wrote: >> So I guess there''s still some bug related to suspend/migrate and cpu hotplug. >> > > What kernel version is your domU in question running?2.6.31.9, with Andy''s 2.6.31-10 patches. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, Jan 08, 2010 at 08:44:53AM +0700, Fajar A. Nugraha wrote:> On Fri, Jan 8, 2010 at 4:21 AM, Pasi Kärkkäinen <pasik@iki.fi> wrote: > > On Thu, Jan 07, 2010 at 03:39:04PM +0700, Fajar A. Nugraha wrote: > >> So I guess there''s still some bug related to suspend/migrate and cpu hotplug. > >> > > > > What kernel version is your domU in question running? > > 2.6.31.9, with Andy''s 2.6.31-10 patches. >It might be good to try for example RHEL/CentOS 5.4 kernel-xen (or linux-2.6.18-xen) in the domU (keeping the dom0 kernel the same), and see if this problem still happens. -- Pasi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users