All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-2.6-xen
@ 2011-07-13 18:59 Shaun Reitan
  2011-07-13 19:15 ` linux-2.6-xen Pasi Kärkkäinen
  2011-07-13 23:28 ` linux-2.6-xen Jean Guyader
  0 siblings, 2 replies; 5+ messages in thread
From: Shaun Reitan @ 2011-07-13 18:59 UTC (permalink / raw)
  To: xen-devel

I'm using Jeremy's kernel branch and attempting to compile a kernel on 
CentOS6 x86_64.  I keep running into the following error

   CC      arch/x86/xen/mmu.o
arch/x86/xen/mmu.c:163: error: __pcpu_scope_xen_cr3 causes a section 
type conflict
arch/x86/xen/mmu.c:164: error: __pcpu_scope_xen_current_cr3 causes a 
section type conflict
arch/x86/xen/mmu.c:163: error: __pcpu_unique_xen_cr3 causes a section 
type conflict
arch/x86/xen/mmu.c:164: error: __pcpu_unique_xen_current_cr3 causes a 
section type conflict
make[2]: *** [arch/x86/xen/mmu.o] Error 1
make[1]: *** [arch/x86/xen] Error 2
make: *** [arch/x86] Error 2


I'm using the kernel config from centos6's default kernel but then 
modifying the config to enable the dom0 features.

Kernel config from centos6 is config-2.6.32-71.29.1.el6.x86_64, reason 
i'm using it is because it's from 2.6.32.x..

Anybody know what might be going on here?

--
~ShaunR

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-2.6-xen
  2011-07-13 18:59 linux-2.6-xen Shaun Reitan
@ 2011-07-13 19:15 ` Pasi Kärkkäinen
  2011-07-13 20:31   ` linux-2.6-xen Shaun Reitan
  2011-07-13 23:28 ` linux-2.6-xen Jean Guyader
  1 sibling, 1 reply; 5+ messages in thread
From: Pasi Kärkkäinen @ 2011-07-13 19:15 UTC (permalink / raw)
  To: Shaun Reitan; +Cc: xen-devel

On Wed, Jul 13, 2011 at 11:59:33AM -0700, Shaun Reitan wrote:
> I'm using Jeremy's kernel branch and attempting to compile a kernel on  
> CentOS6 x86_64.  I keep running into the following error
>
>   CC      arch/x86/xen/mmu.o
> arch/x86/xen/mmu.c:163: error: __pcpu_scope_xen_cr3 causes a section  
> type conflict
> arch/x86/xen/mmu.c:164: error: __pcpu_scope_xen_current_cr3 causes a  
> section type conflict
> arch/x86/xen/mmu.c:163: error: __pcpu_unique_xen_cr3 causes a section  
> type conflict
> arch/x86/xen/mmu.c:164: error: __pcpu_unique_xen_current_cr3 causes a  
> section type conflict
> make[2]: *** [arch/x86/xen/mmu.o] Error 1
> make[1]: *** [arch/x86/xen] Error 2
> make: *** [arch/x86] Error 2
>
>
> I'm using the kernel config from centos6's default kernel but then  
> modifying the config to enable the dom0 features.
>
> Kernel config from centos6 is config-2.6.32-71.29.1.el6.x86_64, reason  
> i'm using it is because it's from 2.6.32.x..
>
> Anybody know what might be going on here?
>

Did you try using the prebuilt rpms?

xen rpms: http://xenbits.xen.org/people/mayoung/EL6.xen/
dom0 kernel rpms: http://xenbits.xen.org/people/mayoung/testing/

Taken from: http://wiki.xen.org/xenwiki/RHEL6Xen4Tutorial

-- Pasi

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-2.6-xen
  2011-07-13 19:15 ` linux-2.6-xen Pasi Kärkkäinen
@ 2011-07-13 20:31   ` Shaun Reitan
  2011-07-13 20:52     ` linux-2.6-xen Huang2, Wei
  0 siblings, 1 reply; 5+ messages in thread
From: Shaun Reitan @ 2011-07-13 20:31 UTC (permalink / raw)
  To: xen-devel

No, I prefer to role my own. I will take a look at his kernel configs 
but still would like to find out what might be going on.

~ShaunR

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Re: linux-2.6-xen
  2011-07-13 20:31   ` linux-2.6-xen Shaun Reitan
@ 2011-07-13 20:52     ` Huang2, Wei
  0 siblings, 0 replies; 5+ messages in thread
From: Huang2, Wei @ 2011-07-13 20:52 UTC (permalink / raw)
  To: Shaun Reitan, xen-devel@lists.xensource.com

It was reported before and seemed to be related to your gcc.

http://xen.1045712.n5.nabble.com/Compile-pvops-kernel-xen-stable-2-6-32-x-error-td3239070.html

-Wei

-----Original Message-----
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Shaun Reitan
Sent: Wednesday, July 13, 2011 3:32 PM
To: xen-devel@lists.xensource.com
Subject: [Xen-devel] Re: linux-2.6-xen

No, I prefer to role my own. I will take a look at his kernel configs 
but still would like to find out what might be going on.

~ShaunR


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-2.6-xen
  2011-07-13 18:59 linux-2.6-xen Shaun Reitan
  2011-07-13 19:15 ` linux-2.6-xen Pasi Kärkkäinen
@ 2011-07-13 23:28 ` Jean Guyader
  1 sibling, 0 replies; 5+ messages in thread
From: Jean Guyader @ 2011-07-13 23:28 UTC (permalink / raw)
  To: Shaun Reitan; +Cc: xen-devel

On 13 July 2011 19:59, Shaun Reitan <mailinglists@unix-scripts.com> wrote:
> I'm using Jeremy's kernel branch and attempting to compile a kernel on
> CentOS6 x86_64.  I keep running into the following error
>
>  CC      arch/x86/xen/mmu.o
> arch/x86/xen/mmu.c:163: error: __pcpu_scope_xen_cr3 causes a section type
> conflict
> arch/x86/xen/mmu.c:164: error: __pcpu_scope_xen_current_cr3 causes a section
> type conflict
> arch/x86/xen/mmu.c:163: error: __pcpu_unique_xen_cr3 causes a section type
> conflict
> arch/x86/xen/mmu.c:164: error: __pcpu_unique_xen_current_cr3 causes a
> section type conflict
> make[2]: *** [arch/x86/xen/mmu.o] Error 1
> make[1]: *** [arch/x86/xen] Error 2
> make: *** [arch/x86] Error 2
>
>
> I'm using the kernel config from centos6's default kernel but then modifying
> the config to enable the dom0 features.
>
> Kernel config from centos6 is config-2.6.32-71.29.1.el6.x86_64, reason i'm
> using it is because it's from 2.6.32.x..
>
> Anybody know what might be going on here?
>

Hi,

I think I saw the same failure not so long ago.
You should try to remove CONFIG_DEBUG_FORCE_WEAK_PER_CPU from your
kernel config.

Jean

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-13 23:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-13 18:59 linux-2.6-xen Shaun Reitan
2011-07-13 19:15 ` linux-2.6-xen Pasi Kärkkäinen
2011-07-13 20:31   ` linux-2.6-xen Shaun Reitan
2011-07-13 20:52     ` linux-2.6-xen Huang2, Wei
2011-07-13 23:28 ` linux-2.6-xen Jean Guyader

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.