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-ia64-devel

RE: [Xen-ia64-devel] RE: OK, now domU can boot on tip. ;-)

To: "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>
Subject: RE: [Xen-ia64-devel] RE: OK, now domU can boot on tip. ;-)
From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Date: Wed, 16 Nov 2005 16:47:52 +0800
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Nov 2005 08:47:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXlIo7CfukUD0Q/QLaqMp6BH/+whQAVOmOgAAH04wAADmbhIAAS4uqgAQh870AAGLGoUA==
Thread-topic: [Xen-ia64-devel] RE: OK, now domU can boot on tip. ;-)
That works on Tiger box as dom0, by your steps:
        * Add CONFIG_XEN
        * Remove CONFIG_IA32_SUPPORT
        * Change all =m to =y

However because the defconfig doesn't fit the latest Kconfig content, there're 
many prompt when make oldconfig and I just hit "Enter" to use default option 
for all of them.

Attached the final .config file and you may compare how much difference from 
your one.

BTW, to make xenlinux compiled, we also need to change arch/ia64/Makefile a 
bit. Or else duplicated inclusion to arch/ia64/hp/sim/ made link failed since 
CONFIG_IA64_GENERIC already does that:

diff -r 2f98977d9f85 linux-2.6-xen-sparse/arch/ia64/Makefile
--- a/linux-2.6-xen-sparse/arch/ia64/Makefile   Thu Nov 10 21:24:29 2005
+++ b/linux-2.6-xen-sparse/arch/ia64/Makefile   Wed Nov 16 16:24:15 2005
@@ -60,7 +60,7 @@
 core-$(CONFIG_IA64_HP_ZX1)     += arch/ia64/dig/
 core-$(CONFIG_IA64_HP_ZX1_SWIOTLB) += arch/ia64/dig/
 core-$(CONFIG_IA64_SGI_SN2)    += arch/ia64/sn/
-core-$(CONFIG_XEN)             += arch/ia64/xen/ arch/ia64/hp/sim/
+core-$(CONFIG_XEN)             += arch/ia64/xen/
 
 drivers-$(CONFIG_PCI)          += arch/ia64/pci/
 drivers-$(CONFIG_IA64_HP_SIM)  += arch/ia64/hp/sim/

Thanks,
Kevin

>-----Original Message-----
>From: Magenheimer, Dan (HP Labs Fort Collins) [mailto:dan.magenheimer@xxxxxx]
>Sent: 2005年11月16日 4:56
>To: Tian, Kevin
>Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>Subject: RE: [Xen-ia64-devel] RE: OK, now domU can boot on tip. ;-)
>
>> -----Original Message-----
>> From: Magenheimer, Dan (HP Labs Fort Collins)
>> Sent: Thursday, November 10, 2005 8:31 AM
>> To: 'Tian, Kevin'
>> Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>> Subject: RE: [Xen-ia64-devel] RE: OK, now domU can boot on tip. ;-)
>>
>> > Actually what confusing me is how to support different
>> > configuration file copied to xen0_defconfig_ia64
>> > automatically when build. Current xen0_defconfig_ia64 is
>> > based on zx box configuration, and I have to copy one for
>> > tiger manually to override that file before build. However I
>> > didn't find easy way to pass into such machvec information
>> > and let it automate. Can anyone help with an idea?
>>
>> I've been thinking that linux/arch/ia64/defconfig might
>> work for both HP and tiger4, but since it uses many modules,
>> I have been waiting to try it until the boot-dom0-with-initrd
>> works (RHEL4).
>>
>> Perhaps just changing all the =m to =y in linux/arch/ia64/defconfig
>> will work for a xen0_defconfig_ia64 for both HP and tiger4?
>
>I tried using linux-2.6.12/arch/ia64/defconfig with edits to
>add CONFIG_XEN=y and change CONFIG_IA32_SUPPORT=n and changing
>all =m to =y.  The resultant xenlinux runs successfully as
>dom0 though it is much bigger and boots slower.  However,
>it crashes when booting as domU.  Since we can probably
>reduce the config file for domU significantly, this is
>unlikely to be a problem once we have a default domU config.
>
>Could you confirm that defconfig with the above changes works
>for tiger4?  If so, we can replace the zx1-specific config in
>sparse/arch/xen/configs/.
>
>Dan

Attachment: generic_config_ia64
Description: generic_config_ia64

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>