Re: Linux 2.6.12-rc3: various swsusp problems

Stefan Seyfried
2005-04-22T16:05:12Z

[-- Attachment #1: Type: text/plain, Size: 428 bytes --]

Pavel Machek wrote:
>> 1. Is it necessary to print the following message during regular boot?
>> swsusp: Suspend partition has wrong signature?

> Hmm, feel free to provide a patch. (I need something to try git on :-).

Attached (sorry, Thunderbird...). One may argue over KERN_ERR, but i
don't mind.
--
Stefan Seyfried, QA / R&D Team Mobile Devices, SUSE LINUX Nürnberg.

"Any ideas, John?"
"Well, surrounding them's out."

[-- Attachment #2: delme --]
[-- Type: text/plain, Size: 432 bytes --]

--- linux/kernel/power/swsusp.c~ 2005-04-22 17:07:56.000000000 +0200
+++ linux/kernel/power/swsusp.c 2005-04-22 17:09:22.000000000 +0200
@@ -1239,7 +1239,7 @@ static int check_sig(void)
*/
error = bio_write_page(0, &swsusp_header);
} else {
- printk(KERN_ERR "swsusp: Suspend partition has wrong signature?\n");
+ printk(KERN_ERR "swsusp: Suspend partition is no suspend image.\n");
return -EINVAL;
}
if (!error)