[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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-<flavour> | 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

Attachment: initrd-0.93.4-0.94.diff.gz
Description: Binary data


Reply to: