All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
@ 2010-07-14 19:00 bugzilla-daemon
  2010-07-14 19:01 ` [Bug 29062] " bugzilla-daemon
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 19:00 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

           Summary: hp dv5000: xpress 200m 5955 + KMS does not resume from
                    suspend
           Product: DRI
           Version: XOrg CVS
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: acimmarusti@gmail.com


Created an attachment (id=37046)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37046)
dmesg just after failed resume

When I try suspending using KMS my computer (an HP Pavilion dv5035nr laptop)
does not resume. Furthermore I've tried logging into it remotely to obtain a
backtrace from X with no success (following this procedure:
http://ubuntuforums.org/showthread.php?t=1228332). I'm letting NetworkManager
handle my network interfaces, however, I also tried using dhcp directly in the
/etc/network/interfaces file. The laptop screen is completely blank
so I can't switch to another session. The keyboard doesn't respond so it seems
like the kernel crashed.

When using UMS the resume process happens perfectly.

I dedicated a large portion of the day to finding a clue to this one.
Following this advice:
http://lxr.linux.no/#linux+v2.6.34.1/Documentation/power/s2ram.txt
I was able to extract a trace from the failed resume process:

Magic number: 0:981:799
hash matches drivers/base/power/main.c:523
pci 0000:01:05.0: hash matches
ec PNP0C09:00: hash matches

The first hash match is none other than my ATI Radeon card as I easily
verified with lspci:

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M
5955 (PCIE)

However, the above link says that the likely culprit in the failed resume
process is the last hash match. This corresponds to the EC driver:
http://lxr.free-electrons.com/source/drivers/acpi/ec.c

My card was, till recently, listed under embedded graphics at the AMD/ATI
website. So there appears to be some conflict when using KMS between radeon
and ec that causes the kernel to hang (that explains why I can't ssh into my
computer to get a trace).

I would appreciate some advice and guidance in further debugging this issue,
since I'm flying half-blind. I have compiled my kernel with support for
ACPI_DEBUG and I included a quirk David Airlie used to get suspend to work with
a HP nx6125 laptop but applied for my model
(http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commit;h=580b4fffbbdc3c899ee1f8189ba321bd60b48840)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
@ 2010-07-14 19:01 ` bugzilla-daemon
  2010-07-14 19:03 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 19:01 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

--- Comment #1 from Andres Cimmarusti <acimmarusti@gmail.com> 2010-07-14 12:01:55 PDT ---
Created an attachment (id=37047)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37047)
My current Xorg log

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
  2010-07-14 19:01 ` [Bug 29062] " bugzilla-daemon
@ 2010-07-14 19:03 ` bugzilla-daemon
  2010-07-14 19:05 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 19:03 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

--- Comment #2 from Andres Cimmarusti <acimmarusti@gmail.com> 2010-07-14 12:03:36 PDT ---
Created an attachment (id=37048)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=37048)
lspci -v

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
  2010-07-14 19:01 ` [Bug 29062] " bugzilla-daemon
  2010-07-14 19:03 ` bugzilla-daemon
@ 2010-07-14 19:05 ` bugzilla-daemon
  2010-07-14 19:13 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 19:05 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

Andres Cimmarusti <acimmarusti@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37047|My current Xorg log         |Xorg0.log
        description|                            |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
                   ` (2 preceding siblings ...)
  2010-07-14 19:05 ` bugzilla-daemon
@ 2010-07-14 19:13 ` bugzilla-daemon
  2010-07-14 21:13 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 19:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

Andres Cimmarusti <acimmarusti@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37046|dmesg just after failed     |dmesg
        description|resume                      |

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
                   ` (3 preceding siblings ...)
  2010-07-14 19:13 ` bugzilla-daemon
@ 2010-07-14 21:13 ` bugzilla-daemon
  2010-07-16  3:57 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-14 21:13 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

--- Comment #3 from Dave Airlie <airlied@freedesktop.org> 2010-07-14 14:13:34 PDT ---
580b4fffbbdc3c899ee1f8189ba321bd60b48840

in Linus tree is a quirk for my rs48x laptop, you try expanding it to cover
your laptop, or just force it on for testing.



drm/radeon: add quirk to make HP nx6125 laptop resume

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
                   ` (4 preceding siblings ...)
  2010-07-14 21:13 ` bugzilla-daemon
@ 2010-07-16  3:57 ` bugzilla-daemon
  2010-07-16  3:58 ` bugzilla-daemon
  2010-07-22  3:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-16  3:57 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

--- Comment #4 from Andres Cimmarusti <acimmarusti@gmail.com> 2010-07-15 20:57:16 PDT ---
Fantastic!, it works!

I forced it by just writing (like your quirk):

    /* quirk for rs4xx HP laptops to make them resume
    * - they hang on resume inside the dynclk 1 table.
    */
    return;

Just before the /* DYN CLK 1 */ line in the radeon_combios.c file.

So, can you modify your patch to encompass my chipset? actually I know of
several xpress 200 different chipsets that have this issue, see for example:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/305301?comments=all
or
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/577340

I will contact this bug reporters and will try to get them to modify their
kernel source.

Thanks a lot!

Andres

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
                   ` (5 preceding siblings ...)
  2010-07-16  3:57 ` bugzilla-daemon
@ 2010-07-16  3:58 ` bugzilla-daemon
  2010-07-22  3:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-16  3:58 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

Andres Cimmarusti <acimmarusti@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

* [Bug 29062] hp dv5000: xpress 200m 5955 + KMS does not resume from suspend
  2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
                   ` (6 preceding siblings ...)
  2010-07-16  3:58 ` bugzilla-daemon
@ 2010-07-22  3:55 ` bugzilla-daemon
  7 siblings, 0 replies; 9+ messages in thread
From: bugzilla-daemon @ 2010-07-22  3:55 UTC (permalink / raw)
  To: dri-devel

https://bugs.freedesktop.org/show_bug.cgi?id=29062

--- Comment #5 from Alex Deucher <agd5f@yahoo.com> 2010-07-21 20:55:44 PDT ---
Created an attachment (id=37291)
 View: https://bugs.freedesktop.org/attachment.cgi?id=37291
 Review: https://bugs.freedesktop.org/review?bug=29062&attachment=37291

fix resume

I've sent the attached patch to Dave to be included upstream.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

end of thread, other threads:[~2010-07-22  3:55 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-14 19:00 [Bug 29062] New: hp dv5000: xpress 200m 5955 + KMS does not resume from suspend bugzilla-daemon
2010-07-14 19:01 ` [Bug 29062] " bugzilla-daemon
2010-07-14 19:03 ` bugzilla-daemon
2010-07-14 19:05 ` bugzilla-daemon
2010-07-14 19:13 ` bugzilla-daemon
2010-07-14 21:13 ` bugzilla-daemon
2010-07-16  3:57 ` bugzilla-daemon
2010-07-16  3:58 ` bugzilla-daemon
2010-07-22  3:55 ` 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.