OpenVZ Forum


Home » General » Support » New Kernel 2.6.24 out
New Kernel 2.6.24 out [message #27903] Sun, 02 March 2008 03:00 Go to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
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.

Re: New Kernel 2.6.24 out [message #27912 is a reply to message #27903] Mon, 03 March 2008 05:31 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
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
Re: New Kernel 2.6.24 out [message #27920 is a reply to message #27912] Mon, 03 March 2008 09:33 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
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.
Re: New Kernel 2.6.24 out [message #27942 is a reply to message #27903] Mon, 03 March 2008 15:36 Go to previous messageGo to next message
swindmill is currently offline  swindmill
Messages: 57
Registered: April 2007
Member
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.
Re: New Kernel 2.6.24 out [message #27945 is a reply to message #27903] Mon, 03 March 2008 16:10 Go to previous messageGo to next message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
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.


Re: New Kernel 2.6.24 out [message #27946 is a reply to message #27942] Mon, 03 March 2008 16:16 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
This very well can be kernel bug.
Let me check.
Re: New Kernel 2.6.24 out [message #27950 is a reply to message #27903] Mon, 03 March 2008 19:59 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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


Re: New Kernel 2.6.24 out [message #27955 is a reply to message #27903] Tue, 04 March 2008 05:29 Go to previous messageGo to next message
iansison is currently offline  iansison
Messages: 17
Registered: March 2008
Junior Member
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
Re: New Kernel 2.6.24 out [message #27959 is a reply to message #27950] Tue, 04 March 2008 08:49 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
Make sure CONFIG_PM_SLEEP is set.
Re: New Kernel 2.6.24 out [message #27962 is a reply to message #27959] Tue, 04 March 2008 09:43 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
It is. Here is my config:
http://www.pastebin.cz/show/4092
Re: New Kernel 2.6.24 out [message #27968 is a reply to message #27962] Tue, 04 March 2008 12:36 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
Fix was pushed out

"CPT: select PM as well"
http://git.openvz.org/?p=linux-2.6.24-openvz;a=commitdiff;h=15938557b7ee1cebc893c676e0574a990fb79947
Re: New Kernel 2.6.24 out [message #27969 is a reply to message #27968] Tue, 04 March 2008 15:06 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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....
Re: New Kernel 2.6.24 out [message #27972 is a reply to message #27969] Tue, 04 March 2008 16:16 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
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
Re: New Kernel 2.6.24 out [message #27975 is a reply to message #27972] Tue, 04 March 2008 19:24 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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.

[Updated on: Tue, 04 March 2008 20:43]

Report message to a moderator

Re: New Kernel 2.6.24 out [message #27977 is a reply to message #27975] Tue, 04 March 2008 21:23 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

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

[Updated on: Tue, 04 March 2008 21:25]

Report message to a moderator

Re: New Kernel 2.6.24 out [message #28005 is a reply to message #27977] Wed, 05 March 2008 11:45 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
Bugzilla is working again.
Re: New Kernel 2.6.24 out [message #28006 is a reply to message #27975] Wed, 05 March 2008 11:48 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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
Re: New Kernel 2.6.24 out [message #28018 is a reply to message #27942] Wed, 05 March 2008 15:49 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
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.
Re: New Kernel 2.6.24 out [message #28047 is a reply to message #28018] Thu, 06 March 2008 16:41 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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
Re: New Kernel 2.6.24 out [message #28056 is a reply to message #28047] Fri, 07 March 2008 10:19 Go to previous messageGo to next message
adobriyan is currently offline  adobriyan
Messages: 80
Registered: November 2006
Member
File separate bugs at bugzilla describing setup and we tackle them
one by one.
Re: New Kernel 2.6.24 out [message #28057 is a reply to message #28056] Fri, 07 March 2008 10:55 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
Done
Re: New Kernel 2.6.24 - DRBD [message #28074 is a reply to message #27903] Fri, 07 March 2008 14:10 Go to previous messageGo to next message
wpeckham is currently offline  wpeckham
Messages: 6
Registered: March 2008
Location: West Virginia, USA
Junior Member
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?
Re: New Kernel 2.6.24 - DRBD [message #28077 is a reply to message #28074] Fri, 07 March 2008 14:53 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
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.

[Updated on: Fri, 07 March 2008 18:47]

Report message to a moderator

Re: New Kernel 2.6.24 - DRBD [message #28084 is a reply to message #28074] Fri, 07 March 2008 18:40 Go to previous messageGo to next message
iansison is currently offline  iansison
Messages: 17
Registered: March 2008
Junior Member
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..

Re: New Kernel 2.6.24 - DRBD [message #28085 is a reply to message #28084] Fri, 07 March 2008 19:51 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
Current git version doesn't contain drbd at all. So patch is useless for it.
Re: New Kernel 2.6.24 - DRBD [message #28086 is a reply to message #28085] Fri, 07 March 2008 20:27 Go to previous message
wpeckham is currently offline  wpeckham
Messages: 6
Registered: March 2008
Location: West Virginia, USA
Junior Member
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....
Previous Topic: "hidden processes" in OpenVZ
Next Topic: 2.6.18-53.1.6.el5.028stab053.6PAE + ipv6 = not happy
Goto Forum:
  


Current Time: Mon Nov 11 15:45:02 GMT 2024

Total time taken to generate the page: 0.03766 seconds