[Bug 276437] New: powesave: silently refuses to suspend when custom video mode is set in grub
https://bugzilla.novell.com/show_bug.cgi?id=276437 Summary: powesave: silently refuses to suspend when custom video mode is set in grub Product: openSUSE 10.2 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Mobile Devices AssignedTo: behlert@novell.com ReportedBy: bluedzins@wp.pl QAContact: qa@suse.de When I leave video mode in grub blank, suspend&resume works fine (suspend to ram). When I set mode for example 317, when I close the lid, there is a message "preparing supend" and immediately after that, I get back to full system. I use KDE & Kpowersave, my res is 1400x1050 (in KDE), 915 resolution is used to set this resolution. I tested 1024x768 (it is 317 mode) in grub. -- 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=276437 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bluedzins@wp.pl ------- Comment #1 from hmacht@novell.com 2007-05-30 03:35 MST ------- What do you expect? Why do you set a custom resolution at all if it works fine with the default one. Can you please attach /var/log/pm-suspend.log? -- 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=276437 bluedzins@wp.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|bluedzins@wp.pl | ------- Comment #2 from bluedzins@wp.pl 2007-05-30 03:45 MST -------
Why do you set a custom resolution at all if it works fine with the default one.
Try working with 80x24 characters screen. It is too crowded, so it is rather normal for me that it would be better to set 1024x768 (pixels) or even higher to get more characters. At least system messages won't be wrapped on the screen.
Can you please attach /var/log/pm-suspend.log?
Sure, but from what I can there is only one suspend-event logged in. -- 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=276437 ------- Comment #3 from bluedzins@wp.pl 2007-05-30 03:58 MST ------- Created an attachment (id=142849) --> (https://bugzilla.novell.com/attachment.cgi?id=142849&action=view) pm-suspend.log -- 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=276437 hmacht@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sndirsch@novell.com ------- Comment #4 from hmacht@novell.com 2007-05-30 04:02 MST ------- (In reply to comment #2)
Why do you set a custom resolution at all if it works fine with the default one.
Try working with 80x24 characters screen. It is too crowded, so it is rather normal for me that it would be better to set 1024x768 (pixels) or even higher to get more characters. At least system messages won't be wrapped on the screen.
Ah ok, now I understand your issue. Your resolution is lower than 1024x768 in plain console.
Can you please attach /var/log/pm-suspend.log?
Sure, but from what I can there is only one suspend-event logged in.
I see the following lines from whom I don't know where they come from: Allocated buffer at 0x2010 (base is 0x0) ES: 0x0201 EBX: 0x0000 Calling INT 0x15 (F000:F859) EAX is 0x5F20 Calling INT 0x15 (F000:F859) EAX is 0x5F14 Calling INT 0x15 (F000:F859) EAX is 0x30005F00 Maybe from X? Stefan D., any idea? -- 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=276437 ------- Comment #5 from bluedzins@wp.pl 2007-05-30 04:19 MST -------
Ah ok, now I understand your issue. Your resolution is lower than 1024x768 in plain console.
Exactly. It is text mode, which is painful to read.
I see the following lines from whom I don't know where they come from:
Btw. it is just a log, I didn't test anything _right now_. If you like I could set grub back to 1024x768, suspend (it will fail) and then attach logs. I don't understand those lines for sure, but note I use 915 resolution "extender". -- 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=276437 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bluedzins@wp.pl ------- Comment #6 from seife@novell.com 2007-05-31 03:36 MST ------- (In reply to comment #4)
I see the following lines from whom I don't know where they come from: Allocated buffer at 0x2010 (base is 0x0) ES: 0x0201 EBX: 0x0000 Calling INT 0x15 (F000:F859) EAX is 0x5F20 Calling INT 0x15 (F000:F859) EAX is 0x5F14 Calling INT 0x15 (F000:F859) EAX is 0x30005F00
Maybe from X? Stefan D., any idea?
No, that's s2ram. Totally normal (these are messages from the x86emu, you'll only get them on an x86_64 machine). The logfile looks like the suspend had worked perfectly. We need a logfile after a failed suspend. Probably it is enough if you provide us with the output of "s2ram -n", as root. -- 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=276437 bluedzins@wp.pl changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|bluedzins@wp.pl | ------- Comment #7 from bluedzins@wp.pl 2007-05-31 05:24 MST ------- Created an attachment (id=143189) --> (https://bugzilla.novell.com/attachment.cgi?id=143189&action=view) /var/log/pm-suspend.log -- 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=276437 ------- Comment #8 from bluedzins@wp.pl 2007-05-31 05:26 MST ------- Stefan, s2ram -n " This machine can only suspend without framebuffer. Machine matched entry 45: sys_vendor = 'Dell Inc.' sys_product = 'Latitude D610 *' sys_version = '' bios_version = '' Fixes: 0x4c VBE_SAVE VBE_POST NOFB This machine can be identified by: sys_vendor = "Dell Inc." sys_product = "Latitude D610 " sys_version = "" bios_version = "A06" " Btw. I do _not_ have 64bit system (I have 32bit Centrino). -- 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=276437 seife@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #9 from seife@novell.com 2007-05-31 05:58 MST ------- (In reply to comment #8)
Stefan,
s2ram -n " This machine can only suspend without framebuffer.
see? This is why this machine does not suspend if you give vga=0x317 or similar.
Machine matched entry 45: sys_vendor = 'Dell Inc.' sys_product = 'Latitude D610 *' sys_version = '' bios_version = '' Fixes: 0x4c VBE_SAVE VBE_POST NOFB This machine can be identified by: sys_vendor = "Dell Inc." sys_product = "Latitude D610 " sys_version = "" bios_version = "A06" "
Btw. I do _not_ have 64bit system (I have 32bit Centrino).
Ok, then i did remember that incorrectly, and these messages are also from the LRMI code (but they are more verbose on 64bit systems :-) If you think that the machine should also work with framebuffer, please read and follow http://en.opensuse.org/S2ram, try the combinations there and if you find one that also works with framebuffer, please submit it so that we can change the whitelist. -- 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=276437 ------- Comment #10 from bluedzins@wp.pl 2007-05-31 07:41 MST ------- Stefan, thank you. Now works great :-) -- 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=276437 ------- Comment #11 from bluedzins@wp.pl 2007-05-31 07:48 MST ------- PS. I can find a dozen of pages mentioning s2ram whitelist, but I can't find actual whitelist file. Could you give me a hint. Sorry for the trouble. -- 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=276437 ------- Comment #12 from hmacht@novell.com 2007-05-31 07:56 MST ------- You can have a look here: http://suspend.cvs.sourceforge.net/suspend/suspend/whitelist.c?view=markup -- 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=276437 ------- Comment #13 from seife@novell.com 2007-05-31 11:00 MST ------- (In reply to comment #10)
Stefan, thank you. Now works great :-)
Now i'm confused. It still does not work with framebuffer, but only without it, right? -- 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=276437 ------- Comment #14 from bluedzins@wp.pl 2007-05-31 11:09 MST -------
(In reply to comment #10)
Stefan, thank you. Now works great :-)
Now i'm confused. It still does not work with framebuffer, but only without it, right?
? No... it works in both modes. To be sure -- I used your help to and have read about s2ram and options, so I tested them with text mode (it worked), then I set 1280x1024 in grub, tested again and it worked too. So -- I have hires in console (before X starts), I see nicely all messages, and I have suspend working. All I wished for. Btw. from what I saw on the whitelist you tested Dell Latitude D610 so it couldn't work :-) -- 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