[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#526542: marked as done (initramfs-tools: fails if swap is encrypted and LVM is used)



Your message dated Sat, 2 May 2009 21:09:11 +0200
with message-id <20090502190911.GI9471@baikonur.stro.at>
and subject line Re: Bug#526542: initramfs-tools: fails if swap is encrypted and LVM is used
has caused the Debian Bug report #526542,
regarding initramfs-tools: fails if swap is encrypted and LVM is used
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
526542: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526542
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92o
Severity: important

Use LVM and have a swap an encrypted partition. Then
suspend to disk. Then try to resume.... now all those nasty "no sed",
"no tr" errors during boot (before the passphrase prompt) will kick into
effect, and your system will boot normally, instead of resuming.

Also, there is a useless prompt where the computer asks at every boot to
identify the swap, even though the correct path in the LVM is on the
prompt (but says that that's not good).

Once the sed and tr are in the generated iniramfs, all is OK.

-- Package-specific info:
-- /proc/cmdline
root=/dev/hda2 ro quiet

-- /proc/filesystems
	ext3

-- lsmod
Module                  Size  Used by
i915                   25856  2 
drm                    66120  3 i915
binfmt_misc             7336  1 
ppdev                   6500  0 
parport_pc             27576  0 
lp                      8140  0 
parport                30964  3 ppdev,parport_pc,lp
acpi_cpufreq            6636  1 
cpufreq_conservative     5896  0 
cpufreq_userspace       3204  0 
cpufreq_stats           3844  0 
cpufreq_powersave       1824  0 
microcode               8336  0 
nfsd                  187644  17 
auth_rpcgss            31048  1 nfsd
exportfs                4000  1 nfsd
nfs                   217432  0 
lockd                  54040  2 nfsd,nfs
nfs_acl                 2880  2 nfsd,nfs
sunrpc                163156  13 nfsd,auth_rpcgss,nfs,lockd,nfs_acl
ipv6                  210372  22 
loop                   13164  0 
snd_hda_intel         323540  1 
snd_pcm_oss            32096  0 
snd_mixer_oss          12256  1 snd_pcm_oss
snd_pcm                62788  2 snd_hda_intel,snd_pcm_oss
arc4                    1824  2 
ecb                     2624  2 
snd_seq_dummy           2660  0 
snd_seq_oss            24636  0 
iwlagn                 76676  0 
snd_seq_midi            5760  0 
iwlcore                74724  1 iwlagn
pcmcia                 29940  0 
snd_rawmidi            18688  1 snd_seq_midi
snd_seq_midi_event      6368  2 snd_seq_oss,snd_seq_midi
psmouse                32016  0 
led_class               3876  1 iwlcore
rtc_cmos                8704  0 
snd_seq                41576  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
firmware_class          6888  3 microcode,iwlagn,pcmcia
rtc_core               13948  1 rtc_cmos
i2c_i801                8112  0 
mac80211              114864  2 iwlagn,iwlcore
rtc_lib                 2848  1 rtc_core
yenta_socket           20780  1 
rsrc_nonstatic          9344  1 yenta_socket
serio_raw               4804  0 
i2c_core               20564  1 i2c_i801
iTCO_wdt                9572  0 
pcmcia_core            30484  3 pcmcia,yenta_socket,rsrc_nonstatic
snd_timer              17992  2 snd_pcm,snd_seq
cfg80211               21320  3 iwlagn,iwlcore,mac80211
snd_seq_device          6412  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
video                  16240  0 
snd                    45688  11 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
output                  2784  1 video
intel_agp              22460  1 
soundcore               6440  1 snd
joydev                  8672  0 
wmi                     6408  0 
snd_page_alloc          7336  2 snd_hda_intel,snd_pcm
battery                10116  0 
agpgart                29780  3 drm,intel_agp
button                  6032  0 
ac                      4132  0 
evdev                   8324  9 
dcdbas                  6336  0 
ext3                  105128  5 
jbd                    40820  1 ext3
mbcache                 7396  1 ext3
sha256_generic         11392  0 
cbc                     3264  1 
dm_crypt               11268  1 
crypto_blkcipher       15204  4 ecb,cbc,dm_crypt
dm_mirror              15936  0 
dm_log                  8548  1 dm_mirror
dm_snapshot            15332  0 
dm_mod                 46772  15 dm_crypt,dm_mirror,dm_log,dm_snapshot
usbhid                 23364  0 
hid                    33868  1 usbhid
ide_disk               10464  4 
ata_piix               15460  0 
ata_generic             4580  0 
libata                143788  2 ata_piix,ata_generic
scsi_mod              129948  1 libata
dock                    8368  1 libata
piix                    5800  3 
atkbd                  15476  0 
firewire_ohci          18020  0 
firewire_core          32096  1 firewire_ohci
crc_itu_t               2080  1 firewire_core
ide_pci_generic         3588  0 
ide_core               84548  3 ide_disk,piix,ide_pci_generic
ehci_hcd               29292  0 
tg3                   104836  0 
libphy                 17248  1 tg3
uhci_hcd               19088  0 
usbcore               118392  4 usbhid,ehci_hcd,uhci_hcd
thermal                15132  0 
processor              33420  4 acpi_cpufreq,thermal
fan                     4324  0 
thermal_sys             9416  4 video,thermal,processor,fan

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
relative_links = yes
do_bootloader = no
do_bootfloppy = 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
BOOT=local
DEVICE=eth0
NFSROOT=auto

-- /etc/crypttab
hda3_crypt /dev/hda3 none luks


-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (1370, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.7 (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/bash

Versions of packages initramfs-tools depends on:
ii  cpio                      2.9-13         GNU cpio -- a program to manage ar
ii  findutils                 4.4.0-2        utilities for finding files--find,
ii  klibc-utils               1.5.12-2       small utilities built with klibc f
ii  module-init-tools         3.4-1          tools for managing Linux kernel mo
ii  udev                      0.125-7+lenny1 /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
pn  busybox | busybox-initramfs   <none>     (no description available)

initramfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Fri, May 01, 2009 at 10:38:10PM +0200, Mate Soos wrote:
> Package: initramfs-tools
> Version: 0.92o
> Severity: important
> 
> Use LVM and have a swap an encrypted partition. Then
> suspend to disk. Then try to resume.... now all those nasty "no sed",
> "no tr" errors during boot (before the passphrase prompt) will kick into
> effect, and your system will boot normally, instead of resuming.
> 
> Also, there is a useless prompt where the computer asks at every boot to
> identify the swap, even though the correct path in the LVM is on the
> prompt (but says that that's not good).
> 
> Once the sed and tr are in the generated iniramfs, all is OK.
> 
> 
> Versions of packages initramfs-tools recommends:
> pn  busybox | busybox-initramfs   <none>     (no description available)
> 
> initramfs-tools suggests no packages.

fix your box:
apt-get install busybox





--- End Message ---

Reply to: