[BUG/REGRESSION] Radeon HDMI casuses oops on Acube Sam460ex amcc 460ex power board

Julian Margetson runaway at candw.ms
Sun May 31 04:48:39 PDT 2015


On 5/22/2015 7:57 AM, Julian Margetson wrote:
> On 5/18/2015 7:00 PM, Alex Deucher wrote:
>> On Mon, May 18, 2015 at 6:41 PM, Julian Margetson <runaway at candw.ms> 
>> wrote:
>>> On 5/18/2015 4:59 PM, Alex Deucher wrote:
>>>
>> Snip
>>
>>
>>
>>>   * Starting NTP server ntpd       [ 28.819002] Unable to handle kernel
>>> paging request for data at address 0x00000008
>>> [   28.860330] Faulting instruction address: 0xc04a5218
>>> [   30.874910] Oops: Kernel access of bad area, sig: 11 [#1]
>>> [   30.892488] PREEMPT Canyonlands
>>> [   30.907764] Modules linked in:
>>> [   30.922944] CPU: 0 PID: 1949 Comm: Xorg Not tainted 
>>> 4.0.4-Sam460ex #4
>>> [   30.941699] task: edd7a920 ti: ee6d0000 task.ti: ee6d0000
>>> [   30.959284] NIP: c04a5218 LR: c04a5544 CTR: 00000000
>>> [   30.976315] REGS: ee6d1c30 TRAP: 0300   Not tainted (4.0.4-Sam460ex)
>>> [   30.995038] MSR: 00029000 <CE,EE,ME>  CR: 24004242 XER: 00000000
>>> [   31.013805] DEAR: 00000008 ESR: 00000000
>>> GPR00: c04a5530 ee6d1ce0 edd7a920 ee984000 00000000 00000000 c0ac2c04
>>> 61626c69
>>> GPR08: 00000000 00000000 00000000 ee6d1ce0 24004244 b7e90afc b84d1ab0
>>> b84d0530
>>> GPR16: 00000000 ffffffff 6f23c730 ee6d1e18 c03add64 eea00578 00000001
>>> 00004000
>>> GPR24: 00004000 c0719b98 eeb62200 c08d825c ee4e4000 ee984000 00000000
>>> eeaf8f00
>>> [   31.111915] NIP [c04a5218] radeon_audio_enable+0x4/0x18
>>> [   31.130834] LR [c04a5544] radeon_audio_detect+0x150/0x1bc
>>> [   31.150046] Call Trace:
>>> [   31.166259] [ee6d1ce0] [c04a5530] radeon_audio_detect+0x13c/0x1bc
>>> (unreliable)
>>> [   31.187768] [ee6d1d00] [c03e69b4] radeon_dvi_detect+0x3a8/0x3cc
>>> [   31.207983] [ee6d1d30] [c0391cf8]
>>> drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448
>>> [   31.231287] [ee6d1d70] [c03ade48] drm_mode_getconnector+0xe4/0x334
>>> [   31.252222] [ee6d1e10] [c03a0bf4] drm_ioctl+0x348/0x464
>>> [   31.272107] [ee6d1ed0] [c00ce2e4] do_vfs_ioctl+0x52c/0x6e8
>>> [   31.292084] [ee6d1f20] [c00ce4e0] SyS_ioctl+0x40/0x68
>>> [   31.311408] [ee6d1f40] [c000ab1c] ret_from_syscall+0x0/0x3c
>>> [   31.331466] --- interrupt: c01 at 0x6fb001dc
>>> [   31.331466]     LR = 0x6fb00100
>>> [   31.368093] Instruction dump:
>>> [   31.385716] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000
>>> 419e000c 7d2903a6
>>> [   31.408631] 4e800420 38600000 4e800020 81231cd8 <81290008> 2f890000
>>> 4d9e0020 7d2903a6
>>> [   31.587312] ---[ end trace 2a6dca2844a1913c ]---
>>> [   31.591930]
>>> [   32.489288] init: bluetooth main process (2051) terminated with 
>>> status 1
>>> [   32.501384] init: bluetooth main process ended, respawning
>>> [   33.156098] init: bluetooth main process (2076) terminated with 
>>> status 1
>>> [   33.183330] init: bluetooth main process ended, respawning
>>> [   33.859517] init: bluetooth main process (2124) terminated with 
>>> status 1
>>> [   33.880582] init: bluetooth main process ended, respawning
>>> [   34.450457] init: bluetooth main process (2177) terminated with 
>>> status 1
>>> [   34.457287] init: bluetooth main process ended, respawning
>>>   * Starting Mount filesystems on boot[ OK ]
>>>
>> Are you sure you booted the right kernel and applied both patches?  I
>> don't see any of the debugging output from the patch.
>>
>> Alex
>>
>
> The issues started with HDMI  from Kernel 4.0.0-rc1. Could not get the 
> git bisect completed.
> Any suggestions to get around the error  below ?
>
> (.text+0x865dc): undefined reference to `__get_user_bad'
>
> ================================================================================================ 
>
>
> More issues with Kernel 4.0.0-rc1
>
> [   33.535692] Unable to handle kernel paging request for data at 
> address 0x00000008
> [   33.566786] Faulting instruction address: 0xc049db84
> [   33.574188] Vector: 300 (Data Access) at [eeb13c20]
> [   33.579086]     pc: c049db84: radeon_audio_enable+0x4/0x18
> [   33.584630]     lr: c049e2f4: radeon_audio_detect+0x288/0x290
> [   33.590429]     sp: eeb13cd0
> [   33.593310]    msr: 29000
> [   33.595931]    dar: 8
> [   33.598207]  dsisr: 0
> [   33.600480]   current = 0xeea93ac0
> [   33.603885]     pid   = 2311, comm = Xorg
> [   33.607922] enter ? for help
> [   33.610806] [link register   ] c049e2f4 
> radeon_audio_detect+0x288/0x290
> [   33.617469] [eeb13cd0] c049e254 radeon_audio_detect+0x1e8/0x290 
> (unreliable)
> [   33.624571] [eeb13d00] c03dfe7c radeon_dvi_detect+0x388/0x3ac
> [   33.630369] [eeb13d30] c038b9d4 
> drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   33.638954] [eeb13d70] c03a7670 drm_mode_getconnector+0xf4/0x334
> [   33.645022] [eeb13e10] c039a8c0 drm_ioctl+0x348/0x464
> [   33.650135] [eeb13ed0] c00d0ca0 do_vfs_ioctl+0x52c/0x6e8
> [   33.655507] [eeb13f20] c00d0e9c SyS_ioctl+0x40/0x68
> [   33.660438] [eeb13f40] c000ab04 ret_from_syscall+0x0/0x3c
> [   33.665896] --- Exception: c01 (System Call) at 6fb1b8dc
> [   33.671253] SP (bfa56d20) is in userspace
> [   33.675263] mon>  <no input ...>
> [   35.703835] Oops: Kernel access of bad area, sig: 11 [#1]
> [   35.709554] PREEMPT Canyonlands
> [   35.712876] Modules linked in: cfg80211 snd_ice1724 
> snd_hda_codec_hdmi snd_ak4113 snd_pt2258 snd_ak4114 snd_i2c 
> snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_ac97_codec snd_hda_intel 
> ac97_bus snd_hda_controller snd_rawmidi snd_hda_codec snd_seq_device 
> snd_pcm snd_timer snd
> [   35.738047] CPU: 0 PID: 2311 Comm: Xorg Not tainted 
> 4.0.0-rc1-Sam460ex #1
> [   35.745189] task: eea93ac0 ti: eeb12000 task.ti: eeb12000
> [   35.750872] NIP: c049db84 LR: c049e2f4 CTR: 00000000
> [   35.756098] REGS: eeb13c20 TRAP: 0300   Not tainted 
> (4.0.0-rc1-Sam460ex)
> [   35.763241] MSR: 00029000 <CE,EE,ME>  CR: 24004422  XER: 20000000
> [   35.769778] DEAR: 00000008 ESR: 00000000
> GPR00: c049e254 eeb13cd0 eea93ac0 eaa84000 00000000 0000000f ee0532c0 
> 000190d6
> GPR08: eab6da00 00000000 00000000 eeb13cb0 28004422 b7a11ff4 b7a87a98 
> b7a87988
> GPR16: 00000000 ffffffff 00000000 eeb13e18 eaa08194 eaa08178 00000001 
> 00004000
> GPR24: 00004000 c071cd28 fffffff2 00000000 eab6c000 eaa84000 eab6da00 
> eab80400
> [   35.804302] NIP [c049db84] radeon_audio_enable+0x4/0x18
> [   35.809799] LR [c049e2f4] radeon_audio_detect+0x288/0x290
> [   35.815480] Call Trace:
> [   35.818053] [eeb13cd0] [c049e254] radeon_audio_detect+0x1e8/0x290 
> (unreliable)
> [   35.825694] [eeb13d00] [c03dfe7c] radeon_dvi_detect+0x388/0x3ac
> [   35.831956] [eeb13d30] [c038b9d4] 
> drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x434
> [   35.841137] [eeb13d70] [c03a7670] drm_mode_getconnector+0xf4/0x334
> [   35.847663] [eeb13e10] [c039a8c0] drm_ioctl+0x348/0x464
> [   35.853183] [eeb13ed0] [c00d0ca0] do_vfs_ioctl+0x52c/0x6e8
> [   35.858974] [eeb13f20] [c00d0e9c] SyS_ioctl+0x40/0x68
> [   35.864307] [eeb13f40] [c000ab04] ret_from_syscall+0x0/0x3c
> [   35.870196] --- interrupt: c01 at 0x6fb1b8dc
> [   35.870196]     LR = 0x6fb1b800
> [   35.877971] Instruction dump:
> [   35.881106] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 
> 419e000c 7d2903a6
> [   35.889403] 4e800420 38600000 4e800020 81231c70 <81290008> 2f890000 
> 4d9e0020 7d2903a6
> [   36.042121] ---[ end trace 3e83f5fa0d05c678 ]---
> [   36.046739]
>
>
> With Kernel 3.19
>
> [    2.454668] Linux agpgart interface v0.103
> [    2.458979] [drm] Initialized drm 1.1.0 20060810
> [    2.463814] [drm] radeon kernel modesetting enabled.
> [    2.469870] [drm] initializing kernel modesetting (TURKS 
> 0x1002:0x6758 0x1682:0x318B).
> [    2.478007] [drm] register mmio base: 0xe90000000
> [    2.482774] [drm] register mmio size: 131072
> [    2.665432] ATOM BIOS: TURKS
> [    2.668602] radeon 0001:81:00.0: VRAM: 1024M 0x0000000000000000 - 
> 0x000000003FFFFFFF (1024M used)
> [    2.677521] radeon 0001:81:00.0: GTT: 1024M 0x0000000040000000 - 
> 0x000000007FFFFFFF
> [    2.685201] [drm] Detected VRAM RAM=1024M, BAR=256M
> [    2.690094] [drm] RAM width 128bits DDR
> [    2.694109] [TTM] Zone  kernel: Available graphics memory: 379192 kiB
> [    2.700596] [TTM] Zone highmem: Available graphics memory: 1034552 kiB
> [    2.707147] [TTM] Initializing pool allocator
> [    2.711540] [TTM] Initializing DMA pool allocator
> [    2.716359] [drm] radeon: 1024M of VRAM memory ready
> [    2.721355] [drm] radeon: 1024M of GTT memory ready.
> [    2.726395] [drm] Loading TURKS Microcode
> [    2.730457] [drm] Internal thermal controller with fan control
> [    2.741697] [drm] radeon: dpm initialized
> [    2.745907] [drm] GART: num cpu pages 262144, num gpu pages 262144
> [    2.787690] [drm] PCIE GART of 1024M enabled (table at 
> 0x0000000000274000).
> [    2.794953] radeon 0001:81:00.0: WB enabled
> [    2.799182] radeon 0001:81:00.0: fence driver on ring 0 use gpu 
> addr 0x0000000040000c00 and cpu addr 0xffc01c00
> [    2.809300] radeon 0001:81:00.0: fence driver on ring 3 use gpu 
> addr 0x0000000040000c0c and cpu addr 0xffc01c0c
> [    2.839260] radeon 0001:81:00.0: fence driver on ring 5 use gpu 
> addr 0x0000000000072118 and cpu addr 0xf9032118
> [    2.849411] [drm] Supports vblank timestamp caching Rev 2 
> (21.10.2013).
> [    2.856067] [drm] Driver supports precise vblank timestamp query.
> [    2.862183] radeon 0001:81:00.0: radeon: MSI limited to 32-bit
> [    2.868058] ppc4xx_setup_msi_irqs: fail allocating msi interrupt
> [    2.874153] [drm] radeon: irq initialized.
> [    3.103973] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed 
> (scratch(0x8504)=0xCAFEDEAD)
> [    3.112806] radeon 0001:81:00.0: disabling GPU acceleration
> [    3.128627] [drm] Radeon Display Connectors
> [    3.133369] [drm] Connector 0:
> [    3.136481] [drm]   DP-1
> [    3.139089] [drm]   HPD1
> [    3.141665] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 
> 0x647c 0x647c
> [    3.149146] [drm]   Encoders:
> [    3.152157] [drm]     DFP1: INTERNAL_UNIPHY2
> [    3.156473] [drm] Connector 1:
> [    3.159570] [drm]   HDMI-A-1
> [    3.162469] [drm]   HPD5
> [    3.165019] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 
> 0x648c 0x648c
> [    3.172436] [drm]   Encoders:
> [    3.175415] [drm]     DFP2: INTERNAL_UNIPHY2
> [    3.179703] [drm] Connector 2:
> [    3.182766] [drm]   DVI-I-1
> [    3.185570] [drm]   HPD4
> [    3.188117] [drm]   DDC: 0x6450 0x6450 0x6454 0x6454 0x6458 0x6458 
> 0x645c 0x645c
> [    3.195535] [drm]   Encoders:
> [    3.198513] [drm]     DFP3: INTERNAL_UNIPHY
> [    3.202706] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
> [    3.352245] [drm] fb mappable at 0x80475000
> [    3.356458] [drm] vram apper at 0x80000000
> [    3.360570] [drm] size 8294400
> [    3.363634] [drm] fb depth is 24
> [    3.366873] [drm]    pitch is 7680
> [    3.575080] Console: switching to colour frame buffer device 240x67
> [    3.649278] radeon 0001:81:00.0: fb0: radeondrmfb frame buffer device
> [    3.656071] radeon 0001:81:00.0: registered panic notifier
> [    3.666472] [drm] Initialized radeon 2.40.0 20080528 for 
> 0001:81:00.0 on minor 0
>
>
>
>
> Problems with  the Gib bisect
> Kernel wont compile after 10th bisect .
>
> drivers/built-in.o: In function `drm_mode_atomic_ioctl':
> (.text+0x865dc): undefined reference to `__get_user_bad'
> make: *** [vmlinux] Error 1
> root at julian-VirtualBox:/usr/src/linux# git bisect log
> git bisect start
> # bad: [c517d838eb7d07bbe9507871fab3931deccff539] Linux 4.0-rc1
> git bisect bad c517d838eb7d07bbe9507871fab3931deccff539
> # good: [bfa76d49576599a4b9f9b7a71f23d73d6dcff735] Linux 3.19
> git bisect good bfa76d49576599a4b9f9b7a71f23d73d6dcff735
> # good: [02f1f2170d2831b3233e91091c60a66622f29e82] kernel.h: remove 
> ancient __FUNCTION__ hack
> git bisect good 02f1f2170d2831b3233e91091c60a66622f29e82
> # bad: [796e1c55717e9a6ff5c81b12289ffa1ffd919b6f] Merge branch 
> 'drm-next' of git://people.freedesktop.org/~airlied/linux
> git bisect bad 796e1c55717e9a6ff5c81b12289ffa1ffd919b6f
> # good: [9682ec9692e5ac11c6caebd079324e727b19e7ce] Merge tag 
> 'driver-core-3.20-rc1' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core
> git bisect good 9682ec9692e5ac11c6caebd079324e727b19e7ce
> # good: [a9724125ad014decf008d782e60447c811391326] Merge tag 
> 'tty-3.20-rc1' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty
> git bisect good a9724125ad014decf008d782e60447c811391326
> # good: [f43dff0ee00a259f524ce17ba4f8030553c66590] Merge tag 
> 'drm-amdkfd-next-fixes-2015-01-25' of 
> git://people.freedesktop.org/~gabbayo/linux into drm-next
> git bisect good f43dff0ee00a259f524ce17ba4f8030553c66590
> # bad: [cffe1e89dc9bf541a39d9287ced7c5addff07084] drm: sti: HDMI add 
> audio infoframe
> git bisect bad cffe1e89dc9bf541a39d9287ced7c5addff07084
> # good: [2f5b4ef15c60bc5292a3f006c018acb3da53737b] Merge tag 
> 'drm/tegra/for-3.20-rc1' of git://anongit.freedesktop.org/tegra/linux 
> into drm-next
> git bisect good 2f5b4ef15c60bc5292a3f006c018acb3da53737b
> # bad: [865844448ce80ccd714793e9ba4140d7ae214229] drm/udl: optimize 
> udl_compress_hline16 (v2)
> git bisect bad 865844448ce80ccd714793e9ba4140d7ae214229
> # bad: [d47df63393ed81977e0f6435988d9cbd70c867f7] drm/panel: simple: 
> Add AVIC TM070DDH03 panel support
> git bisect bad d47df63393ed81977e0f6435988d9cbd70c867f7
> # bad: [9469244d869623e8b54d9f3d4d00737e377af273] drm/atomic: Fix 
> potential use of state after free
> git bisect bad 9469244d869623e8b54d9f3d4d00737e377af273
>
>
> Kernel 4.0.0-rc1 boots when  DVI output used but not when HDMI output 
> used.
>
>
>  git bisect skip
> There are only 'skip'ped commits left to test.
> The first bad commit could be any of:
> b486e0e6d599b9ca8667fb9a7d49b7383ee963c7
> eab3bbeffd152125ae0f90863b8e9bc8eef49423
> 960cd9d4fef6dd9e235c0e5c0d4ed027f8a48025
> f02ad907cd9e7fe3a6405d2d005840912f1ed258
> 6a425c2a9b37ca3d2c37e3c1cdf973dba53eaa79
> ee0a89cf3c2c550e6d877dda21dd2947afb90cb6
> 92890583627ee2a0518e55b063fcff86826fef96
> 95d6eb3b134e1826ed04cc92b224d93de13e281f
> 9469244d869623e8b54d9f3d4d00737e377af273
> We cannot bisect more!
>
>
>
Thank you.

While the issue when using DVI video output is now ok with the latest
fixes the oops still happens when using  HDMI video output.


[   31.224167] Unable to handle kernel paging request for data at address 0x00000008
[   31.273597] Faulting instruction address: 0xc04bf264
[   39.225572] Oops: Kernel access of bad area, sig: 11 [#1]
[   39.231310] PREEMPT Canyonlands
[   39.234650] Modules linked in:
[   39.237894] CPU: 0 PID: 2009 Comm: Xorg Not tainted 4.1.0-rc5-Sam460ex-00161-gaaa20fc-dirty #24
[   39.247084] task: edf0bac0 ti: eddd8000 task.ti: eddd8000
[   39.252784] NIP: c04bf264 LR: c03fedf4 CTR: c03eff70
[   39.258028] REGS: eddd9c50 TRAP: 0300   Not tainted  (4.1.0-rc5-Sam460ex-00161-gaaa20fc-dirty)
[   39.267124] MSR: 00029000 <CE,EE,ME>  CR: 24004442  XER: 00000000
[   39.273678] DEAR: 00000008 ESR: 00000000
GPR00: c03fedf4 eddd9d00 edf0bac0 eeb10000 00000000 0000000f eddd9be8 00000000
GPR08: 0000f6a3 00000000 eeb14800 eddd9cc0 20004422 208bbafc 208b3b30 20d4b530
GPR16: 00000000 ffffffff 1f88a730 00000000 eddd9e18 eeb14978 00000001 00004000
GPR24: 00004000 c076d878 c0761b20 00000000 eeb10000 00000001 00000001 eeb7b000
[   39.308222] NIP [c04bf264] radeon_audio_enable+0x4/0x18
[   39.313751] LR [c03fedf4] radeon_dvi_detect+0x388/0x3ac
[   39.319267] Call Trace:
[   39.321850] [eddd9d00] [c03fedf4] radeon_dvi_detect+0x388/0x3ac (unreliable)
[   39.329340] [eddd9d30] [c03a985c] drm_helper_probe_single_connector_modes_merge_bits+0xf4/0x448
[   39.338548] [eddd9d70] [c03c5afc] drm_mode_getconnector+0xe4/0x334
[   39.345099] [eddd9e10] [c03b89a0] drm_ioctl+0x374/0x458
[   39.350639] [eddd9ed0] [c00d9ff0] do_vfs_ioctl+0x52c/0x6e8
[   39.356450] [eddd9f20] [c00da1ec] SyS_ioctl+0x40/0x68
[   39.361800] [eddd9f40] [c000ac24] ret_from_syscall+0x0/0x3c
[   39.367701] --- interrupt: c01 at 0x2014e1dc
[   39.367701]     LR = 0x2014e100
[   39.375501] Instruction dump:
[   39.378653] 8129012c 806a0018 2f890000 419e0018 81290004 2f890000 419e000c 7d2903a6
[   39.386958] 4e800420 38600000 4e800020 81231cf0 <81290008> 2f890000 4d9e0020 7d2903a6
[   39.550838] ---[ end trace 3836187126bca8ff ]---
[   39.555457]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150531/2dde8294/attachment-0001.html>


More information about the dri-devel mailing list