All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre POMES <ppomes@reservit.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: Xen-Devel List <xen-devel@lists.xensource.com>,
	chris <tknchris@gmail.com>,
	Xen-Users List <xen-users@lists.xensource.com>
Subject: Re: [Xen-devel] Re: xen/stable-2.6.32.x compilation	failure in do_hvm_suspend()
Date: Fri, 14 May 2010 15:43:01 -0400	[thread overview]
Message-ID: <4BEDA7C5.5020406@reservit.com> (raw)
In-Reply-To: <20100514191529.GE17817@reaktio.net>

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

  reply	other threads:[~2010-05-14 19:43 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTingpLEP-MzziwzAKBJfNCzIwPiExwJGsVvzy7Bb@mail.gmail.com>
     [not found] ` <AANLkTimVFTsfWR62doUMZOIlMCVBAVJioscvRzUBbIPD@mail.gmail.com>
     [not found]   ` <20100513122939.GB17817@reaktio.net>
     [not found]     ` <AANLkTinCxjsORy7_LUAeZPQoGllg4TcVQeym9cf7rn5S@mail.gmail.com>
     [not found]       ` <20100513141417.GT17817@reaktio.net>
     [not found]         ` <AANLkTilIotxoc6GE22WGlInpcm1BJmj72QSumIPU4oR2@mail.gmail.com>
     [not found]           ` <20100513154728.GV17817@reaktio.net>
     [not found]             ` <AANLkTilQPnVdBEY8jSDWh-Y--vqugPDqGAE-k41IU_rB@mail.gmail.com>
     [not found]               ` <20100513175808.GD17817@reaktio.net>
     [not found]                 ` <AANLkTimKlhHnJ70MSbtniRbj6EirU-0BnT259Smgv_rb@mail.gmail.com>
2010-05-13 18:10                   ` [Xen-users] xen/stable-2.6.32.x compilation failure in do_hvm_suspend() Pasi Kärkkäinen
2010-05-13 18:22                     ` Dan Magenheimer
2010-05-13 18:32                     ` M A Young
2010-05-13 18:37                       ` [Xen-devel] " chris
2010-05-13 18:44                         ` Re: [Xen-users] " M A Young
2010-05-13 18:50                           ` chris
2010-05-14 14:45                             ` chris
     [not found]                               ` <4BED8925.8010405@interface-tech.com>
2010-05-14 17:41                                 ` chris
2010-05-14 18:51                                   ` Pasi Kärkkäinen
2010-05-14 18:53                                     ` Pierre POMES
2010-05-14 19:15                                       ` Pasi Kärkkäinen
2010-05-14 19:43                                         ` Pierre POMES [this message]
2010-05-13 18:28                   ` [Xen-users] RE: Xen4 / Intel DX58SO Mobo / VT-d not working chris
2010-05-14 19:05                     ` chris
2010-05-14 19:11                       ` Pasi Kärkkäinen
2010-05-14 19:18                         ` [Xen-users] " chris
2010-05-14 19:21                           ` Pasi Kärkkäinen
2010-05-14 19:46                             ` [Xen-users] " chris
2010-05-14 20:39                               ` chris
2010-05-14 20:50                                 ` Pasi Kärkkäinen
2010-05-14 21:17                                   ` [Xen-users] " chris
2010-05-16  7:36                                     ` [Xen-devel] " Han, Weidong
2010-05-16 13:00                                       ` chris
2010-05-17 17:05                                         ` chris
2010-05-18  9:31                                           ` Re: [Xen-users] " Weidong Han
2010-05-21 19:41                                             ` chris
2010-05-24  2:54                                               ` [Xen-devel] " Weidong Han
2010-05-14 21:25                               ` Re: [Xen-users] " Sander Eikelenboom
2010-05-14 21:26                                 ` chris
2010-05-14 21:34                                   ` Pasi Kärkkäinen
2010-05-14 21:57                                     ` chris
2010-05-15  6:56                                       ` Sander Eikelenboom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BEDA7C5.5020406@reservit.com \
    --to=ppomes@reservit.com \
    --cc=pasik@iki.fi \
    --cc=tknchris@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    --cc=xen-users@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.