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-devel] Re: [Xen-users] xen/stable-2.6.32.x compilation failure

To: Pasi Kärkkäinen <pasik@xxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-users] xen/stable-2.6.32.x compilation failure in do_hvm_suspend()
From: Pierre POMES <ppomes@xxxxxxxxxxxx>
Date: Fri, 14 May 2010 15:43:01 -0400
Cc: Xen-Devel List <xen-devel@xxxxxxxxxxxxxxxxxxx>, chris <tknchris@xxxxxxxxx>, Xen-Users List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 14 May 2010 12:46:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100514191529.GE17817@xxxxxxxxxxx>
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>
Organization: Interface Technologies
References: <20100513181058.GF17817@xxxxxxxxxxx> <alpine.LFD.2.00.1005131926180.13256@xxxxxxxxxxxxxxx> <AANLkTim9aq_V18zYWPpUNCirK3Li3maHD0USoD1sx1O0@xxxxxxxxxxxxxx> <alpine.LFD.2.00.1005131943420.13256@xxxxxxxxxxxxxxx> <AANLkTinO1XS4aiSOPtuIwy3T3V7aILNvBvJiOSE5VCN-@xxxxxxxxxxxxxx> <AANLkTim_KYnvV2EzAEsgi6xodtoDXrvftZ0ci8G5YnR6@xxxxxxxxxxxxxx> <4BED8925.8010405@xxxxxxxxxxxxxxxxxx> <AANLkTinK0dOHpcw9q91avrfn5kQFU42StrX2_OYsLNBS@xxxxxxxxxxxxxx> <20100514185129.GC17817@xxxxxxxxxxx> <4BED9C1F.9060207@xxxxxxxxxxxx> <20100514191529.GE17817@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4
Le 2010-05-14 15:15, Pasi Kärkkäinen a écrit :
So it seems I have more stuff as modules.. while Pierre has them statically 
built-in.
I guess that's causing the problem? Or did I overlook something?

Yes I did not take a chance and I compiled all statically to have no initrd problem. You also have XEN_DEBUG_FS, but it should not hurt.

If I remember well, the error is:

drivers/built-in.o: In function `do_hvm_suspend':
/mnt/tmp/linux-2.6-xen/drivers/xen/manage.c:124: undefined reference  to 
`xenbus_suspend'
/mnt/tmp/linux-2.6-xen/drivers/xen/manage.c:138: undefined reference  to 
`xenbus_resume'

These 2 functions are in drivers/xen/xenbus/xenbus_probe_frontend.c, and you have :

CONFIG_XEN_XENBUS_FRONTEND=m

On my side, I have:

CONFIG_XEN_XENBUS_FRONTEND=y

I think this could explain. There is a maybe a dependency problem in CONFIG_*:

- the code here (where the compilation fails) is for CONFIG_PM_SLEEP: have a look at the code in drivers/xen/manage.c, the section is in a "#ifdef CONFIG_PM_SLEEP" section.

- So if CONFIG_PM_SLEEP is set, CONFIG_XEN_XENBUS_FRONTEND should be compiled statically, and should not be set as a module in config kernel (make menuconfig bug ?)

Am I wrong ? Maybe ! I am not a kernel hacker !

Pierre


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

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