WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: Mehdi Sheikhalishahi <mehdi.alishahi@xxxxxxxxx>
Subject: Re: [Xen-users] Re: Xenified linux kernel
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Sop+1abvv8kybNOpHC4YNAZ/WFiwzVs97UoxUXjkzSk=; b=E/gEmyBPpEvXi84+otz0yQxX9AV7nZ75blE0xbIkd9Fnj2trbBY3lBoKAhsXBZ92yL sCD2smeF2LuOiOUhrmj9tuY4pil3kMR6mEo8peMNKenHfrQucX63R6rUIu0we2gPkcfD 3TsD8H+pXrMuLLKIGvKBEqtCAMR00JLzL/58w=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8c911f391001030736h65e948c2p96ebe84f61dcf3d9@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8c911f391001030525n367b363ct7137581f8f6d29c8@xxxxxxxxxxxxxx> <673600.15617.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <8c911f391001030545m304027b4k56453b32e0726710@xxxxxxxxxxxxxx> <948029.24290.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <26259.90494.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <f4527be1001030732n7e80130dgeec2c7f1ceaf65fd@xxxxxxxxxxxxxx> <8c911f391001030736h65e948c2p96ebe84f61dcf3d9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>