All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 94803] New: nouveau bug crashes kernel 4.4.6 on warm boot
@ 2016-04-02 23:14 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-04-02 23:14 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

            Bug ID: 94803
           Summary: nouveau bug crashes kernel 4.4.6 on warm boot
           Product: xorg
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: mic.daum-Mmb7MZpHnFY@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

Created attachment 122684
  --> https://bugs.freedesktop.org/attachment.cgi?id=122684&action=edit
picture from stack trace taken with camera

Whenever doing a warm boot (reboot), kernel 4.4.6 crashes showing the stack
trace in the attached picture. The kernel boots fine when doing a cold start or
after pressing the reset button.

The GPU in question is a "PNY Quadro FX 580" (Tesla / G96) with two attached
monitors, both connected on display port.

The crash happens quite early when the kernel sets mode on the framebuffer.
Resolution is set to 1920x1200 px, 240x75 cols/lines.

attached:

picture of the screen showing the stack trace
dump of "nv50_disp_intr_supervisor" function from the 4.4.6 vmlinux

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2016-04-02 23:16   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-04-02 23:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-04-02 23:16 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #1 from Michael Daum <mic.daum-Mmb7MZpHnFY@public.gmane.org> ---
Created attachment 122685
  --> https://bugs.freedesktop.org/attachment.cgi?id=122685&action=edit
dump of the nv50_disp_intr_supervisor function

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-04-02 23:16   ` [Bug 94803] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-04-02 23:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-04-02 23:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-04-02 23:32 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #122684|text/plain                  |image/jpeg
          mime type|                            |

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-04-02 23:16   ` [Bug 94803] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-04-02 23:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-04-02 23:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-04-03  1:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-12-04  9:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-04-02 23:36 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
0x80c (2060) looks like this:

   0xffffffff814daf32 <+2050>:    xor    %edx,%edx
   0xffffffff814daf34 <+2052>:    mov    %rax,%rdi
   0xffffffff814daf37 <+2055>:    mov    $0xc,%eax
   0xffffffff814daf3c <+2060>:    divl   -0x88(%rbp)

which has gotta come from

nv50_disp_intr_unk20_2_dp(...) {

    u32 dpctrl = nvkm_rd32(device, 0x61c10c + loff);
    link_nr = hweight32(dpctrl & 0x000f0000);

...

     value = value - (3 * !!(dpctrl & 0x00004000)) - (12 / link_nr);

Which means that on boot link_nr is 0. Michael, if you're up for some kernel
patching, can you just add a

if (!link_nr) {
  nvkm_error(subdev, "link_nr = 0; dpctrl: %08x\n", dpctrl);
  return;
}

right after the link_nr assignment in that function?

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2016-04-02 23:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-04-03  1:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2019-12-04  9:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-04-03  1:11 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #3 from Michael Daum <mic.daum-Mmb7MZpHnFY@public.gmane.org> ---
The patch from Ilia prevents the kernel from crashing. Reboot does not fail any
longer. Additionally _most_ of the time both monitors come up at reboot.

But on some reboots one of the monitors stays black and the kernel logs
following error (from dmesg):

[    0.955154] nouveau 0000:01:00.0: disp: outp 04:0006:0384: link training
failed
[    0.973972] nouveau 0000:01:00.0: disp: outp 04:0006:0384: link training
failed
[    0.974279] nouveau 0000:01:00.0: disp: link_nr = 0; dpctrl: 00401101


The value of dpctrl is always the same (00401101) then.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 94803] nouveau bug crashes kernel 4.4.6 on warm boot
       [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2016-04-03  1:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2019-12-04  9:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2019-12-04  9:11 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> changed:

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

--- Comment #4 from Martin Peres <martin.peres-GANU6spQydw@public.gmane.org> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/259.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

end of thread, other threads:[~2019-12-04  9:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-02 23:14 [Bug 94803] New: nouveau bug crashes kernel 4.4.6 on warm boot bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-94803-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2016-04-02 23:16   ` [Bug 94803] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-04-02 23:32   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-04-02 23:36   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-04-03  1:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2019-12-04  9:11   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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.