You are not logged in.

#1 2007-04-18 14:49:44

xor
Member
From: Sweden
Registered: 2003-03-20
Posts: 73

cryptsetup disk problem

Hello!
I'm not really sure when this problem did appear, before the last reboot everything was working fine.

last
   
xor vc/1                          Wed Apr 18 06:20 - 06:30  (00:10)   
reboot   system boot  2.6.20-ARCH      Wed Apr 18 06:19          (01:44)   
xor vc/1                          Tue Apr 10 09:10 - down  (7+06:36)   
reboot   system boot  2.6.20-ARCH      Tue Apr 10 09:10         (7+06:36)

Today I'm not able to mount my disk:

dmesg says
device-mapper: ioctl: unable to remove open device temporary-cryptsetup-6195
device-mapper: ioctl: unable to remove open device temporary-cryptsetup-6209

and this if trying to mount the disk
VFS: Can't find ext3 filesystem on dev dm-0.

command to mount the disk:
[edited , wrong setup command written here, this is the one I'm using]:
/usr/sbin/cryptsetup luksOpen /dev/sda4 work && mount -t ext3 -O noatime /dev/mapper/work /work
Enter passphrase:

/dev/mapper/work is created nice but mount is not possible

Information:

cryptsetup luksDump /dev/sda4
LUKS header information for /dev/sda4

Version:        1
Cipher name:    aes
Cipher mode:    cbc-essiv:sha256
Hash spec:      sha1
Payload offset: 1032
MK bits:        128
MK digest:      7b d2 e3 f4 50 ae f5 a0 f6 ec 2b ba 6e 81 33 f6 3c 00 f0 fb
MK salt:        56 00 68 72 fc 00 af 71 36 81 6f 0b 20 ca 07 4c
                a2 48 45 05 22 dc ff b6 d7 e5 99 4b 9e 7c 08 03
MK iterations:  10
UUID:           2605ed72-fd34-46f6-95e2-0bdb4ca68dac

Key Slot 0: ENABLED
        Iterations:             77340
        Salt:                   ae 00 09 85 f9 6f 31 fa a9 b9 d1 79 f3 87 fe a6
                                d0 5d 32 5e 4f 3b 50 36 24 fe 3a c8 75 f3 d3 1a
        Key material offset:    8
        AF stripes:             4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED


Could any of the following packages be the cause:

[04/03/07 08:54] installed lftp (3.5.9-1)
[04/04/07 08:01] installed portmap (5beta-9)
[04/04/07 08:01] installed fam (2.7.0-9)
[04/04/07 08:01] installed samba (3.0.24-4)
[04/10/07 08:45] synchronizing package lists
[04/10/07 08:45] starting full system upgrade
[04/10/07 08:48] synchronizing package lists
[04/10/07 08:48] starting full system upgrade
[04/10/07 09:07] upgraded freetype2 (2.3.1-1 -> 2.3.3-2)
[04/10/07 09:07] upgraded glibc (2.5-6 -> 2.5-8)
[04/10/07 09:07] upgraded ipw3945-ucode (1.13-1 -> 1.14.2-1)
[04/10/07 09:07] upgraded ipw3945d (1.7.22-2 -> 1.7.22-3)
[04/10/07 09:07] upgraded jre (6-2 -> 6-3)
[04/10/07 09:07] upgraded kernel26 (2.6.20.4-1 -> 2.6.20.6-3)
[04/10/07 09:07] upgraded libx11 (1.1.1-3 -> 1.1.1-4)
[04/10/07 09:07] upgraded libxfont (1.2.7-1 -> 1.2.8-1)
[04/10/07 09:07] upgraded mplayer (1.0rc1-4 -> 1.0rc1-5)
[04/10/07 09:07] installed hunspell (1.1.4-2)
[04/10/07 09:07] installed icu (3.6-1)
[04/10/07 09:07] installed libgsf (1.14.3-2)
[04/10/07 09:07] installed libwpd (0.8.9-1)
[04/10/07 09:07] installed libxslt (1.1.20-2)
[04/10/07 09:07] installed xmlsec (1.2.10-3)
[04/10/07 09:07] installed startup-notification (0.9-1)
[04/10/07 09:07] installed xalan-java (2.7.0-2)
[04/10/07 09:08] upgraded openoffice-base (2.0.4-1 -> 2.2.0-3)
[04/10/07 09:08] upgraded openoffice-sv (2.0.4-1 -> 2.2.0-3)
[04/10/07 09:08] upgraded qt (3.3.8-2 -> 3.3.8-3)
[04/10/07 09:08] upgraded xorg-server (1.2.0-3 -> 1.2.0-5)
[04/10/07 09:22] installed ltrace (0.3.36-1)
[04/11/07 09:24] installed unzip (5.52-2)
[04/16/07 06:45] synchronizing package lists
[04/16/07 06:45] starting full system upgrade
[04/17/07 14:35] installed damageproto (1.1.0-1)
[04/17/07 14:35] installed libxdamage (1.1-1)
[04/17/07 14:35] installed conky (1.4.5-1)

Any suggestions?
/usr/sbin/cryptsetup -c "twofish-cbc-essiv:sha256" create work /dev/sda4  && mount -t ext3 -O noatime
/dev/mapper/work /work
/xor


From startup at 04/10/07, last known working date:
Apr 10 09:10:31 flax [drm] Initialized drm 1.1.0 20060810
Apr 10 09:10:31 flax device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
Apr 10 09:10:31 flax Intel(R) PRO/1000 Network Driver - version 7.3.15-k2

Last edited by xor (2007-04-18 19:13:57)

Offline

Board footer

Powered by FluxBB