From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mail.saout.de (Postfix) with ESMTP for ; Fri, 24 Dec 2010 11:01:58 +0100 (CET) Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oBOA1vbb005093 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Dec 2010 05:01:57 -0500 Received: from [10.36.6.36] (vpn1-6-36.ams2.redhat.com [10.36.6.36]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id oBOA1u2U023529 for ; Fri, 24 Dec 2010 05:01:56 -0500 Message-ID: <4D146F93.2080100@redhat.com> Date: Fri, 24 Dec 2010 11:01:55 +0100 From: Milan Broz MIME-Version: 1.0 References: <1293140375.3739.16.camel@enigma> <4D1467B0.3020805@redhat.com> In-Reply-To: <4D1467B0.3020805@redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [dm-crypt] problem cryptdisks_start List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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