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

Re: [Xen-devel] main.c:674: undefined reference to `xen_init_mtrr'

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] main.c:674: undefined reference to `xen_init_mtrr'
From: Nathan Stratton <nathan@xxxxxxxxxxxx>
Date: Thu, 6 Aug 2009 19:47:17 -0500 (CDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 06 Aug 2009 17:47:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A7B73BB.90405@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <alpine.LFD.2.00.0908041937430.18375@xxxxxxxxxxxxxxxxx> <4A7B73BB.90405@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (LFD 1167 2008-08-23)
On Thu, 6 Aug 2009, Jeremy Fitzhardinge wrote:

On 08/04/09 17:37, Nathan Stratton wrote:

Trying to compile the latest bleeding edge rebase/master from the
Jeremy git tree and ran into:

arch/x86/built-in.o: In function `mtrr_bp_init':
/usr/local/src/linux-2.6-xen/arch/x86/kernel/cpu/mtrr/main.c:674:
undefined reference to `xen_init_mtrr'
make: *** [.tmp_vmlinux1] Error 1

Thanks, that's a bug, bug the workaround is to also enable CONFIG_XEN_DOM0.

Actually, CONFIG_XEN_DOM0 was enabled, I ended up having to disable CONFIG_MTRR to get it to compile. Not sure what damage that does, but so far things look good.

However, rebase/master is *very* bleeding edge at the moment, so I don't
think it will help solve your problem.

I know, grasping at straws, trying to fix that kernel_panic and I also need a newer xen kernel then 2.6.18 that also has Infiniband.

-Nathan

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