lvcreate fails with 'mlock failed' on armhf

Bug #1256905 reported by Tim Connolly
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Ubuntu 13.04
Kernel version: 3.6.9
lvm2:
  Installed: 2.02.95-6ubuntu4
  Candidate: 2.02.95-6ubuntu4
  Version table:
 *** 2.02.95-6ubuntu4 0
        500 http://ports.ubuntu.com/ubuntu-ports/ raring/main armhf Packages
        100 /var/lib/dpkg/status

# lvcreate --name data --size 1024G vg0
  ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: mlock failed: Cannot allocate memory
  ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: munlock failed: Cannot allocate memory
  /dev/vg0/data: not found: device not cleared
  Aborting. Failed to wipe start of new LV.
  ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: mlock failed: Cannot allocate memory
  device-mapper: remove ioctl on failed: Device or resource busy
  ffff0000-ffff1000 r-xp 00000000 00:00 0 [vectors]: munlock failed: Cannot allocate memory
  semid 32768: semop failed for cookie 0xd4de1fe: incorrect semaphore state
  Failed to set a proper state for notification semaphore identified by cookie value 223207934 (0xd4de1fe) to initialize waiting for incoming notifications.

Possibly resolved with the application of this patch:
https://lists.fedorahosted.org/pipermail/lvm2-commits/2012-November/000391.html

Tags: armhf raring
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lvm2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Emanuele Santoro (znpy) wrote :

Hi, I am writing to report that this bug affects me too.

I am available in order to provider further information about the topic.

The OS is Ubuntu 14.04
Kernel: (output of uname -a):
Linux my.host.name 3.17.0-113 #1 SMP Tue Nov 4 15:43:28 CET 2014 armv7l armv7l armv7l GNU/Linux

LVM version: (output of dpkg -l | grep -i lvm)
ii lvm2 2.02.98-6ubuntu2 armhf Linux Logical Volume Manager

Please tell me if I can provide more data.

Revision history for this message
Alasdair G. Kergon (agk2) wrote : Re: [Bug 1256905] Re: lvcreate fails with 'mlock failed' on armhf
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers