Bug 884390

Summary: Kernel 3.15 + radeon + hdmi = system freeze
Product: [openSUSE] openSUSE Tumbleweed Reporter: Forgotten User CH7QccNfdj <forgotten_CH7QccNfdj>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: tiwai
Version: 13.2 Milestone 0   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User CH7QccNfdj 2014-06-25 16:22:09 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0

Hello,

The combination kernel 3.15 (e.g. 3.15.1-1, or the newly-released 3.15.1-2 from the repo kernel:stable) + open-source radeon driver completely freezes the system if the HDMI cable is connected before boot. The only solution is the reset button. This is not new to 3.15: I've completely skipped 3.14 due to the same problem, and I'm still using 3.13.7. 

In 3.15 HDMI at least works if the cable gets connected after the DE has been loaded - which did not happen with 3.14 - but it's not completely stable. Xrandr, for example, freezes the system. Loading a new DE (kde, icewm, xbmc-standalone) or DM (kdm, lighdm) freezes the system.

I don't know where to find the appropriate kernel trace: dmesg only shows the 
current boot log, and what I could obtain from /var/log/messages is at the 
end of this message, but I suspect it does not cover the failure.

This happens when I'm using (for example):

OpenSUSE 13.1 (with many extra repos)
Repository: Kernel:Stable
Name: kernel-desktop
Version: 3.15.1-2.1.g3289da4
Arch: x86_64

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
RV710/M92 [Mobility Radeon HD 4330/4350/4550]

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.2.1


It seems that at least arch has already gotten a fix: 
https://bugs.archlinux.org/task/39850

And this is the thread I've opened in the opensuse forums:
http://forums.opensuse.org/showthread.php/496875-HDMI-not-working-with-3-14-and-radeon-kernel-panic

Call stack from /var/log/messages:

2014-06-24T20:08:36.058246+03:00 linux-jq6w kernel: [   30.190212] BUG: unable 
to handle kernel paging request at ffff880036305000
2014-06-24T20:08:36.058268+03:00 linux-jq6w kernel: [   30.191004] IP: 
[<ffffffffa00a4ff4>] drm_crtc_helper_set_config+0x224/0xb00 [drm_kms_helper]
2014-06-24T20:08:36.058270+03:00 linux-jq6w kernel: [   30.191004] PGD 2227067 
PUD 2228067 PMD 3625c063 PTE 8000000036305161
2014-06-24T20:08:36.058272+03:00 linux-jq6w kernel: [   30.191004] Oops: 0003 
[#1] PREEMPT SMP 
2014-06-24T20:08:36.058275+03:00 linux-jq6w kernel: [   30.191004] Modules 
linked in: xt_pkttype xt_LOG xt_limit ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 
nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter 
ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast 
nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack 
ip6table_filter ip6_tables x_tables snd_hda_codec_realtek snd_hda_codec_hdmi 
snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep 
snd_pcm coretemp snd_seq snd_timer samsung_laptop snd_seq_device uvcvideo 
videobuf2_core videodev r8192e_pci(C) rtllib(C) lib80211 rtl8192se iTCO_wdt 
iTCO_vendor_support sr_mod rtl_pci serio_raw cdrom snd videobuf2_vmalloc 
rtlwifi pcspkr xpad mac80211 sky2 i2c_i801 cfg80211 videobuf2_memops rfkill 
joydev soundcore tpm_tis lpc_ich mfd_core ac battery button video tpm shpchp 
acpi_cpufreq sg dm_mod btrfs raid6_pq xor fan thermal radeon ttm 
drm_kms_helper processor drm i2c_algo_bit scsi_dh_alua scsi_dh_emc 
scsi_dh_rdac scsi_dh_hp_sw scsi_dh
2014-06-24T20:08:36.058278+03:00 linux-jq6w kernel: [   30.191004] CPU: 1 PID: 
992 Comm: X Tainted: G         C    3.15.1-2.g3289da4-desktop #1
2014-06-24T20:08:36.058281+03:00 linux-jq6w kernel: [   30.191004] Hardware 
name: SAMSUNG ELECTRONICS CO., LTD. R520/R522/R620               
/R520/R522/R620               , BIOS 04LL.M021.20090803.Jay 08/03/20
2014-06-24T20:08:36.058283+03:00 linux-jq6w kernel: [   30.191004] task: 
ffff880138612210 ti: ffff8800b7524000 task.ti: ffff8800b7524000
2014-06-24T20:08:36.058285+03:00 linux-jq6w kernel: [   30.191004] RIP: 0010:
[<ffffffffa00a4ff4>]  [<ffffffffa00a4ff4>] 
drm_crtc_helper_set_config+0x224/0xb00 [drm_kms_helper]
2014-06-24T20:08:36.058288+03:00 linux-jq6w kernel: [   30.191004] RSP: 
0018:ffff8800b7527c78  EFLAGS: 00010216
2014-06-24T20:08:36.058290+03:00 linux-jq6w kernel: [   30.191004] RAX: 
ffff880036302800 RBX: ffff880036372000 RCX: 0000000000000000
2014-06-24T20:08:36.058293+03:00 linux-jq6w kernel: [   30.191004] RDX: 
ffff880036304fe0 RSI: 0000000000000075 RDI: ffff880138a71350
2014-06-24T20:08:36.058295+03:00 linux-jq6w kernel: [   30.191004] RBP: 
ffff880138a71000 R08: 0000000000000000 R09: ffff880036372000
2014-06-24T20:08:36.058297+03:00 linux-jq6w kernel: [   30.191004] R10: 
0000000000000500 R11: 0000000000000000 R12: ffff880036302800
2014-06-24T20:08:36.058299+03:00 linux-jq6w kernel: [   30.191004] R13: 
ffff8800b74c0960 R14: ffff8800b7527d60 R15: ffff880138847000
2014-06-24T20:08:36.058302+03:00 linux-jq6w kernel: [   30.191004] FS:  
00007f07769cb980(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
2014-06-24T20:08:36.058304+03:00 linux-jq6w kernel: [   30.191004] CS:  0010 
DS: 0000 ES: 0000 CR0: 0000000080050033
2014-06-24T20:08:36.058306+03:00 linux-jq6w kernel: [   30.191004] CR2: 
ffff880036305000 CR3: 00000000b7495000 CR4: 00000000000407e0
2014-06-24T20:08:36.058308+03:00 linux-jq6w kernel: [   30.191004] Stack:
2014-06-24T20:08:36.058311+03:00 linux-jq6w kernel: [   30.191004]  
ffff880138a712b0 ffff880138a71000 ffff880138a71350 ffff880138a712b0
2014-06-24T20:08:36.058313+03:00 linux-jq6w kernel: [   30.191004]  
ffff8800b7527ca8 ffff880139a69098 ffff880139a69140 ffffffffa019dea0
2014-06-24T20:08:36.058315+03:00 linux-jq6w kernel: [   30.191004]  
0000000000000206 ffff880036157700 ffff8800b7527d60 ffff880138a71000
2014-06-24T20:08:36.058318+03:00 linux-jq6w kernel: [   30.191004] Call Trace:
2014-06-24T20:08:36.058320+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00ed1ef>] radeon_crtc_set_config+0x3f/0x110 [radeon]
2014-06-24T20:08:36.058323+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa0039c81>] drm_mode_set_config_internal+0x61/0xf0 [drm]
2014-06-24T20:08:36.058325+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa003d19b>] drm_mode_setcrtc+0xcb/0x5b0 [drm]
2014-06-24T20:08:36.058327+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa002e88b>] drm_ioctl+0x1fb/0x550 [drm]
2014-06-24T20:08:36.058329+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00c6046>] radeon_drm_ioctl+0x46/0x80 [radeon]
2014-06-24T20:08:36.058332+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff811bf6f7>] do_vfs_ioctl+0x2e7/0x4c0
2014-06-24T20:08:36.058334+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff811bf951>] SyS_ioctl+0x81/0xa0
2014-06-24T20:08:36.058337+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff81613c6d>] system_call_fastpath+0x1a/0x1f
2014-06-24T20:08:36.058339+03:00 linux-jq6w kernel: [   30.191004]  
[<00007f0774b081e7>] 0x7f0774b081e6
2014-06-24T20:08:36.058341+03:00 linux-jq6w kernel: [   30.191004] Code: 01 48 
8d 14 4a 48 8b 08 49 8d 14 d4 48 89 0a 48 8b 48 08 48 89 4a 08 48 8b 48 10 48 
89 4a 10 48 8b 48 18 48 89 4a 18 48 8b 48 20 <48> 89 4a 20 48 8b 48 28 48 89 
4a 28 48 8b 48 30 48 89 4a 30 48 
2014-06-24T20:08:36.058343+03:00 linux-jq6w kernel: [   30.191004] RIP  
[<ffffffffa00a4ff4>] drm_crtc_helper_set_config+0x224/0xb00 [drm_kms_helper]
2014-06-24T20:08:36.058345+03:00 linux-jq6w kernel: [   30.191004]  RSP 
<ffff8800b7527c78>
2014-06-24T20:08:36.058347+03:00 linux-jq6w kernel: [   30.191004] CR2: 
ffff880036305000
2014-06-24T20:08:36.058350+03:00 linux-jq6w kernel: [   30.191004] BUG: unable 
to handle kernel NULL pointer dereference at 0000000000000260
2014-06-24T20:08:36.058352+03:00 linux-jq6w kernel: [   30.191004] IP: 
[<ffffffff8160a989>] mutex_lock+0x9/0x22
2014-06-24T20:08:36.058354+03:00 linux-jq6w kernel: [   30.191004] PGD 
b93c9067 PUD b7553067 PMD 0 
2014-06-24T20:08:36.058356+03:00 linux-jq6w kernel: [   30.191004] Oops: 0002 
[#2] PREEMPT SMP 
2014-06-24T20:08:36.058358+03:00 linux-jq6w kernel: [   30.191004] Modules 
linked in: xt_pkttype xt_LOG xt_limit ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 
nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter 
ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast 
nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack 
ip6table_filter ip6_tables x_tables snd_hda_codec_realtek snd_hda_codec_hdmi 
snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep 
snd_pcm coretemp snd_seq snd_timer samsung_laptop snd_seq_device uvcvideo 
videobuf2_core videodev r8192e_pci(C) rtllib(C) lib80211 rtl8192se iTCO_wdt 
iTCO_vendor_support sr_mod rtl_pci serio_raw cdrom snd videobuf2_vmalloc 
rtlwifi pcspkr xpad mac80211 sky2 i2c_i801 cfg80211 videobuf2_memops rfkill 
joydev soundcore tpm_tis lpc_ich mfd_core ac battery button video tpm shpchp 
acpi_cpufreq sg dm_mod btrfs raid6_pq xor fan thermal radeon ttm 
drm_kms_helper processor drm i2c_algo_bit scsi_dh_alua scsi_dh_emc 
scsi_dh_rdac scsi_dh_hp_sw scsi_dh
2014-06-24T20:08:36.058361+03:00 linux-jq6w kernel: [   30.191004] CPU: 1 PID: 
992 Comm: X Tainted: G         C    3.15.1-2.g3289da4-desktop #1
2014-06-24T20:08:36.058363+03:00 linux-jq6w kernel: [   30.191004] Hardware 
name: SAMSUNG ELECTRONICS CO., LTD. R520/R522/R620               
/R520/R522/R620               , BIOS 04LL.M021.20090803.Jay 08/03/20
2014-06-24T20:08:36.058366+03:00 linux-jq6w kernel: [   30.191004] task: 
ffff880138612210 ti: ffff8800b7524000 task.ti: ffff8800b7524000
2014-06-24T20:08:36.058368+03:00 linux-jq6w kernel: [   30.191004] RIP: 0010:
[<ffffffff8160a989>]  [<ffffffff8160a989>] mutex_lock+0x9/0x22
2014-06-24T20:08:36.058371+03:00 linux-jq6w kernel: [   30.191004] RSP: 
0018:ffff8800b75277c0  EFLAGS: 00010002
2014-06-24T20:08:36.058373+03:00 linux-jq6w kernel: [   30.191004] RAX: 
ffffffffa00a7bd0 RBX: 0000000000000260 RCX: 00000000ffffffea
2014-06-24T20:08:36.058375+03:00 linux-jq6w kernel: [   30.191004] RDX: 
000000000000022a RSI: ffff880035caf800 RDI: 0000000000000260
2014-06-24T20:08:36.058377+03:00 linux-jq6w kernel: [   30.191004] RBP: 
0000000000000380 R08: 0000000000000300 R09: 0000000000000000
2014-06-24T20:08:36.058379+03:00 linux-jq6w kernel: [   30.191004] R10: 
0000000000000438 R11: 0000000000000300 R12: ffff880035caf800
2014-06-24T20:08:36.058381+03:00 linux-jq6w kernel: [   30.191004] R13: 
0000000000000000 R14: ffff880036301e38 R15: ffff880035caf860
2014-06-24T20:08:36.058384+03:00 linux-jq6w kernel: [   30.191004] FS:  
00007f07769cb980(0000) GS:ffff88013fd00000(0000) knlGS:0000000000000000
2014-06-24T20:08:36.058386+03:00 linux-jq6w kernel: [   30.191004] CS:  0010 
DS: 0000 ES: 0000 CR0: 0000000080050033
2014-06-24T20:08:36.058388+03:00 linux-jq6w kernel: [   30.191004] CR2: 
0000000000000260 CR3: 00000000b7495000 CR4: 00000000000407e0
2014-06-24T20:08:36.058391+03:00 linux-jq6w kernel: [   30.191004] Stack:
2014-06-24T20:08:36.058393+03:00 linux-jq6w kernel: [   30.191004]  
ffff880035caf800 ffffffffa003936d ffff880035caf800 ffff880036302e00
2014-06-24T20:08:36.058395+03:00 linux-jq6w kernel: [   30.191004]  
ffffffffa00a7bfa ffff880036301e00 ffff880035caf800 ffff880036301e38
2014-06-24T20:08:36.058397+03:00 linux-jq6w kernel: [   30.191004]  
0000000000000000 0000000000000000 ffff8801388f5800 ffffffff8136ffc1
2014-06-24T20:08:36.058399+03:00 linux-jq6w kernel: [   30.191004] Call Trace:
2014-06-24T20:08:36.058402+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa003936d>] drm_modeset_lock_all+0x1d/0x50 [drm]
2014-06-24T20:08:36.058404+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00a7bfa>] drm_fb_helper_pan_display+0x2a/0xe0 [drm_kms_helper]
2014-06-24T20:08:36.058406+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8136ffc1>] fb_pan_display+0xb1/0x170
2014-06-24T20:08:36.058408+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8136a7aa>] bit_update_start+0x1a/0x40
2014-06-24T20:08:36.058410+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8136a27e>] fbcon_switch+0x37e/0x520
2014-06-24T20:08:36.058413+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff813dfc67>] redraw_screen+0x187/0x240
2014-06-24T20:08:36.058415+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8136784a>] fbcon_blank+0x1ea/0x2a0
2014-06-24T20:08:36.058417+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff813e0721>] do_unblank_screen+0xa1/0x1b0
2014-06-24T20:08:36.058420+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff813169a5>] bust_spinlocks+0x15/0x30
2014-06-24T20:08:36.058422+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8160d24f>] oops_end+0x2f/0xe0
2014-06-24T20:08:36.058424+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff81600188>] no_context+0x2b2/0x2be
2014-06-24T20:08:36.058427+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8160f365>] __do_page_fault+0x85/0x540
2014-06-24T20:08:36.058429+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff8160c728>] page_fault+0x28/0x30
2014-06-24T20:08:36.058431+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00a4ff4>] drm_crtc_helper_set_config+0x224/0xb00 [drm_kms_helper]
2014-06-24T20:08:36.058433+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00ed1ef>] radeon_crtc_set_config+0x3f/0x110 [radeon]
2014-06-24T20:08:36.058436+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa0039c81>] drm_mode_set_config_internal+0x61/0xf0 [drm]
2014-06-24T20:08:36.058438+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa003d19b>] drm_mode_setcrtc+0xcb/0x5b0 [drm]
2014-06-24T20:08:36.058440+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa002e88b>] drm_ioctl+0x1fb/0x550 [drm]
2014-06-24T20:08:36.058442+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffffa00c6046>] radeon_drm_ioctl+0x46/0x80 [radeon]
2014-06-24T20:08:36.058445+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff811bf6f7>] do_vfs_ioctl+0x2e7/0x4c0
2014-06-24T20:08:36.058447+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff811bf951>] SyS_ioctl+0x81/0xa0
2014-06-24T20:08:36.058460+03:00 linux-jq6w kernel: [   30.191004]  
[<ffffffff81613c6d>] system_call_fastpath+0x1a/0x1f
2014-06-24T20:08:36.058463+03:00 linux-jq6w kernel: [   30.191004]  
[<00007f0774b081e7>] 0x7f0774b081e6
2014-06-24T20:08:36.058465+03:00 linux-jq6w kernel: [   30.191004] Code: a9 ff 
65 ff 0c 25 60 b9 00 00 74 be e9 3d ff ff ff 90 e8 8b e2 ff ff e9 84 fe ff ff 
66 0f 1f 44 00 00 66 66 66 66 90 53 48 89 fb <f0> ff 0f 79 05 e8 ed fd ff ff 
65 48 8b 04 25 80 b9 00 00 48 89 
2014-06-24T20:08:36.058467+03:00 linux-jq6w kernel: [   30.191004] RIP  
[<ffffffff8160a989>] mutex_lock+0x9/0x22
2014-06-24T20:08:36.058469+03:00 linux-jq6w kernel: [   30.191004]  RSP 
<ffff8800b75277c0>
2014-06-24T20:08:36.058472+03:00 linux-jq6w kernel: [   30.191004] CR2: 
0000000000000260
2014-06-24T20:08:36.058474+03:00 linux-jq6w kernel: [   30.191004] ---[ end 
trace 1b8d66eeecaa3a02 ]---


Thank you

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Takashi Iwai 2014-07-31 14:04:40 UTC
The code path looks fairly different from the bug report in arch.  So, it's likely a different bug.  If the problem is still seen in the latest 3.15.x stable kernel, it'd be better to report to upstream.
Comment 2 Takashi Iwai 2014-11-13 09:55:07 UTC
Let's track the radeon HDMI problem on bug 904932.

*** This bug has been marked as a duplicate of bug 904932 ***