Bug 104344 - Display Adapter Chain, Cable Disconnect causes Nouveau trace
Summary: Display Adapter Chain, Cable Disconnect causes Nouveau trace
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
Depends on:
Reported: 2017-12-20 05:52 UTC by mbazzinotti
Modified: 2019-12-04 09:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

collation of syslog grep'd for "nouveau|drm"; includes trace. there was no pertinent log info right before the trace occurred. (5.61 KB, text/plain)
2017-12-20 05:52 UTC, mbazzinotti
no flags Details

Description mbazzinotti 2017-12-20 05:52:17 UTC
Created attachment 136308 [details]
collation of syslog grep'd for "nouveau|drm"; includes trace. there was no pertinent log info right before the trace occurred.

While experimenting with physical connections to avert Flicker Bug 88272

I found myself using a mini DisplayPort(mDP) adapter which has 3 outputs
(HDMI, DVI, and DP), with its DP output connected to a second DP->DVI adapter.

Let's call the first adapter A, and the 2nd adapter B. The connections are:

-------  mDP  ---  DP  --- DVI --------- 
Laptop |-----| A |----| B |---| Monitor |
-------       ---      ---     ---------

While connected, display appeared "normal" as per Bug 88272 screen flicker. When
I unplugged the DVI cable from adapter B, this trace appeared in the dmesg attachment. Dmesg Output before the trace was not relevant. This issue can be reproduced again and again by reconnecting and disconnecting the cable.

This does not crash X. The desktop appears to run just fine, even during the nouveau crash IIRC. If I was not watching dmesg, I may not have even noticed.

The problem does not happen if unplugging the root adapter from the laptop. I have not tried unplugging the 2nd adapter to see what happens in that case.

Note: When adapter A is plugged via DVI to monitor directly, unplugging the DVI cable does not cause a crash; no call stack is outputted to dmesg in this case.

Hardware |
Macbook Pro 5,4 15" mid-2009
Nvidia GeForce 9400m
mini DisplayPort -> "Gigaware" DVI/HDMI/Displayport adapter -> HP DP>DVI
Dell LCD Monitor model E2011Hc

Gentoo Linux 4.12.12. 
No compositor

kernel command line: ro root=PARTUUID=xxxxxxxx net.ifnames=0

Comment 1 mbazzinotti 2017-12-21 21:04:26 UTC
Ah, it was not a crash! it was the WARN_ON.

I got some more info on what produced the warning

inside nvkm_rdaux()
WARN_ON(!ret && size != xfer);
Comment 2 Martin Peres 2019-12-04 09:34:40 UTC
-- 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/392.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.