[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Re: Xenified linux kernel


  • To: Mehdi Sheikhalishahi <mehdi.alishahi@xxxxxxxxx>
  • From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
  • Date: Sun, 3 Jan 2010 16:00:57 +0000
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sun, 03 Jan 2010 08:01:45 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xfxfsrSzDRyhmTFu4cpG2yR+CVBJ2+lESLF7PSgovYYrfFBzb07B4d+EdrEhyU9TeY X8P76T21UOfCZtx6HUWNFdXvIwZRUzBSL75QvEUmxLTtM2i3Uo9mQ2jrPXYYVs5wC8u0 ql5kZCMh5CjRZ4LpjntmGDkhHUFzm55GW+we8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Sun, Jan 3, 2010 at 3:36 PM, Mehdi Sheikhalishahi
<mehdi.alishahi@xxxxxxxxx> 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@xxxxxxxxx> wrote:
>> On Sun, Jan 3, 2010 at 2:26 PM, Boris Derzhavets <bderzhavets@xxxxxxxxx> 
>> 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@xxxxxxxxx>
>>> To: Mehdi Sheikhalishahi <mehdi.alishahi@xxxxxxxxx>
>>> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxx>
>>> To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
>>> 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@xxxxxxxxx>
>>> 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@xxxxxxxxx>
>>>> To: bderzhavets@xxxxxxxxx
>>>> 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@xxxxxxxxxxxxxxxxxxx
>>> http://lists.xensource.com/xen-users
>>>
>>
>
>
>
> --
> Best Regards,
> Mehdi
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.