Summary: | kernel >=3.4.0: nouveau triggers kernel BUG in slub.c on GTX 560 Ti | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Jiri Dluhos <jiri.bluebear.dluhos> | ||||||
Component: | Driver/nouveau | Assignee: | Nouveau Project <nouveau> | ||||||
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> | ||||||
Severity: | normal | ||||||||
Priority: | medium | CC: | biru.ionut, mg05182-fdsk, vlad.kvs, wormzy.tykashi | ||||||
Version: | unspecified | ||||||||
Hardware: | x86-64 (AMD64) | ||||||||
OS: | Linux (All) | ||||||||
Whiteboard: | |||||||||
i915 platform: | i915 features: | ||||||||
Attachments: |
|
Description
Jiri Dluhos
2012-06-12 15:12:21 UTC
Created attachment 62945 [details]
Result of "dmesg" (running kernel 3.4.2 with slub_debug=FZ)
Result of "dmesg" on the machine.
Created attachment 63140 [details]
Dmesg containing the SLUB warning.
Accidentally, I have observed a SLUB warning (a double freed slab pointer) after booting the system multiple times; it seems to appear roughly at the point where the machine stops booting without the slub_debug feature. Copy of dmesg is attached.
Same problem here, also on a GTX 560 Ti. Can confirm that slub_debug kernel option allows the system to boot, although on my system it then crashes when SLiM is loaded/X is started, and appears to show garbled images from a previous X session (somehow?). Kernels 3.4+ (all the way up to 3.5.0-rc2, haven't tried rc3 yet) appear to be affected, but the 3.3.x kernels are not. I had similar problems with my GTX 560 as well after switch to 3.4.X. Monitor would go blank, or machine would reboot, or BUG screen appeared randomly (never bothered to save it). After bisecting, issue is due to a removed variable in drm code (https://bugzilla.kernel.org/show_bug.cgi?id=43353). Can you guys check if you are having same issue? include/drm/drm_fb_helper.h: struct drm_fb_helper_crtc { uint32_t crtc_id; struct drm_mode_set mode_set; struct drm_display_mode *desired_mode; }; I can confirm that after adding crtc_id back to the drm_fb_helper_crtc, everything started to work again (or at least, it booted into X and so far works without any problem). Excellent work Vlad, thanks a lot! To be precise, I reverted the second part of this patch: http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=4f988d132d2668b4f3b42bfc70daa531115ccca1 I.e. added "uint32_t crtc_id" back to the front of the drm_fb_helper_crtc structure. Reverting the first part of the patch (adding crtc_id to the enumeration loop) seems unnecessary, so it looks like the 32 bits work just like a padding. :-) Yeah drm_fb_helper.c doesn't seem to have any effect for me. Also, I am unable to boot with dual screens (both DVI used), screen goes "No Signal" after initial refresh/modprobe. As soon as I unplug second screen, image appears on first monitor and I can proceed booting system. Once in WM, second monitor can be plugged in and used normally. Are you having same issue as well? With the help of David, I managed to get some interesting facts. After applying the http://pkgbuild.com/~ioni/airlied1.patch, the returning "alloced 1 2 4 3" "conn count 3" After modifying nv_two_heads arguments, like: http://pkgbuild.com/~ioni/airlied2.patch I don't have any more crashes. "alloced 2 2 4 3" "conn count 3" Drm dmesg: http://pkgbuild.com/~ioni/drm Fixed by Ben Skeggs: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=9bd0c15fcfb42f6245447c53347d65ad9e72080b It will appear in 3.4-stable soon (3.4.5 or 3.4.6). |
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.