Skip to contentSkip to conversation

Internal error: Maps lock

linux-lvm Alexander Skwar 2 participants 3 messages Aug 25, 2010

lore
Share & tools
lore
#0 lore raw

Hello again.

I'm now running into another problem:

+ /sbin/lvm lvcreate --permission r --snapshot /dev/Sys/Home --name Home-Backup_Snapshot --extents 15%ORIGIN

  Internal error: Maps lock 14004224 < unlock 14266368
  Logical volume "Home-Backup_Snapshot" created

What does this "Internal error" mean? Did it actually cause any harm? I'm confused, because it then goes on to say that the LV was created and I've also been able to mount "Home-Backup_Snapshot" (it's ext4, if it matters).

--($ ~)-- sudo /sbin/lvm version
LVM version: 2.02.70(2) (2010-07-06)
Library version: 1.02.52 (2010-07-06)
Driver version: 4.17.0

--($ ~)-- uname -a
Linux winnb000546 2.6.35-ARCH #1 SMP PREEMPT Sat Aug 21 07:23:08 UTC 2010 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz GenuineIntel GNU/Linux

--($ ~)-- cat /proc/devices
Character devices:
1 mem
4 /dev/vc/0
4 tty
4 ttyS
5 /dev/tty
5 /dev/console
5 /dev/ptmx
6 lp
7 vcs
10 misc
13 input
14 sound/mixer
14 sound/sequencer
14 sound/dsp
14 sound/audio
14 sound/sequencer2
14 sound/adsp
21 sg
29 fb
99 ppdev
116 alsa
128 ptm
136 pts
180 usb
189 usb_device
195 nvidia
251 firewire
252 rtc
253 hidraw
254 bsg

Block devices:
259 blkext
7 loop
8 sd
11 sr
65 sd
66 sd
67 sd
68 sd
69 sd
70 sd
71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 device-mapper

--($ ~)-- cat /proc/misc
58 device-mapper
59 rfkill
130 watchdog
235 autofs
229 fuse
60 network_throughput
61 network_latency
62 cpu_dma_latency
1 psaux
228 hpet
231 snapshot
227 mcelog
63 vga_arbiter

--($ ~)-- ls -la /dev/mapper/control
crw------- 1 root root 10, 58 Aug 25 07:10 /dev/mapper/control

Cheers,
Alexander

#1 lore raw
Quoted 10 lines · Alexander Skwar

Hello again.

I'm now running into another problem:

+ /sbin/lvm lvcreate --permission r --snapshot /dev/Sys/Home --name Home-Backup_Snapshot --extents 15%ORIGIN

  Internal error: Maps lock 14004224 < unlock 14266368
  Logical volume "Home-Backup_Snapshot" created

What does this "Internal error" mean? Did it actually cause any harm?

No, you can ignore it.

And update kernel to next minor release (2.6.35.3 in your case) which fixes it.

It is side effect of security fix in kernel, see this commit which fixed it
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d7824370e26325c881b665350ce64fb0a4fde24a

Milan

#2 lore raw

Hi.

2010/8/25 Milan Broz <[email protected]>:

Quoted 5 lines · Alexander Skwar
Quoted 4 lines

Hello again.

I'm now running into another problem:

Quoted 8 lines
Quoted 6 lines

+ /sbin/lvm lvcreate --permission r --snapshot /dev/Sys/Home --name Home-Backup_Snapshot --extents 15%ORIGIN

  Internal error: Maps lock 14004224 < unlock 14266368

  Logical volume "Home-Backup_Snapshot" created

What does this "Internal error" mean? Did it actually cause any harm?

No, you can ignore it.

Fine.

BTW: I noticed, that I don't (seem to) get this error message, when I set the locale to de_CH.utf8. When I set it to C or POSIX, I get this error message.

Alexander
--
↯    Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/     ↯ ↯ Chat (Jabber/Google Talk) ↣ [email protected] , AIM: alexws77  ↯