Hello again

This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is fully supported by OpenVZ team now, it has better performance and a few new features like vswap. Enjoy.

[root@dhcp-10-30-22-214 /]# cat /proc/self/mountinfo
33 26 0:21 /private/101 / rw,relatime - simfs /vz/private/101 rw,usrquota,grpquota
40 33 0:25 / /proc rw,relatime - proc proc rw
41 33 0:23 / /sys rw,relatime - sysfs sysfs rw
42 33 0:27 / /dev/pts rw,relatime - devpts none rw,mode=600,ptmxmode=000
43 40 0:28 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc none rw
[root@dhcp-10-30-22-214 /]# uname -a
Linux dhcp-10-30-22-214.sw.ru 2.6.32-042stab049.6 #1 SMP Mon Feb 6 19:17:43 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

You can use latest RHEL6-based kernel builds on your Debian or Ubuntu machine. Here's how.

1. Get the latest kernel from either Download/kernel/rhel6-testing or Download/kernel/rhel6. You need vzkernel and vzkernel-devel packages only, with the -devel being optional.

2. Install fakeroot and alien:
 apt-get install alien fakeroot

3. Convert these two rpms to debs using alien. This is
 fakeroot alien --to-deb --scripts --keep-version vzkernel-*.rpm

4. Install debs as usual. Reboot. Enjoy.
 dpkg -i vzkernel*.deb

On 02/14/2012 03:07 PM, Benjamin Henrion wrote:
On Tue, Feb 14, 2012 at 11:48 AM, Benjamin Henrion<[email protected]>  wrote:
On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion<[email protected]>  wrote:
On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion<[email protected]>  wrote:
Hi,

I am trying updatedb on a gentoo openvz container, the HN is a debian
squeeze kernel.

Updatedb segfaults, and when I strace it, I find that:

# cat /proc/self/mountinfo
cat: /proc/self/mountinfo: Cannot allocate memory

Any idea how to fix that?

There is a bug filed here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385

But I have no idea how to fix it.
I see there was a kernel crash here, that might explain something:
In fact, the updatedb **triggered** the kernel module crash. Not the
other way around.
I tried with the latest update from debian:

Linux version 2.6.32-5-openvz-amd64 (Debian 2.6.32-41) ([email protected])

Same kernel crash.


_______________________________________________
Users mailing list
[email protected]
https://openvz.org/mailman/listinfo/users

Reply via email to