FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-02-2010, 04:13 PM
Willi Mann
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

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_k8 10978 1
cpufreq_stats 2659 0
cpufreq_powersave 902 0
battery 4998 0
cpufreq_conservative 7910 0
cpufreq_userspace 2024 0
ppdev 5565 0
lp 8201 0
parport 27314 2 ppdev,lp
sco 7273 2
bridge 39813 0
stp 1440 1 bridge
rfcomm 29810 0
bnep 9722 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_rpcgss 33572 1 nfsd
sunrpc 162584 12 nfsd,lockd,nfs_acl,auth_rpcgss
exportfs 3202 1 nfsd
binfmt_misc 6550 1
fuse 50478 1
radeon 572633 2
ttm 40361 1 radeon
drm_kms_helper 20097 1 radeon
drm 143510 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 4225 1 radeon
f71882fg 26374 0
eeprom 2457 0
lm80 8364 0
firewire_sbp2 11562 0
loop 11902 0
snd_ens1371 16842 4
gameport 7448 1 snd_ens1371
snd_ac97_codec 99298 1 snd_ens1371
ac97_bus 1086 1 snd_ac97_codec
snd_pcm_oss 32790 0
snd_mixer_oss 12654 1 snd_pcm_oss
snd_pcm 61078 4 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_seq_midi 4432 0
snd_rawmidi 15810 2 snd_ens1371,snd_seq_midi
snd_seq_midi_event 4628 1 snd_seq_midi
snd_seq 43279 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
snd 47090 15 snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_o ss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_d evice
psmouse 45603 0
edac_core 29261 0
tpm_tis 7336 0
pci_hotplug 21251 1 shpchp
joydev 8546 0
edac_mce_amd 6457 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 ,i2c_piix4
evdev 7384 17
snd_page_alloc 6313 1 snd_pcm
tpm_bios 4521 1 tpm
processor 29489 1 powernow_k8
button 4650 0
hid_cherry 1501 0
ext3 107229 3
jbd 37789 1 ext3
mbcache 5050 1 ext3
dm_mod 55478 0
sg 18959 0
usbhid 33507 0
hid 63449 2 hid_cherry,usbhid
sr_mod 12602 0
cdrom 29358 1 sr_mod
sd_mod 30459 5
crc_t10dif 1276 1 sd_mod
ata_generic 3015 0
aic7xxx 107331 0
firewire_ohci 19490 0
ahci 32502 5
pata_atiixp 3521 0
scsi_transport_spi 18806 1 aic7xxx
firewire_core 37807 2 firewire_sbp2,firewire_ohci
crc_itu_t 1307 1 firewire_core
libata 134105 3 ata_generic,ahci,pata_atiixp
r8169 28403 0
ohci_hcd 19324 0
mii 3210 1 r8169
ehci_hcd 31378 0
usbcore 126501 4 usbhid,ohci_hcd,ehci_hcd
nls_base 6377 1 usbcore
scsi_mod 123365 7 firewire_sbp2,sg,sr_mod,sd_mod,aic7xxx,scsi_transp ort_spi,libata
thermal 11889 0
thermal_sys 11990 2 processor,thermal

-- /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
COMPRESS=gzip
BOOT=local
DEVICE=
NFSROOT=auto


-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.33-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.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~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



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100602161308.3420.38265.reportbug@amdlinux">http ://lists.debian.org/20100602161308.3420.38265.reportbug@amdlinux
 
Old 06-07-2010, 10:25 PM
Michael Prokop
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

tags 584259 + moreinfo
thanks

* Willi Mann <willi@wm1.at> [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-
 
Old 06-17-2010, 12:02 PM
Michael Prokop
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

* Willi Mann <willi@wm1.at> [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-
 
Old 06-20-2010, 04:10 PM
Ben Hutchings
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

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.
 
Old 06-20-2010, 05:50 PM
Willi Mann
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

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-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4C1E54C9.70706@wm1.at">http://lists.debian.org/4C1E54C9.70706@wm1.at
 
Old 08-30-2011, 04:41 AM
Jonathan Nieder
 
Default Bug#584259: initramfs-tools: breaks software suspend (hibernation)

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-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110830044113.GB8491@elie.gateway.2wire.net">http ://lists.debian.org/20110830044113.GB8491@elie.gateway.2wire.net
 

Thread Tools




All times are GMT. The time now is 03:40 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org