OpenVZ Forum - RDF feed
type: channel
items: New Kernel 2.6.24 out
items: Re: New Kernel 2.6.24 out
items: Re: New Kernel 2.6.24 - DRBD

New Kernel 2.6.24 out
type: item
description: 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.
creator: mperkel
date: 2008-03-02T03:00:11-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: Vasily Tarasov
date: 2008-03-03T05:31:46-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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.
creator: adobriyan
date: 2008-03-03T09:33:01-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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.
creator: swindmill
date: 2008-03-03T15:36:58-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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.
creator: mperkel
date: 2008-03-03T16:10:34-00:00

Re: New Kernel 2.6.24 out
type: item
description: This very well can be kernel bug. Let me check.
creator: adobriyan
date: 2008-03-03T16:16:12-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: aTan
date: 2008-03-03T19:59:16-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: iansison
date: 2008-03-04T05:29:51-00:00

Re: New Kernel 2.6.24 out
type: item
description: Make sure CONFIG_PM_SLEEP is set.
creator: adobriyan
date: 2008-03-04T08:49:50-00:00

Re: New Kernel 2.6.24 out
type: item
description: It is. Here is my config: http://www.pastebin.cz/show/4092
creator: aTan
date: 2008-03-04T09:43:40-00:00

Re: New Kernel 2.6.24 out
type: item
description: Fix was pushed out "CPT: select PM as well" http://git.openvz.org/?p=linux-2.6.24-openvz;a=commitdiff;h=15938557b7ee1cebc893c676e0574a990fb79947
creator: adobriyan
date: 2008-03-04T12:36:01-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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....
creator: aTan
date: 2008-03-04T15:06:52-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: adobriyan
date: 2008-03-04T16:16:51-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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.
creator: aTan
date: 2008-03-04T19:24:15-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: curx
date: 2008-03-04T21:23:58-00:00

Re: New Kernel 2.6.24 out
type: item
description: Bugzilla is working again.
creator: adobriyan
date: 2008-03-05T11:45:16-00:00

Re: New Kernel 2.6.24 out
type: item
description: what is err=-5? $ vzctl start 104 Starting VE ... VE is mounted VE start failed VE is unmounted $ dmesg IMQ: Error trying imq_init_devs(net) CT: 104: stopped CT: 104: failed to start with err=-5 /var/log/vzctl.log: 2008-03-05T12:41:22+0100 vzctl : VE 104 : Starting VE ... 2008-03-05T12:41:22+0100 vzctl : VE 104 : Running: /usr/sbin/vzquota show 104 2008-03-05T12:41:22+0100 vzctl : VE 104 : Running: /usr/sbin/vzquota on 104 -r 0 -b 1048676 -B 1153124 -i 200100 -I 220100 -e 0 -n 0 -s 0 2008-03-05T12:41:22+0100 vzctl : VE 104 : Mounting root: /vz/root/104 /vz/private/104 2008-03-05T12:41:22+0100 vzctl : VE 104 : VE is mounted 2008-03-05T12:41:22+0100 vzctl : VE 104 : Set iptables mask 0x000017bf 2008-03-05T11:41:22+0000 vzctl : VE 104 : Set features mask 0000000000000000/0000000000000000 2008-03-05T12:41:23+0100 vzctl : VE 104 : VE start failed 2008-03-05T12:41:23+0100 vzctl : VE 104 : Running: /usr/sbin/vzquota stat 104 -f 2008-03-05T12:41:23+0100 vzctl : VE 104 : Running: vzquota setlimit 104 -b 1048576 -B 1153024 -i 200000 -I 220000 -e 0 -n 0 2008-03-05T12:41:23+0100 vzctl : VE 104 : Running: /usr/sbin/vzquota stat 104 -f 2008-03-05T12:41:23+0100 vzctl : VE 104 : Running: /usr/sbin/vzquota off 104 2008-03-05T12:41:23+0100 vzctl : VE 104 : VE is unmounted
creator: aTan
date: 2008-03-05T11:48:49-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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.
creator: adobriyan
date: 2008-03-05T15:49:42-00:00

Re: New Kernel 2.6.24 out
type: item
description: 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
creator: aTan
date: 2008-03-06T16:41:01-00:00

Re: New Kernel 2.6.24 out
type: item
description: File separate bugs at bugzilla describing setup and we tackle them one by one.
creator: adobriyan
date: 2008-03-07T10:19:09-00:00

Re: New Kernel 2.6.24 out
type: item
description: Done
creator: aTan
date: 2008-03-07T10:55:32-00:00

Re: New Kernel 2.6.24 - DRBD
type: item
description: 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?
creator: wpeckham
date: 2008-03-07T14:10:59-00:00

Re: New Kernel 2.6.24 - DRBD
type: item
description: 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.
creator: aTan
date: 2008-03-07T14:53:39-00:00

Re: New Kernel 2.6.24 - DRBD
type: item
description: 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..
creator: iansison
date: 2008-03-07T18:40:00-00:00

Re: New Kernel 2.6.24 - DRBD
type: item
description: Current git version doesn't contain drbd at all. So patch is useless for it.
creator: aTan
date: 2008-03-07T19:51:26-00:00

Re: New Kernel 2.6.24 - DRBD
type: item
description: 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....
creator: wpeckham
date: 2008-03-07T20:27:45-00:00