Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
Hi, On Thu, Apr 08, 2010 at 05:43:56AM +0200, maximilian attems wrote: > > % cat /etc/initramfs-tools/conf.d/resume > > RESUME=/dev/disk/by-label/swap > > % > > 0.93 had a bug report about d-i using UUIDi for lvm2 here and in the > course of handling it I introduced a bug here, will fix with 0.93.4 initramfs-tools 0.93.4 works well. Thank you for your work. -- Regards, dai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
On Thu, Apr 08, 2010 at 11:51:45AM +0900, VDR dai (deb) wrote: > > % cat /etc/initramfs-tools/conf.d/resume > RESUME=/dev/disk/by-label/swap > % 0.93 had a bug report about d-i using UUIDi for lvm2 here and in the course of handling it I introduced a bug here, will fix with 0.93.4 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#576700: initramfs-tools: could not resume after suspended by uswsusp
Hi, On Thu, Apr 08, 2010 at 03:06:33AM +0200, maximilian attems wrote: > could you post > find /etc/initramfs-tools/conf.d % find /etc/initramfs-tools/conf.d /etc/initramfs-tools/conf.d /etc/initramfs-tools/conf.d/resume % > and eventual > cat /etc/initramfs-tools/conf.d/resume % cat /etc/initramfs-tools/conf.d/resume RESUME=/dev/disk/by-label/swap % -- Regards, dai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
thanks for the response. think you put me on the right trace with the diff. could you post find /etc/initramfs-tools/conf.d and eventual cat /etc/initramfs-tools/conf.d/resume -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
On Wed, Apr 07, 2010 at 06:12:49AM +0200, maximilian attems wrote: > can you verify integrity of initramfs > size is a good first indication > > ls -lh /boot/initrd* > > and then try to extract the initramfs, in some temp dir > mkdir /tmp/foo && cd /tmp/foo > gunzip -c /boot/initrd.img-2.6.XX-X- | cpio -i -d % ls -lh /boot/initrd* -rw-r--r-- 1 root root 9.3M 2010-04-07 08:49 /boot/initrd.img-2.6.32-4-amd64 -rw-r--r-- 1 root root 9.5M 2010-04-06 23:45 /boot/initrd.img-2.6.32-4-amd64.bak % /boot/initrd.img-2.6.32-4-amd64 is made by initramfs-tools 0.93.4. % mkdir /tmp/0.93.4 && cd /tmp/0.93.4 % gunzip -c /boot/initrd.img-2.6.32-4-amd64 | cpio -id 53886 blocks % After initramfs-tools 0.94 installed, % ls -lh /boot/initrd* -rw-r--r-- 1 root root 9.5M 2010-04-07 14:43 /boot/initrd.img-2.6.32-4-amd64 -rw-r--r-- 1 root root 9.5M 2010-04-06 23:45 /boot/initrd.img-2.6.32-4-amd64.bak % % mkdir /tmp/0.94 && cd /tmp/0.94 % gunzip -c /boot/initrd.img-2.6.32-4-amd64 | cpio -id 55387 blocks % diff attaeched. > > % egrep -ri resume /etc/initramfs-tools > > /etc/initramfs-tools/conf.d/resume:RESUME=/dev/disk/by-label/swap > > % > > % cat /etc/initramfs-tools/conf.d/resume > > RESUME=/dev/disk/by-label/swap > > % > > this loooks good. -- Regards, dai initrd-0.93.4-0.94.diff.gz Description: Binary data
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
On Wed, 07 Apr 2010, VDR dai (deb) wrote: > Thank you for your replying and sorry for my simple report. can you verify integrity of initramfs size is a good first indication ls -lh /boot/initrd* and then try to extract the initramfs, in some temp dir mkdir /tmp/foo && cd /tmp/foo gunzip -c /boot/initrd.img-2.6.XX-X- | cpio -i -d > % egrep -ri resume /etc/initramfs-tools > /etc/initramfs-tools/conf.d/resume:RESUME=/dev/disk/by-label/swap > % > % cat /etc/initramfs-tools/conf.d/resume > RESUME=/dev/disk/by-label/swap > % this loooks good. > this is not changed before/after installing initramfs-tools 0.94. > > % ls -l /dev/disk/by-label/swap > lrwxrwxrwx 1 root root 10 2010-04-07 08:05 /dev/disk/by-label/swap -> > ../../sdb2 > % > % cat /proc/swaps > FilenameTypeSizeUsed > Priority > /dev/sdb2 partition 2056312 0 -1 > % > -- > Regards, > dai -- maks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
Hi, > > Could not resume after suspended by uswsusp > > using initrd.img made by initramfs-tools 0.94. > > initrd.img made by initramfs-tools 0.93.4 works > > properly with same configuration. > there isn't much that could have touched uswsusp boot hooks, > they look fine to me (looking at the source). > > this needs to be debugged, aboves gives zero info. > > also please post output of > egrep -ri resume /etc/initramfs-tools Thank you for your replying and sorry for my simple report. % egrep -ri resume /etc/initramfs-tools /etc/initramfs-tools/conf.d/resume:RESUME=/dev/disk/by-label/swap % % cat /etc/initramfs-tools/conf.d/resume RESUME=/dev/disk/by-label/swap % this is not changed before/after installing initramfs-tools 0.94. % ls -l /dev/disk/by-label/swap lrwxrwxrwx 1 root root 10 2010-04-07 08:05 /dev/disk/by-label/swap -> ../../sdb2 % % cat /proc/swaps FilenameTypeSizeUsedPriority /dev/sdb2 partition 2056312 0 -1 % -- Regards, dai -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
tags 576700 moreinfo stop On Wed, Apr 07, 2010 at 12:59:20AM +0900, VDR dai (deb) wrote: > > Hi, > > Could not resume after suspended by uswsusp > using initrd.img made by initramfs-tools 0.94. > initrd.img made by initramfs-tools 0.93.4 works > properly with same configuration. > > Regards, > dai there isn't much that could have touched uswsusp boot hooks, they look fine to me (looking at the source). this needs to be debugged, aboves gives zero info. also please post output of egrep -ri resume /etc/initramfs-tools > -- /etc/uswsusp.conf > > # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both > resume device = /dev/disk/by-label/swap > splash = n > compress = y > early writeout = y > image size = 971480432 > RSA key file = /etc/uswsusp.key > shutdown method = shutdown > > -- Package-specific info: > -- /proc/cmdline > BOOT_IMAGE=/boot/vmlinuz-2.6.32-4-amd64 > root=UUID=d1cf41ec-7d70-4a6d-9af9-c5a1f5943920 ro vga=791 quiet > > -- /proc/filesystems > ext3 > fuseblk > > -- lsmod > Module Size Used by > kvm_intel 37648 0 > kvm 213228 1 kvm_intel > acpi_cpufreq 0 > cpufreq_powersave902 0 > cpufreq_conservative 5162 2 > cpufreq_userspace 1992 0 > cpufreq_stats 2659 0 > binfmt_misc 6431 1 > fuse 50110 1 > loop 11783 0 > tuner_simple 10790 1 > tuner_types10601 1 tuner_simple > snd_hda_codec_realtek 235442 1 > tea5767 5133 0 > tuner 16140 1 > tvaudio21800 0 > snd_hda_intel 19795 0 > tda7432 3688 0 > snd_hda_codec 54212 2 snd_hda_codec_realtek,snd_hda_intel > snd_hwdep 5364 1 snd_hda_codec > bttv 102961 0 > v4l2_common11736 4 tuner,tvaudio,tda7432,bttv > videodev 29993 5 tuner,tvaudio,tda7432,bttv,v4l2_common > v4l1_compat11442 1 videodev > snd_pcm_oss32591 0 > snd_mixer_oss 12606 1 snd_pcm_oss > v4l2_compat_ioctl32 8538 1 videodev > snd_pcm60439 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss > ir_common 24271 1 bttv > snd_seq_midi4400 0 > snd_rawmidi15483 1 snd_seq_midi > i2c_algo_bit4225 1 bttv > snd_seq_midi_event 4628 1 snd_seq_midi > x38_edac2739 0 > snd_seq42817 2 snd_seq_midi,snd_seq_midi_event > videobuf_dma_sg 8403 1 bttv > snd_timer 15502 2 snd_pcm,snd_seq > snd_seq_device 4477 3 snd_seq_midi,snd_rawmidi,snd_seq > videobuf_core 12196 2 bttv,videobuf_dma_sg > snd46350 11 > 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 > btcx_risc 2899 1 bttv > soundcore 4598 1 snd > evdev 7336 8 > tveeprom 12057 1 bttv > i2c_i8017798 0 > snd_page_alloc 6217 2 snd_hda_intel,snd_pcm > edac_core 29245 2 x38_edac > nvidia 9505953 28 > i2c_core 15584 12 > tuner_simple,tea5767,tuner,tvaudio,tda7432,bttv,v4l2_common,videodev,i2c_algo_bit,tveeprom,i2c_i801,nvidia > pcspkr 1699 0 > button 4634 0 > processor 30247 1 acpi_cpufreq > ext3 106502 3 > jbd37069 1 ext3 > mbcache 4970 1 ext3 > sg 18728 0 > sr_mod 12602 0 > cdrom 29399 1 sr_mod > sd_mod 29689 7 > crc_t10dif 1276 1 sd_mod > usbhid 33260 0 > hid62793 1 usbhid > pata_jmicron2280 1 > ata_generic 2983 0 > ahci 32166 0 > uhci_hcd 18505 0 > floppy 49087 0 > ata_piix 20445 3 > ehci_hcd 30802 0 > firewire_ohci 19484 0 > firewire_core 36688 1 firewire_ohci > crc_itu_t 1307 1 firewire_core > thermal11674 0 > thermal_sys11878 2 processor,thermal > r8169 28877 0 > mii 3210 1 r8169 > libata132199 4 pata_jmicron,ata_generic,ahci,ata_piix > scsi_mod 121941 4 sg,sr_mod,sd_mod,libata > usbcore 121799 4 usbhid,uhci_hcd,ehci_hcd > nls_base6377 1 usbcore > > -- /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-tool
Bug#576700: initramfs-tools: could not resume after suspended by uswsusp
Package: initramfs-tools Version: 0.94 Severity: normal Hi, Could not resume after suspended by uswsusp using initrd.img made by initramfs-tools 0.94. initrd.img made by initramfs-tools 0.93.4 works properly with same configuration. Regards, dai -- /etc/uswsusp.conf # /etc/uswsusp.conf(8) -- Configuration file for s2disk/s2both resume device = /dev/disk/by-label/swap splash = n compress = y early writeout = y image size = 971480432 RSA key file = /etc/uswsusp.key shutdown method = shutdown -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=/boot/vmlinuz-2.6.32-4-amd64 root=UUID=d1cf41ec-7d70-4a6d-9af9-c5a1f5943920 ro vga=791 quiet -- /proc/filesystems ext3 fuseblk -- lsmod Module Size Used by kvm_intel 37648 0 kvm 213228 1 kvm_intel acpi_cpufreq 0 cpufreq_powersave902 0 cpufreq_conservative 5162 2 cpufreq_userspace 1992 0 cpufreq_stats 2659 0 binfmt_misc 6431 1 fuse 50110 1 loop 11783 0 tuner_simple 10790 1 tuner_types10601 1 tuner_simple snd_hda_codec_realtek 235442 1 tea5767 5133 0 tuner 16140 1 tvaudio21800 0 snd_hda_intel 19795 0 tda7432 3688 0 snd_hda_codec 54212 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 5364 1 snd_hda_codec bttv 102961 0 v4l2_common11736 4 tuner,tvaudio,tda7432,bttv videodev 29993 5 tuner,tvaudio,tda7432,bttv,v4l2_common v4l1_compat11442 1 videodev snd_pcm_oss32591 0 snd_mixer_oss 12606 1 snd_pcm_oss v4l2_compat_ioctl32 8538 1 videodev snd_pcm60439 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss ir_common 24271 1 bttv snd_seq_midi4400 0 snd_rawmidi15483 1 snd_seq_midi i2c_algo_bit4225 1 bttv snd_seq_midi_event 4628 1 snd_seq_midi x38_edac2739 0 snd_seq42817 2 snd_seq_midi,snd_seq_midi_event videobuf_dma_sg 8403 1 bttv snd_timer 15502 2 snd_pcm,snd_seq snd_seq_device 4477 3 snd_seq_midi,snd_rawmidi,snd_seq videobuf_core 12196 2 bttv,videobuf_dma_sg snd46350 11 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 btcx_risc 2899 1 bttv soundcore 4598 1 snd evdev 7336 8 tveeprom 12057 1 bttv i2c_i8017798 0 snd_page_alloc 6217 2 snd_hda_intel,snd_pcm edac_core 29245 2 x38_edac nvidia 9505953 28 i2c_core 15584 12 tuner_simple,tea5767,tuner,tvaudio,tda7432,bttv,v4l2_common,videodev,i2c_algo_bit,tveeprom,i2c_i801,nvidia pcspkr 1699 0 button 4634 0 processor 30247 1 acpi_cpufreq ext3 106502 3 jbd37069 1 ext3 mbcache 4970 1 ext3 sg 18728 0 sr_mod 12602 0 cdrom 29399 1 sr_mod sd_mod 29689 7 crc_t10dif 1276 1 sd_mod usbhid 33260 0 hid62793 1 usbhid pata_jmicron2280 1 ata_generic 2983 0 ahci 32166 0 uhci_hcd 18505 0 floppy 49087 0 ata_piix 20445 3 ehci_hcd 30802 0 firewire_ohci 19484 0 firewire_core 36688 1 firewire_ohci crc_itu_t 1307 1 firewire_core thermal11674 0 thermal_sys11878 2 processor,thermal r8169 28877 0 mii 3210 1 r8169 libata132199 4 pata_jmicron,ata_generic,ahci,ata_piix scsi_mod 121941 4 sg,sr_mod,sd_mod,libata usbcore 121799 4 usbhid,uhci_hcd,ehci_hcd nls_base6377 1 usbcore -- /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=eth0 NFSROOT=auto -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-4-amd64 (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to ja_JP.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages initramfs-tools depends on: ii cpio