All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
@ 2010-06-23  0:06 ` bugzilla-daemon
  2010-06-23 17:19 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-06-23  0:06 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273


Andrew Morton <akpm@linux-foundation.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akpm@linux-foundation.org
          Component|Hibernation/Suspend         |Video(DRI - non Intel)
         AssignedTo|power-management_other@kern |drivers_video-dri@kernel-bu
                   |el-bugs.osdl.org            |gs.osdl.org
            Product|Power Management            |Drivers




--- Comment #1 from Andrew Morton <akpm@linux-foundation.org>  2010-06-23 00:06:03 ---
Recategorised to DRI.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
  2010-06-23  0:06 ` [Bug 16273] suspend/resume failure with radeon kms driver bugzilla-daemon
@ 2010-06-23 17:19 ` bugzilla-daemon
  2010-06-24  0:01 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-06-23 17:19 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273


Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexdeucher@gmail.com




--- Comment #2 from Alex Deucher <alexdeucher@gmail.com>  2010-06-23 17:19:23 ---
This looks like a dupe of bug 16140.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
  2010-06-23  0:06 ` [Bug 16273] suspend/resume failure with radeon kms driver bugzilla-daemon
  2010-06-23 17:19 ` bugzilla-daemon
@ 2010-06-24  0:01 ` bugzilla-daemon
  2010-07-05 18:35 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-06-24  0:01 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273





--- Comment #3 from Jose Marino <braket@hotmail.com>  2010-06-24 00:01:29 ---
Created an attachment (id=26921)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=26921)
dmesg after suspend/resume test with radeon.agpmode=-1

I don't see those error messages from bug 16140

In any case, I tested with radeon.agpmode=-1 and my problem is still there: the
computer freezes on resume with a black screen.

Also, boot parameter radeon.agpmode=-1 with echo core > /sys/power/pm_test
behaves as before: system resumes from suspend but I get a black screen. The
computer is still alive so I can capture a dmesg and reboot.
I attach the dmesg.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
                   ` (2 preceding siblings ...)
  2010-06-24  0:01 ` bugzilla-daemon
@ 2010-07-05 18:35 ` bugzilla-daemon
  2010-07-16 22:03 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-07-05 18:35 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273


Jose Marino <braket@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #26905|0                           |1
        is obsolete|                            |
  Attachment #26921|0                           |1
        is obsolete|                            |




--- Comment #4 from Jose Marino <braket@hotmail.com>  2010-07-05 18:34:43 ---
Created an attachment (id=27025)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27025)
dmesg after suspend/resume test (2.6.35-rc4)

There has been some improvement with 2.6.35-rc4
With the rc4 the suspend/resume test works fine:
$ echo core > /sys/power/pm_test
$ echo mem > /sys/power/state

The laptop suspends for a few seconds and comes back fine. The display works
and everything seems ok. I attach the dmesg I captured after this test.

However, the actual suspend/resume still doesn't work. The symptoms are the
same as with rc3: the laptop locks up on resume.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
                   ` (3 preceding siblings ...)
  2010-07-05 18:35 ` bugzilla-daemon
@ 2010-07-16 22:03 ` bugzilla-daemon
  2010-09-13 22:29 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-07-16 22:03 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273


Jose Marino <braket@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27025|0                           |1
        is obsolete|                            |




--- Comment #5 from Jose Marino <braket@hotmail.com>  2010-07-16 22:01:43 ---
Created an attachment (id=27132)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=27132)
dmesg after suspend/resume test (debug test)

I was able to get more info about this bug. 
I added an early return in the radeon resume routine with this patch applied on
top of f469461df6ff822f71b8737bda86eea20f16ff93

--- a/drivers/gpu/drm/radeon/radeon_device.c
+++ b/drivers/gpu/drm/radeon/radeon_device.c
@@ -799,6 +799,10 @@ int radeon_resume_kms(struct drm_device *dev)
        radeon_pm_resume(rdev);
        radeon_restore_bios_scratch_regs(rdev);

+       printk(KERN_INFO "radeon: **TEST** resume early\n");
+       release_console_sem();
+       return -1;
+
        /* turn on display hw */
        list_for_each_entry(connector, &dev->mode_config.connector_list, head)
{
                drm_helper_connector_dpms(connector, DRM_MODE_DPMS_ON);


I booted this kernel and did a suspend/resume cycle, saved the dmesg and
rebooted. After the resume the display was black but I was able to save the
dmesg and start the reboot. The laptop locked up on reboot.

There are some new interesting error messages in the dmesg:
[drm:radeon_ring_write] *ERROR* radeon: writting more dword to ring than
expected !
[drm:r100_ring_test] *ERROR* radeon: ring test failed
(sracth(0x15E4)=0xFFFFFFFF)
[drm:r100_cp_init] *ERROR* radeon: cp isn't working (-22).
radeon 0000:01:00.0: failled initializing CP (-22).

I attach the full dmesg just in case.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
                   ` (4 preceding siblings ...)
  2010-07-16 22:03 ` bugzilla-daemon
@ 2010-09-13 22:29 ` bugzilla-daemon
  2010-11-21  3:14 ` bugzilla-daemon
  2012-08-09 13:59 ` bugzilla-daemon
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-09-13 22:29 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273





--- Comment #6 from Jose Marino <braket@hotmail.com>  2010-09-13 22:29:41 ---
Update: I still see this problem with latest kernel v2.6.36-rc4

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
                   ` (5 preceding siblings ...)
  2010-09-13 22:29 ` bugzilla-daemon
@ 2010-11-21  3:14 ` bugzilla-daemon
  2012-08-09 13:59 ` bugzilla-daemon
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2010-11-21  3:14 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273





--- Comment #7 from Jose Marino <braket@hotmail.com>  2010-11-21 03:14:33 ---
Created an attachment (id=37792)
 --> (https://bugzilla.kernel.org/attachment.cgi?id=37792)
dmesg after suspend/resume (2.6.37-rc2+)

Current git kernel 2.6.37-rc2 (actually at
b86db4744230c94e480de56f1b7f31117edbf193) still has this issue.
I got another dmesg after a suspend/resume cycle by using the same patch as in
comment #5. There doesn't seem to be anything new but I'll attach it here just
in case.
These are the steps I take:
- boot patched kernel (console only, no X)
- run this:
echo mem > /sys/power/state ; dmesg > dmesg.log ; sync ; sync ; reboot

The laptop survives the suspend/resume (with a black screen) and writes the
dmesg to file but hangs on reboot.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
--

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug 16273] suspend/resume failure with radeon kms driver
       [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
                   ` (6 preceding siblings ...)
  2010-11-21  3:14 ` bugzilla-daemon
@ 2012-08-09 13:59 ` bugzilla-daemon
  7 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2012-08-09 13:59 UTC (permalink / raw)
  To: dri-devel

https://bugzilla.kernel.org/show_bug.cgi?id=16273


Alan <alan@lxorguk.ukuu.org.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |alan@lxorguk.ukuu.org.uk
         Resolution|                            |OBSOLETE




--- Comment #8 from Alan <alan@lxorguk.ukuu.org.uk>  2012-08-09 13:59:44 ---
The driver has changed so much that this bug report is really obsolete. If you
see the problem with a modern (3.2/4/5 kernel) feel free to update it

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-08-09 13:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-16273-2300@https.bugzilla.kernel.org/>
2010-06-23  0:06 ` [Bug 16273] suspend/resume failure with radeon kms driver bugzilla-daemon
2010-06-23 17:19 ` bugzilla-daemon
2010-06-24  0:01 ` bugzilla-daemon
2010-07-05 18:35 ` bugzilla-daemon
2010-07-16 22:03 ` bugzilla-daemon
2010-09-13 22:29 ` bugzilla-daemon
2010-11-21  3:14 ` bugzilla-daemon
2012-08-09 13:59 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.