Thanks for the new 2.6.24 kernel I'm going to try it out and see how it works. Maybe others can join this thread and report on their experiences.
Binary RPM works fine for me. However I encountered the following problems while compiling OpenVZ 2.6.24 kernel from sources: 1) config that is provided at wiki.openvz.org is definitely not appropriate for sources - Kconfig system still asks a lot of questions. 2) CONFIG_SIM_FS is missing in Kconfig file, so it's impossible to compile simfs without editing Kconfig manually. 3) Compilation fails: /home/vass/linux-2.6.24-openvz/include/linux/freezer.h:72: undefined reference to `refrigerator' /home/vass/linux-2.6.24-openvz/include/linux/freezer.h:72: undefined reference to `refrigerator' kernel/built-in.o: In function `try_to_freeze': /home/vass/linux-2.6.24-openvz/include/linux/freezer.h:72: undefined reference to `refrigerator' /home/vass/linux-2.6.24-openvz/include/linux/freezer.h:72: undefined reference to `refrigerator' /home/vass/linux-2.6.24-openvz/include/linux/freezer.h:72: undefined reference to `refrigerator' kernel/built-in.o:/home/vass/linux-2.6.24-openvz/include/lin ux/freezer.h:72: more undefined references to `refrigerator' follow make: *** [.tmp_vmlinux1] Error 1 Switching CONFIG_VZ_CHECKPOINT off helps to continue compilation. 4) OpenVZ related warnings while compilation: kernel/bc/proc.c:102: warning: ‘bc_debug_entry’ defined but not used kernel/cpt/cpt_net.c:373: warning: ‘dumpfn’ defined but not used
configs from http://wiki.openvz.org/Download_kernel_2.6.24 were used. In fact kernel-2.6.24-ovz002.2.src.rpm contains them.
I have compiled 2.6.24 + the OpenVZ patches for a non-production server running Debian Etch and haven't had any major issues as of yet. I wasn't able to access my virtual environments via network from outside of the host node until I added this to my /etc/sysctl.conf: net.ipv4.conf.all.forwarding=1 It seems that setting net.ipv4.conf.default.forwarding=1 is not enough for this kernel version, although this worked for my previous 2.6.18 based kernel.
For what it's worth I'm running it on 2 of my servers and it's working for me. I'm waiting a little while just to see if a new version gets posted to fix new problems.
This very well can be kernel bug. Let me check.
Hi, trying to compile it on a x86_64 Gentoo: MODPOST vmlinux.o GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD vmlinux arch/x86/kernel/built-in.o: In function `do_notify_resume': (.text+0x185f): undefined reference to `refrigerator' kernel/built-in.o: In function `do_fork_pid': (.text+0x8cf3): undefined reference to `refrigerator' kernel/built-in.o: In function `finish_stop': signal.c:(.text+0x1644a): undefined reference to `refrigerator' kernel/built-in.o: In function `ptrace_stop': signal.c:(.text+0x165d0): undefined reference to `refrigerator' kernel/built-in.o: In function `worker_thread': workqueue.c:(.text+0x1c768): undefined reference to `refrigerator' kernel/built-in.o:statd.c:(.text+0x2ccb6): more undefined references to `refrigerator' follow make: *** [vmlinux] Error 1
Hi - i tried compiling for my 64Bit Intel box - there's a compile error on DRBD - In file included from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_int.h:751:1: warning: "BIT" redefined In file included from drivers/block/drbd/drbd_bitmap.c:27: include/linux/bitops.h:6:1: warning: this is the location of the previous definition In file included from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_int.h:777: warning: ‘request_queue_t’ is deprecated In file included from drivers/block/drbd/drbd_int.h:1159, from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_compat_wrappers.h: In function ‘drbd_generic_make_request’: drivers/block/drbd/drbd_compat_wrappers.h:130: error: too many arguments to function ‘bio_endio’ drivers/block/drbd/drbd_compat_wrappers.h:135: error: too many arguments to function ‘bio_endio’ drivers/block/drbd/drbd_compat_wrappers.h: In function ‘drbd_plug_device’: drivers/block/drbd/drbd_compat_wrappers.h:142: warning: ‘request_queue_t’ is deprecated In file included from drivers/block/drbd/drbd_bitmap.c:34: drivers/block/drbd/drbd_int.h: At top level: drivers/block/drbd/drbd_int.h:1272: warning: ‘request_queue_t’ is deprecated drivers/block/drbd/drbd_int.h:1274: warning: ‘request_queue_t’ is deprecated drivers/block/drbd/drbd_int.h:1903: warning: ‘request_queue_t’ is deprecated drivers/block/drbd/drbd_bitmap.c: In function ‘drbd_bm_page_io_async’: drivers/block/drbd/drbd_bitmap.c:656: warning: assignment from incompatible pointer type drivers/block/drbd/drbd_bitmap.c:660: error: too many arguments to function ‘bio_endio’ make[3]: *** [drivers/block/drbd/drbd_bitmap.o] Error 1 make[2]: *** [drivers/block/drbd] Error 2 make[1]: *** [drivers/block] Error 2 make: *** [drivers] Error 2
It is. Here is my config: http://www.pastebin.cz/show/4092
Fix was pushed out "CPT: select PM as well" http://git.openvz.org/?p=linux-2.6.24-openvz;a=commitdiff;h=15938557b7ee1cebc893c676e0574a990fb79947
after applying got this (bzImage is ok): ERROR: "sys_open" [kernel/cpt/vzrst.ko] undefined! ERROR: "sys_open" [kernel/cpt/vzcpt.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 make: *** Waiting for unfinished jobs....
Are you using kernel from git? Fix for this already there, too: http://10.30.101.105/cgi-bin/gitweb.cgi?p=kernel-2.6.24 ;a=commitdiff;h=29ec264a595bb385ce4818a31a01987b3b31fd9c;hp= 73980b5b87e7619ba49364d2618b25d4f4bd8450
No, I've just patched openvz kernel sources from gentoo portage. Could you please fix the link, it has internal IP. Thanks. EDIT: nevermind, cloning from git. EDIT2: compiled, will try tomorrow, thanks.
Hi, let's share experience with OpenVZ 2.6.24: I've taken the kernel-source from git http://git.openvz.org/?p=linux-2.6.24-openvz;a=summary and kernel config from http://download.openvz.org/kernel/branches/2.6.24/2.6.24-ovz 002.2/configs/kernel-2.6.24-i686.config.ovz and built that kernel on a Debian Stable 4.0 aka etch: * CT/VE checkpointing and restore works * add/del IPv4 IP works, IPv6 cann't be used in CT/VE at the moment * some kernel errors/failing occurs, will be described at bugszilla. For testing only, a debian gpg-signed git(ty) repository can be found at: # http://debian.systs.org/debian gitty openvz
Please post output from this script in VE0 after fresh boot on .18 and .24 kernels: for i in $(ls /proc/sys/net/ipv4/conf/*/forwarding); do echo $i cat $i done and in VE too, just in case. Does Etch runs sysctl init script before starting netdevices in both cases? Regardless, relying on "default" is not wise, because you're on mercy of init scripts ordering. I'd suggest net.ipv4.conf.all.forwarding=1 or net.ipv4.ip_forward=1.
If it was on me, I have only .24: VE localhost / # for i in $(ls /proc/sys/net/ipv4/conf/*/forwarding); do > echo $i > cat $i > done /proc/sys/net/ipv4/conf/all/forwarding 0 /proc/sys/net/ipv4/conf/default/forwarding 0 /proc/sys/net/ipv4/conf/lo/forwarding 0 /proc/sys/net/ipv4/conf/sit0/forwarding 0 /proc/sys/net/ipv4/conf/venet0/forwarding 0 HN /proc/sys/net/ipv4/conf/all/forwarding 1 /proc/sys/net/ipv4/conf/default/forwarding 1 /proc/sys/net/ipv4/conf/eth0/forwarding 1 /proc/sys/net/ipv4/conf/eth1/forwarding 1 /proc/sys/net/ipv4/conf/eth2/forwarding 1 /proc/sys/net/ipv4/conf/eth3/forwarding 1 /proc/sys/net/ipv4/conf/eth4/forwarding 1 /proc/sys/net/ipv4/conf/eth5/forwarding 1 /proc/sys/net/ipv4/conf/ifb0/forwarding 1 /proc/sys/net/ipv4/conf/ifb1/forwarding 1 /proc/sys/net/ipv4/conf/lo/forwarding 1 /proc/sys/net/ipv4/conf/sit0/forwarding 1 /proc/sys/net/ipv4/conf/tap0/forwarding 1 /proc/sys/net/ipv4/conf/venet0/forwarding 1 I've managed to boot openvz .24 kernel (current git), no kernel panic at this time, but I have a problem. Neither server, nor people behind the nat cannot connect to remote ftp servers. Also I had to copy /dev/* to VE and set static devices in config. VE (gentoo template) udev doesn't create anything. dmesg: nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>nf_conntrack: expectation table full<4>printk: 126502 messages suppressed. nf_conntrack: expectation table full
File separate bugs at bugzilla describing setup and we tackle them one by one.
I downloaded and installed the kernel on a fresh install of Fedora 8. (running i686 on Pentium 4 with 512 MB ram) Everything seemed to work until I wanted to look at the DRBD module. There is none. Are we not supporting DRBD for this kernel?
The compilation of this module failed when I tried to do it. EDIT: tried now and ok. EDIT2: it's not ok, it was disabled in kernel.
Below is a patch which ups the DRBD version included in the 2.6.24-ovz002.2 patch to 8.0.11, which compiles for me. Apply this patch over 2.6.24-ovz002.2. http://202.8.254.24/patch-ovz002.2-drbd-upgradeto-8.0.11.bz2 According to drbd changelog: 8.0.9 (api:86/proto:86) ... 38 * Made it to compile on Linux-2.6.24. Which brings me to the question.. Are there any openvz mods for drbd? I'm not sure, someone clue me in..
Current git version doesn't contain drbd at all. So patch is useless for it.
Thanks for the info! I think that I will have to back down to kernel-2.6.18 until I can give this more time. We need a server distro that incorporates the patches and modules to support OpenVZ and DRBD! When I start working 42 hour days....