Bug 99499 - [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A
Summary: [REGRESSION, bisected] KMS hard-freezes around fbcon initialization on NV1A
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 05:39 UTC by Bruno
Modified: 2019-12-04 09:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Kernel config for regression area (91.28 KB, text/x-mpsub)
2017-01-23 05:39 UTC, Bruno
no flags Details
Successful kernel log (@13de7f462902d1a452d501cdb2d06ef02cabbfff) (104.11 KB, text/plain)
2017-01-23 05:49 UTC, Bruno
no flags Details
Freezing kernel log (@c85ee6ca79590cd51356bf24fb8936bc352138cf) (49.75 KB, text/plain)
2017-01-23 05:50 UTC, Bruno
no flags Details

Description Bruno 2017-01-23 05:39:19 UTC
Created attachment 129101 [details]
Kernel config for regression area

Kernel 4.2 works fine while 4.3 and later fail by freezing hard.

On failure the last kernel message output via netconsole is:
  nouveau 0000:02:00.0: DRM: allocated 1920x1080 fb: 0x4000, bo dd258000

Bisected as follow:
git bisect start 'drivers/gpu/drm/'
# bad: [34cdc49bf8ea385c1b3039be72cf91f98ddf8bbc] sd: Stop disks on reboot
git bisect bad 34cdc49bf8ea385c1b3039be72cf91f98ddf8bbc
# good: [64291f7db5bd8150a74ad2036f1037e6a0428df2] Linux 4.2
git bisect good 64291f7db5bd8150a74ad2036f1037e6a0428df2
# good: [0b2daf09cf3c9893872d68f0ce9a3f4b7e3ff06c] drm/amdgpu: add some common definitions to amd_shared.h
git bisect good 0b2daf09cf3c9893872d68f0ce9a3f4b7e3ff06c
# good: [a1bfb29a33521efa6b1714589bf68cb4afebacb1] drm/nouveau/device: split user device implementation out on its own
git bisect good a1bfb29a33521efa6b1714589bf68cb4afebacb1
# bad: [73bf1b7be7aab60d7c651402441dd0b0b4991098] Merge branch 'drm-next-4.3' of git://people.freedesktop.org/~agd5f/linux into drm-next
git bisect bad 73bf1b7be7aab60d7c651402441dd0b0b4991098
# bad: [ae0a5b2dd2f54584d677701d989732b464b6d8c9] drm/nouveau/mc/gf100-: handle second interrupt tree
git bisect bad ae0a5b2dd2f54584d677701d989732b464b6d8c9
# good: [0710cc31482ae3711367c42e61580126c50c8ec0] drm/nouveau/dma: convert user classes to new-style nvkm_object
git bisect good 0710cc31482ae3711367c42e61580126c50c8ec0
# good: [8de65bd0901e2ee7a485a158bfe9e4631cc00644] drm/nouveau/devinit: run devinit scripts right after preinit
git bisect good 8de65bd0901e2ee7a485a158bfe9e4631cc00644
# good: [e5b31ca63249f03e56529dcd4260b23196ce2c28] drm/nouveau/ce: convert to new-style nvkm_engine
git bisect good e5b31ca63249f03e56529dcd4260b23196ce2c28
# bad: [97070f23c60869830039b216ff88230f54ef7107] drm/nouveau/pm: convert to new-style nvkm_engine
git bisect bad 97070f23c60869830039b216ff88230f54ef7107
# good: [70aa8670e5229766f12c4b818a68aa61913df0b6] drm/nouveau/disp: convert to new-style nvkm_engine
git bisect good 70aa8670e5229766f12c4b818a68aa61913df0b6
# bad: [c85ee6ca79590cd51356bf24fb8936bc352138cf] drm/nouveau/gr: convert to new-style nvkm_engine
git bisect bad c85ee6ca79590cd51356bf24fb8936bc352138cf
# good: [13de7f462902d1a452d501cdb2d06ef02cabbfff] drm/nouveau/fifo: convert to new-style nvkm_engine
git bisect good 13de7f462902d1a452d501cdb2d06ef02cabbfff
# first bad commit: [c85ee6ca79590cd51356bf24fb8936bc352138cf] drm/nouveau/gr: convert to new-style nvkm_engine
Comment 1 Bruno 2017-01-23 05:49:37 UTC
Created attachment 129102 [details]
Successful kernel log (@13de7f462902d1a452d501cdb2d06ef02cabbfff)
Comment 2 Bruno 2017-01-23 05:50:31 UTC
Created attachment 129103 [details]
Freezing kernel log (@c85ee6ca79590cd51356bf24fb8936bc352138cf)
Comment 3 Bruno 2017-01-23 05:53:34 UTC
In all cases nouveau is built as a module and loaded as follows to enable debugging output (via netconsole) and make use of proper EDID (edid obtained from monitor with another system on its HDMI connector as nouveau can't fetch EDID on this NV1A system)

echo edid/viewsonic.edid > /sys/module/drm_kms_helper/parameters/edid_firmware
echo 0xf > /sys/module/drm/parameters/debug
dmesg -n 8
sync
sleep 1
modprobe nouveau
Comment 4 Martin Peres 2019-12-04 09:23:41 UTC
-- 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/321.


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.