Bug#655385: linux-image-2.6.32-5-openvz-amd64: Cannot allocate memory when doing cat /proc/self/mountinfo inside a vm

2012-01-15 Thread Ola Lundqvist
forwarded 655385 http://bugzilla.openvz.org/show_bug.cgi?id=2142
thanks

Just want to report that I have filed this upstream now.

// Ola

On Tue, Jan 10, 2012 at 09:01:08PM +0100, Corin Langosch wrote:
 Package: linux-2.6
 Version: 2.6.32-38
 Severity: important
 
 When doing a cat /proc/self/mountinfo inside a guest the result is Cannot 
 allocate memory.
 
 What really makes it evil: the page cache of the whole machine is flushed and 
 all swap space available consumed. This effectively causes the whole system 
 to freeze because of the high load / disk io.
 
 -- Package-specific info:
 ** Version:
 Linux version 2.6.32-5-openvz-amd64 (Debian 2.6.32-38) (b...@decadent.org.uk) 
 (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 05:12:50 UTC 2011
 
 ** Command line:
 BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-openvz-amd64 
 root=UUID=1924430b-93b2-4781-b1bb-6281966c64fc ro quiet
 
 ** Tainted: W (512)
  * Taint on warning.
 
 ** Kernel log:
 [1.954245] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 [1.954260] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
 doesn't support DPO or FUA
 [1.954371]  sda: sda1 sda2  sda5 
 [1.955496] sd 0:0:0:0: [sda] Attached SCSI disk
 [2.043616] e1000: :00:08.0: e1000_probe: (PCI:33MHz:32-bit) 
 08:00:27:29:8c:5c
 [2.094618] e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
 [2.094726]   alloc irq_desc for 22 on node -1
 [2.094731]   alloc kstat_irqs on node -1
 [2.094769] ohci_hcd :00:06.0: PCI INT A - GSI 22 (level, low) - IRQ 
 22
 [2.094817] ohci_hcd :00:06.0: OHCI Host Controller
 [2.094832] ohci_hcd :00:06.0: new USB bus registered, assigned bus 
 number 2
 [2.094906] ohci_hcd :00:06.0: irq 22, io mem 0xf0804000
 [2.150065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
 [2.150080] usb usb2: New USB device strings: Mfr=3, Product=2, 
 SerialNumber=1
 [2.150088] usb usb2: Product: OHCI Host Controller
 [2.150093] usb usb2: Manufacturer: Linux 2.6.32-5-openvz-amd64 ohci_hcd
 [2.150100] usb usb2: SerialNumber: :00:06.0
 [2.150345] usb usb2: configuration #1 chosen from 1 choice
 [2.150430] hub 2-0:1.0: USB hub found
 [2.150502] hub 2-0:1.0: 8 ports detected
 [2.286615] PM: Starting manual resume from disk
 [2.286620] PM: Resume from partition 8:5
 [2.286622] PM: Checking hibernation image.
 [2.286770] PM: Error -22 checking image file
 [2.286773] PM: Resume from disk failed.
 [2.306573] kjournald starting.  Commit interval 5 seconds
 [2.306650] EXT3-fs: mounted filesystem with ordered data mode.
 [2.561494] usb 2-1: new full speed USB device using ohci_hcd and address 2
 [2.606712] udev[288]: starting version 164
 [2.684580] processor LNXCPU:00: registered as cooling_device0
 [2.684580] processor LNXCPU:01: registered as cooling_device1
 [2.684607] processor LNXCPU:02: registered as cooling_device2
 [2.684647] processor LNXCPU:03: registered as cooling_device3
 [2.684715] processor LNXCPU:04: registered as cooling_device4
 [2.684720] processor LNXCPU:05: registered as cooling_device5
 [2.684756] processor LNXCPU:06: registered as cooling_device6
 [2.684796] processor LNXCPU:07: registered as cooling_device7
 [2.686623] input: Power Button as 
 /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
 [2.686630] ACPI: Power Button [PWRF]
 [2.686704] input: Sleep Button as 
 /devices/LNXSYSTM:00/LNXSLPBN:00/input/input3
 [2.686714] ACPI: Sleep Button [SLPF]
 [2.691095] ACPI: AC Adapter [AC] (on-line)
 [2.692524] ACPI: Battery Slot [BAT0] (battery present)
 [2.701210] input: PC Speaker as /devices/platform/pcspkr/input/input4
 [2.701866] piix4_smbus :00:07.0: SMBus base address uninitialized - 
 upgrade BIOS or use force_addr=0xaddr
 [2.705098] parport_pc 00:04: reported by Plug and Play ACPI
 [2.732204] input: ImExPS/2 Generic Explorer Mouse as 
 /devices/platform/i8042/serio1/input/input5
 [2.759987] Error: Driver 'pcspkr' is already registered, aborting...
 [2.828204] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021
 [2.828231] usb 2-1: New USB device strings: Mfr=1, Product=3, 
 SerialNumber=0
 [2.828238] usb 2-1: Product: USB Tablet
 [2.828243] usb 2-1: Manufacturer: VirtualBox
 [2.828515] usb 2-1: configuration #1 chosen from 1 choice
 [2.858372] usbcore: registered new interface driver hiddev
 [2.873203] input: VirtualBox USB Tablet as 
 /devices/pci:00/:00:06.0/usb2/2-1/2-1:1.0/input/input6
 [2.873366] generic-usb 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 
 Mouse [VirtualBox USB Tablet] on usb-:00:06.0-1/input0
 [2.873450] usbcore: registered new interface driver usbhid
 [2.873462] usbhid: v2.6:USB HID core driver
 [3.167371] Adding 477176k swap on /dev/sda5.  Priority:-1 extents:1 
 across:477176k 
 [3.245533] EXT3 FS on sda1, internal journal
 [ 

Processed: Re: Bug#655385: linux-image-2.6.32-5-openvz-amd64: Cannot allocate memory when doing cat /proc/self/mountinfo inside a vm

2012-01-15 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 forwarded 655385 http://bugzilla.openvz.org/show_bug.cgi?id=2142
Bug #655385 [linux-2.6] linux-image-2.6.32-5-openvz-amd64: Cannot allocate 
memory when doing cat /proc/self/mountinfo inside a vm
Set Bug forwarded-to-address to 
'http://bugzilla.openvz.org/show_bug.cgi?id=2142'.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
655385: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655385
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.c.132665055629334.transcr...@bugs.debian.org



Bug#655385: linux-image-2.6.32-5-openvz-amd64: Cannot allocate memory when doing cat /proc/self/mountinfo inside a vm

2012-01-10 Thread Corin Langosch
Package: linux-2.6
Version: 2.6.32-38
Severity: important

When doing a cat /proc/self/mountinfo inside a guest the result is Cannot 
allocate memory.

What really makes it evil: the page cache of the whole machine is flushed and 
all swap space available consumed. This effectively causes the whole system to 
freeze because of the high load / disk io.

-- Package-specific info:
** Version:
Linux version 2.6.32-5-openvz-amd64 (Debian 2.6.32-38) (b...@decadent.org.uk) 
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Oct 3 05:12:50 UTC 2011

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.32-5-openvz-amd64 
root=UUID=1924430b-93b2-4781-b1bb-6281966c64fc ro quiet

** Tainted: W (512)
 * Taint on warning.

** Kernel log:
[1.954245] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[1.954260] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[1.954371]  sda: sda1 sda2  sda5 
[1.955496] sd 0:0:0:0: [sda] Attached SCSI disk
[2.043616] e1000: :00:08.0: e1000_probe: (PCI:33MHz:32-bit) 
08:00:27:29:8c:5c
[2.094618] e1000: eth1: e1000_probe: Intel(R) PRO/1000 Network Connection
[2.094726]   alloc irq_desc for 22 on node -1
[2.094731]   alloc kstat_irqs on node -1
[2.094769] ohci_hcd :00:06.0: PCI INT A - GSI 22 (level, low) - IRQ 22
[2.094817] ohci_hcd :00:06.0: OHCI Host Controller
[2.094832] ohci_hcd :00:06.0: new USB bus registered, assigned bus 
number 2
[2.094906] ohci_hcd :00:06.0: irq 22, io mem 0xf0804000
[2.150065] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[2.150080] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[2.150088] usb usb2: Product: OHCI Host Controller
[2.150093] usb usb2: Manufacturer: Linux 2.6.32-5-openvz-amd64 ohci_hcd
[2.150100] usb usb2: SerialNumber: :00:06.0
[2.150345] usb usb2: configuration #1 chosen from 1 choice
[2.150430] hub 2-0:1.0: USB hub found
[2.150502] hub 2-0:1.0: 8 ports detected
[2.286615] PM: Starting manual resume from disk
[2.286620] PM: Resume from partition 8:5
[2.286622] PM: Checking hibernation image.
[2.286770] PM: Error -22 checking image file
[2.286773] PM: Resume from disk failed.
[2.306573] kjournald starting.  Commit interval 5 seconds
[2.306650] EXT3-fs: mounted filesystem with ordered data mode.
[2.561494] usb 2-1: new full speed USB device using ohci_hcd and address 2
[2.606712] udev[288]: starting version 164
[2.684580] processor LNXCPU:00: registered as cooling_device0
[2.684580] processor LNXCPU:01: registered as cooling_device1
[2.684607] processor LNXCPU:02: registered as cooling_device2
[2.684647] processor LNXCPU:03: registered as cooling_device3
[2.684715] processor LNXCPU:04: registered as cooling_device4
[2.684720] processor LNXCPU:05: registered as cooling_device5
[2.684756] processor LNXCPU:06: registered as cooling_device6
[2.684796] processor LNXCPU:07: registered as cooling_device7
[2.686623] input: Power Button as 
/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[2.686630] ACPI: Power Button [PWRF]
[2.686704] input: Sleep Button as 
/devices/LNXSYSTM:00/LNXSLPBN:00/input/input3
[2.686714] ACPI: Sleep Button [SLPF]
[2.691095] ACPI: AC Adapter [AC] (on-line)
[2.692524] ACPI: Battery Slot [BAT0] (battery present)
[2.701210] input: PC Speaker as /devices/platform/pcspkr/input/input4
[2.701866] piix4_smbus :00:07.0: SMBus base address uninitialized - 
upgrade BIOS or use force_addr=0xaddr
[2.705098] parport_pc 00:04: reported by Plug and Play ACPI
[2.732204] input: ImExPS/2 Generic Explorer Mouse as 
/devices/platform/i8042/serio1/input/input5
[2.759987] Error: Driver 'pcspkr' is already registered, aborting...
[2.828204] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021
[2.828231] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[2.828238] usb 2-1: Product: USB Tablet
[2.828243] usb 2-1: Manufacturer: VirtualBox
[2.828515] usb 2-1: configuration #1 chosen from 1 choice
[2.858372] usbcore: registered new interface driver hiddev
[2.873203] input: VirtualBox USB Tablet as 
/devices/pci:00/:00:06.0/usb2/2-1/2-1:1.0/input/input6
[2.873366] generic-usb 0003:80EE:0021.0001: input,hidraw0: USB HID v1.10 
Mouse [VirtualBox USB Tablet] on usb-:00:06.0-1/input0
[2.873450] usbcore: registered new interface driver usbhid
[2.873462] usbhid: v2.6:USB HID core driver
[3.167371] Adding 477176k swap on /dev/sda5.  Priority:-1 extents:1 
across:477176k 
[3.245533] EXT3 FS on sda1, internal journal
[3.293283] loop: module loaded
[3.808534] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: 
RX
[3.816591] e1000: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: 
RX
[3.816981] ADDRCONF(NETDEV_UP): eth1: link is not ready
[3.819172] ADDRCONF(NETDEV_CHANGE):