[Bug 219629] New: suspend to disk never resumes but boots normally.
https://bugzilla.novell.com/show_bug.cgi?id=219629 Summary: suspend to disk never resumes but boots normally. Product: openSUSE 10.2 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: Mobile Devices AssignedTo: seife@novell.com ReportedBy: seife@novell.com QAContact: qa@suse.de CC: hmacht@novell.com, behlert@novell.com, pavel@novell.com, fseidel@novell.com, rjwysocki@sisk.pl OtherBugsDependingO 215208 nThis: After a suspend to disk, the machine does not resume. Instead it prints "resume: cannot parse config file" and boots normally. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from seife@novell.com 2006-11-09 14:47 MST ------- Ok. We have no /etc/suspend.conf in the initrd for resume, and the config file parser chokes on that. Fix is pretty trivial: --- config.c +++ config.c @@ -33,16 +33,15 @@ int error, i, j, k; if (stat(file_name, &stat_buf)) { - error = errno; - fprintf(stderr, "my_name: Could not stat configuration file\n"); - return -error; + fprintf(stderr, "%s: Could not stat configuration file\n", + my_name); + return 0; } file = fopen(file_name, "r"); if (!file) { - error = errno; fprintf(stderr, "%s: Could not open configuration file\n", my_name); - return -error; + return 0; } I'll submit a fixed package. Sorry for that. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #2 from seife@novell.com 2006-11-09 14:55 MST ------- Fixed package submitted. AJ, this would be an opportunity to test the online update ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 thoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thoenig@novell.com ------- Comment #3 from thoenig@novell.com 2006-11-09 15:02 MST ------- Probably also noteworthy to be added to the Most Annoying Bugs (tm). I will take care of that :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #4 from aj@novell.com 2006-11-11 09:35 MST ------- I installed the new package and it still fails for me. Do I need to rebuild the initrd or do something else? Just installing the package did not fix the problem for me... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 aj@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #5 from aj@novell.com 2006-11-11 09:39 MST ------- Ok, mkinitrd solved the problem. Closing again ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 ------- Comment #6 from seife@novell.com 2006-11-11 15:02 MST ------- Yes. Sorry for not mentioning :-( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mvidner@novell.com ------- Comment #7 from mvidner@novell.com 2006-11-13 05:53 MST ------- In case anyone is wondering what to update, the package is suspend.rpm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 ------- Comment #8 from seife@novell.com 2006-11-13 08:43 MST ------- yes. And don't forget to run "mkinitrd" afterwards :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=219629 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com