[pkg-cryptsetup-devel] Bug#579162: cryptsetup: Error mounting device: EXT3-fs: group descriptors corrupted

David Simpson colour at homecall.co.uk
Sun Apr 25 21:50:44 UTC 2010


Package: cryptsetup
Version: 2:1.1.0-2.1
Severity: important
Tags: squeeze


When I try to mount an encrypted container I get the following:

# mount /dev/mapper/container1 /mnt/container1

wrong fs type, bad option, bad superblock on /dev/mapper/container1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

# dmesg
  [511.590000] EXT3-fs error (device dm-0): ext3_check_descriptors: Block bitmap 
for group 0 not in group (block 1825591687)!
  [511.620000] EXT3-fs: group descriptors corrupted!

I am running this on a SheevaPlug with a USB external harddrive. 

If I try the same container on an updated Squeeze installed on an AthlonXP 2800 desktop 
(2.6.32-trunk-686 #1 SMP), I get the same error. However, if I try with Ubuntu 9.10 on 
the same Athlon desktop, this same container mounts successfully. 

Back on the Sheeva Plug, if I downgrade the package to cryptsetup_2%3a1.1.0~rc2-1_armel.deb, 
the same container mounts successfully, but fails to mount if I then upgrade to the next latest 
that I have in my package archive: cryptsetup_2%3a1.1.0-2_armel.deb. 

For the failure cases, testdisk fails to find any valid superblocks on the mapped device.  Both 
of my (ext3) containers are showing the same problem.

-- Package-specific info:
-- /proc/cmdline
console=ttyS0,115200

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=b10702f0-b12b-458b-ab36-271ea1aba5bb /               ext3    errors=remount-ro 0       1
# /mnt/sda2 was on /dev/sda2 during installation
UUID=fd648dd0-74a0-44b8-8bd4-8203ea8e6514 /mnt/sda2       ext4    defaults        0       2
# /mnt/sda3 was on /dev/sda3 during installation
UUID=0a824fb4-bd0f-4d34-9120-25e345a89341 /mnt/sda3       ext4    defaults        0       2
# /mnt/sda6 was on /dev/sda6 during installation
UUID=c41592bd-36f0-46ae-a7d8-e66c02da7bf1 /mnt/sda6       ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=df642d20-3367-4dfc-b3f1-99fc4fd4444c none            swap    sw              0       0
/dev/sda1       /media/usb0     auto    rw,user,noauto  0       0
/dev/sda2       /media/usb1     auto    rw,user,noauto  0       0
/dev/sda3       /media/usb2     auto    rw,user,noauto  0       0
/dev/sda4       /media/usb3     auto    rw,user,noauto  0       0
/dev/sda5       /media/usb4     auto    rw,user,noauto  0       0
/dev/sda6       /media/usb5     auto    rw,user,noauto  0       0
/dev/mmcblk0	/mnt/sdcard	auto	defaults	0	0

-- lsmod
Module                  Size  Used by
sha256_generic          9644  0 
cbc                     3664  1 
nls_utf8                1920  0 
nls_cp437               5800  0 
vfat                   10608  0 
fat                    51084  1 vfat
nls_base                7208  4 nls_utf8,nls_cp437,vfat,fat
aes_generic            34868  2 
ipv6                  284676  20 
ext4                  222872  3 
jbd2                   58192  1 ext4
loop                   15032  2 
dm_crypt               13548  1 
dm_mod                 60724  2 dm_crypt
mmc_block              10172  0 
mvsdio                  7544  0 
mmc_core               55124  2 mmc_block,mvsdio
mv643xx_eth            26092  0 
libphy                 22724  1 mv643xx_eth
ext3                  124956  1 
jbd                    47096  1 ext3
mbcache                 8248  2 ext4,ext3
sd_mod                 34572  6 
crc_t10dif              1912  1 sd_mod
ehci_hcd               34648  0 
usb_storage            52512  5 
usbcore               137016  3 ehci_hcd,usb_storage
scsi_mod              151244  2 sd_mod,usb_storage


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armel (armv5tel)

Kernel: Linux 2.6.30-2-kirkwood
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.45-1 The Linux Kernel Device Mapper use
ii  libc6                        2.10.2-6    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.45-1 The Linux Kernel Device Mapper use
ii  libgcc1                      1:4.4.2-9   GCC support library
ii  libpopt0                     1.15-1      lib for parsing cmdline parameters
ii  libuuid1                     2.16.2-0    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
pn  dosfstools                    <none>     (no description available)
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          151-3      /dev/ and hotplug management daemo

-- no debconf information





More information about the pkg-cryptsetup-devel mailing list