Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2011-08-29 Thread Jonathan Nieder
Jonathan Nieder wrote:

> If you get a chance to test a squeeze (2.6.32) kernel, too, that would
> be helpful.

Erm, what am I saying?  The fix is in squeeze, so no need to test unless
bored.

Sleepily,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-20 Thread Willi Mann
Am 2010-06-20 18:10, schrieb Ben Hutchings:
> On Sat, 2010-06-19 at 19:06 +0200, Willi Mann wrote:
>> Hi!
>>
>> The problem can be traced to module hid_cherry. If it exists in the
>> initrd, the resume works, otherwise it doesn't.
> 
> This seems to indicate that hid_cherry doesn't fully reinitialise the
> device on resume.  This would be a kernel bug, so I'm reassigning it.

I've now tested 2.6.34 from experimental. It works without hid_cherry in
the initrd. So the bug only applies to the testing/unstable kernel.

WM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-20 Thread Ben Hutchings
On Sat, 2010-06-19 at 19:06 +0200, Willi Mann wrote:
> Hi!
> 
> The problem can be traced to module hid_cherry. If it exists in the
> initrd, the resume works, otherwise it doesn't.

This seems to indicate that hid_cherry doesn't fully reinitialise the
device on resume.  This would be a kernel bug, so I'm reassigning it.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-19 Thread Willi Mann
Hi!

The problem can be traced to module hid_cherry. If it exists in the
initrd, the resume works, otherwise it doesn't.

WM



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-17 Thread Michael Prokop
* Willi Mann  [Wed Jun 09, 2010 at 06:53:21PM +0200]:

> >> -- resume
> >> # RESUME=/dev/sda6
> >> RESUME='LABEL=amdlinux-swap'

> > Does it work with 'RESUME=/dev/disk/by-label/amdlinux-swap'?

> No.

Ok.

> > If it still does not work then: can you please extract the broken
> > and the working initramfs[1] and check the difference between them?
> > Especially the included configuration files and the list of files

> Attached is the diff on the filelist and the diff on the conf directory.

Thanks. The most obvious ones for me are:

/lib/modules/2.6.33-2-amd64/kernel/drivers/gpu/drm/drm_kms_helper.ko
/lib/modules/2.6.33-2-amd64/kernel/drivers/gpu/drm/drm.ko
/lib/modules/2.6.33-2-amd64/kernel/drivers/gpu/drm/i915
/lib/modules/2.6.33-2-amd64/kernel/drivers/gpu/drm/i915/i915.ko

and several modules inside
/lib/modules/2.6.33-2-amd64/kernel/drivers/video/

Are you using KMS?
Does booting with the "nomodeset" kernel option help?

> Is there a way to forcefully insert the modules that are no longer
> included?

Yes, just add the names of the modules to
/etc/initramfs-tools/modules and rebuild the initrd.

regards,
-mika-


signature.asc
Description: Digital signature


Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-09 Thread Willi Mann
Hi!

>> -- resume
>> # RESUME=/dev/sda6
>> RESUME='LABEL=amdlinux-swap'
> 
> Does it work with 'RESUME=/dev/disk/by-label/amdlinux-swap'?

No.

> If it still does not work then: can you please extract the broken
> and the working initramfs[1] and check the difference between them?
> Especially the included configuration files and the list of files

Attached is the diff on the filelist and the diff on the conf directory.

Is there a way to forcefully insert the modules that are no longer
included?

WM
diff -urN 0.93.3/conf//initramfs.conf 0.94.4/conf//initramfs.conf
--- 0.93.3/conf//initramfs.conf	2010-06-09 18:22:05.0 +0200
+++ 0.94.4/conf//initramfs.conf	2010-06-09 18:25:25.0 +0200
@@ -8,7 +8,7 @@
 #
 # MODULES: [ most | netboot | dep | list ]
 #
-# most - Add all framebuffer, acpi, filesystem, and harddrive drivers.
+# most - Add most filesystem and all harddrive drivers.
 #
 # dep - Try and guess which modules to load.
 #
@@ -36,6 +36,12 @@
 KEYMAP=n
 
 #
+# COMPRESS: [ gzip | bzip2 | lzma ]
+#
+
+COMPRESS=gzip
+
+#
 # NFS Section of the config.
 #
 


filelist.diff.gz
Description: GNU Zip compressed data


Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-07 Thread Michael Prokop
tags 584259 + moreinfo
thanks

* Willi Mann  [Mit Jun 02, 2010 at 06:13:08 +0200]:

> Since the upgrade to 0.94.4 in testing, software suspend's resume
> does not complete. The screen it ends up with is black except a blinking 
> cursor,
> but I can use Alt+F1 to switch to a screen that shows some messages 
> concerning 
> hibernation. In this screen, typed keys are shown on the screen, but no 
> further
> action (especially no reaction of Sys-Rq keys) can be started. Particularly, 
> it
> is not possible to undo the switch done with Alt+F1. 

> I mainly tested the suspend with s2disk from uswsusp, but it's also
> reproduceable with the in-kernel suspend method.

> Downgrading to version 0.93.4 solves the issue (only tested with s2disk). 
> I haven't yet tested the intermediate versions that only ended up in 
> unstable.

[...]

> -- resume
> # RESUME=/dev/sda6
> RESUME='LABEL=amdlinux-swap'

Does it work with 'RESUME=/dev/disk/by-label/amdlinux-swap'?

If it still does not work then: can you please extract the broken
and the working initramfs[1] and check the difference between them?
Especially the included configuration files and the list of files
would be interesting.

[1] Extract the initramfs running:

 cd /tmp/
 mkdir initramfs
 cd initramfs
 gunzip -c /boot/initrd.img-2.6.33... | cpio -i -d -H newc 
--no-absolute-filenames

regards,
-mika-


signature.asc
Description: Digital signature


Bug#584259: initramfs-tools: breaks software suspend (hibernation)

2010-06-02 Thread Willi Mann
Package: initramfs-tools
Version: 0.95.1
Severity: important

Since the upgrade to 0.94.4 in testing, software suspend's resume
does not complete. The screen it ends up with is black except a blinking cursor,
but I can use Alt+F1 to switch to a screen that shows some messages concerning 
hibernation. In this screen, typed keys are shown on the screen, but no further
action (especially no reaction of Sys-Rq keys) can be started. Particularly, it
is not possible to undo the switch done with Alt+F1. 

I mainly tested the suspend with s2disk from uswsusp, but it's also
reproduceable with the in-kernel suspend method.

Downgrading to version 0.93.4 solves the issue (only tested with s2disk). 
I haven't yet tested the intermediate versions that only ended up in 
unstable.



-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 8.3M Apr 29  2009 /boot/initrd.img-2.6.29-1-amd64
-rw-r--r-- 1 root root 8.2M Apr 29  2009 /boot/initrd.img-2.6.29-1-amd64.bak
-rw-r--r-- 1 root root 8.3M May 18  2009 /boot/initrd.img-2.6.29-2-amd64
-rw-r--r-- 1 root root 9.5M Oct 12  2009 /boot/initrd.img-2.6.30-1-amd64
-rw-r--r-- 1 root root 9.5M Sep 30  2009 /boot/initrd.img-2.6.30-1-amd64.bak
-rw-r--r-- 1 root root  11M Oct 29  2009 /boot/initrd.img-2.6.30-2-amd64
-rw-r--r-- 1 root root 9.5M Oct 18  2009 /boot/initrd.img-2.6.30-2-amd64.bak
-rw-r--r-- 1 root root 8.4M May 23  2009 /boot/initrd.img-2.6.30-rc6
-rw-r--r-- 1 root root 8.6M Jun 24  2009 /boot/initrd.img-2.6.30-rc7
-rw-r--r-- 1 root root 8.4M May 24  2009 /boot/initrd.img-2.6.30-rc7.bak
-rw-r--r-- 1 root root  12M Dec 15 18:50 /boot/initrd.img-2.6.31-1-amd64
-rw-r--r-- 1 root root  12M Dec  9 17:42 /boot/initrd.img-2.6.31-1-amd64.bak
-rw-r--r-- 1 root root  12M Mar 15 20:37 /boot/initrd.img-2.6.32-3-amd64
-rw-r--r-- 1 root root  12M Feb 22 13:59 /boot/initrd.img-2.6.32-trunk-amd64
-rw-r--r-- 1 root root  12M Jan 15 18:12 /boot/initrd.img-2.6.32-trunk-amd64.bak
-rw-r--r-- 1 root root  13M Jun  2 17:50 /boot/initrd.img-2.6.33-2-amd64
-rw-r--r-- 1 root root  13M Jun  2 17:13 /boot/initrd.img-2.6.33-2-amd64.bak
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.33-2-amd64 
root=UUID=d048da7e-57ef-4713-8f6d-193e926b468f ro quiet

-- resume
# RESUME=/dev/sda6
RESUME='LABEL=amdlinux-swap'
-- /proc/filesystems
ext3
fuseblk

-- lsmod
Module  Size  Used by
powernow_k810978  1 
cpufreq_stats   2659  0 
cpufreq_powersave902  0 
battery 4998  0 
cpufreq_conservative 7910  0 
cpufreq_userspace   2024  0 
ppdev   5565  0 
lp  8201  0 
parport27314  2 ppdev,lp
sco 7273  2 
bridge 39813  0 
stp 1440  1 bridge
rfcomm 29810  0 
bnep9722  2 
l2cap  25306  4 rfcomm,bnep
crc16   1319  1 l2cap
bluetooth  42103  6 sco,rfcomm,bnep,l2cap
rfkill 13164  2 bluetooth
nfsd  255513  11 
lockd  58547  1 nfsd
nfs_acl 2031  1 nfsd
auth_rpcgss33572  1 nfsd
sunrpc162584  12 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs3202  1 nfsd
binfmt_misc 6550  1 
fuse   50478  1 
radeon572633  2 
ttm40361  1 radeon
drm_kms_helper 20097  1 radeon
drm   143510  5 radeon,ttm,drm_kms_helper
i2c_algo_bit4225  1 radeon
f71882fg   26374  0 
eeprom  2457  0 
lm808364  0 
firewire_sbp2  11562  0 
loop   11902  0 
snd_ens137116842  4 
gameport7448  1 snd_ens1371
snd_ac97_codec 99298  1 snd_ens1371
ac97_bus1086  1 snd_ac97_codec
snd_pcm_oss32790  0 
snd_mixer_oss  12654  1 snd_pcm_oss
snd_pcm61078  4 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_seq_midi4432  0 
snd_rawmidi15810  2 snd_ens1371,snd_seq_midi
snd_seq_midi_event  4628  1 snd_seq_midi
snd_seq43279  2 snd_seq_midi,snd_seq_midi_event
snd_timer  15749  3 snd_pcm,snd_seq
snd_seq_device  4493  3 snd_seq_midi,snd_rawmidi,snd_seq
shpchp 26264  0 
snd47090  15 
snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
psmouse45603  0 
edac_core  29261  0 
tpm_tis 7336  0 
pci_hotplug21251  1 shpchp
joydev  8546  0 
edac_mce_amd6457  0 
tpm 9933  1 tpm_tis
k8temp  3139  0 
i2c_piix4   8328  0 
soundcore   4822  1 snd
pcspkr  1699  0 
serio_raw   3960  0 
i2c_core   15385  7 
radeon,drm_kms_helper,drm,i2c_algo_bit,eeprom,lm80,i