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?
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
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100712055604.14634.99549.reportbug@localhost.loc aldomain">http://lists.debian.org/20100712055604.14634.99549.reportbug@localhost.loc aldomain
07-12-2010, 01:27 PM
Stephen Powell
Bug#588770: initramfs-tools: modules=dep in initramfs.conf breaks suspend-to-disk
On Mon, 12 Jul 2010 01:56:04 -0400 (EDT), Matthias Berndt wrote:
>
> 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?
I am not one of the maintainers for initramfs-tools, just a user who happened
to notice this bug report. But as a temporary circumvention, you may be able
to work around this problem by listing the extra modules you need in
/etc/initramfs-tools/modules. I was able to circumvent a similar problem by
doing this. (See bug report 588452.)
--
.'`. Stephen Powell
: :' :
`. `'`
`-
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 32724179.121188.1278941254175.JavaMail.root@md01.w ow.synacor.com">http://lists.debian.org/32724179.121188.1278941254175.JavaMail.root@md01.w ow.synacor.com
07-28-2010, 06:07 PM
maximilian attems
Bug#588770: initramfs-tools: modules=dep in initramfs.conf breaks suspend-to-disk
On Mon, 12 Jul 2010, Matthias Berndt wrote:
> 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?
>
this isn't as trivial as said. the sys walking code is nicely abstracted
in a function the ugly^Wdiverse root parsing code not.
so it should do that and then one can add aboves.
this is clearly wishlist as MODULES=dep is not default.
not a priority for squeeze, thanks for the report.
--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100728180705.GC16367@stro.at">http://lists.debian.org/20100728180705.GC16367@stro.at