Bug 43353

Summary: nouveau will not load or boot
Product: Drivers Reporter: Vlad K (kvs)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED CODE_FIX    
Severity: normal CC: biru.ionut, wormzy.tykashi
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.4 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: modprobe-nouveau

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

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
    drm_fb_helper_crtc.
    
    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

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=9bd0c15fcfb42f6245447c53347d65ad9e72080b