* Resuming from hibernation on T61 with nvidia
@ 2011-11-15 19:02 dienet
2011-11-15 19:34 ` Srivatsa S. Bhat
2011-11-15 19:58 ` Matthew Garrett
0 siblings, 2 replies; 10+ messages in thread
From: dienet @ 2011-11-15 19:02 UTC (permalink / raw)
To: linux-acpi
Hello
As far I can remember (since I have my ThinkPad T61), there is problem
with resuming from hibernation (suspend-to-disk) on this system. And I
know that there are lots of people with the same problem.
I was checking lots of kernel versions but with no luck.
Was is the problem? In my T61 I have 01:00.0 VGA compatible controller:
nVidia Corporation G84M [Quadro NVS 140M] (rev a1) and I am using nvidia
drivers (also checked quite a few versions without any luck). Suspending
to disk is working without any problem. The problem is when I want to
resume. The resume process is stopping at some point (I think after the
pages are red) for about 60 seconds. After that time, the resume process
is continuing, and after few sec, I am back in X11.
I have motivation to fix it, but:
1. How to trace it?
2. Is it possible to fix this? Maybe the fix should take place in nvidia
driver (nvidia.o), and that can not be done. But maybe the fix can be done
in kernel?
I want to notice that, if the fix will only work for me, then that is fine
with me.
I know that answer to 2. might be hard, so maybe some guide how to trace
the problem?
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------
Nie zmieniaj opon, zmien auto!
http://linkint.pl/f2a7c
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 19:02 Resuming from hibernation on T61 with nvidia dienet
@ 2011-11-15 19:34 ` Srivatsa S. Bhat
2011-11-15 20:37 ` dienet
2011-11-16 19:43 ` dienet
2011-11-15 19:58 ` Matthew Garrett
1 sibling, 2 replies; 10+ messages in thread
From: Srivatsa S. Bhat @ 2011-11-15 19:34 UTC (permalink / raw)
To: dienet; +Cc: linux-acpi, Linux PM mailing list, linux-kernel
On 11/16/2011 12:32 AM, dienet wrote:
> Hello
>
> As far I can remember (since I have my ThinkPad T61), there is problem
> with resuming from hibernation (suspend-to-disk) on this system. And I
> know that there are lots of people with the same problem.
> I was checking lots of kernel versions but with no luck.
>
> Was is the problem? In my T61 I have 01:00.0 VGA compatible controller:
> nVidia Corporation G84M [Quadro NVS 140M] (rev a1) and I am using
> nvidia drivers (also checked quite a few versions without any luck).
> Suspending to disk is working without any problem. The problem is when
> I want to resume. The resume process is stopping at some point (I think
> after the pages are red) for about 60 seconds. After that time, the
> resume process is continuing, and after few sec, I am back in X11.
>
> I have motivation to fix it, but:
>
> 1. How to trace it?
> 2. Is it possible to fix this? Maybe the fix should take place in
> nvidia driver (nvidia.o), and that can not be done. But maybe the fix
> can be done in kernel?
>
> I want to notice that, if the fix will only work for me, then that is
> fine with me.
>
> I know that answer to 2. might be hard, so maybe some guide how to
> trace the problem?
>
Hi,
[Adding linux-pm and linux-kernel mailing lists to CC.]
You can try using the pm_test framework for debugging this, to a certain
extent. See Documentation/power/basic-pm-debugging.txt for details on how
to use it.
Also, if you could post any logs that indicate the problem, that would
be great!
Thanks,
Srivatsa S. Bhat
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 19:02 Resuming from hibernation on T61 with nvidia dienet
2011-11-15 19:34 ` Srivatsa S. Bhat
@ 2011-11-15 19:58 ` Matthew Garrett
2011-11-15 20:39 ` dienet
1 sibling, 1 reply; 10+ messages in thread
From: Matthew Garrett @ 2011-11-15 19:58 UTC (permalink / raw)
To: dienet; +Cc: linux-acpi
On Tue, Nov 15, 2011 at 08:02:31PM +0100, dienet wrote:
> Was is the problem? In my T61 I have 01:00.0 VGA compatible
> controller: nVidia Corporation G84M [Quadro NVS 140M] (rev a1) and
> I am using nvidia drivers (also checked quite a few versions
> without any luck). Suspending to disk is working without any
> problem. The problem is when I want to resume. The resume process
> is stopping at some point (I think after the pages are red) for
> about 60 seconds. After that time, the resume process is
> continuing, and after few sec, I am back in X11.
Does the same thing happen if you use nouveau rather than the nvidia
drivers?
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 19:34 ` Srivatsa S. Bhat
@ 2011-11-15 20:37 ` dienet
2011-11-16 19:43 ` dienet
1 sibling, 0 replies; 10+ messages in thread
From: dienet @ 2011-11-15 20:37 UTC (permalink / raw)
To: Srivatsa S. Bhat; +Cc: linux-acpi, Linux PM mailing list, linux-kernel
On Tue, 15 Nov 2011 20:34:42 +0100, Srivatsa S. Bhat
<srivatsa.bhat@linux.vnet.ibm.com> wrote:
> You can try using the pm_test framework for debugging this, to a certain
> extent. See Documentation/power/basic-pm-debugging.txt for details on how
> to use it.
I will look into that.
> Also, if you could post any logs that indicate the problem, that would
> be great!
At this point "the logs" are camera shoots of my monitor. I really do not
know if there is some think else that can be useful.
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------
Andrzejki tuz tuz ...
Zapytaj wrozke >> http://linkint.pl/f2a8e
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 19:58 ` Matthew Garrett
@ 2011-11-15 20:39 ` dienet
2011-11-15 20:42 ` Matthew Garrett
0 siblings, 1 reply; 10+ messages in thread
From: dienet @ 2011-11-15 20:39 UTC (permalink / raw)
To: Matthew Garrett
Cc: linux-acpi, linux-kernel@vger.kernel.org, Linux PM mailing list
On Tue, 15 Nov 2011 20:58:32 +0100, Matthew Garrett <mjg59@srcf.ucam.org>
wrote:
> Does the same thing happen if you use nouveau rather than the nvidia
> drivers?
Can not answer that, but this is not happening when using nv X11 driver.
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
-------------------------------------
Sprawdz za darmo zdolnosc kredytowa!
http://linkint.pl/f2a77
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 20:39 ` dienet
@ 2011-11-15 20:42 ` Matthew Garrett
2011-11-15 21:36 ` dienet
0 siblings, 1 reply; 10+ messages in thread
From: Matthew Garrett @ 2011-11-15 20:42 UTC (permalink / raw)
To: dienet; +Cc: linux-acpi, linux-kernel@vger.kernel.org, Linux PM mailing list
On Tue, Nov 15, 2011 at 09:39:23PM +0100, dienet wrote:
> On Tue, 15 Nov 2011 20:58:32 +0100, Matthew Garrett
> <mjg59@srcf.ucam.org> wrote:
>
> >Does the same thing happen if you use nouveau rather than the nvidia
> >drivers?
>
> Can not answer that, but this is not happening when using nv X11 driver.
In that case it's almost certainly something you need to bring up with
nvidia.
--
Matthew Garrett | mjg59@srcf.ucam.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 20:42 ` Matthew Garrett
@ 2011-11-15 21:36 ` dienet
2011-11-16 16:50 ` Joshua Scoggins
0 siblings, 1 reply; 10+ messages in thread
From: dienet @ 2011-11-15 21:36 UTC (permalink / raw)
To: Matthew Garrett
Cc: linux-acpi, linux-kernel@vger.kernel.org, Linux PM mailing list
On Tue, 15 Nov 2011 21:42:01 +0100, Matthew Garrett <mjg59@srcf.ucam.org>
wrote:
> In that case it's almost certainly something you need to bring up with
> nvidia.
Yes, but that might be hard, or even impossible. Maybe there is something
that I can change in kernel to fix it, without breaking too much or not
breaking anything ;)
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------
Mamy mieszkanie wlasnie dla Ciebie!
Sprawdz >>
http://linkint.pl/f2a80
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 21:36 ` dienet
@ 2011-11-16 16:50 ` Joshua Scoggins
2011-11-16 18:19 ` dienet
0 siblings, 1 reply; 10+ messages in thread
From: Joshua Scoggins @ 2011-11-16 16:50 UTC (permalink / raw)
To: dienet
Cc: Matthew Garrett, linux-acpi, linux-kernel@vger.kernel.org,
Linux PM mailing list
Don't forget that you can use nvidia-reportbug.sh...can't remember
exactly what its called but
I know that nvidia does actually look at those generated bug reports.
-Josh
On Tue, Nov 15, 2011 at 1:36 PM, dienet <dienet@poczta.fm> wrote:
> On Tue, 15 Nov 2011 21:42:01 +0100, Matthew Garrett <mjg59@srcf.ucam.org>
> wrote:
>
>> In that case it's almost certainly something you need to bring up with
>> nvidia.
>
> Yes, but that might be hard, or even impossible. Maybe there is something
> that I can change in kernel to fix it, without breaking too much or not
> breaking anything ;)
>
> --
> pozdr0
> dienet
>
> "Old C programmers never die. They're just cast into void."
>
> ----------------------------------------------------------------
> Mamy mieszkanie wlasnie dla Ciebie! Sprawdz >>
> http://linkint.pl/f2a80
> --
> 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/
>
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-16 16:50 ` Joshua Scoggins
@ 2011-11-16 18:19 ` dienet
0 siblings, 0 replies; 10+ messages in thread
From: dienet @ 2011-11-16 18:19 UTC (permalink / raw)
To: Joshua Scoggins
Cc: Matthew Garrett, linux-acpi, linux-kernel@vger.kernel.org,
Linux PM mailing list
On Wed, 16 Nov 2011 17:50:12 +0100, Joshua Scoggins
<theoretically.x64@gmail.com> wrote:
> Don't forget that you can use nvidia-reportbug.sh...can't remember
> exactly what its called but
> I know that nvidia does actually look at those generated bug reports.
OK ;) Got the motivation, I did send them the report, will see...
But I am still gonna check linux kernel trace methods, to know more.
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------
Jesienne, zimowe wieczory? Zagraj!
Sprawdz >>> http://linkint.pl/f2a85
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Resuming from hibernation on T61 with nvidia
2011-11-15 19:34 ` Srivatsa S. Bhat
2011-11-15 20:37 ` dienet
@ 2011-11-16 19:43 ` dienet
1 sibling, 0 replies; 10+ messages in thread
From: dienet @ 2011-11-16 19:43 UTC (permalink / raw)
To: Srivatsa S. Bhat; +Cc: linux-acpi, Linux PM mailing list, linux-kernel
On Tue, 15 Nov 2011 20:34:42 +0100, Srivatsa S. Bhat
<srivatsa.bhat@linux.vnet.ibm.com> wrote:
> You can try using the pm_test framework for debugging this, to a certain
> extent. See Documentation/power/basic-pm-debugging.txt for details on how
> to use it.
So I run some test:
Using platform in state file:
1. echo freezer > pm_test - no problems.
2. echo devices > pm_test - problems: no picture (LCD is up and shining,
but there is only black picture [even after 60 seconds]). I can use power
button to shut down the system. Other keyboard keys are not working (I was
trying to type reboot with no luck).
3. echo processors > pm_test - the same as above
4. echo core > pm_test - the same as above
5. I turn off the X11 (telinit 2), but the nvidia module is still loaded -
no problems.
6. I left X11 working on f7 (7th tty) and switch to f1 (1st tty) - echo
core > pm_test works OK, but switching back to X11 (alt+f7) will give me
the same as in 2. I can change the brightness of black screen, but I can
not go back to tty1 (ctrl+alt+f1).
Is there more I can do?
--
pozdr0
dienet
"Old C programmers never die. They're just cast into void."
----------------------------------------------------------------
Mamy mieszkanie wlasnie dla Ciebie!
Sprawdz >>
http://linkint.pl/f2a80
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2011-11-16 19:43 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-15 19:02 Resuming from hibernation on T61 with nvidia dienet
2011-11-15 19:34 ` Srivatsa S. Bhat
2011-11-15 20:37 ` dienet
2011-11-16 19:43 ` dienet
2011-11-15 19:58 ` Matthew Garrett
2011-11-15 20:39 ` dienet
2011-11-15 20:42 ` Matthew Garrett
2011-11-15 21:36 ` dienet
2011-11-16 16:50 ` Joshua Scoggins
2011-11-16 18:19 ` dienet
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).