Bug 15120
Summary: | laptop hangs up on s2disk - Lenovo thinkpad T61 | ||
---|---|---|---|
Product: | Drivers | Reporter: | Alex Zhavnerchik (alex.vizor) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | drivers_video-dri, lenb, rjw, rui.zhang |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 2.6.33-rc6 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 7216, 56331 | ||
Attachments: |
kernel config
kernel log dmegs after fail on s2disk and s2ram kernel log |
Description
Alex Zhavnerchik
2010-01-24 12:44:55 UTC
First of all, the kernel config is not attached. :) what's the kernel version that doesn't work for you? does the problem still exist in the latest kernel, say 2.6.32? If yes,please build a .32 kernel with CONFIG_PM_DEBUG. run "echo test > /sys/power/disk" and "echo disk > /sys/power/state". does the system come back after a few seconds? If yes, please attach the dmesg output after resume. Created attachment 24745 [details]
kernel config
I'm using 2.6.33-rc5 now with nouveau driver. But may be that is related to one other bug http://bugzilla.kernel.org/show_bug.cgi?id=15119 - a warning described there appears before I do s2disk. Does it also happen without the nouveau driver, eg. at runlevel 3? Sorry can't test now, something broke and now my 2.6.33-rc5 kernel boot but there is no image on screen, I'll answer in this ticket when I'll solve that issue. System didn't returned after that test. I can provide a kernel log. Do you need the log? On Wed, Jan 27, 2010 at 9:57 AM, <bugzilla-daemon@bugzilla.kernel.org>wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=15120 > > > Zhang Rui <rui.zhang@intel.com> changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > Status|NEW |NEEDINFO > CC| |rui.zhang@intel.com > > > > > --- Comment #1 from Zhang Rui <rui.zhang@intel.com> 2010-01-27 07:57:44 > --- > First of all, the kernel config is not attached. :) > > what's the kernel version that doesn't work for you? > does the problem still exist in the latest kernel, say 2.6.32? > > If yes,please build a .32 kernel with CONFIG_PM_DEBUG. > run "echo test > /sys/power/disk" and "echo disk > /sys/power/state". > does the system come back after a few seconds? > If yes, please attach the dmesg output after resume. > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. > I can provide dmesg after successful s2disk :) On Sun, Jan 31, 2010 at 12:53 AM, <bugzilla-daemon@bugzilla.kernel.org>wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=15120 > > > > > > --- Comment #6 from Alex Zhavnerchik <alex.vizor@gmail.com> 2010-01-30 > 22:53:00 --- > System didn't returned after that test. I can provide a kernel log. Do you > need the log? > > On Wed, Jan 27, 2010 at 9:57 AM, <bugzilla-daemon@bugzilla.kernel.org > >wrote: > > > http://bugzilla.kernel.org/show_bug.cgi?id=15120 > > > > > > Zhang Rui <rui.zhang@intel.com> changed: > > > > What |Removed |Added > > > > > ---------------------------------------------------------------------------- > > Status|NEW |NEEDINFO > > CC| |rui.zhang@intel.com > > > > > > > > > > --- Comment #1 from Zhang Rui <rui.zhang@intel.com> 2010-01-27 07:57:44 > > --- > > First of all, the kernel config is not attached. :) > > > > what's the kernel version that doesn't work for you? > > does the problem still exist in the latest kernel, say 2.6.32? > > > > If yes,please build a .32 kernel with CONFIG_PM_DEBUG. > > run "echo test > /sys/power/disk" and "echo disk > /sys/power/state". > > does the system come back after a few seconds? > > If yes, please attach the dmesg output after resume. > > > > -- > > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > > ------- You are receiving this mail because: ------- > > You reported the bug. > > > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. > Created attachment 24850 [details]
kernel log
I caught it again, strange thing happened when the system tried to do s2disk, wifi LED turned off for a second or two and then turned on again. And in log I see messages related with wlan0 and usb bluetooth only. May be that is the reason of such hangs up? please follow the steps in the source tree under Documentation/power/basic-pm-debugging.txt to see how deep you can get into the suspend and have it still be reliable. Created attachment 24872 [details]
dmegs after fail on s2disk and s2ram
I tried to do s2ram last evening, but the system didn't slept and returned back, after that I tried to do s2disk, system waited for half of minute or so and then returned back again. After that I did dmesg which I'm attaching now
Created attachment 24903 [details]
kernel log
I caught error on resume from s2ram
That is a kernel log where you can find stack trace and pointing to NULL pointer BUG in ttm, as I can understand.
I forgot to mention that previous kernel log with NULL pointer bug I caught on 2.6.33-rc6 - so that is regression What's the last working kernel? Really I have never got working s2disk, before 2.6.33 I used nvidia blob which never can resume from s2disk and I can't tell you does it work or not. On 2.6.33-rcX s2disk works sometimes, sometimes not. When I tested it as described it kernel documentation - it worked all time, I tried it about 9 times with different debugging options and without them. But when I used laptop for half of hour and then tried to do s2disk it hanged on suspending after message "Suspending console" or something like this. One more note about testing I tested immediately after loading in single user mode and immediately after loading X server. Last kernel log, with stack-trace and NULL pointer error, I got after resume from s2ram. On Thu, Feb 4, 2010 at 9:26 PM, <bugzilla-daemon@bugzilla.kernel.org> wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=15120 > > > > > > --- Comment #14 from Rafael J. Wysocki <rjw@sisk.pl> 2010-02-04 19:26:01 > --- > What's the last working kernel? > > -- > Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You reported the bug. > So, did last kernel log help you to fix a bug? Evidently, this is a nouveau driver bug, so reassigning. Also, this is not a regression, because nouveau is new in 2.6.33-rc. So, did anybody from nouveau team notice this report? Switching to e-mail. On Tuesday 09 February 2010, bugzilla-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=15120 > > --- Comment #18 from Alex Zhavnerchik <alex.vizor@gmail.com> 2010-02-09 > 09:48:57 --- > So, did anybody from nouveau team notice this report? Apparently not, so let's CC them. Is the problem still present in 2.6.37? Hi. Looks like it works with 2.6.37 Cool, thanks! |