Bug 43353 - nouveau will not load or boot
nouveau will not load or boot
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel)
All Linux
: P1 normal
Assigned To: drivers_video-dri
Depends on:
  Show dependency treegraph
Reported: 2012-06-07 21:04 UTC by Vlad K
Modified: 2012-07-01 06:13 UTC (History)
2 users (show)

See Also:
Kernel Version: 3.4
Tree: Mainline
Regression: Yes

modprobe-nouveau (7.02 KB, text/plain)
2012-06-07 21:04 UTC, Vlad K

Description Vlad K 2012-06-07 21:04:10 UTC
Created attachment 73534 [details]

Since kernel 3.4.X (also 3.5-rc) I have been seeing issues with nouveau, machine would lock up almost immediately after grub (after nouveau load) or just simply reboot. The following commit appears to be causing regression on my hardware (found with bisect) - gtx560. Attached is drm.log with portion of kern.log when attempting to insert nouveau (machine was booted with nomodeset and drm.debug=0x04).

4f988d132d2668b4f3b42bfc70daa531115ccca1 is the first bad commit
commit 4f988d132d2668b4f3b42bfc70daa531115ccca1
Author: Sascha Hauer <s.hauer@pengutronix.de>
Date:   Wed Feb 1 11:38:26 2012 +0100

    drm fb helper: remove unused variable crtc_id
    crtc_id is set but never used, so remove it from struct
    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
    Signed-off-by: Dave Airlie <airlied@redhat.com>

:040000 040000 0a26eb080648d02fb93d75adb3e8e6b8cbabeff4 ea8fcd1ba1b8447738057e4d507eca70b4c6cd2f M	drivers
:040000 040000 0ef8bbc7c102b8cf86fde3e7431259a0e79a8025 3a48417368ac82f7286f5e18e9a4137295b8cce8 M	include

I have added added crtc_id back to drm fb helper and it seems to solve issues on 3.4.1 so far.
Comment 1 WorMzy Tykashi 2012-06-23 17:47:27 UTC
Same problem. Only seems to affect GTX 560 chipsets.

Can confirm that re-adding crtc_id back to struct drm_fb_helper_crtc in include/drm/drm_fb_helper.h fixes the problem.
Comment 2 Vlad K 2012-07-01 06:13:48 UTC
Verified, bug fixed in commit 9bd0c15fcfb42f6245447c53347d65ad9e72080b


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