Bug 119861 - Kernel BUG() when Xorg server is started using nouveau
Summary: Kernel BUG() when Xorg server is started using nouveau
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: x86-64 Linux
: P1 high
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-09 12:04 UTC by Dmitrii Tcvetkov
Modified: 2016-06-19 17:41 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.7-rc2
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg (121.89 KB, text/plain)
2016-06-09 12:04 UTC, Dmitrii Tcvetkov
Details
Xorg.0.log (24.29 KB, text/plain)
2016-06-09 12:05 UTC, Dmitrii Tcvetkov
Details
Xorg.conf (126 bytes, text/plain)
2016-06-09 12:06 UTC, Dmitrii Tcvetkov
Details
kernel config (93.42 KB, text/plain)
2016-06-09 12:17 UTC, Dmitrii Tcvetkov
Details

Description Dmitrii Tcvetkov 2016-06-09 12:04:48 UTC
Created attachment 219391 [details]
dmesg

OS: Archlinux, 
Video adapter: NVIDIA GeForce GTX 780 Ti,
xf86-nouveau version: 1.0.12

When I run startx BUG: unable to handle kernel NULL pointer dereference appers in dmesg and screen stays black. Problem appeared in 4.7 kernel, previous kernels work fine.
Comment 1 Dmitrii Tcvetkov 2016-06-09 12:05:30 UTC
Created attachment 219401 [details]
Xorg.0.log
Comment 2 Dmitrii Tcvetkov 2016-06-09 12:06:19 UTC
Created attachment 219411 [details]
Xorg.conf
Comment 3 Dmitrii Tcvetkov 2016-06-09 12:17:06 UTC
Created attachment 219421 [details]
kernel config
Comment 4 Lucas Stach 2016-06-13 07:32:42 UTC
Probably the same bug as seen on imx-drm by Philipp and fixed with the following 2 patches:
https://patchwork.kernel.org/patch/9151037/
https://patchwork.kernel.org/patch/9151039/

Please test if those also fix this bug. Thanks.
Comment 5 Dmitrii Tcvetkov 2016-06-13 16:41:34 UTC
(In reply to Lucas Stach from comment #4)
> Probably the same bug as seen on imx-drm by Philipp and fixed with the
> following 2 patches:
> https://patchwork.kernel.org/patch/9151037/
> https://patchwork.kernel.org/patch/9151039/
> 
> Please test if those also fix this bug. Thanks.

Thanks, the patch helps on 4.7-rc2, Xorg starts like with 4.6 without errors in dmesg.

Although 4.7-rc3 panics with same .config even without the patch (I can't see anything on screen and I assume it's a panic because kernel reacts on panic= parameter). Looks like it is another issue. I'll make separate report when get any info with netconsole.
Comment 6 Dmitrii Tcvetkov 2016-06-19 17:41:39 UTC
commit fffc5f59f2c68ca859c3f92b224393ed3adbe1ca
Author: Philipp Zabel <p.zabel@pengutronix.de>
Date:   Thu Jun 2 19:27:51 2016 +0200

    drm/crtc: fix connector reference counting mismatch in drm_crtc_helper_set_config

Note You need to log in before you can comment on or make changes to this bug.