Bug#568877: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
severity 572858 important thanks On Wed, Mar 10, 2010 at 01:17:09PM +0100, Frédéric Boiteux wrote: Le Mon, 8 Mar 2010 18:01:30 +0100, maximilian attems a écrit : indeed dup and the same you can easily fix it, just write the swap lvm device to echo /dev/mapper/vg-lv /etc/initramfs-tools/conf.d/resume (of course take care to use appropriate vg and lv values for your box and regenerate initramfs with update-initramfs -u Ok, I'll try this, thanks. The given patch on my bug report isn't very useful, only a workaround, waiting for a more experienced dev looking at there ;-) I'd guess you installed with latest squeeze debian installer? Yes, from Squeeze installer of 1st of february. Same issue with a fresh installer and default LVM install, resume from disk failed until /etc/initramfs-tools/conf.d/resume is given something else that UUID : DISTRIB_RELEASE=6.0 (squeeze) - installer build 20101014-00:03 Raising severity, as data lost occurs when suspend to disk fails. -- Simon Paillard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Mon, 08 Mar 2010, maximilian attems wrote: for your box do as root echo resume=/dev/mapper/gaia-swap_1 /etc/initramfs-tools/conf.d/resume this was wrong, should have been echo RESUME=/dev/mapper/gaia-swap_1 /etc/initramfs-tools/conf.d/resume logic is that hardcoded stuff is upercase. and regenerate initramfs with update-initramfs -u will refix upercase handling for 0.94.4, see #576700 thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Le Mon, 8 Mar 2010 18:01:30 +0100, maximilian attems m...@stro.at a écrit : indeed dup and the same you can easily fix it, just write the swap lvm device to echo /dev/mapper/vg-lv /etc/initramfs-tools/conf.d/resume (of course take care to use appropriate vg and lv values for your box and regenerate initramfs with update-initramfs -u Ok, I'll try this, thanks. The given patch on my bug report isn't very useful, only a workaround, waiting for a more experienced dev looking at there ;-) I'd guess you installed with latest squeeze debian installer? Yes, from Squeeze installer of 1st of february. Fred. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Hi Maximilian, Le lundi 08 mars 2010 à 22:51 +0100, maximilian attems a écrit : On Mon, 08 Mar 2010, Julien Valroff wrote: Le lundi 08 mars 2010 à 20:21 +0100, maximilian attems a écrit : On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote: and regenerate initramfs with update-initramfs -u Still doesn't work on my box afet removing the resume option from the kernel command line. Cheers, Julien are you sure you booted from the updated initramfs? update-initramfs might have updated another one you didn't use, please double check. you can specifiy it to update current used linux image update-initramfs -u -k $( uname -r ) I only have one kernel, but have just tested again and it still doesn't resume, simply starts normally (except fsck which is run as the filesystem wasn't unmounted correctly). indeed seems broken since at least from Lenny on, you may want to test latest git, see latest commit: http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary I confirm the last commit fixes my issue (it applies cleanly on the current package source available in unstable). Thanks for your work! Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Hello, Is the 572858 bug a duplicate of mine, 568877 ? I got same problem resuming from hibernation with the swap (and so hibernation image) in a LVM2 partition. The given patch on my bug report isn't very useful, only a workaround, waiting for a more experienced dev looking at there ;-) Fred. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Hi, On Mon, 8 Mar 2010 12:01:42 +0100, Frédéric Boiteux fboit...@calistel.com wrote: Hello, Is the 572858 bug a duplicate of mine, 568877 ? I got same problem resuming from hibernation with the swap (and so hibernation image) in a LVM2 partition. I think you are right, both bugs seem to describe the same issue. I let Maximilian check this and reassign #572858 to lvm2 and mark it as a duplicate just in case our guess is wrong. Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On 03/08/2010 01:55 PM, Julien Valroff wrote: Hi, On Mon, 8 Mar 2010 12:01:42 +0100, Frédéric Boiteux fboit...@calistel.com wrote: Hello, Is the 572858 bug a duplicate of mine, 568877 ? I got same problem resuming from hibernation with the swap (and so hibernation image) in a LVM2 partition. I think you are right, both bugs seem to describe the same issue. I let Maximilian check this and reassign #572858 to lvm2 and mark it as a duplicate just in case our guess is wrong. Cheers, Julien I have the same issues on a testing/unstable system and I do not use LVM. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
reassign 572858 base-installer retitle 572858 use lvm name and not UUID for lvm resume partition severity important stop On Mon, Mar 08, 2010 at 06:26:50AM +0100, Julien Valroff wrote: hi, why is there an UUID in /etc/initramfs-tools/conf.d/resume can you please post: cat /proc/swaps Filename TypeSizeUsedPriority /dev/mapper/gaia-swap_1 partition 9928696 0 -1 thought so, thanks for the post. so it seems that the bug is in d-i base-installer to add an UUID in /etc/initramfs-tools/conf.d/resume although the device is lvm and thus unique anyway. for your box do as root echo resume=/dev/mapper/gaia-swap_1 /etc/initramfs-tools/conf.d/resume and regenerate initramfs with update-initramfs -u -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Le lundi 08 mars 2010 à 13:45 +0100, maximilian attems a écrit : reassign 572858 base-installer retitle 572858 use lvm name and not UUID for lvm resume partition severity important stop On Mon, Mar 08, 2010 at 06:26:50AM +0100, Julien Valroff wrote: hi, why is there an UUID in /etc/initramfs-tools/conf.d/resume can you please post: cat /proc/swaps FilenameTypeSizeUsedPriority /dev/mapper/gaia-swap_1 partition 9928696 0 -1 thought so, thanks for the post. so it seems that the bug is in d-i base-installer to add an UUID in /etc/initramfs-tools/conf.d/resume although the device is lvm and thus unique anyway. for your box do as root echo resume=/dev/mapper/gaia-swap_1 /etc/initramfs-tools/conf.d/resume and regenerate initramfs with update-initramfs -u Still doesn't work on my box afet removing the resume option from the kernel command line. Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote: and regenerate initramfs with update-initramfs -u Still doesn't work on my box afet removing the resume option from the kernel command line. Cheers, Julien are you sure you booted from the updated initramfs? update-initramfs might have updated another one you didn't use, please double check. you can specifiy it to update current used linux image update-initramfs -u -k $( uname -r ) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Le lundi 08 mars 2010 à 20:21 +0100, maximilian attems a écrit : On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote: and regenerate initramfs with update-initramfs -u Still doesn't work on my box afet removing the resume option from the kernel command line. Cheers, Julien are you sure you booted from the updated initramfs? update-initramfs might have updated another one you didn't use, please double check. you can specifiy it to update current used linux image update-initramfs -u -k $( uname -r ) I only have one kernel, but have just tested again and it still doesn't resume, simply starts normally (except fsck which is run as the filesystem wasn't unmounted correctly). Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Mon, 08 Mar 2010, Julien Valroff wrote: Le lundi 08 mars 2010 à 20:21 +0100, maximilian attems a écrit : On Mon, Mar 08, 2010 at 07:25:24PM +0100, Julien Valroff wrote: and regenerate initramfs with update-initramfs -u Still doesn't work on my box afet removing the resume option from the kernel command line. Cheers, Julien are you sure you booted from the updated initramfs? update-initramfs might have updated another one you didn't use, please double check. you can specifiy it to update current used linux image update-initramfs -u -k $( uname -r ) I only have one kernel, but have just tested again and it still doesn't resume, simply starts normally (except fsck which is run as the filesystem wasn't unmounted correctly). indeed seems broken since at least from Lenny on, you may want to test latest git, see latest commit: http://git.debian.org/?p=kernel/initramfs-tools.git;a=summary -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Mon, 08 Mar 2010, Aioanei Rares wrote: I have the same issues on a testing/unstable system and I do not use LVM. please use reportbug to report your bug and no your bug is not the same. reportbug initramfs-tools -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#568877: Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Mon, 08 Mar 2010, Frédéric Boiteux wrote: Hello, Is the 572858 bug a duplicate of mine, 568877 ? I got same problem resuming from hibernation with the swap (and so hibernation image) in a LVM2 partition. indeed dup and the same you can easily fix it, just write the swap lvm device to echo /dev/mapper/vg-lv /etc/initramfs-tools/conf.d/resume (of course take care to use appropriate vg and lv values for your box and regenerate initramfs with update-initramfs -u The given patch on my bug report isn't very useful, only a workaround, waiting for a more experienced dev looking at there ;-) I'd guess you installed with latest squeeze debian installer? thanks for report -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Sun, 07 Mar 2010, Julien Valroff wrote: Package: initramfs-tools Version: 0.93.4 Severity: normal Hi, If I do not specify my resume partition in the kernel command line, my computer doesn't resume from hibernation, but starts fresh instead. This wasn't the case until recently. I have found a similar issue in Ubuntu, which has a patch attached and which is now tagged as fixed. Please see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/499940 for all the details. I haven't tried adapting the patch to the currernt Debian package as it doesn't apply cleanly and I fear I make some errors and break my complete boot process. I would be glad testing anyway if needed. Cheers, Julien please post the content of those 2 files on relevant box: /etc/initramfs-tools/conf.d/resume /etc/fstab -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Le dimanche 07 mars 2010 à 16:14 +0100, maximilian attems a écrit : On Sun, 07 Mar 2010, Julien Valroff wrote: Package: initramfs-tools Version: 0.93.4 Severity: normal Hi, If I do not specify my resume partition in the kernel command line, my computer doesn't resume from hibernation, but starts fresh instead. This wasn't the case until recently. I have found a similar issue in Ubuntu, which has a patch attached and which is now tagged as fixed. Please see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/499940 for all the details. I haven't tried adapting the patch to the currernt Debian package as it doesn't apply cleanly and I fear I make some errors and break my complete boot process. I would be glad testing anyway if needed. Cheers, Julien please post the content of those 2 files on relevant box: /etc/initramfs-tools/conf.d/resume RESUME=UUID=aa748dde-93f1-4e7f-887a-71fa58db6140 /etc/fstab proc/proc procdefaults0 0 /dev/mapper/gaia-root / ext3errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=08ff5fb8-82dd-4968-a05f-b7cd323e052f /boot ext2defaults 0 2 /dev/mapper/gaia-swap_1 noneswapsw 0 0 $ ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 10 7 mars 08:24 08ff5fb8-82dd-4968-a05f-b7cd323e052f - ../../sda1 lrwxrwxrwx 1 root root 24 7 mars 08:24 aa748dde-93f1-4e7f-887a-71fa58db6140 - ../../mapper/gaia-swap_1 lrwxrwxrwx 1 root root 22 7 mars 08:24 e91cb78c-f290-4059-8d5c-8183e2adc177 - ../../mapper/gaia-root It is worth noting this box was installed on Sunday last week (from the testing daily CD image and immedately upgraded to sid after the base installation) Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Sun, Mar 07, 2010 at 04:17:55PM +0100, Julien Valroff wrote: Le dimanche 07 mars 2010 à 16:14 +0100, maximilian attems a écrit : On Sun, 07 Mar 2010, Julien Valroff wrote: Package: initramfs-tools Version: 0.93.4 Severity: normal Hi, If I do not specify my resume partition in the kernel command line, my computer doesn't resume from hibernation, but starts fresh instead. This wasn't the case until recently. I have found a similar issue in Ubuntu, which has a patch attached and which is now tagged as fixed. Please see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/499940 for all the details. I haven't tried adapting the patch to the currernt Debian package as it doesn't apply cleanly and I fear I make some errors and break my complete boot process. I would be glad testing anyway if needed. Cheers, Julien please post the content of those 2 files on relevant box: /etc/initramfs-tools/conf.d/resume RESUME=UUID=aa748dde-93f1-4e7f-887a-71fa58db6140 /etc/fstab proc/proc procdefaults0 0 /dev/mapper/gaia-root / ext3errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=08ff5fb8-82dd-4968-a05f-b7cd323e052f /boot ext2defaults 0 2 /dev/mapper/gaia-swap_1 noneswapsw 0 0 $ ls -l /dev/disk/by-uuid/ total 0 lrwxrwxrwx 1 root root 10 7 mars 08:24 08ff5fb8-82dd-4968-a05f-b7cd323e052f - ../../sda1 lrwxrwxrwx 1 root root 24 7 mars 08:24 aa748dde-93f1-4e7f-887a-71fa58db6140 - ../../mapper/gaia-swap_1 lrwxrwxrwx 1 root root 22 7 mars 08:24 e91cb78c-f290-4059-8d5c-8183e2adc177 - ../../mapper/gaia-root It is worth noting this box was installed on Sunday last week (from the testing daily CD image and immedately upgraded to sid after the base installation) oh i can see the bug the conversion to UUID happens to late, so lvm wouldn't activate your UUID swap. will fix later today and ask you to test latest git, thanks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
On Sun, 07 Mar 2010, Julien Valroff wrote: /etc/initramfs-tools/conf.d/resume RESUME=UUID=aa748dde-93f1-4e7f-887a-71fa58db6140 /etc/fstab proc/proc procdefaults0 0 /dev/mapper/gaia-root / ext3errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=08ff5fb8-82dd-4968-a05f-b7cd323e052f /boot ext2defaults 0 2 /dev/mapper/gaia-swap_1 noneswapsw 0 0 hmm no the bug is actually the other way round, why is there an UUID in /etc/initramfs-tools/conf.d/resume can you please post: cat /proc/swaps -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
hi, Le lundi 08 mars 2010 à 04:46 +0100, maximilian attems a écrit : On Sun, 07 Mar 2010, Julien Valroff wrote: /etc/initramfs-tools/conf.d/resume RESUME=UUID=aa748dde-93f1-4e7f-887a-71fa58db6140 /etc/fstab proc/proc procdefaults0 0 /dev/mapper/gaia-root / ext3errors=remount-ro 0 1 # /boot was on /dev/sda1 during installation UUID=08ff5fb8-82dd-4968-a05f-b7cd323e052f /boot ext2defaults 0 2 /dev/mapper/gaia-swap_1 noneswapsw 0 0 hmm no the bug is actually the other way round, why is there an UUID in /etc/initramfs-tools/conf.d/resume can you please post: cat /proc/swaps FilenameTypeSizeUsedPriority /dev/mapper/gaia-swap_1 partition 9928696 0 -1 Cheers, Julien -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#572858: initramfs-tools: Doesn't resume from hibernation, restarts fresh
Package: initramfs-tools Version: 0.93.4 Severity: normal Hi, If I do not specify my resume partition in the kernel command line, my computer doesn't resume from hibernation, but starts fresh instead. This wasn't the case until recently. I have found a similar issue in Ubuntu, which has a patch attached and which is now tagged as fixed. Please see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/499940 for all the details. I haven't tried adapting the patch to the currernt Debian package as it doesn't apply cleanly and I fear I make some errors and break my complete boot process. I would be glad testing anyway if needed. Cheers, Julien -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=/vmlinuz-2.6.33-2-amd64 root=/dev/mapper/gaia-root ro quiet video=i915:modeset=1 -- /proc/filesystems ext3 ext2 fuseblk ext4 reiserfs xfs jfs msdos vfat ntfs minix hfs hfsplus qnx4 ufs btrfs -- lsmod Module Size Used by btrfs 376896 0 zlib_deflate 17746 1 btrfs crc32c 2560 1 libcrc32c 1106 1 btrfs ufs58477 0 qnx46722 0 hfsplus65606 0 hfs37759 0 minix 21277 0 ntfs 163868 0 vfat7900 0 msdos 6202 0 fat40118 2 vfat,msdos jfs 140819 0 xfs 753853 0 exportfs3202 1 xfs reiserfs 196965 0 ext4 278926 0 jbd2 63225 1 ext4 cryptd 5504 0 aes_x86_64 7340 2 aes_generic25714 1 aes_x86_64 ppdev 5565 0 lp 8201 0 parport27314 2 ppdev,lp sco 7257 2 bridge 39813 0 stp 1440 1 bridge bnep9722 2 rfcomm 29762 0 l2cap 25274 4 bnep,rfcomm crc16 1319 2 ext4,l2cap bluetooth 42103 6 sco,bnep,rfcomm,l2cap acpi_cpufreq5787 0 cpufreq_conservative 7910 0 cpufreq_powersave902 0 cpufreq_stats 2659 0 cpufreq_userspace 2024 0 uinput 6687 1 fuse 50478 1 ext2 53966 1 ecryptfs 80321 0 acerhdf 6083 0 loop 11902 0 snd_hda_codec_intelhdmi14085 1 snd_hda_codec_realtek 243343 1 snd_hda_intel 20179 2 uvcvideo 52292 0 snd_hda_codec 57782 3 snd_hda_codec_intelhdmi,snd_hda_codec_realtek,snd_hda_intel snd_hwdep 5428 1 snd_hda_codec videodev 31744 1 uvcvideo snd_pcm_oss32790 0 snd_mixer_oss 12654 1 snd_pcm_oss snd_pcm61254 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_seq_midi4432 0 snd_rawmidi15810 1 snd_seq_midi snd_seq_midi_event 4628 1 snd_seq_midi v4l1_compat11442 2 uvcvideo,videodev snd_seq43279 2 snd_seq_midi,snd_seq_midi_event arc41274 2 v4l2_compat_ioctl32 9160 1 videodev ecb 1841 2 snd_timer 15749 2 snd_pcm,snd_seq snd_seq_device 4493 3 snd_seq_midi,snd_rawmidi,snd_seq joydev 8546 0 iwlagn 79776 0 snd47090 16 snd_hda_codec_intelhdmi,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 iwlcore81927 1 iwlagn mac80211 140504 2 iwlagn,iwlcore cfg80211 105832 3 iwlagn,iwlcore,mac80211 soundcore 4822 1 snd snd_page_alloc 6313 2 snd_hda_intel,snd_pcm rfkill 13164 4 bluetooth,cfg80211 i2c_i8017814 0 atl1c 26334 0 psmouse45587 0 serio_raw 3960 0 tpm_tis 7336 0 tpm 9933 1 tpm_tis evdev 7384 25 pcspkr 1699 0 ac 2192 0 tpm_bios4521 1 tpm battery 4998 0 processor 29489 3 acpi_cpufreq wmi 5461 0 ext3 107181 1 jbd37789 1 ext3 mbcache 5050 3 ext4,ext2,ext3 dm_mod 55446 6 sd_mod 30459 3 crc_t10dif 1276 1 sd_mod uhci_hcd 18585 0 ahci 32182 2 libata133993 1 ahci ehci_hcd 31298 0 scsi_mod 123365 2 sd_mod,libata usbcore 126389 4