[pkg-cryptsetup-devel] Bug#582481: initramfs-tools: System won't boot anymore if it was encrypted by debian squeeze setup

maximilian attems max at stro.at
Fri May 21 14:48:51 UTC 2010


On Fri, 21 May 2010, Andre Pawlowski wrote:

> Package: initramfs-tools
> Version: 0.94.4
> Severity: important
> 
> 
> This bugreport was written with the initrd.img-2.6.32-trunk-amd64.bak before updating yesterday
> to initramfs-tools 0.94.4. I have an encrytped lvm which contains every partition except /boot.
> It was created by the Debian squeeze setup when I installed the system. Today I tried to boot
> the system with the new initramfs-tools and after I entered the password I get this message:
> 
> kernel-provided name 'dm-0' and NAME='/mapper/sda2_crypt' disagree, please use SYMLINK+=
> or change the kernel to provide the proper name
> 
> This bug appears after I upgraded
> 
> libudev0
> udev
> insserv
> groff-base
> initramfs-tools
> libglib2.0-0
> libglib2.0-dev
> libglib2.0-data
> libgps19
> libgudev-1.0-0
> libjack0
> libschroedinger-1.0-0
> libwebkit-1.0-common
> libwebkit-1.0-2
> xserver-xorg-video-intel
> xterm
> 
> because I only changed the initrd.img and after that I could boot the system again 
> I think it is a bug in initramfs-tools.

no we dont set udev symlinks, so it is either a crytsetup
or an udev bug.
 
 
> -- Package-specific info:
> -- /proc/cmdline
> BOOT_IMAGE=/vmlinuz-2.6.32-trunk-amd64 root=/dev/mapper/handtuch--vg-root ro quiet
> 
> -- /proc/filesystems
> 	ext4
> 	fuseblk
> 
> -- lsmod
> Module                  Size  Used by
> nf_conntrack_ipv4       9817  2 
> nf_defrag_ipv4          1139  1 nf_conntrack_ipv4
> xt_state                1303  2 
> nf_conntrack           46359  2 nf_conntrack_ipv4,xt_state
> xt_tcpudp               2319  2 
> iptable_filter          2258  1 
> ip_tables              13899  1 iptable_filter
> x_tables               12813  3 xt_state,xt_tcpudp,ip_tables
> vboxnetadp              4225  0 
> vboxnetflt              9978  0 
> vboxdrv              1710854  2 vboxnetadp,vboxnetflt
> fuse                   50078  1 
> loop                   11767  0 
> firewire_sbp2          11450  0 
> snd_hda_codec_conexant    21789  1 
> joydev                  8411  0 
> snd_hda_intel          18147  0 
> arc4                    1274  2 
> ecb                     1841  2 
> snd_hda_codec          54212  2 snd_hda_codec_conexant,snd_hda_intel
> snd_hwdep               5364  1 snd_hda_codec
> snd_pcm_oss            32399  0 
> snd_mixer_oss          12606  1 snd_pcm_oss
> iwlagn                 71452  0 
> iwlcore                77494  1 iwlagn
> snd_pcm                60615  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
> snd_seq_midi            4208  0 
> snd_rawmidi            15291  1 snd_seq_midi
> snd_seq_midi_event      4628  1 snd_seq_midi
> snd_seq                42769  2 snd_seq_midi,snd_seq_midi_event
> mac80211              135407  2 iwlagn,iwlcore
> snd_timer              15502  2 snd_pcm,snd_seq
> pcmcia                 19426  0 
> uvcvideo               51663  0 
> cfg80211              101253  3 iwlagn,iwlcore,mac80211
> videodev               29977  1 uvcvideo
> thinkpad_acpi          50043  0 
> yenta_socket           19051  1 
> v4l1_compat            11442  2 uvcvideo,videodev
> rsrc_nonstatic          7294  1 yenta_socket
> snd_seq_device          4477  3 snd_seq_midi,snd_rawmidi,snd_seq
> v4l2_compat_ioctl32     8538  1 videodev
> i2c_i801                7766  0 
> rfkill                 12996  2 cfg80211,thinkpad_acpi
> pcspkr                  1699  0 
> pcmcia_core            24054  3 pcmcia,yenta_socket,rsrc_nonstatic
> snd                    44718  11 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
> battery                 4998  0 
> ac                      2192  0 
> wmi                     4307  0 
> psmouse                49521  0 
> soundcore               4598  1 snd
> nvram                   5061  1 thinkpad_acpi
> snd_page_alloc          6217  2 snd_hda_intel,snd_pcm
> evdev                   7336  24 
> serio_raw               3752  0 
> processor              29479  2 
> ext4                  285067  4 
> mbcache                 4970  1 ext4
> jbd2                   66855  1 ext4
> crc16                   1319  1 ext4
> sha256_generic          8692  2 
> cryptd                  5366  0 
> aes_x86_64              7340  2 
> aes_generic            25714  1 aes_x86_64
> cbc                     2539  1 
> dm_crypt               10507  1 
> dm_mod                 53658  15 dm_crypt
> fan                     3346  0 
> sg                     18728  0 
> sr_mod                 12602  0 
> sd_mod                 29673  3 
> crc_t10dif              1276  1 sd_mod
> cdrom                  29399  1 sr_mod
> uhci_hcd               18457  0 
> firewire_ohci          19452  0 
> ahci                   31494  2 
> sdhci_pci               5565  0 
> sdhci                  13966  1 sdhci_pci
> i915                  247359  2 
> drm_kms_helper         18883  1 i915
> libata                131655  1 ahci
> ricoh_mmc               3069  0 
> mmc_core               45456  1 sdhci
> led_class               2401  3 iwlcore,thinkpad_acpi,sdhci
> firewire_core          36560  2 firewire_sbp2,firewire_ohci
> crc_itu_t               1307  1 firewire_core
> ehci_hcd               30578  0 
> thermal                11674  0 
> drm                   137190  3 i915,drm_kms_helper
> i2c_algo_bit            4225  1 i915
> i2c_core               15584  5 videodev,i2c_i801,i915,drm,i2c_algo_bit
> scsi_mod              121909  5 firewire_sbp2,sg,sr_mod,sd_mod,libata
> e1000e                109871  0 
> button                  4634  1 i915
> video                  17445  1 i915
> thermal_sys            11878  4 processor,fan,thermal,video
> output                  1692  1 video
> usbcore               121687  4 uvcvideo,uhci_hcd,ehci_hcd
> nls_base                6377  1 usbcore
> intel_agp              25521  1 
> agpgart                24733  2 drm,intel_agp
> 
> -- /etc/kernel-img.conf
> # Kernel image management overrides
> # See kernel-img.conf(5) for details
> do_symlinks = yes
> do_bootloader = no
> do_initrd = yes
> link_in_boot = no
> postinst_hook = update-grub
> postrm_hook   = update-grub
> 
> -- /etc/initramfs-tools/initramfs.conf
> MODULES=most
> BUSYBOX=y
> KEYMAP=n
> COMPRESS=gzip
> BOOT=local
> DEVICE=eth0
> NFSROOT=auto
> 
> -- /etc/crypttab
> sda2_crypt UUID=e7bf2609-7a87-447c-9827-694bc164debb none luks
> 
> 
> -- System Information:
> Debian Release: squeeze/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages initramfs-tools depends on:
> ii  cpio                         2.11-4      GNU cpio -- a program to manage ar
> ii  findutils                    4.4.2-1     utilities for finding files--find,
> ii  klibc-utils                  1.5.18-1    small utilities built with klibc f
> ii  module-init-tools            3.12~pre2-3 tools for managing Linux kernel mo
> ii  udev                         154-1       /dev/ and hotplug management daemo
> 
> Versions of packages initramfs-tools recommends:
> ii  busybox                       1:1.14.2-2 Tiny utilities for small and embed
> 
> initramfs-tools suggests no packages.
> 
> -- no debconf information
> 
> 
-- 
maks



More information about the pkg-cryptsetup-devel mailing list