bugzilla-daemon at freedesktop.org
2013-Feb-23 00:18 UTC
[Nouveau] [Bug 61321] New: [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 Priority: medium Bug ID: 61321 Keywords: regression Assignee: nouveau at lists.freedesktop.org Summary: [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6) QA Contact: xorg-team at lists.x.org Severity: major Classification: Unclassified OS: Linux (All) Reporter: cesarb at cesarb.net Hardware: x86-64 (AMD64) Status: NEW Version: unspecified Component: Driver/nouveau Product: xorg Since upgrading from a 3.6.10 kernel to a 3.7.9 kernel (Fedora 18), the system started hanging while loading gdm. Going back to the 3.6 kernel works, going to a 3.8 kernel hangs the same way. The hang manifests first as the gdm spinning "loading" cursor stopping, followed a few seconds later by a screen full of a repeated noise pattern (different for each boot, but looks like a small block of noise tiled all over the screen). The machine does not answer to the keyboard (num lock/caps lock LEDs) or the network (by this point NetworkManager already started the interface, so I can get a few pings before it hangs). In particular, it is not the initial modeset when loading the module which hangs; it is only gdm. If I boot with systemd.unit=multi-user.target, I can boot without any hangs, load netconsole, and isolate graphical.target to load gdm to see it hang. I used that to capture the kernel messages until the hang for the Fedora 3.7.9 kernel. I also managed to capture the Xorg.0.log for the attempt with the 3.8 kernel (booting directly into graphical.target). The relevant version numbers are: kernel-3.6.10-4.fc18.x86_64 (works) kernel-3.7.9-201.fc18.x86_64 (hangs) Upstream 3.8 kernel with a Fedora config (hangs) xorg-x11-server-Xorg-1.13.2-2.fc18.x86_64 xorg-x11-drv-nouveau-1.0.6-1.fc18.x86_64 libdrm-2.4.42-1.fc18.x86_64 mesa-dri-drivers-9.0.1-4.fc18.x86_64 I also attempted once booting 3.7.9 with nouveau.config=NvPCIE=0 as suggested at bug #58776; it did not make any visible difference. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/f5be2b6d/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 00:20 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #1 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75390 --> https://bugs.freedesktop.org/attachment.cgi?id=75390&action=edit First part of attempt with 3.7.9 First part of attempt with the 3.7.9 kernel, captured with dmesg after booting into multi-user.target -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/76eae046/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 00:21 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #2 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75391 --> https://bugs.freedesktop.org/attachment.cgi?id=75391&action=edit Second part of attempt with 3.7.9 Second part of attempt with the 3.7.9 kernel, captured with netconsole before and during systemd isolate of graphical.target -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/1a17c65f/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 00:22 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #3 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75392 --> https://bugs.freedesktop.org/attachment.cgi?id=75392&action=edit lspci -v lspci -v (with 3.6 kernel) -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/f3f07816/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 00:25 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #4 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75393 --> https://bugs.freedesktop.org/attachment.cgi?id=75393&action=edit Xorg.0.log.old from attempt at kernel 3.8, copied after boot to working kernel This was from when I attempted booting into the 3.8 kernel. Notice the block of NUL bytes at end of the file, suggesting it might have been truncated. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/67283b72/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 00:28 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #5 from Cesar Eduardo Barros <cesarb at cesarb.net> --- If there is anything else I could add to the kernel command line to get better logs, just ask and I will try again. I could not easily find on the wiki an authoritative list of debugging parameters, so I might not have made it print enough debugging noise. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/0ed040b5/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 18:27 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #6 from Cesar Eduardo Barros <cesarb at cesarb.net> --- I just did a bisect. The symptoms change mid bisect (losing video at the initial modeset, instead of hanging completely at gdm), so I am not completely sure, but here are the results: 70ee6f1cd6911098ddd4c11ee21b69dbe51fb3f9 is the first bad commit commit 70ee6f1cd6911098ddd4c11ee21b69dbe51fb3f9 Author: Ben Skeggs <bskeggs at redhat.com> Date: Fri Jul 13 16:49:49 2012 +1000 drm/nv04-nv40/fifo: remove use of nouveau_gpuobj_new_fake() Signed-off-by: Ben Skeggs <bskeggs at redhat.com> :040000 040000 29a991b723d037cfe7fb7a5dd3a34b8321e489d1 cb531c96db341f2340f62511cb7dc1c2b84cefc5 M drivers And the bisect log: # bad: [29594404d7fe73cd80eaa4ee8c43dcc53970c60e] Linux 3.7 # good: [a0d271cbfed1dd50278c6b06bead3d00ba0a88f9] Linux 3.6 git bisect start 'v3.7' 'v3.6' '--' 'drivers/gpu/drm/nouveau/' # bad: [cd8c14b407d59ac4b8d324f5f9cdf223a2079c88] drm/nvc0/ltcg: read LTS count at startup git bisect bad cd8c14b407d59ac4b8d324f5f9cdf223a2079c88 # bad: [c4afbe74cebf887d3d8e7a11aa93bebcb6a3e2e1] drm/nvc0-/gr: share headers between fermi and kepler graphics code git bisect bad c4afbe74cebf887d3d8e7a11aa93bebcb6a3e2e1 # good: [0134a97979a0abc1c756b0fe491e074693c2bdf5] drm/nv50-/instmem: allocate vram for kernel objects from end of vram git bisect good 0134a97979a0abc1c756b0fe491e074693c2bdf5 # bad: [8a9b889e668a5bc2f4031015fe4893005c43403d] drm/nouveau: remove last use of nouveau_gpuobj_new_fake() git bisect bad 8a9b889e668a5bc2f4031015fe4893005c43403d # bad: [70ee6f1cd6911098ddd4c11ee21b69dbe51fb3f9] drm/nv04-nv40/fifo: remove use of nouveau_gpuobj_new_fake() git bisect bad 70ee6f1cd6911098ddd4c11ee21b69dbe51fb3f9 # good: [af7afbd2e1409168698bde2f2846848b07d05d12] drm/nv04-nv40/instmem: duplicate nv04 code as nv40, remove alternate paths git bisect good af7afbd2e1409168698bde2f2846848b07d05d12 # good: [5787640db6ae722aeadb394d480c7ca21b603e34] drm/nv04-nv40/instmem: remove use of nouveau_gpuobj_new_fake() git bisect good 5787640db6ae722aeadb394d480c7ca21b603e34 And my notes on the bisect kernels: cd8c14b407d59ac4b8d324f5f9cdf223a2079c88 hangs at gdm c4afbe74cebf887d3d8e7a11aa93bebcb6a3e2e1 hangs at initial modeset 0134a97979a0abc1c756b0fe491e074693c2bdf5 works 8a9b889e668a5bc2f4031015fe4893005c43403d initial modeset: blank screen followed by dpms off, keyboard still works 70ee6f1cd6911098ddd4c11ee21b69dbe51fb3f9 again blank screen/dpms off at initial modeset af7afbd2e1409168698bde2f2846848b07d05d12 works 5787640db6ae722aeadb394d480c7ca21b603e34 works -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/3f5ff19d/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 18:35 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #7 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Searching for that commit id, I found https://bugzilla.kernel.org/show_bug.cgi?id=50091 which has very similar symptoms (hang on X server startup, garbled screen) and is also NV40 family. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/7113c6c7/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 19:34 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #8 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Finally made it work on both 3.8 and 3.7.9: just add nouveau.noaccel=1 and there is no hang. Of course, that does not fix the bug, just avoids it. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/c1453e71/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 19:37 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #9 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75421 --> https://bugs.freedesktop.org/attachment.cgi?id=75421&action=edit dmesg for 3.8 with nouveau.noaccel=1 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/b67f3b76/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 19:37 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 --- Comment #10 from Cesar Eduardo Barros <cesarb at cesarb.net> --- Created attachment 75422 --> https://bugs.freedesktop.org/attachment.cgi?id=75422&action=edit Xorg.0.log for 3.8 with nouveau.noaccel=1 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/1e5015cb/attachment.html>
bugzilla-daemon at freedesktop.org
2013-Feb-23 20:38 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 comer352l at web.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |comer352l at web.de See Also| |https://bugzilla.kernel.org | |/show_bug.cgi?id=50091 -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130223/4eb50553/attachment.html>
bugzilla-daemon at freedesktop.org
2013-May-29 10:54 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 Maarten Lankhorst <m.b.lankhorst at gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Assignee|nouveau at lists.freedesktop.o |m.b.lankhorst at gmail.com |rg | --- Comment #11 from Maarten Lankhorst <m.b.lankhorst at gmail.com> --- Created attachment 79949 --> https://bugs.freedesktop.org/attachment.cgi?id=79949&action=edit initialize ramfc to zero Just guessing, based on the commit itself. Does the patch help? -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130529/c4471540/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Apr-10 08:18 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 Maarten Lankhorst <bugs at mblankhorst.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs at mblankhorst.nl |nouveau at lists.freedesktop.o | |rg -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170410/4d1bfaff/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 08:32 UTC
[Nouveau] [Bug 61321] [regression][NV4c] System hang while loading gdm on 3.7 kernel (works on 3.6)
https://bugs.freedesktop.org/show_bug.cgi?id=61321 Martin Peres <martin.peres at free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #15 from Martin Peres <martin.peres at free.fr> --- -- 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/35. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20191204/472cecee/attachment.html>