OpenVZ Forum


Home » Mailing lists » Users » Debian etch + 2.6.18 + openvz
Debian etch + 2.6.18 + openvz [message #13677] Fri, 01 June 2007 18:32 Go to next message
Rafael Isturiz is currently offline  Rafael Isturiz
Messages: 5
Registered: June 2007
Junior Member
Hi,

Actually i'm having problems when i try to compile the kernel with
the las openvz stable patch... The message is:

[...]
CC kernel/ub/io_acct.o
kernel/ub/io_acct.c:461: error: unknown field 'fops' specified in
initializer
kernel/ub/io_acct.c:461: warning: missing braces around initializer
kernel/ub/io_acct.c:461: warning: (near initialization for
'bc_ioacct_debug_entry.u')
kernel/ub/io_acct.c:461: warning: initialization from incompatible
pointer type
make[3]: *** [kernel/ub/io_acct.o] Error 1
make[2]: *** [kernel/ub] Error 2
make[1]: *** [kernel] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2

Any help to fix this issue?

Thanks.

--
a.k.a. pelox (Debian Powered) | JID:risturiz@gusl.org.ve
Barquisimeto [VE] | LinuxUser [238188]
http://pelox.gusl.org.ve
Re: Debian etch + 2.6.18 + openvz [message #13686 is a reply to message #13677] Sat, 02 June 2007 08:51 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Looks like you are using 028stab033. Was the patch applied correctly and
fully?

Rafael Isturiz wrote:
> Hi,
>
> Actually i'm having problems when i try to compile the kernel with
> the las openvz stable patch... The message is:
>
> [...]
> CC kernel/ub/io_acct.o
> kernel/ub/io_acct.c:461: error: unknown field 'fops' specified in
> initializer
> kernel/ub/io_acct.c:461: warning: missing braces around initializer
> kernel/ub/io_acct.c:461: warning: (near initialization for
> 'bc_ioacct_debug_entry.u')
> kernel/ub/io_acct.c:461: warning: initialization from incompatible
> pointer type
> make[3]: *** [kernel/ub/io_acct.o] Error 1
> make[2]: *** [kernel/ub] Error 2
> make[1]: *** [kernel] Error 2
> make[1]: se sale del directorio `/usr/src/linux-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
>
> Any help to fix this issue?
>
> Thanks.
>
Re: Debian etch + 2.6.18 + openvz [message #13689 is a reply to message #13686] Sat, 02 June 2007 17:23 Go to previous messageGo to next message
Rafael Isturiz is currently offline  Rafael Isturiz
Messages: 5
Registered: June 2007
Junior Member
Kir Kolyshkin wrote:
> Looks like you are using 028stab033. Was the patch applied correctly and
> fully?
>

Yes, i try the patch that come in debian etch first and don't
work.. Then i try the last patch stable and have this issue.

Thanks.

--
a.k.a. pelox (Debian Powered) | JID:risturiz@gusl.org.ve
Barquisimeto [VE] | LinuxUser [238188]
http://pelox.gusl.org.ve
Re: Debian etch + 2.6.18 + openvz [message #13709 is a reply to message #13689] Mon, 04 June 2007 08:10 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
On Sat, 2007-06-02 at 13:23 -0400, Rafael Isturiz wrote:
> Kir Kolyshkin wrote:
> > Looks like you are using 028stab033. Was the patch applied correctly and
> > fully?
> >
>
> Yes, i try the patch that come in debian etch first and don't
> work.. Then i try the last patch stable and have this issue.
>
> Thanks.
>

But what kernel sources did you use? Vanilla or Debian one? Can you
please check carefully, were there any rejects/fuzzes while applying the
patch?

HTH,
Vasily.
Re: Debian etch + 2.6.18 + openvz [message #13714 is a reply to message #13677] Mon, 04 June 2007 08:34 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

try setting CONFIG_UBC_DEBUG_IO to n in your .config file
or applying the attached patch.

Thanks,
Kirill

Rafael Isturiz wrote:
> Hi,
>
> Actually i'm having problems when i try to compile the kernel with
> the las openvz stable patch... The message is:
>
> [...]
> CC kernel/ub/io_acct.o
> kernel/ub/io_acct.c:461: error: unknown field 'fops' specified in
> initializer
> kernel/ub/io_acct.c:461: warning: missing braces around initializer
> kernel/ub/io_acct.c:461: warning: (near initialization for
> 'bc_ioacct_debug_entry.u')
> kernel/ub/io_acct.c:461: warning: initialization from incompatible
> pointer type
> make[3]: *** [kernel/ub/io_acct.o] Error 1
> make[2]: *** [kernel/ub] Error 2
> make[1]: *** [kernel] Error 2
> make[1]: se sale del directorio `/usr/src/linux-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
>
> Any help to fix this issue?
>
> Thanks.
>


--- ./kernel/ub/io_acct.c.ve2380 2007-05-24 11:48:03.000000000 +0400
+++ ./kernel/ub/io_acct.c 2007-06-04 12:33:15.000000000 +0400
@@ -457,8 +457,8 @@ static struct file_operations bc_io_debu
};

static struct bc_proc_entry bc_ioacct_debug_entry = {
- .name = "ioacct_debug",
- .fops = &bc_io_debug_ops,
+ .name = "ioacct_debug",
+ .u.fops = &bc_io_debug_ops,
};
#endif
Re: Debian etch + 2.6.18 + openvz [message #13742 is a reply to message #13714] Mon, 04 June 2007 14:47 Go to previous messageGo to next message
Rafael Isturiz is currently offline  Rafael Isturiz
Messages: 5
Registered: June 2007
Junior Member
Kirill Korotaev wrote:
> try setting CONFIG_UBC_DEBUG_IO to n in your .config file
> or applying the attached patch.
>
> Thanks,
> Kirill
>

Well, this fix that problem and now i have another:

LD [M] lib/zlib_deflate/zlib_deflate.o
Building modules, stage 2.
MODPOST
WARNING: "ub_sock_getwres_other" [net/unix/unix.ko] undefined!
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: se sale del directorio `/usr/src/linux-2.6.18'
make: *** [debian/stamp-build-kernel] Error 2

Maybe i should try the 2.6.20? Or continue with this?

Thanks.

--
a.k.a. pelox (Debian Powered) | JID:risturiz@gusl.org.ve
Barquisimeto [VE] | LinuxUser [238188]
http://pelox.gusl.org.ve
Re: Debian etch + 2.6.18 + openvz [message #13744 is a reply to message #13742] Mon, 04 June 2007 15:07 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Hmmm... you are the first user I see compiling with CONFIG_UNIX=m :)

So 2 fixes:
- set CONFIG_UNIX=y
- simple patch attached :)

Thanks,
Kirill


Rafael Isturiz wrote:
> Kirill Korotaev wrote:
>
>>try setting CONFIG_UBC_DEBUG_IO to n in your .config file
>>or applying the attached patch.
>>
>>Thanks,
>>Kirill
>>
>
>
> Well, this fix that problem and now i have another:
>
> LD [M] lib/zlib_deflate/zlib_deflate.o
> Building modules, stage 2.
> MODPOST
> WARNING: "ub_sock_getwres_other" [net/unix/unix.ko] undefined!
> make[2]: *** [__modpost] Error 1
> make[1]: *** [modules] Error 2
> make[1]: se sale del directorio `/usr/src/linux-2.6.18'
> make: *** [debian/stamp-build-kernel] Error 2
>
> Maybe i should try the 2.6.20? Or continue with this?
>
> Thanks.
>


--- ./kernel/ub/ub_net.c.ve2380 2007-06-04 19:05:47.000000000 +0400
+++ ./kernel/ub/ub_net.c 2007-06-04 19:05:56.000000000 +0400
@@ -998,6 +998,7 @@ int ub_sock_getwres_other(struct sock *s

return err;
}
+EXPORT_SYMBOL(ub_sock_getwres_other);

void ub_sock_retwres_other(struct sock *sk,
unsigned long size, unsigned long ressize)
Re: Debian etch + 2.6.18 + openvz [message #13768 is a reply to message #13744] Mon, 04 June 2007 23:56 Go to previous messageGo to next message
Rafael Isturiz is currently offline  Rafael Isturiz
Messages: 5
Registered: June 2007
Junior Member
Kirill Korotaev wrote:
> Hmmm... you are the first user I see compiling with CONFIG_UNIX=m :)
>
> So 2 fixes:
> - set CONFIG_UNIX=y
> - simple patch attached :)
>
> Thanks,
> Kirill
>

Thanks, that works ... The openvz don't initialize at the boot but
i think i need to edit the config...

Thanks again.

--
a.k.a. pelox (Debian Powered) | JID:risturiz@gusl.org.ve
Barquisimeto [VE] | LinuxUser [238188]
http://pelox.gusl.org.ve
Re: Debian etch + 2.6.18 + openvz [message #13779 is a reply to message #13768] Tue, 05 June 2007 07:33 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Rafael Isturiz wrote:
> Kirill Korotaev wrote:
>
>>Hmmm... you are the first user I see compiling with CONFIG_UNIX=m :)
>>
>>So 2 fixes:
>> - set CONFIG_UNIX=y
>> - simple patch attached :)
>>
>>Thanks,
>>Kirill
>>
>
>
> Thanks, that works ... The openvz don't initialize at the boot but
> i think i need to edit the config...

you can check this page for OpenVZ related options:
https://wiki.openvz.org/Kernel_configuration

Feel free to ask questions and thanks for your reports!

Kirill
Previous Topic: MDNS service discovery with VETH interface
Next Topic: Live CD fails in live migration.
Goto Forum:
  


Current Time: Thu Jun 01 08:36:41 GMT 2023

Total time taken to generate the page: 0.01522 seconds