* [dm-crypt] problem cryptdisks_start
@ 2010-12-23 21:39 Benno Rieger
2010-12-24 9:28 ` Milan Broz
0 siblings, 1 reply; 3+ messages in thread
From: Benno Rieger @ 2010-12-23 21:39 UTC (permalink / raw)
To: dm-crypt
Most time (but not everytime) when i call cryptdisks_start it reports:
#cryptdisks_start extern0
Starting crypto disk...extern0 (starting)...
semid 2293761: semop failed for cookie 0xd4d580e: incorrect semaphore
state
Failed to set a proper state for notification semaphore identified by
cookie value 223172622 (0xd4d580e) to initialize waiting for incoming
notifications.
The node /dev/mapper/extern0_unformatted should have been renamed
to /dev/mapper/extern0 by udev but new node is not present. Falling back
to direct node rename.
extern0 (started)...done.
I made checks every startup of the disk but there are no errors on it.
Is the "semop failed" a real problem or only a information?
System: debian-sid
Linux 2.6.35-trunk-amd64
hard dirve, on top lvm, on top dmcrypt/luks(using aes-xts-plain 64) with
ext4 file system
Version:
cryptsetup 1.1.3
Best Regards,
Benno
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] problem cryptdisks_start
2010-12-23 21:39 [dm-crypt] problem cryptdisks_start Benno Rieger
@ 2010-12-24 9:28 ` Milan Broz
2010-12-24 10:01 ` Milan Broz
0 siblings, 1 reply; 3+ messages in thread
From: Milan Broz @ 2010-12-24 9:28 UTC (permalink / raw)
To: dm-crypt
On 12/23/2010 10:39 PM, Benno Rieger wrote:
> Most time (but not everytime) when i call cryptdisks_start it reports:
>
> #cryptdisks_start extern0
>
> Starting crypto disk...extern0 (starting)...
> semid 2293761: semop failed for cookie 0xd4d580e: incorrect semaphore
> state
This is problem in device-mapper library (which cryptsetup uses).
Which version you have installed? What architecture it is?
(I remember similar bug on ppc here which as fixed upstream)
Milan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dm-crypt] problem cryptdisks_start
2010-12-24 9:28 ` Milan Broz
@ 2010-12-24 10:01 ` Milan Broz
0 siblings, 0 replies; 3+ messages in thread
From: Milan Broz @ 2010-12-24 10:01 UTC (permalink / raw)
To: dm-crypt
On 12/24/2010 10:28 AM, Milan Broz wrote:
> On 12/23/2010 10:39 PM, Benno Rieger wrote:
>> Most time (but not everytime) when i call cryptdisks_start it reports:
>>
>> #cryptdisks_start extern0
>>
>> Starting crypto disk...extern0 (starting)...
>> semid 2293761: semop failed for cookie 0xd4d580e: incorrect semaphore
>> state
>
> This is problem in device-mapper library (which cryptsetup uses).
>
> Which version you have installed? What architecture it is?
> (I remember similar bug on ppc here which as fixed upstream)
FYI - check that this patch (included in device-mapper 1.02.49)
Fix semctl parameter (union) to avoid misaligned parameter on some arches.
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/libdm/libdm-common.c.diff?cvsroot=lvm2&r1=1.69&r2=1.70
(and possible others) is included (I see on Debian unstable still use 1.02.48).
If not, please report bug to Debian. It is not easy to convince Debian lvm/dm
maintainer to do an update there, though:-)
Milan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-12-24 10:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-23 21:39 [dm-crypt] problem cryptdisks_start Benno Rieger
2010-12-24 9:28 ` Milan Broz
2010-12-24 10:01 ` Milan Broz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox