LKML Archive on lore.kernel.org help / color / mirror / Atom feed
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up @ 2008-11-06 19:47 Rogério Brito 2008-11-07 1:45 ` Rogério Brito 0 siblings, 1 reply; 19+ messages in thread From: Rogério Brito @ 2008-11-06 19:47 UTC (permalink / raw) To: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao; +Cc: bugme-daemon Hi, all. I have already filed a bug on bugzilla, but it seems that that hasn't generated too much attention and I am willing to do as many tests as possible to get things working fine here. Here is my first post to bugzilla, just to give you some context: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Latest working kernel version: none Earliest failing kernel version: 2.6.24 Distribution: Ubuntu Intrepid alphas Hardware Environment: Itautec Note N8320 Software Environment: Ubuntu userland Problem Description: I just bougth a small notebook that is based on the ICH8 chipset with a Core 2 Duo T7250 processor and it came bundled with Windows Vista. Under Windows Vista (now, uninstalled), when I press the suspend button, it suspends the machine and when I press the suspend button a second time, the machine wakes up as expected. Unfortunately, with kernels available in Ubuntu (hardy, intrepid), if I press the suspend button, the machine will go to suspend mode, but if I press the button again, the machine powers off. Despite the fact that I'm using a range of Ubuntu kernels, I can install the stock kernel.org (actually, I plan on installing a vanilla Debian with my own compiled kernel) and I can provide as much information is needed (logs, etc). Steps to reproduce: Press the suspend button. Press the suspend button again. Thanks in advance, Rogério Brito. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - It is still not working with Ubuntu's 2.6.27 kernel. Actually, things are a bit worse: I can't hibernate the machine as well (it's not only suspend that doesn't work; hibernate also does not). It is based on a plain ICH8 chipset. I can put even a video of how it "works" :-( on the web. Just please let me know and I will do my best. Just for the record, I'm not one of those bug reporters that disappear. I'm willing to work hard to get things working, testing anything that I can. Oh, BTW, I posted a video of the machine (not) working at <http://www.ime.usp.br/~rbrito/linux/notebook.mp4>, in case you're interested. If the resolution is not enough, please let me know and I try to get a better video. Also, I have posted a lot of information in bugzilla, but I am willing to post them again, perhaps with different command line switches which might help. Regards, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-06 19:47 [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up Rogério Brito @ 2008-11-07 1:45 ` Rogério Brito 2008-11-07 8:00 ` Rogerio Theodoro de Brito 0 siblings, 1 reply; 19+ messages in thread From: Rogério Brito @ 2008-11-07 1:45 UTC (permalink / raw) To: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, rbrito Cc: bugme-daemon If any further information is needed, please let me know. Oh, and please keep me on the CC'ies. On Nov 06 2008, Rogério Brito wrote: > I have already filed a bug on bugzilla, but it seems that that hasn't > generated too much attention and I am willing to do as many tests as > possible to get things working fine here. (...) I am willing to get any kernel compiled here. I'm not reporting this to Ubuntu because I want to help Linux support even more devices as soon as possible (and, as you may have noticed, I already filed the bugreport on bugzilla one month ago). I can install Windows Vista on the machine and get any dumps there too, if needed to make Linux work properly. Thanks in advance, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-07 1:45 ` Rogério Brito @ 2008-11-07 8:00 ` Rogerio Theodoro de Brito 2008-11-08 7:50 ` Rogério Brito 0 siblings, 1 reply; 19+ messages in thread From: Rogerio Theodoro de Brito @ 2008-11-07 8:00 UTC (permalink / raw) To: Rogério Brito Cc: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, rbrito Hi. Some more information that may prove to be useful. Quoting Rogério Brito <rbrito@ime.usp.br>: > If any further information is needed, please let me know. I just discovered that the "suspend button" is overloaded: it is actually a poweroff button, which would explain the behaviour when the kernel is in suspend to RAM. (This notebook doesn't have a suspend hehaviour when closing the lid, as far as I could observe right now). I just reinstalled Windows Vista (from the rescue DVD) and it suspends and resumes fine. I don't know where Windows stores its logs (sorry, I've been using Unix systems for more than a decade). So, summarizing, it seems that the "suspend to RAM" button is actually a poweroff button, but this behaviour of powering off the machine manifests only when the kernel is already in a suspend to ram state. I can provide more information under guidance. Please, just let me know what is needed and I will test anything, as this notebook has not yet been used for production. Thanks in advance for any help, Rogério Brito. -- Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito Homepage of the algorithms package : http://algorithms.berlios.de Homepage on freshmeat: http://freshmeat.net/projects/algorithms/ ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-07 8:00 ` Rogerio Theodoro de Brito @ 2008-11-08 7:50 ` Rogério Brito 2008-11-08 8:20 ` Justin Mattock 0 siblings, 1 reply; 19+ messages in thread From: Rogério Brito @ 2008-11-08 7:50 UTC (permalink / raw) To: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, rbrito, linux-pm, rjw, pavel Hi once again. On Nov 07 2008, Rogerio Theodoro de Brito wrote: > Quoting Rogério Brito <rbrito@ime.usp.br>: > > If any further information is needed, please let me know. > > I just discovered that the "suspend button" is overloaded: it is actually > a poweroff button, which would explain the behaviour when the kernel is in > suspend to RAM. I think that I have some more information regarding the suspend/hibernate issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it seems to work). Ubuntu's 2.6.27 kernel was hanging when the hibernation phase was occurring. It just blinked the HD once and nothing else happened. With vanilla 2.6.28-rc3, it saves the memory contents to disk and I am able to resume. But seeing the behaviour of this in comparison with Windows Vista, two things still stand out: 1 - pressing the suspend button suspends the machine, but upon a second press, the machine still turns itself off and all work is lost. :-( 2 - closing the lid, no matter what I program in GNOME's Power Preferences, doesn't even blackens the screen, let alone suspend or hibernate the notebook. Both of the points above work fine under Windows Vista, but I don't even know how to use Windows correctly and I want to use Free Software. Again, for those that I just included in the carbon copies now, I have given extensive information on the bugzilla report, but I can recompile kernels, get dumps of debugging information, get dumps under Windows (if that helps and if I am instructed how to do that). You name it. I am really willing to help as much as possible with all efforts that are possible to me. Thanks in advance for any help, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-08 7:50 ` Rogério Brito @ 2008-11-08 8:20 ` Justin Mattock 2008-11-09 2:45 ` Rogério Brito 0 siblings, 1 reply; 19+ messages in thread From: Justin Mattock @ 2008-11-08 8:20 UTC (permalink / raw) To: Rogério Brito Cc: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, pavel On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > Hi once again. > > On Nov 07 2008, Rogerio Theodoro de Brito wrote: >> Quoting Rogério Brito <rbrito@ime.usp.br>: >> > If any further information is needed, please let me know. >> >> I just discovered that the "suspend button" is overloaded: it is actually >> a poweroff button, which would explain the behaviour when the kernel is in >> suspend to RAM. > > I think that I have some more information regarding the suspend/hibernate > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it > seems to work). > > Ubuntu's 2.6.27 kernel was hanging when the hibernation phase was > occurring. It just blinked the HD once and nothing else happened. With > vanilla 2.6.28-rc3, it saves the memory contents to disk and I am able to > resume. > > But seeing the behaviour of this in comparison with Windows Vista, two > things still stand out: > > 1 - pressing the suspend button suspends the machine, but upon a second > press, the machine still turns itself off and all work is lost. :-( > > 2 - closing the lid, no matter what I program in GNOME's Power Preferences, > doesn't even blackens the screen, let alone suspend or hibernate the > notebook. > > Both of the points above work fine under Windows Vista, but I don't even > know how to use Windows correctly and I want to use Free Software. > > Again, for those that I just included in the carbon copies now, I have > given extensive information on the bugzilla report, but I can recompile > kernels, get dumps of debugging information, get dumps under Windows (if > that helps and if I am instructed how to do that). You name it. I am really > willing to help as much as possible with all efforts that are possible to > me. > > > Thanks in advance for any help, Rogério Brito. > > -- > Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 > http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito > Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > I think you might be experiencing the dreaded black screen upon wakeup.(after seeing you're quick video); I was having the same with my macbook pro, when running radeonhd(haven't tried s2ram yet to see if this resolves the issue). Although was told it should fix the issue. Did have the same(black screen of death wakeup); with a dell inspiron, but then realized my graphics modules weren't configured properly. As for radeonhd when I come around to it, I will try s2ram to see, until then (sorry for the dreaded word) fglrx... As for the pressing of buttons, the initial pressing of the power button send's shutdown to the machine for me, but when suspending the system, the power button wakes the machine up, or closing and opening the lid. -- Justin P. Mattock ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-08 8:20 ` Justin Mattock @ 2008-11-09 2:45 ` Rogério Brito 2008-11-09 4:38 ` Justin P. Mattock 2008-11-09 11:33 ` Pavel Machek 0 siblings, 2 replies; 19+ messages in thread From: Rogério Brito @ 2008-11-09 2:45 UTC (permalink / raw) To: Justin Mattock Cc: Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, pavel, rbrito Hi, Justin and others. On Nov 08 2008, Justin Mattock wrote: > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > > I think that I have some more information regarding the suspend/hibernate > > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with > > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it > > seems to work). Just some extra information here: while I can hibernate with vanilla 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many minutes, but probably something like 5 minutes or so!) for the desktop to have any effect (despite the fact that I can move the mouse without any problems). A new reboot is *much* faster than what I get with hibernate. I can film that if desired. > > But seeing the behaviour of this in comparison with Windows Vista, two > > things still stand out: > > > > 1 - pressing the suspend button suspends the machine, but upon a second > > press, the machine still turns itself off and all work is lost. :-( This problem still persists. > > 2 - closing the lid, no matter what I program in GNOME's Power Preferences, > > doesn't even blackens the screen, let alone suspend or hibernate the > > notebook. A correction here: when I close the lid, the laptop suspends. I can try to see if it hibernates. > > Again, for those that I just included in the carbon copies now, I have > > given extensive information on the bugzilla report, but I can recompile > > kernels, get dumps of debugging information, get dumps under Windows (if > > that helps and if I am instructed how to do that). You name it. I am really > > willing to help as much as possible with all efforts that are possible to > > me. Again, I am willing to get any debugging information or anything that is asked me. I am testing things and I still don't have any production data on that notebook. BTW, I installed Windows Vista with a dual boot. I'm feeling tainted now. :-( > I think you might be experiencing the dreaded black screen upon > wakeup.(after seeing you're quick video); Nice that the video proved useful to demonstrate the issue. I can take another video to show the current behaviour with 2.6.28-rc3. > I was having the same with my macbook pro, when running > radeonhd(haven't tried s2ram yet to see if this resolves the issue). > Although was told it should fix the issue. Right. Just for further information, this notebook here has a plain ICH8 chipset. The only thing that I think that is not from intel is the gigabit ethernet, which is a Realtek one (it seems that the r8169 driver is loaded, but I still have not tested wired connections). > Did have the same(black screen of death wakeup); with a dell > inspiron, but then realized my graphics modules weren't configured > properly. Weird. I have a Dell Latitude D520 here (which I'm using for this e-mail) and everything that I tried works fine (suspend, wifi, hibernation and even the compiz stuff---which I promptly disable). It has a broadcom ethernet that seems to use the b44 driver, but I have also not used the wired connection here. I'm streaming audio via daap to this notebook from a Kurobox (powerpc box) with kernel 2.6.27 kernel (and my patches that were included in 2.6.28-rc3). > As for the pressing of buttons, the initial pressing of the power button send's > shutdown to the machine for me, but when suspending the system, the power button > wakes the machine up, or closing and opening the lid. For me, nothing like this works. :-( I can open the lid and it still stays sleeping. Pressing the suspend (poweron/poweroff?) button while suspended only turns off the machine. :-( Thanks again for any feedback, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-09 2:45 ` Rogério Brito @ 2008-11-09 4:38 ` Justin P. Mattock 2008-11-10 14:06 ` Rogério Brito 2008-11-09 11:33 ` Pavel Machek 1 sibling, 1 reply; 19+ messages in thread From: Justin P. Mattock @ 2008-11-09 4:38 UTC (permalink / raw) To: Rogério Brito Cc: Andrew Morton, Arjan van de Ven, Linux Kernel Mailing List, yakui.zhao, Bugreport, linux-pm, Rafael Wysocki, Pavel Machek, rbrito Appologize if this is quite brief (sending from phone); For the long delay try comment #2 Of: http://bugzilla.kernel.org/show_bug.cgi?id=11220 Keep in mind msi.c might have been changed since then, so it might not work justin P. Mattock On Nov 8, 2008, at 6:45 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > Hi, Justin and others. > > On Nov 08 2008, Justin Mattock wrote: >> On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> >> wrote: >>> I think that I have some more information regarding the suspend/ >>> hibernate >>> issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, >>> but with >>> vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, >>> but it >>> seems to work). > > Just some extra information here: while I can hibernate with vanilla > 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many > minutes, but probably something like 5 minutes or so!) for the > desktop to > have any effect (despite the fact that I can move the mouse without > any > problems). > > A new reboot is *much* faster than what I get with hibernate. > > I can film that if desired. > >>> But seeing the behaviour of this in comparison with Windows Vista, >>> two >>> things still stand out: >>> >>> 1 - pressing the suspend button suspends the machine, but upon a >>> second >>> press, the machine still turns itself off and all work is >>> lost. :-( > > This problem still persists. > >>> 2 - closing the lid, no matter what I program in GNOME's Power >>> Preferences, >>> doesn't even blackens the screen, let alone suspend or hibernate >>> the >>> notebook. > > A correction here: when I close the lid, the laptop suspends. I can > try to > see if it hibernates. > >>> Again, for those that I just included in the carbon copies now, I >>> have >>> given extensive information on the bugzilla report, but I can >>> recompile >>> kernels, get dumps of debugging information, get dumps under >>> Windows (if >>> that helps and if I am instructed how to do that). You name it. I >>> am really >>> willing to help as much as possible with all efforts that are >>> possible to >>> me. > > Again, I am willing to get any debugging information or anything > that is > asked me. I am testing things and I still don't have any production > data on > that notebook. > > BTW, I installed Windows Vista with a dual boot. I'm feeling tainted > now. :-( > >> I think you might be experiencing the dreaded black screen upon >> wakeup.(after seeing you're quick video); > > Nice that the video proved useful to demonstrate the issue. I can take > another video to show the current behaviour with 2.6.28-rc3. > >> I was having the same with my macbook pro, when running >> radeonhd(haven't tried s2ram yet to see if this resolves the issue). >> Although was told it should fix the issue. > > Right. Just for further information, this notebook here has a plain > ICH8 > chipset. The only thing that I think that is not from intel is the > gigabit > ethernet, which is a Realtek one (it seems that the r8169 driver is > loaded, > but I still have not tested wired connections). > >> Did have the same(black screen of death wakeup); with a dell >> inspiron, but then realized my graphics modules weren't configured >> properly. > > Weird. I have a Dell Latitude D520 here (which I'm using for this e- > mail) > and everything that I tried works fine (suspend, wifi, hibernation > and even > the compiz stuff---which I promptly disable). It has a broadcom > ethernet > that seems to use the b44 driver, but I have also not used the wired > connection here. > > I'm streaming audio via daap to this notebook from a Kurobox > (powerpc box) > with kernel 2.6.27 kernel (and my patches that were included in > 2.6.28-rc3). > >> As for the pressing of buttons, the initial pressing of the power >> button send's >> shutdown to the machine for me, but when suspending the system, the >> power button >> wakes the machine up, or closing and opening the lid. > > For me, nothing like this works. :-( I can open the lid and it still > stays > sleeping. Pressing the suspend (poweron/poweroff?) button while > suspended > only turns off the machine. :-( > > > Thanks again for any feedback, Rogério Brito. > > -- > Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAE > B8 > http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito > Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-09 4:38 ` Justin P. Mattock @ 2008-11-10 14:06 ` Rogério Brito 0 siblings, 0 replies; 19+ messages in thread From: Rogério Brito @ 2008-11-10 14:06 UTC (permalink / raw) To: Justin P. Mattock Cc: Andrew Morton, Arjan van de Ven, Linux Kernel Mailing List, yakui.zhao, Bugreport, linux-pm, Rafael Wysocki, Pavel Machek, acpi-bugzilla, rui.zhang, rbrito Hi, Justin. On Nov 08 2008, Justin P. Mattock wrote: > Appologize if this is quite brief > (sending from phone); > For the long delay try comment #2 > Of: > http://bugzilla.kernel.org/show_bug.cgi?id=11220 > Keep in mind msi.c might have been changed since then, so it might not > work I checked this patch and it seems to be already incorporated into 2.6.28-rc3 (with a dry-run, it told me that it was already applied). Thanks for the feedback anyway. I appreciate any help that I can take. Thanks, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-09 2:45 ` Rogério Brito 2008-11-09 4:38 ` Justin P. Mattock @ 2008-11-09 11:33 ` Pavel Machek 2008-11-10 5:17 ` Justin Mattock 2008-11-10 14:15 ` Rogério Brito 1 sibling, 2 replies; 19+ messages in thread From: Pavel Machek @ 2008-11-09 11:33 UTC (permalink / raw) To: Rogério Brito Cc: Justin Mattock, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw On Sun 2008-11-09 00:45:14, Rogério Brito wrote: > Hi, Justin and others. > > On Nov 08 2008, Justin Mattock wrote: > > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > > > I think that I have some more information regarding the suspend/hibernate > > > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with > > > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it > > > seems to work). > > Just some extra information here: while I can hibernate with vanilla > 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many > minutes, but probably something like 5 minutes or so!) for the desktop to > have any effect (despite the fact that I can move the mouse without any > problems). Try it from the text console, and see what exactly stops responding. "killall klogd" is your friend. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-09 11:33 ` Pavel Machek @ 2008-11-10 5:17 ` Justin Mattock 2008-11-10 7:45 ` Pavel Machek 2008-11-10 14:15 ` Rogério Brito 1 sibling, 1 reply; 19+ messages in thread From: Justin Mattock @ 2008-11-10 5:17 UTC (permalink / raw) To: Pavel Machek Cc: Rogério Brito, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw On Sun, Nov 9, 2008 at 3:33 AM, Pavel Machek <pavel@suse.cz> wrote: > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: >> Hi, Justin and others. >> >> On Nov 08 2008, Justin Mattock wrote: >> > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: >> > > I think that I have some more information regarding the suspend/hibernate >> > > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with >> > > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it >> > > seems to work). >> >> Just some extra information here: while I can hibernate with vanilla >> 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many >> minutes, but probably something like 5 minutes or so!) for the desktop to >> have any effect (despite the fact that I can move the mouse without any >> problems). > > Try it from the text console, and see what exactly stops > responding. "killall klogd" is your friend. > Pavel > > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html > FWIW, running radeon and s2ram gives me a successful wakeup, no delays only bluetooth-applet fails to show back up as eye candy. -- Justin P. Mattock ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-10 5:17 ` Justin Mattock @ 2008-11-10 7:45 ` Pavel Machek 2008-11-10 15:00 ` Justin Mattock 2009-08-12 4:10 ` Rogério Brito 0 siblings, 2 replies; 19+ messages in thread From: Pavel Machek @ 2008-11-10 7:45 UTC (permalink / raw) To: Justin Mattock Cc: Rog?rio Brito, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw > On Sun, Nov 9, 2008 at 3:33 AM, Pavel Machek <pavel@suse.cz> wrote: > > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: > >> Hi, Justin and others. > >> > >> On Nov 08 2008, Justin Mattock wrote: > >> > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > >> > > I think that I have some more information regarding the suspend/hibernate > >> > > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with > >> > > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it > >> > > seems to work). > >> > >> Just some extra information here: while I can hibernate with vanilla > >> 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many > >> minutes, but probably something like 5 minutes or so!) for the desktop to > >> have any effect (despite the fact that I can move the mouse without any > >> problems). > > > > Try it from the text console, and see what exactly stops > > responding. "killall klogd" is your friend. > > FWIW, running radeon and s2ram > gives me a successful wakeup, > no delays only bluetooth-applet fails > to show back up as eye candy. So 2.6.28-rc3 actually works for you? Good ;-). Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-10 7:45 ` Pavel Machek @ 2008-11-10 15:00 ` Justin Mattock 2008-11-11 9:37 ` Rogério Brito 2009-08-12 4:10 ` Rogério Brito 1 sibling, 1 reply; 19+ messages in thread From: Justin Mattock @ 2008-11-10 15:00 UTC (permalink / raw) To: Pavel Machek Cc: Rog?rio Brito, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw 2008/11/9 Pavel Machek <pavel@suse.cz>: >> On Sun, Nov 9, 2008 at 3:33 AM, Pavel Machek <pavel@suse.cz> wrote: >> > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: >> >> Hi, Justin and others. >> >> >> >> On Nov 08 2008, Justin Mattock wrote: >> >> > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: >> >> > > I think that I have some more information regarding the suspend/hibernate >> >> > > issue: with Ubuntu's 2.6.27 kernel, I can't hibernate my laptop, but with >> >> > > vanilla 2.6.28-rc3, I can hibernate (I have not tested it much, but it >> >> > > seems to work). >> >> >> >> Just some extra information here: while I can hibernate with vanilla >> >> 2.6.28-rc3, upon resuming, it takes *minutes* (I don't know how many >> >> minutes, but probably something like 5 minutes or so!) for the desktop to >> >> have any effect (despite the fact that I can move the mouse without any >> >> problems). >> > >> > Try it from the text console, and see what exactly stops >> > responding. "killall klogd" is your friend. >> >> FWIW, running radeon and s2ram >> gives me a successful wakeup, >> no delays only bluetooth-applet fails >> to show back up as eye candy. > > So 2.6.28-rc3 actually works for you? Good ;-). > Pavel > > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html > yes to my surprise ; ) using the manual(echo mem > /sys/power/state) approach is not so good though i.g. black screen when waking up for a few seconds, then a automatic reboot. Anyways I figured this was a new video driver and so forth, so its just a matter of time before the module gets more refined. -- Justin P. Mattock ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-10 15:00 ` Justin Mattock @ 2008-11-11 9:37 ` Rogério Brito 2009-08-20 2:54 ` Rogério Brito 0 siblings, 1 reply; 19+ messages in thread From: Rogério Brito @ 2008-11-11 9:37 UTC (permalink / raw) To: Justin Mattock Cc: Pavel Machek, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, bugzilla, rui.zhang, rbrito Hi, all. On Nov 10 2008, Justin Mattock wrote: > using the manual(echo mem > /sys/power/state) > approach is not so good though > i.g. black screen when waking up > for a few seconds, then a automatic reboot. To answer Zhang Rui's question, what I get is an approximation of what Justin's posted here. Zhang Rui wrote: > let's focus on the suspend/resume problem in this bug entry. > So please stop using suspend button or lid button to do suspend/resume > test. > You can use "echo mem > /sys/power/state" to suspend and use power button > to resume to see how suspend/resume works on your laptop. What I get when I use this is that the notebook goes to suspend state and the only button that it has (power button) has a blue light that starts blinking. When I press the power button, as per your instructions, the machine powers itself off and then, suddenly, it powers itself on again! (yes, that's strange). I'm filming this so that you can see for yourselves. The movie is at <http://www.ime.usp.br/~rbrito/linux/notebook-02.mp4>. Thanks for all your help, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-11 9:37 ` Rogério Brito @ 2009-08-20 2:54 ` Rogério Brito 0 siblings, 0 replies; 19+ messages in thread From: Rogério Brito @ 2009-08-20 2:54 UTC (permalink / raw) To: Justin Mattock Cc: Pavel Machek, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, bugzilla, rui.zhang Dear Zhang, and other people. On Nov 11 2008, Rogério Brito wrote: > Zhang Rui wrote: > > let's focus on the suspend/resume problem in this bug entry. > > So please stop using suspend button or lid button to do suspend/resume > > test. > > You can use "echo mem > /sys/power/state" to suspend and use power button > > to resume to see how suspend/resume works on your laptop. > > What I get when I use this is that the notebook goes to suspend state and > the only button that it has (power button) has a blue light that starts > blinking. Zhang, you mentioned that you thought that my notebook could resume if the BIOS is skipped, right? Setting # echo 1 > /sys/power/pm_trace I tested all the variations of: # echo ??? > /sys/power/pm_test # echo mem > /sys/power/state that could be put into /sys/power/pm_test, but the notebook always "resumed" ("woke up" from "sleep"). On the other hand, if I do a real sleep (say, putting none into pm_test), then: * the notebook goes to sleep; * when I press the power button, the machine power itself off; * a few seconds after that, it powers itself on again. Unfortunately, at this point, *everything* is black in the monitor and there are no responses (not even Magic SysRq). The range of kernels tested was: 2.6.24 to 2.6.31-rc5. As can be obviously seen from the kernels and the original report date, this bug is more than one year old (it was filed with bugzilla on 2008-10-07). Please, help. Thanks, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-10 7:45 ` Pavel Machek 2008-11-10 15:00 ` Justin Mattock @ 2009-08-12 4:10 ` Rogério Brito 2009-08-12 4:31 ` Justin P. Mattock 1 sibling, 1 reply; 19+ messages in thread From: Rogério Brito @ 2009-08-12 4:10 UTC (permalink / raw) To: Pavel Machek Cc: Justin Mattock, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw Hi, Pavel and other people. I'm just resurrecting this old bug (and everybody that was involved with it), as it's been quite some time now and I still have the exact same problems, unfortunately. :-( (I wrote the comments below in the past year, but they are still valid). On Nov 10 2008, Pavel Machek wrote: >> FWIW, running radeon and s2ram >> gives me a successful wakeup, >> no delays only bluetooth-applet fails >> to show back up as eye candy. It seems that s2disk doesn't hang here, from a limited test, but I will stress test this thing a bit further to see what is happening. > So 2.6.28-rc3 actually works for you? Good ;-). You were replying to Justin, just to make sure. :-) The attributions are now completely messed up. :-) Funnily, Ubuntu's intrepid doesn't have s2ram (I think that I'll grab it from Debian for further testing). (...) If anybody has any idea on how to proceed, I would be thankful. Thanks, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2009-08-12 4:10 ` Rogério Brito @ 2009-08-12 4:31 ` Justin P. Mattock 0 siblings, 0 replies; 19+ messages in thread From: Justin P. Mattock @ 2009-08-12 4:31 UTC (permalink / raw) To: Rogério Brito Cc: Pavel Machek, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw Rogério Brito wrote: > Hi, Pavel and other people. > > I'm just resurrecting this old bug (and everybody that was involved > with it), as it's been quite some time now and I still have the exact > same problems, unfortunately. :-( > > (I wrote the comments below in the past year, but they are still valid). > > On Nov 10 2008, Pavel Machek wrote: >>> FWIW, running radeon and s2ram >>> gives me a successful wakeup, >>> no delays only bluetooth-applet fails >>> to show back up as eye candy. > > It seems that s2disk doesn't hang here, from a limited test, but I will > stress test this thing a bit further to see what is happening. > >> So 2.6.28-rc3 actually works for you? Good ;-). > > You were replying to Justin, just to make sure. :-) The attributions are > now completely messed up. :-) > > Funnily, Ubuntu's intrepid doesn't have s2ram (I think that I'll grab it > from Debian for further testing). > > (...) > > If anybody has any idea on how to proceed, I would be thankful. > > > Thanks, Rogério Brito. > Sh^t forgot about this... Anyways at the moment seems the powerbutton does shutdown the system, and closing the lid suspends the machine.(in the exception for an erb error from bluetoooth which might be causing the delay(not sure yet) works as is(kernel= latest git a week or so old). At the moment I'm using acpid for these functions to work. (keep in mind /etc/acpi/has my own commands in them not any from a dist). As for the suspend button I did e-mail the acpid maintainer, and it seems their might not be a sleep button on the keyboard for a macbook(143 or whatever the number is). but you can adjust acpid to react accordingly. In response to the bug your just not getting a reaction to the keyboard while its sleeping?(maybe the s* state needs to be changed for that, but then again I could be wrong). Justin P. Mattock ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-09 11:33 ` Pavel Machek 2008-11-10 5:17 ` Justin Mattock @ 2008-11-10 14:15 ` Rogério Brito 2008-11-11 9:53 ` Pavel Machek 1 sibling, 1 reply; 19+ messages in thread From: Rogério Brito @ 2008-11-10 14:15 UTC (permalink / raw) To: Pavel Machek Cc: Justin Mattock, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, acpi-bugzilla, rui.zhang Hi, Pavel. On Nov 09 2008, Pavel Machek wrote: > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: > > On Nov 08 2008, Justin Mattock wrote: > > > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > > > > I think that I have some more information regarding the > > > > suspend/hibernate issue: with Ubuntu's 2.6.27 kernel, I can't > > > > hibernate my laptop, but with vanilla 2.6.28-rc3, I can hibernate > > > > (I have not tested it much, but it seems to work). I spoke too soon. Depending on what I do in userland (I tried using the GNOME application "Cheese" just to put some load on the machine) and I tried: # echo shutdown > /sys/power/disk # echo disk > /sys/power/state But the machine stuck: it blanked the monitor, seemed to go to a console, the cursor was blinking on the upper left corner of the screen, the HD light blinked once and then the fan went faster, the CPU hotter and the leds corresponding to caps lock and scroll lock were blinking. I'm waiting with the machine in this situation since I started composing this e-mail and nothing has changed. The blinking leds (caps and scroll lock) would indicate a kernel panic, is that correct? > Try it from the text console, and see what exactly stops > responding. "killall klogd" is your friend. The funny thing is that once that I could resume, it resumed instantly. :-( Weird. Thanks, Rogério Brito. -- Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8 http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-10 14:15 ` Rogério Brito @ 2008-11-11 9:53 ` Pavel Machek 2008-11-11 15:22 ` Justin Mattock 0 siblings, 1 reply; 19+ messages in thread From: Pavel Machek @ 2008-11-11 9:53 UTC (permalink / raw) To: Rogério Brito Cc: Justin Mattock, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, acpi-bugzilla, rui.zhang On Mon 2008-11-10 12:15:50, Rogério Brito wrote: > Hi, Pavel. > > On Nov 09 2008, Pavel Machek wrote: > > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: > > > On Nov 08 2008, Justin Mattock wrote: > > > > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: > > > > > I think that I have some more information regarding the > > > > > suspend/hibernate issue: with Ubuntu's 2.6.27 kernel, I can't > > > > > hibernate my laptop, but with vanilla 2.6.28-rc3, I can hibernate > > > > > (I have not tested it much, but it seems to work). > > I spoke too soon. Depending on what I do in userland (I tried using the > GNOME application "Cheese" just to put some load on the machine) and I > tried: > > # echo shutdown > /sys/power/disk > # echo disk > /sys/power/state > > But the machine stuck: it blanked the monitor, seemed to go to a console, > the cursor was blinking on the upper left corner of the screen, the HD > light blinked once and then the fan went faster, the CPU hotter and the > leds corresponding to caps lock and scroll lock were blinking. > > I'm waiting with the machine in this situation since I started composing > this e-mail and nothing has changed. > > The blinking leds (caps and scroll lock) would indicate a kernel panic, is > that correct? Yes, that's a panic. And we need text of that panic to do anything inteligent... Serial console? Try with different modules unloaded to see which one is that? > > Try it from the text console, and see what exactly stops > > responding. "killall klogd" is your friend. > > The funny thing is that once that I could resume, it resumed > instantly. :-( Weird. > > > Thanks, Rogério Brito. > -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html ^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up 2008-11-11 9:53 ` Pavel Machek @ 2008-11-11 15:22 ` Justin Mattock 0 siblings, 0 replies; 19+ messages in thread From: Justin Mattock @ 2008-11-11 15:22 UTC (permalink / raw) To: Pavel Machek Cc: Rogério Brito, Andrew Morton, Arjan van de Ven, linux-kernel, yakui.zhao, bugme-daemon, linux-pm, rjw, acpi-bugzilla, rui.zhang On Tue, Nov 11, 2008 at 1:53 AM, Pavel Machek <pavel@suse.cz> wrote: > On Mon 2008-11-10 12:15:50, Rogério Brito wrote: >> Hi, Pavel. >> >> On Nov 09 2008, Pavel Machek wrote: >> > On Sun 2008-11-09 00:45:14, Rogério Brito wrote: >> > > On Nov 08 2008, Justin Mattock wrote: >> > > > On Fri, Nov 7, 2008 at 11:50 PM, Rogério Brito <rbrito@ime.usp.br> wrote: >> > > > > I think that I have some more information regarding the >> > > > > suspend/hibernate issue: with Ubuntu's 2.6.27 kernel, I can't >> > > > > hibernate my laptop, but with vanilla 2.6.28-rc3, I can hibernate >> > > > > (I have not tested it much, but it seems to work). >> >> I spoke too soon. Depending on what I do in userland (I tried using the >> GNOME application "Cheese" just to put some load on the machine) and I >> tried: >> >> # echo shutdown > /sys/power/disk >> # echo disk > /sys/power/state >> >> But the machine stuck: it blanked the monitor, seemed to go to a console, >> the cursor was blinking on the upper left corner of the screen, the HD >> light blinked once and then the fan went faster, the CPU hotter and the >> leds corresponding to caps lock and scroll lock were blinking. >> >> I'm waiting with the machine in this situation since I started composing >> this e-mail and nothing has changed. >> >> The blinking leds (caps and scroll lock) would indicate a kernel panic, is >> that correct? > > Yes, that's a panic. And we need text of that panic to do anything > inteligent... Serial console? Try with different modules unloaded to > see which one is that? > > >> > Try it from the text console, and see what exactly stops >> > responding. "killall klogd" is your friend. >> >> The funny thing is that once that I could resume, it resumed >> instantly. :-( Weird. >> >> >> Thanks, Rogério Brito. >> > > -- > (english) http://www.livejournal.com/~pavelmachek > (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html > if can, try and ssh into the machine then suspend, then during wakeup see if you can collect any info. -- Justin P. Mattock ^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2009-08-20 2:55 UTC | newest] Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-11-06 19:47 [Bugme-new] [Bug 11717] New: Pressing suspend button suspends, but does not wakes up Rogério Brito 2008-11-07 1:45 ` Rogério Brito 2008-11-07 8:00 ` Rogerio Theodoro de Brito 2008-11-08 7:50 ` Rogério Brito 2008-11-08 8:20 ` Justin Mattock 2008-11-09 2:45 ` Rogério Brito 2008-11-09 4:38 ` Justin P. Mattock 2008-11-10 14:06 ` Rogério Brito 2008-11-09 11:33 ` Pavel Machek 2008-11-10 5:17 ` Justin Mattock 2008-11-10 7:45 ` Pavel Machek 2008-11-10 15:00 ` Justin Mattock 2008-11-11 9:37 ` Rogério Brito 2009-08-20 2:54 ` Rogério Brito 2009-08-12 4:10 ` Rogério Brito 2009-08-12 4:31 ` Justin P. Mattock 2008-11-10 14:15 ` Rogério Brito 2008-11-11 9:53 ` Pavel Machek 2008-11-11 15:22 ` Justin Mattock
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).