OpenVZ Forum


Home » General » Support » [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2
[solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32417] Wed, 06 August 2008 21:24 Go to next message
chris4321 is currently offline  chris4321
Messages: 2
Registered: August 2008
Junior Member
I just tried to compile a vanilla 2.6.18 kernel patched with http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab057.2/patches/patch-92.1.1.el5.028stab057.2-combined.gz on a 64 bit CentOS-5 system. I enabled xen in the configuration, and when compiling, it dies with this error:

CC      fs/eventpoll.o
fs/eventpoll.c: In function ‘sys_epoll_create’:
fs/eventpoll.c:418: warning: ‘fd’ may be used uninitialized in this function
  CC      fs/compat.o
fs/compat.c: In function ‘sys32_quotactl’:
fs/compat.c:1568: error: storage size of ‘cdq’ isn’t known
fs/compat.c:1569: error: storage size of ‘cdq32’ isn’t known
fs/compat.c:1569: warning: unused variable ‘cdq32’
fs/compat.c:1568: warning: unused variable ‘cdq’
make[1]: *** [fs/compat.o] Error 1
make: *** [fs] Error 2


I've messed with some of the fs options trying to see if I could find one that caused the error, but haven't had much luck. Does anyone else have any ideas how to get around or fix this?

[Updated on: Thu, 14 August 2008 15:15] by Moderator

Report message to a moderator

Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32418 is a reply to message #32417] Wed, 06 August 2008 21:37 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
yes, we've already faced this issue, fix is in progress.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32453 is a reply to message #32418] Fri, 08 August 2008 22:44 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi Chris,

we've fixed the compilation and created a new development kernel with the fix.
Can you please check if it works or not? (sent via PM)

(if anybody else wants to test it - please, ask)

Thank you!

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Fri, 08 August 2008 22:50]

Report message to a moderator

Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32461 is a reply to message #32417] Sat, 09 August 2008 23:10 Go to previous messageGo to next message
seanfulton is currently offline  seanfulton
Messages: 105
Registered: May 2007
Senior Member
I am running the 14 XEN kernel and would like to test the 57.2 XEN kernel if you have one has an RPM.

I don't see it in the download area.

sean
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32467 is a reply to message #32461] Mon, 11 August 2008 07:34 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
answered via PM

If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32538 is a reply to message #32467] Thu, 14 August 2008 14:08 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Please, send me also patch diff. I have the same issue.
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32539 is a reply to message #32453] Thu, 14 August 2008 14:16 Go to previous messageGo to next message
chris4321 is currently offline  chris4321
Messages: 2
Registered: August 2008
Junior Member
I tried it and it is working! Thanks a bunch for the fix.

Sorry I couldn't respond sooner, as I couldn't log into the site for a while. I eventually figured out that my privoxy proxy was being a bit too aggressive with filtering cookies. I'm not even sure how I logged in in the first place!

Thanks again for the fix Konstantin.
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32540 is a reply to message #32539] Thu, 14 August 2008 15:14 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Great, Chris,

thank you for the notification!

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32544 is a reply to message #32417] Fri, 15 August 2008 05:09 Go to previous messageGo to next message
Xandrian is currently offline  Xandrian
Messages: 39
Registered: April 2006
Location: Bayreuth
Member

Hej,

I also need the patch. I've got the same problem on my machine...

Rgds, Tobi
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32597 is a reply to message #32467] Mon, 18 August 2008 19:47 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Sorry for delay. Kernel has compiled successful with patches, but do not test it booting. I can check it later. Thx again.


Update: Booting and so on works ok too.

[Updated on: Tue, 19 August 2008 17:10]

Report message to a moderator

Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #32991 is a reply to message #32544] Mon, 15 September 2008 19:47 Go to previous messageGo to next message
Aldo is currently offline  Aldo
Messages: 7
Registered: April 2007
Junior Member
Xandrian wrote on Fri, 15 August 2008 01:09

Hej,

I also need the patch. I've got the same problem on my machine...

Rgds, Tobi

*push*
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33577 is a reply to message #32597] Thu, 23 October 2008 14:14 Go to previous messageGo to next message
jwhitney is currently offline  jwhitney
Messages: 1
Registered: October 2008
Junior Member
Hi,

I could also use this patch. I couldn't find it on the download page. Can someone point me to the right location?

Thanks!
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33578 is a reply to message #33577] Thu, 23 October 2008 15:09 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
answered via PM.

If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33922 is a reply to message #32417] Wed, 19 November 2008 20:09 Go to previous messageGo to next message
alz3abi is currently offline  alz3abi
Messages: 2
Registered: November 2008
Location: UAE
Junior Member
Hello every body ..

I need the same Patch As i have the same problem Crying or Very Sad
asap

best regards,
Alzaabi
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33931 is a reply to message #33922] Thu, 20 November 2008 06:58 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi,

2.6.18-028stab057.2 is not the latest OVZ kernel available at the moment:
http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab059.3/

So, please, try it and report back if your problem is solved with the new kernel or not.

Thank you.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33935 is a reply to message #33931] Thu, 20 November 2008 12:03 Go to previous messageGo to next message
alz3abi is currently offline  alz3abi
Messages: 2
Registered: November 2008
Location: UAE
Junior Member
finist wrote on Thu, 20 November 2008 01:58

Hi,

2.6.18-028stab057.2 is not the latest OVZ kernel available at the moment:
http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab059.3/

So, please, try it and report back if your problem is solved with the new kernel or not.

Thank you.

--
Konstantin



Thanks, but now I have a new error

drivers/built-in.o: In function `e1000_init_module':
e1000_main.c:(.init.text+0x6b14): undefined reference to `e1000e_driver_request'
make: *** [.tmp_vmlinux1] Error 1
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #33936 is a reply to message #33935] Thu, 20 November 2008 12:13 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
This is already known issue:
http://bugzilla.openvz.org/show_bug.cgi?id=1055

Just select e1000e as well.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #34559 is a reply to message #33931] Sat, 17 January 2009 20:28 Go to previous messageGo to next message
Xahil is currently offline  Xahil
Messages: 7
Registered: December 2007
Junior Member
finist wrote on Thu, 20 November 2008 01:58

Hi,

2.6.18-028stab057.2 is not the latest OVZ kernel available at the moment:
http://download.openvz.org/kernel/branches/rhel5-2.6.18/028s tab059.3/

So, please, try it and report back if your problem is solved with the new kernel or not.



I think i have the same problem but on kernel 2.6.18-028stab056.1 (not rhel, as i need it for debian).
It's latest stable, not rhel, kernel, so i think i need that patch.

Edit:
On openvz config, it compiles without error.

[Updated on: Sat, 17 January 2009 21:37]

Report message to a moderator

Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #34577 is a reply to message #34559] Mon, 19 January 2009 10:57 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Here you are.

Please, note, these patches are for 2.6.18-028stab057.2 kernel!

diff-quota-compat-20080806
diff-xen-flush_tlb_page-2008080
diff-include-cacheflush-20080806

But AFAIK these patches are already in 2.6.18-028stab056.1 and thus you've faced another issue. Please, file a bug for your issue and attach your config file.

EDITED here: surely if those patches are not in 2.6.18-028stab057.2, they are also not included into 2.6.18-028stab056.1, don't know why i decided that. Smile

Thank you.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...

[Updated on: Mon, 19 January 2009 12:16]

Report message to a moderator

icon14.gif  Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2 [message #34580 is a reply to message #34577] Mon, 19 January 2009 12:08 Go to previous message
Xahil is currently offline  Xahil
Messages: 7
Registered: December 2007
Junior Member
Thx.

Those patches aren't applied to 2.6.18-028stab056.1
I applied diff-quota-compat-20080806 and kernel compiled with default config (from vanilla kernel) Razz

I think that either this patch shoud be applied, either if some kernel options are requered, and compiling kernel without them don't make sense, it shoud check it's sanity before compilation.

Previous Topic: Devnodes question
Next Topic: IO Accounting : vfs_reads and vfs_read_chars: unit
Goto Forum:
  


Current Time: Sun Jul 14 21:26:39 GMT 2024

Total time taken to generate the page: 0.02384 seconds