* Re: config dependency in stable-2.6.32.x
@ 2010-05-13 18:07 eXeC001er
2010-05-13 18:33 ` Pasi Kärkkäinen
0 siblings, 1 reply; 4+ messages in thread
From: eXeC001er @ 2010-05-13 18:07 UTC (permalink / raw)
To: Xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]
Hello.
I tried to build stable-2.6.32.x (CONFIG_XEN_PLATFORM_PCI=y), but ...
:>$ git branch
xen/master
* xen/stable-2.6.32.x
drivers/built-in.o: In function `do_hvm_suspend':
/opt/src/xen/linux-2.6-xen/drivers/xen/manage.c:124: undefined reference to
`xenbus_suspend'
/opt/src/xen/linux-2.6-xen/drivers/xen/manage.c:138: undefined reference to
`xenbus_resume'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2
[-- Attachment #1.2: Type: text/html, Size: 701 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Re: config dependency in stable-2.6.32.x
2010-05-13 18:07 config dependency in stable-2.6.32.x eXeC001er
@ 2010-05-13 18:33 ` Pasi Kärkkäinen
0 siblings, 0 replies; 4+ messages in thread
From: Pasi Kärkkäinen @ 2010-05-13 18:33 UTC (permalink / raw)
To: eXeC001er; +Cc: Xen-devel
On Thu, May 13, 2010 at 10:07:12PM +0400, eXeC001er wrote:
> Hello.
> I tried to build stable-2.6.32.x (CONFIG_XEN_PLATFORM_PCI=y), but ...
> :>$ git branch
> Â Â xen/master
> * xen/stable-2.6.32.x
> drivers/built-in.o: In function `do_hvm_suspend':
> /opt/src/xen/linux-2.6-xen/drivers/xen/manage.c:124: undefined reference
> to `xenbus_suspend'
> /opt/src/xen/linux-2.6-xen/drivers/xen/manage.c:138: undefined reference
> to `xenbus_resume'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make: *** [sub-make] Error 2
Others have reported this problem aswell.. so it's a known issue atm.
-- Pasi
^ permalink raw reply [flat|nested] 4+ messages in thread
* config dependency in stable-2.6.32.x
@ 2010-05-06 20:45 M A Young
2010-05-06 22:02 ` M A Young
0 siblings, 1 reply; 4+ messages in thread
From: M A Young @ 2010-05-06 20:45 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: xen-devel
I was building a kernel and got the error
drivers/built-in.o: In function `do_hvm_suspend':
/builddir/build/BUILD/kernel-2.6.32/linux-2.6.32.x86_64/drivers/xen/manage.c:124:
undefined reference to `xenbus_suspend'
/builddir/build/BUILD/kernel-2.6.32/linux-2.6.32.x86_64/drivers/xen/manage.c:138:
undefined reference to `xenbus_resume'
As manage.c is built if CONFIG_XEN is selected and the do_hvm_suspend code
segment is active if CONFIG_PM_SLEEP (which is on by default) is selected,
this means that the current kernel won't build in this case unless
CONFIG_XEN_XENBUS_FRONTEND=y as well to supply the xenbus references.
Michael Young
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: config dependency in stable-2.6.32.x
2010-05-06 20:45 M A Young
@ 2010-05-06 22:02 ` M A Young
0 siblings, 0 replies; 4+ messages in thread
From: M A Young @ 2010-05-06 22:02 UTC (permalink / raw)
To: Jeremy Fitzhardinge; +Cc: xen-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1712 bytes --]
On Thu, 6 May 2010, M A Young wrote:
> I was building a kernel and got the error
> drivers/built-in.o: In function `do_hvm_suspend':
> /builddir/build/BUILD/kernel-2.6.32/linux-2.6.32.x86_64/drivers/xen/manage.c:124:
> undefined reference to `xenbus_suspend'
> /builddir/build/BUILD/kernel-2.6.32/linux-2.6.32.x86_64/drivers/xen/manage.c:138:
> undefined reference to `xenbus_resume'
>
> As manage.c is built if CONFIG_XEN is selected and the do_hvm_suspend code
> segment is active if CONFIG_PM_SLEEP (which is on by default) is selected,
> this means that the current kernel won't build in this case unless
> CONFIG_XEN_XENBUS_FRONTEND=y as well to supply the xenbus references.
The attached patch is a quick fix for the problem as
CONFIG_XEN_XENBUS_FRONTEND can't be set directly. Having done this I get
the error below so it looks like there are some problems with the
XEN_PLATFORM_PCI code (I was building it with CONFIG_XEN_PLATFORM_PCI=m ).
Michael Young
drivers/xen/platform-pci.c:50: error: redefinition of
'alloc_xen_mmio'
include/xen/platform_pci.h:38: note: previous definition of
'alloc_xen_mmio' was here
drivers/xen/platform-pci.c:94: error: redefinition of
'platform_pci_disable_irq'
include/xen/platform_pci.h:43: note: previous definition of
'platform_pci_disable_irq' was here
drivers/xen/platform-pci.c:100: error: redefinition of
'platform_pci_enable_irq'
include/xen/platform_pci.h:44: note: previous definition of
'platform_pci_enable_irq' was here
drivers/xen/platform-pci.c:106: error: redefinition of
'platform_pci_resume'
include/xen/platform_pci.h:42: note: previous definition of
'platform_pci_resume' was here
make[2]: *** [drivers/xen/platform-pci.o] Error 1
[-- Attachment #2: Type: TEXT/PLAIN, Size: 391 bytes --]
--- linux-2.6.32.x86_64/arch/x86/xen/Kconfig.orig 2010-05-06 21:14:55.000000000 +0100
+++ linux-2.6.32.x86_64/arch/x86/xen/Kconfig 2010-05-06 22:11:32.000000000 +0100
@@ -6,6 +6,7 @@
bool "Xen guest support"
select PARAVIRT
select PARAVIRT_CLOCK
+ select XEN_XENBUS_FRONTEND
depends on X86_64 || (X86_32 && X86_PAE && !X86_VISWS)
depends on X86_CMPXCHG && X86_TSC
help
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-13 18:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 18:07 config dependency in stable-2.6.32.x eXeC001er
2010-05-13 18:33 ` Pasi Kärkkäinen
-- strict thread matches above, loose matches on Subject: below --
2010-05-06 20:45 M A Young
2010-05-06 22:02 ` M A Young
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).