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

Bug#588770: initramfs-tools: modules=dep in initramfs.conf breaks suspend-to-disk



Package: initramfs-tools
Version: 0.97.2
Severity: normal
Tags: sid

Hi,

i just noticed using modules=dep instead of modules=most breaks suspend-to-disk
for me. My swap partition lies on a PATA disk  while my root file system lies
on a SATA disk, so  the needed PATA drivers aren't loaded and thus the device
file for the swap partition doesn't exist. Perhaps there should be a resume
hook script that checks for this condition?



-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 13M Jul 12 07:35 /boot/initrd.img-2.6.32-3-686
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-686 root=UUID=def4ac9a-2cc2-4aa0-8887-e4e24c690d3e ro quiet resume=UUID=ef363879-34ea-4b27-9ef9-2542cfd62987

-- resume
RESUME=/dev/sdb2
-- /proc/filesystems
	ext4
	fuseblk

-- lsmod
Module                  Size  Used by
radeon                398727  2 
ttm                    26172  1 radeon
drm_kms_helper         17247  1 radeon
drm                   107671  5 radeon,ttm,drm_kms_helper
agpgart                19516  2 ttm,drm
i2c_algo_bit            3497  1 radeon
ppdev                   4058  0 
lp                      5570  0 
cpufreq_userspace       1476  0 
cpufreq_stats           1940  0 
cpufreq_conservative     4018  0 
battery                 3782  0 
cpufreq_powersave        602  0 
vboxnetadp              5118  0 
vboxnetflt             12555  0 
vboxdrv               126574  2 vboxnetadp,vboxnetflt
irda_usb                8007  0 
irda                   75920  1 irda_usb
crc_ccitt               1039  1 irda
binfmt_misc             4907  1 
kvm                   182289  0 
fuse                   43750  1 
hwmon_vid               1528  0 
ndiswrapper           134221  0 
powernow_k8             9788  1 
joydev                  6771  0 
usbhid                 27888  0 
hid                    50657  1 usbhid
snd_usb_audio          50466  2 
snd_usb_lib            10989  1 snd_usb_audio
r8192s_usb            441967  0 
ide_gd_mod             17171  2 
snd_hda_codec_atihdmi     1687  1 
ata_generic             2015  0 
snd_hda_codec_realtek   163098  1 
ide_pci_generic         1924  0 
snd_hda_intel          16427  4 
snd_hda_codec          46002  3 snd_hda_codec_atihdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               4054  2 snd_usb_audio,snd_hda_codec
snd_pcm_oss            28671  0 
snd_mixer_oss          10461  1 snd_pcm_oss
snd_pcm                47362  5 snd_usb_audio,snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_seq_midi            3576  0 
snd_rawmidi            12505  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      3684  1 snd_seq_midi
snd_seq                35459  3 snd_seq_midi,snd_seq_midi_event
snd_timer              12258  2 snd_pcm,snd_seq
snd_seq_device          3673  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    34363  24 snd_usb_audio,snd_hda_codec_realtek,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
ohci_hcd               16904  0 
sg                     15964  0 
ehci_hcd               27574  0 
soundcore               3450  1 snd
snd_page_alloc          5041  2 snd_hda_intel,snd_pcm
atiixp                  1848  1 
shpchp                 21220  0 
sr_mod                 10770  0 
usbcore                98126  9 irda_usb,ndiswrapper,usbhid,snd_usb_audio,snd_usb_lib,r8192s_usb,ohci_hcd,ehci_hcd
firewire_ohci          16509  0 
ide_core               64146  3 ide_gd_mod,ide_pci_generic,atiixp
i2c_piix4               7076  0 
r8169                  24784  0 
pci_hotplug            18065  1 shpchp
parport_pc             15799  1 
firewire_core          31139  1 firewire_ohci
i2c_core               12648  4 radeon,drm,i2c_algo_bit,i2c_piix4
k8temp                  2411  0 
nls_base                4541  1 usbcore
psmouse                44413  0 
mii                     2714  1 r8169
crc_itu_t               1035  1 firewire_core
parport                22554  3 ppdev,lp,parport_pc
pcspkr                  1207  0 
cdrom                  26487  1 sr_mod
floppy                 40923  0 
evdev                   5609  16 
serio_raw               2916  0 
processor              26571  1 powernow_k8
ext4                  254909  1 
mbcache                 3762  1 ext4
jbd2                   56059  1 ext4
crc16                   1027  1 ext4
dm_mod                 46074  0 
sd_mod                 25781  2 
crc_t10dif              1012  1 sd_mod
ahci                   26966  1 
libata                114408  2 ata_generic,ahci
thermal                 9206  0 
button                  3598  0 
thermal_sys             9378  2 processor,thermal
scsi_mod              101297  4 sg,sr_mod,sd_mod,libata

-- /etc/kernel-img.conf
# Kernel Image management overrides
# See kernel-img.conf(5) for details
do_symlinks = Yes
postinst_hook = /usr/sbin/update-grub
postrm_hook = /usr/sbin/update-grub
do_bootloader = no
do_initrd = Yes
relative_links = Yes

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto

-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to //bin/bash

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-1     tools for managing Linux kernel mo
ii  udev                          160-1      /dev/ and hotplug management daemo

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

Versions of packages initramfs-tools suggests:
pn  bash-completion               <none>     (no description available)

-- no debconf information



Reply to: