OpenVZ Forum


Home » Mailing lists » Users » cat: /proc/self/mountinfo: Cannot allocate memory
cat: /proc/self/mountinfo: Cannot allocate memory [message #45213] Tue, 14 February 2012 10:26 Go to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
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.

Best,

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45214 is a reply to message #45213] Tue, 14 February 2012 10:29 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion <bh@udev.org> 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:

[9787206.796392] CT: 1004: started
[9787207.629687] ------------[ cut here ]------------
[9787207.629721] WARNING: at
/build/buildd-linux-2.6_2.6.32-35-amd64-aZSlKL/linux-2.6-2.6 .32/debian/build/source_amd64_openvz/mm/page_alloc.c:1828
__alloc_pages_nodemask+0x183/0x6ab()
[9787207.629795] Hardware name: MS-7522
[9787207.629817] Modules linked in: nf_conntrack_ipv4 nf_defrag_ipv4
xt_state nf_conntrack vzethdev vznetdev simfs vzrst vzcpt vzdquota
vzmon vzdev xt_tcpudp xt_length xt_hl xt_tcpmss xt_TCPMSS
iptable_mangle iptable_filter xt_multiport xt_limit xt_dscp ipt_REJECT
ip_tables x_tables acpi_cpufreq cpufreq_powersave cpufreq_userspace
cpufreq_conservative cpufreq_stats vzevent loop snd_hda_codec_atihdmi
radeon snd_hda_intel snd_hda_codec ttm snd_hwdep snd_pcm snd_timer snd
soundcore drm_kms_helper drm i2c_algo_bit pcspkr i2c_i801 i2c_core
evdev button wmi snd_page_alloc ext3 jbd mbcache dm_mod aacraid
3w_9xxx 3w_xxxx raid10 raid456 async_raid6_recov async_pq raid6_pq
async_xor xor async_memcpy async_tx raid1 raid0 md_mod sata_nv
sata_sil sata_via sd_mod crc_t10dif ahci libata uhci_hcd scsi_mod
ehci_hcd r8169 mii usbcore nls_base thermal processor thermal_sys
[last unloaded: scsi_wait_scan]
[9787207.630273] Pid: 10521, comm: fuser Not tainted 2.6.32-5-openvz-amd64 #1
[9787207.630302] Call Trace:
[9787207.630326] [<ffffffff810bcdd0>] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630355] [<ffffffff810bcdd0>] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630385] [<ffffffff8104e0ac>] ? warn_slowpath_common+0x77/0xa3
[9787207.630415] [<ffffffff810bcdd0>] ? __alloc_pages_nodemask+0x183/0x6ab
[9787207.630445] [<ffffffff81100141>] ? __d_path+0x116/0x1e0
[9787207.630472] [<ffffffff810bc291>] ? __get_free_pages+0x9/0x38
[9787207.630501] [<ffffffff810e8f29>] ? __kmalloc+0x3f/0x17f
[9787207.630528] [<ffffffff81108d40>] ? seq_read+0x226/0x388
[9787207.630556] [<ffffffff810f1b86>] ? vfs_read+0xa6/0xff
[9787207.630582] [<ffffffff810f1cf9>] ? sys_read+0x49/0xc4
[9787207.630609] [<ffffffff81010c12>] ? system_call_fastpath+0x16/0x1b
[9787207.630637] ---[ end trace eeab2b2862ea622c ]---
[9787305.628531] CT: 1004: stopped

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45215 is a reply to message #45214] Tue, 14 February 2012 10:48 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion <bh@udev.org> wrote:
> On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion <bh@udev.org> 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.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45216 is a reply to message #45215] Tue, 14 February 2012 11:07 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Feb 14, 2012 at 11:48 AM, Benjamin Henrion <bh@udev.org> wrote:
> On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion <bh@udev.org> wrote:
>> On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion <bh@udev.org> 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) (ben@decadent.org.uk)

Same kernel crash.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-4148403
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45490 is a reply to message #45216] Tue, 13 March 2012 07:32 Go to previous messageGo to next message
Andrew Vagin is currently offline  Andrew Vagin
Messages: 28
Registered: November 2011
Junior Member
Hello Benjamin,

Pls, file this bug in https://bugzilla.openvz.org/

On 02/14/2012 03:07 PM, Benjamin Henrion wrote:
> On Tue, Feb 14, 2012 at 11:48 AM, Benjamin Henrion<bh@udev.org> wrote:
>> On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion<bh@udev.org> wrote:
>>> On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion<bh@udev.org> 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) (ben@decadent.org.uk)
>
> Same kernel crash.
>
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45491 is a reply to message #45216] Tue, 13 March 2012 07:46 Go to previous messageGo to next message
Andrew Vagin is currently offline  Andrew Vagin
Messages: 28
Registered: November 2011
Junior Member
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<bh@udev.org> wrote:
>> On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion<bh@udev.org> wrote:
>>> On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion<bh@udev.org> 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) (ben@decadent.org.uk)
>
> Same kernel crash.
>
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45494 is a reply to message #45491] Tue, 13 March 2012 09:09 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
2012/3/13 Andrew Vagin <avagin@parallels.com>:
> 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.

Can you give a pointer to the source patches fixing this bug?

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45496 is a reply to message #45494] Tue, 13 March 2012 10:00 Go to previous messageGo to next message
Andrew Vagin is currently offline  Andrew Vagin
Messages: 28
Registered: November 2011
Junior Member
On 03/13/2012 01:09 PM, Benjamin Henrion wrote:
> 2012/3/13 Andrew Vagin<avagin@parallels.com>:
>> 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.
> Can you give a pointer to the source patches fixing this bug?
>
> --
> Benjamin Henrion<bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
diff --git a/fs/namespace.c b/fs/namespace.c
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -888,8 +888,9 @@ static int show_mountinfo(struct seq_file *m, void *v)
MAJOR(sb->s_dev), MINOR(sb->s_dev));
seq_dentry(m, mnt->mnt_root, " \t\n\\");
seq_putc(m, ' ');
- seq_path_root(m, &mnt_path, &root, " \t\n\\");
- if (root.mnt != p->root.mnt || root.dentry != p->root.dentry) {
+ err = seq_path_root(m, &mnt_path, &root, " \t\n\\");
+ if (root.mnt != p->root.mnt || root.dentry != p->root.dentry ||
+ err == -EINVAL) {
/*
* Mountpoint is outside root, discard that one. Ugly,
* but less so than trying to do that in iterator in a
  • Attachment: patch
    (Size: 0.64KB, Downloaded 564 times)
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45497 is a reply to message #45496] Tue, 13 March 2012 10:09 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
2012/3/13 Andrew Vagin <avagin@parallels.com>:
> On 03/13/2012 01:09 PM, Benjamin Henrion wrote:
>>
>> 2012/3/13 Andrew Vagin<avagin@parallels.com>:
>>>
>>> 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.
>>
>> Can you give a pointer to the source patches fixing this bug?

Is this patch published somewhere in the GIT?

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45498 is a reply to message #45497] Tue, 13 March 2012 10:20 Go to previous messageGo to next message
Andrew Vagin is currently offline  Andrew Vagin
Messages: 28
Registered: November 2011
Junior Member
> Is this patch published somewhere in the GIT?
>
It's published, but it's not in GIT. You can find this code in source rpms:
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab049.6/vzkernel-2.6.32-042stab049.6.src.rpm
Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45503 is a reply to message #45491] Tue, 13 March 2012 10:42 Go to previous messageGo to next message
Aleksandar Ivanisevic is currently offline  Aleksandar Ivanisevic
Messages: 34
Registered: April 2011
Member
Andrew Vagin <avagin@parallels.com> writes:

> 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.

I see that http://download.openvz.org/openvz.repo file has been
changed to have rhel6 kernel repo turned on and rhel5 turned off. Does
that mean that rhel6 kernel should work in rhel5 too? Has anyone
tested this? Is it supported?
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #45519 is a reply to message #45503] Wed, 14 March 2012 07:08 Go to previous messageGo to next message
Andrew Vagin is currently offline  Andrew Vagin
Messages: 28
Registered: November 2011
Junior Member
On 03/13/2012 02:42 PM, Aleksandar Ivanisevic wrote:
> Andrew Vagin<avagin@parallels.com> writes:
>
>> 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.
> I see that http://download.openvz.org/openvz.repo file has been
> changed to have rhel6 kernel repo turned on and rhel5 turned off. Does
> that mean that rhel6 kernel should work in rhel5 too? Has anyone
> tested this? Is it supported?
Yes, it should work and it's supported. But you may have trouble with a
root device, if it's initializing for a long time. I have seen this
situation with MegaRAID. In this case you system will not boot with
error: "switch to root: mount failed: No such file or directory".
You can workaround this problem by adding sleep in "init".

insmod /lib/dm-region-hash.ko
+sleep 10
mkblkdevs

It's not a kernel problem.

I don't recommend you use rhel6 kernel on rhel5 system for a long time.
You can install rhel6 kernel to try new features and to be sure that it
doesn't bring new problems, then I recommend update a host system too.

>
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #46740 is a reply to message #45498] Thu, 07 June 2012 15:30 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Mar 13, 2012 at 11:20 AM, Andrew Vagin <avagin@parallels.com> wrote:
>
>> Is this patch published somewhere in the GIT?
>>
> It's published, but it's not in GIT. You can find this code in source rpms:
> http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab049.6/vzkernel-2.6.32-042stab049.6.src.rpm

Thank you for not using GIT :-)

Otherwise the bug is fixed in Debian kernel 2.6.32-45, I tried it with
Sabayon openvz rootfs and Debian squeeze rootfs, locate and updatedb
works now like a charm.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #47128 is a reply to message #46740] Tue, 10 July 2012 14:52 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Thu, Jun 7, 2012 at 5:30 PM, Benjamin Henrion <bh@udev.org> wrote:
> On Tue, Mar 13, 2012 at 11:20 AM, Andrew Vagin <avagin@parallels.com> wrote:
>>
>>> Is this patch published somewhere in the GIT?
>>>
>> It's published, but it's not in GIT. You can find this code in source rpms:
>> http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab049.6/vzkernel-2.6.32-042stab049.6.src.rpm
>
> Thank you for not using GIT :-)
>
> Otherwise the bug is fixed in Debian kernel 2.6.32-45, I tried it with
> Sabayon openvz rootfs and Debian squeeze rootfs, locate and updatedb
> works now like a charm.

I was wrong, containers inside Debian kernel 2.6.32-45 still gives:

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

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #47129 is a reply to message #47128] Tue, 10 July 2012 15:09 Go to previous messageGo to next message
massimiliano.sciabica is currently offline  massimiliano.sciabica
Messages: 11
Registered: March 2012
Junior Member
Hi,
maybe I missed the beginning of the thread...
The "Cannot allocate memory" message may depend on a shortage of
resources (kmemsize, vmguarpages, and others).
Simply forgive me if this is not the case

Massimiliano


On Tue, 10 Jul 2012 16:52:51 +0200, Benjamin Henrion wrote:
> On Thu, Jun 7, 2012 at 5:30 PM, Benjamin Henrion <bh@udev.org> wrote:
>> On Tue, Mar 13, 2012 at 11:20 AM, Andrew Vagin
>> <avagin@parallels.com> wrote:
>>>
>>>> Is this patch published somewhere in the GIT?
>>>>
>>> It's published, but it's not in GIT. You can find this code in
>>> source rpms:
>>>
>>> http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab049.6/vzkernel-2.6.32-042stab049.6.src.rpm
>>
>> Thank you for not using GIT :-)
>>
>> Otherwise the bug is fixed in Debian kernel 2.6.32-45, I tried it
>> with
>> Sabayon openvz rootfs and Debian squeeze rootfs, locate and updatedb
>> works now like a charm.
>
> I was wrong, containers inside Debian kernel 2.6.32-45 still gives:
>
> # cat /proc/self/mountinfo
> cat: /proc/self/mountinfo: Cannot allocate memory
>
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #47130 is a reply to message #47129] Tue, 10 July 2012 15:27 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Jul 10, 2012 at 5:09 PM, <massimiliano.sciabica@kiiama.com> wrote:
> Hi,
> maybe I missed the beginning of the thread...
> The "Cannot allocate memory" message may depend on a shortage of resources
> (kmemsize, vmguarpages, and others).
> Simply forgive me if this is not the case

No it is this bug:

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

It has been fixed by a patch, but not applied to debian kernels.

I am trying this repo at the moment to see if it fixes my problem:

http://deb.clazzes.org/debian/sources.list.d/squeeze/squeeze -contrib-1.list

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #47131 is a reply to message #47130] Tue, 10 July 2012 15:28 Go to previous messageGo to next message
Benjamin Henrion is currently offline  Benjamin Henrion
Messages: 51
Registered: February 2011
Member
On Tue, Jul 10, 2012 at 5:27 PM, Benjamin Henrion <bh@udev.org> wrote:
> On Tue, Jul 10, 2012 at 5:09 PM, <massimiliano.sciabica@kiiama.com> wrote:
>> Hi,
>> maybe I missed the beginning of the thread...
>> The "Cannot allocate memory" message may depend on a shortage of resources
>> (kmemsize, vmguarpages, and others).
>> Simply forgive me if this is not the case
>
> No it is this bug:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385
>
> It has been fixed by a patch, but not applied to debian kernels.
>
> I am trying this repo at the moment to see if it fixes my problem:
>
> http://deb.clazzes.org/debian/sources.list.d/squeeze/squeeze -contrib-1.list

This kernel has the patch, while the debian one in squeeze does not have it.

It solved my problem, let's see if the debian guys can update.

--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."
Re: Re: cat: /proc/self/mountinfo: Cannot allocate memory [message #47132 is a reply to message #47131] Tue, 10 July 2012 15:38 Go to previous message
Martin Dobrev is currently offline  Martin Dobrev
Messages: 14
Registered: November 2006
Junior Member
Martin Dobrev

Sent from iPhonespam SPAMSPAM 4

On 10.07.2012, at 18:28, Benjamin Henrion <bh@udev.org> wrote:

> On Tue, Jul 10, 2012 at 5:27 PM, Benjamin Henrion <bh@udev.org> wrote:
>> On Tue, Jul 10, 2012 at 5:09 PM, <massimiliano.sciabica@kiiama.com> wrote:
>>> Hi,
>>> maybe I missed the beginning of the thread...
>>> The "Cannot allocate memory" message may depend on a shortage of resources
>>> (kmemsize, vmguarpages, and others).
>>> Simply forgive me if this is not the case
>>
>> No it is this bug:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385
>>
>> It has been fixed by a patch, but not applied to debian kernels.
>>
>> I am trying this repo at the moment to see if it fixes my problem:
>>
>> http://deb.clazzes.org/debian/sources.list.d/squeeze/squeeze -contrib-1.list
>
> This kernel has the patch, while the debian one in squeeze does not have it.
>
> It solved my problem, let's see if the debian guys can update.
>
Thanks for the info, I was about to compile the debian kernel from source and prepare packages for it including the patch too.
> --
> Benjamin Henrion <bhenrion at ffii.org>
> FFII Brussels - +32-484-566109 - +32-2-3500762
> "In July 2005, after several failed attempts to legalise software
> patents in Europe, the patent establishment changed its strategy.
> Instead of explicitly seeking to sanction the patentability of
> software, they are now seeking to create a central European patent
> court, which would establish and enforce patentability rules in their
> favor, without any possibility of correction by competing courts or
> democratically elected legislators."
Previous Topic: music and movie in the CT during the migration
Next Topic: occasional high loadavg without any noticeable cpu/memory/io load
Goto Forum:
  


Current Time: Sun Nov 03 17:07:47 GMT 2024

Total time taken to generate the page: 0.03771 seconds