All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [Bug 72651] New: [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400
Date: Thu, 12 Dec 2013 22:28:32 +0000	[thread overview]
Message-ID: <bug-72651-8800@http.bugs.freedesktop.org/> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2386 bytes --]

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

          Priority: medium
            Bug ID: 72651
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
           Summary: [NV11] Hang during suspend/resume on Geforce 2 MX200 &
                    MX400
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: welnicki-9geRo0GdX4mDzrf88dcEIrGCNT7kqevq@public.gmane.org
          Hardware: x86 (IA32)
            Status: NEW
           Version: unspecified
         Component: Driver/nouveau
           Product: xorg

Created attachment 90680
  --> https://bugs.freedesktop.org/attachment.cgi?id=90680&action=edit
Serial console dump from MX200 card (boot + crash)

Hibernation and suspend/resume always hangs on a GeForce2 MX200/MX400 (NV11)
with nouveau loaded.

Steps to reproduce:
- boot a kernel, load nouveau
- echo "disk" > /sys/power/state
- machine hangs after suspending devices but before the image writing begins
- after several seconds, the monitor complains about "input signal out of
range"

Same thing happens with "echo freeze > /sys/power/state".
If nouveau is unloaded before hibernation, everything works fine.

This happens on two different systems with a GeForce2 MX200/400:
1) Athlon XP 1700+ on an Asrock K7VT2,
   GeForce2 MX400 64MB AGP, with VGA output
2) Pentium II 400 on a 440BX-based Gigabyte GA-BX2000+,
   GeForce2 MX200 32MB AGP, with VGA and TV-out (S-Video + Cinch)

I'm using CentOS 6 userspace, and various kernels:
linux-2.6.32-358.18.1.el6
linux-3.0.x
linux-3.10.x
linux-3.12.1
linux-3.12.4

Using a serial console I was able to narrow down the hang to run_tmds_table(),
called from nv04_dfp_restore().
Dmesg output and VBIOS of both cards is attached.

Note that neither of my cards has DVI/HDMI.
It seems that the flat panel connector is wrongly fabricated in
nouveau_bios.c:fabricate_dcb_encoder_table().

Commenting out the call to fabricate_dcb_output(dcb, DCB_OUTPUT_TMDS, ...)
makes hibernation work fine (patch attached).

The current condition of checking bios->tmds.output{0,1}_script_ptr seems
wrong. But since I don't have any NV11 with DVI output, I'm not sure what to
key creating the TMDS output on.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3908 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau

             reply	other threads:[~2013-12-12 22:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 22:28 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ [this message]
     [not found] ` <bug-72651-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2013-12-12 22:29   ` [Bug 72651] [NV11] Hang during suspend/resume on Geforce 2 MX200 & MX400 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-12-12 22:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-12-12 22:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2013-12-12 22:37   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  8:41   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-72651-8800@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon-cc+yj3umiyqdupfqwhejaq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.