Trouble compiling ovz028stab039.1-combined [message #16113] |
Wed, 22 August 2007 17:06  |
ml-openvz-eyck
Messages: 18 Registered: August 2007
|
Junior Member |
|
|
Hello,
I'm getting this:
....
LD [M] lib/zlib_deflate/zlib_deflate.o
Building modules, stage 2.
MODPOST
WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between 'acpi_processor_power_init' (at offset 0xfd8) and 'acpi_safe_halt'
WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x1f1d) and 'he_service_tbrq'
WARNING: "cfq_pool" [block/cfq-iosched.ko] undefined!
WARNING: "ub0" [block/cfq-iosched.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/eyck/40f-ovz/work/openvz-test'
make: *** [debian/stamp-build-kernel] Error 2
when I try to build openvz-enabled kernel. I'm using 2.6.18 /pristine/
( it looks like ovz028stab039.1 already includes 2.6.18->2.6.18.8 patches,
and one needs to dig out older 2.6.18 to make this patch apply).
is this normal?
--
Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9
Total Existance Failure
|
|
|
|
Re: Trouble compiling ovz028stab039.1-combined [message #16117 is a reply to message #16113] |
Thu, 23 August 2007 07:57   |
dev
Messages: 1693 Registered: September 2005 Location: Moscow
|
Senior Member |

|
|
Eyck,
ouch, this is due to CONFIG_IOSCHED_CFQ=m
usually all the schedulers are 'y'.
plz set it temporarily to 'y' or use the patch attached. Created bug #669.
Thanks,
Kirill
eyck wrote:
>>>WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between 'acpi_processor_power_init' (at offset 0xfd8) and 'acpi_safe_halt'
>>>WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x1f1d) and 'he_service_tbrq'
>>>WARNING: "cfq_pool" [block/cfq-iosched.ko] undefined!
>>>WARNING: "ub0" [block/cfq-iosched.ko] undefined!
>>>make[2]: *** [__modpost] Error 1
>
>
>>make sure that you have the following options enabled in your .config file:
>>CONFIG_USER_RESOURCE=y
>>CONFIG_USER_RSS_ACCOUNTING=y
>>CONFIG_UBC_IO_ACCT=y
>>CONFIG_USER_SWAP_ACCOUNTING=y
>>CONFIG_USER_RESOURCE_PROC=y
>
> all those are enabled
>
>
>>compilation fail - not normal, you can fill in the bug with .config file you used.
>
> OK, .config attached
>
--- ./block/elevator.c.ve6543 2007-08-10 17:40:04.000000000 +0400
+++ ./block/elevator.c 2007-08-23 11:53:57.000000000 +0400
@@ -40,6 +40,7 @@ static DEFINE_SPINLOCK(elv_list_lock);
static LIST_HEAD(elv_list);
kmem_cache_t *cfq_pool;
+EXPORT_SYMBOL_GPL(cfq_pool);
/*
* Query io scheduler to see if the current process issuing bio may be
--- ./kernel/ub/beancounter.c.ve6543 2007-08-10 17:40:00.000000000 +0400
+++ ./kernel/ub/beancounter.c 2007-08-23 11:53:57.000000000 +0400
@@ -40,6 +40,7 @@
static kmem_cache_t *ub_cachep;
static struct user_beancounter default_beancounter;
struct user_beancounter ub0;
+EXPORT_SYMBOL_GPL(ub0);
const char *ub_rnames[] = {
"kmemsize", /* 0 */
|
|
|
|
|
Re: Trouble compiling ovz028stab039.1-combined [message #16162 is a reply to message #16114] |
Wed, 22 August 2007 19:57  |
eyck
Messages: 1 Registered: August 2007
|
Junior Member |
|
|
> > WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between 'acpi_processor_power_init' (at offset 0xfd8) and 'acpi_safe_halt'
> > WARNING: drivers/atm/he.o - Section mismatch: reference to .init.text: from .text between 'he_start' (at offset 0x1f1d) and 'he_service_tbrq'
> > WARNING: "cfq_pool" [block/cfq-iosched.ko] undefined!
> > WARNING: "ub0" [block/cfq-iosched.ko] undefined!
> > make[2]: *** [__modpost] Error 1
> make sure that you have the following options enabled in your .config file:
> CONFIG_USER_RESOURCE=y
> CONFIG_USER_RSS_ACCOUNTING=y
> CONFIG_UBC_IO_ACCT=y
> CONFIG_USER_SWAP_ACCOUNTING=y
> CONFIG_USER_RESOURCE_PROC=y
all those are enabled
> compilation fail - not normal, you can fill in the bug with .config file you used.
OK, .config attached
--
Key fingerprint = 40D0 9FFB 9939 7320 8294 05E0 BCC7 02C4 75CC 50D9
Total Existance Failure
|
|
|