Bug 75136

Summary: Radeon HD6790 produces kernel errors when xorg starts
Product: DRI Reporter: Tomasz <tmciolek>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: kamil.lech.roman, russianneuromancer
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Dmesg for 3.12.9 boot none

Description Tomasz 2014-02-18 06:46:44 UTC
Radeon DRM fails on boot...  this is observed with kernle 3.12.x and 3.13.x 


[   92.918254] [drm:radeon_dp_link_train_cr] *ERROR* displayport link status failed
[   92.918258] [drm:radeon_dp_link_train_cr] *ERROR* clock recovery failed
[   92.932698] ------------[ cut here ]------------
[   92.932712] WARNING: CPU: 5 PID: 3664 at drivers/gpu/drm/drm_crtc.c:2029 drm_mode_set_config_internal+0x62/0xac [drm]()
[   92.932713] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT xt_CHECKSUM iptable_mangle xt_tcpudp tun bridge stp llc ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables bnep rfcomm bluetooth parport_pc parport binfmt_misc ipv6 it87 hwmon_vid firewire_sbp2 loop fuse radeon ttm drm_kms_helper drm snd_hda_codec_hdmi snd_usb_audio snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_usbmidi_lib snd_hwdep snd_pcm_oss pwc snd_mixer_oss snd_pcm videobuf2_vmalloc joydev videobuf2_memops hid_apple v4l2_common hid_generic usbhid evdev snd_page_alloc hid videobuf2_core acpi_cpufreq snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq kvm_amd videodev cfbfillrect freq_table kvm processor k10temp pcspkr serio_raw cfbimgblt edac_core cfbcopyarea media sp5100_tco snd_seq_device snd_timer thermal_sys snd edac_mce_amd i2c_algo_bit i2c_piix4 i2c_core hwmon soundcore button ext3 jbd sg sr_mod sd_mod cdrom crc_t10dif crct10dif_common dm_mod xhci_hcd ata_generic ahci libahci pata_jmicron libata ehci_pci firewire_ohci microcode ohci_pci ohci_hcd firewire_core ehci_hcd r8169 usbcore crc_itu_t scsi_mod mii usb_common
[   92.932769] CPU: 5 PID: 3664 Comm: Xorg Not tainted 3.12.9 #1
[   92.932771] Hardware name: Gigabyte Technology Co., Ltd. GA-870A-UD3/GA-870A-UD3, BIOS F5 08/01/2011
[   92.932773]  0000000000000006 ffffffff8138712a 0000000000000000 ffffffff810348cb
[   92.932776]  ffffffffa03c0b0f ffff88040bf26000 ffff88040c382240 0000000000000000
[   92.932778]  ffff88040bf26000 ffffffffa03c0b0f ffff8800cf89de20 ffff88040c382240
[   92.932780] Call Trace:
[   92.932786]  [<ffffffff8138712a>] ? dump_stack+0x4a/0x7e
[   92.932790]  [<ffffffff810348cb>] ? warn_slowpath_common+0x74/0x89
[   92.932797]  [<ffffffffa03c0b0f>] ? drm_mode_set_config_internal+0x62/0xac [drm]
[   92.932803]  [<ffffffffa03c0b0f>] ? drm_mode_set_config_internal+0x62/0xac [drm]
[   92.932810]  [<ffffffffa03c2d0e>] ? drm_mode_setcrtc+0x41d/0x4c2 [drm]
[   92.932816]  [<ffffffffa03b7a4b>] ? drm_ioctl+0x289/0x3bf [drm]
[   92.932822]  [<ffffffffa03c28f1>] ? drm_mode_setplane+0x32e/0x32e [drm]
[   92.932825]  [<ffffffff810e5c49>] ? do_mmap_pgoff+0x2d8/0x33d
[   92.932829]  [<ffffffff81114655>] ? vfs_ioctl+0x1b/0x28
[   92.932831]  [<ffffffff81114d71>] ? do_vfs_ioctl+0x32d/0x3e8
[   92.932833]  [<ffffffff81114e7a>] ? SyS_ioctl+0x4e/0x7b
[   92.932836]  [<ffffffff813902e6>] ? system_call_fastpath+0x1a/0x1f
[   92.932837] ---[ end trace d0bfb4b26dcd2b69 ]---


card is a Barts LE [Radeon HD 6790] with monitors plugged into two DVI ports

Distro is Debian/Jesse

xorg packages installed are:ii  xorg-sgml-doctools                    1:1.11-1                       all          Common tools for building X.Org SGML documentation
ii  xserver-xorg                          1:7.7+6                        amd64        X.Org X server
ii  xserver-xorg-core                     2:1.14.5-1                     amd64        Xorg X server - core server
ii  xserver-xorg-dev                      2:1.14.5-1                     amd64        Xorg X server - development files
ii  xserver-xorg-input-all                1:7.7+6                        amd64        X.Org X server -- input driver metapackage
ii  xserver-xorg-input-evdev              1:2.8.2-1                      amd64        X.Org X server -- evdev input driver
ii  xserver-xorg-input-mouse              1:1.9.0-1+b1                   amd64        X.Org X server -- mouse input driver
ii  xserver-xorg-input-synaptics          1.7.3-1                        amd64        Synaptics TouchPad driver for X.Org server
ii  xserver-xorg-input-vmmouse            1:13.0.0-1+b1                  amd64        X.Org X server -- VMMouse input driver to use with VMWare
ii  xserver-xorg-input-wacom              0.23.0+20131011-1              amd64        X.Org X server -- Wacom input driver
ii  xserver-xorg-video-ati                1:7.3.0-1                      amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-mach64             6.9.4-1+b1                     amd64        X.Org X server -- ATI Mach64 display driver
ii  xserver-xorg-video-r128               6.9.2-1                        amd64        X.Org X server -- ATI r128 display driver
ii  xserver-xorg-video-radeon             1:7.3.0-1                      amd64        X.Org X server -- AMD/ATI Radeon display driver


Other questions: please ask
Happy to apply and/or test patches
Comment 1 Alex Deucher 2014-02-18 14:26:49 UTC
Please attach your dmesg output.  Is this a regression?  If so, can you bisect?
Comment 2 Tomasz 2014-02-18 21:29:48 UTC
Created attachment 94313 [details]
Dmesg for 3.12.9 boot
Comment 3 Tomasz 2014-02-18 21:31:13 UTC
Dmesg Attached.

I will perform some tests to see if I can pin down to a kernel version.

This is my primary workstation, so its a bit disruptive.
Comment 4 Tomasz 2014-02-20 08:50:57 UTC
I have done some testing: 

* Issue exists when xserver starts
* Issue observed with kernel 3.12.x and 3.13.x
* Issue does not exists in 3.10.29
Comment 5 Tomasz 2014-05-13 20:56:49 UTC
Unfortunately I have not been able to pin down the commit or group of commits that cause this. The system is my main workstation and does not get rebooted all that often.
Comment 6 Martin Peres 2019-11-19 08:44:09 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/drm/amd/issues/451.

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.