[solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2
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?
Re: Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2
yes, we've already faced this issue, fix is in progress. -- Konstantin
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
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
Please, send me also patch diff. I have the same issue.
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.
Great, Chris, thank you for the notification! -- Konstantin
Re: [solved] Compile problem for xen enabled ovzkernel-2.6.18-92.1.1.el5.028stab057.2
Hej, I also need the patch. I've got the same problem on my machine... Rgds, Tobi
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.
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*
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!
Hello every body .. I need the same Patch As i have the same problem asap best regards, Alzaabi
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
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
This is already known issue: http://bugzilla.openvz.org/show_bug.cgi?id=1055 Just select e1000e as well. -- Konstantin
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.
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. Thank you. -- Konstantin
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) 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.