[BUG] Radeon TAHITI_vce.bin firmware casuses oops on Acube Sam460ex amcc 460ex power board

Julian Margetson runaway at candw.ms
Mon Dec 28 07:58:07 PST 2015


Having an isssue when adding Radeon TAHITI_vce.bin firmware to kernel.
When not compiled into 4.4.0rc kernels system boots but with error messages :

   Direct firmware load for radeon/TAHITI_vce.bin failed with error -2
   Can't load firmware "radeon/TAHITI_vce.bin

When I add the TAHITI_vce.bin firmware into the kernel it results in an oops:

  Unable to handle kernel paging request for data at address 0xf000001c

-------------------------------------------------------------------------------------------------------
[    2.521012] [drm] Initialized drm 1.1.0 20060810
[    2.525742] [drm] radeon kernel modesetting enabled.
[    2.531460] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.539486] [drm] register mmio base: 0xe90000000
[    2.544238] [drm] register mmio size: 262144
[    2.880317] ATOM BIOS: C44501
[    2.883578] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    2.892508] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    2.900194] [drm] Detected VRAM RAM=1024M, BAR=256M
[    2.905088] [drm] RAM width 128bits DDR
[    2.909139] [TTM] Zone  kernel: Available graphics memory: 379040 kiB
[    2.915623] [TTM] Zone highmem: Available graphics memory: 1034400 kiB
[    2.922174] [TTM] Initializing pool allocator
[    2.926577] [TTM] Initializing DMA pool allocator
[    2.931395] [drm] radeon: 1024M of VRAM memory ready
[    2.936404] [drm] radeon: 2048M of GTT memory ready.
[    2.941455] [drm] Loading verde Microcode
[    2.945521] [drm] Internal thermal controller with fan control
[    2.951602] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.005149] [drm] radeon: dpm initialized
[    3.009408] radeon 0000:81:00.0: Direct firmware load for radeon/TAHITI_vce.bin failed with error -2
[    3.018621] radeon 0000:81:00.0: radeon_vce: Can't load firmware "radeon/TAHITI_vce.bin"
[    3.026800] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.043542] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.099201] [drm] PCIE GART of 2048M enabled (table at 0x0000000000277000).
[    3.106540] radeon 0000:81:00.0: WB enabled
[    3.110781] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee503c00
[    3.120909] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee503c04
[    3.131031] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee503c08
[    3.141153] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee503c0c
[    3.151274] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee503c10
[    3.191527] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    3.201688] radeon 0000:81:00.0: VCE init error (-22).
[    3.206858] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.213492] [drm] Driver supports precise vblank timestamp query.
[    3.219614] radeon 0000:81:00.0: radeon: MSI limited to 32-bit
[    3.225540] genirq: Setting trigger mode 3 for irq 45 failed (uic_set_irq_type+0x0/0x160)
[    3.233816] radeon 0000:81:00.0: radeon: using MSI.
[    3.238773] [drm] radeon: irq initialized.
[    3.996237] [drm:r600_ring_test] *ERROR* radeon: ring 0 test failed (scratch(0x850C)=0xCAFEDEAD)
[    4.005096] radeon 0000:81:00.0: disabling GPU acceleration
[    4.213502] [drm] Radeon Display Connectors
[    4.217783] [drm] Connector 0:
[    4.220868] [drm]   HDMI-A-1
[    4.223768] [drm]   HPD4
[    4.226324] [drm]   DDC: 0x6570 0x6570 0x6574 0x6574 0x6578 0x6578 0x657c 0x657c
[    4.233742] [drm]   Encoders:
[    4.236728] [drm]     DFP1: INTERNAL_UNIPHY2
[    4.241016] [drm] Connector 1:
[    4.244088] [drm]   DVI-I-1
[    4.246901] [drm]   HPD2
[    4.249456] [drm]   DDC: 0x6560 0x6560 0x6564 0x6564 0x6568 0x6568 0x656c 0x656c
[    4.256875] [drm]   Encoders:
[    4.259861] [drm]     DFP2: INTERNAL_UNIPHY
[    4.264063] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
[    4.381167] [drm] fb mappable at 0x80678000
[    4.385382] [drm] vram apper at 0x80000000
[    4.389496] [drm] size 8294400
[    4.392569] [drm] fb depth is 24
[    4.395816] [drm]    pitch is 7680
[    4.689698] Console: switching to colour frame buffer device 240x67
[    4.767746] radeon 0000:81:00.0: fb0: radeondrmfb frame buffer device
[    4.777118] [drm] Initialized radeon 2.43.0 20080528 for 0000:81:00.0 on minor 0
------------------------------------------------------------------------------------------------------------------------------
[    2.520756] [drm] Initialized drm 1.1.0 20060810
[    2.525482] [drm] radeon kernel modesetting enabled.
[    2.531229] [drm] initializing kernel modesetting (VERDE 0x1002:0x683F 0x1545:0x7750).
[    2.539245] [drm] register mmio base: 0xe90000000
[    2.543992] [drm] register mmio size: 262144
[    2.880057] ATOM BIOS: C44501
[    2.883322] radeon 0000:81:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
[    2.892250] radeon 0000:81:00.0: GTT: 2048M 0x0000000040000000 - 0x00000000BFFFFFFF
[    2.899935] [drm] Detected VRAM RAM=1024M, BAR=256M
[    2.904828] [drm] RAM width 128bits DDR
[    2.908861] [TTM] Zone  kernel: Available graphics memory: 379144 kiB
[    2.915347] [TTM] Zone highmem: Available graphics memory: 1034504 kiB
[    2.921898] [TTM] Initializing pool allocator
[    2.926298] [TTM] Initializing DMA pool allocator
[    2.931123] [drm] radeon: 1024M of VRAM memory ready
[    2.936125] [drm] radeon: 2048M of GTT memory ready.
[    2.941178] [drm] Loading verde Microcode
[    2.945243] [drm] Internal thermal controller with fan control
[    2.951328] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.004861] [drm] radeon: dpm initialized
[    3.011392] [drm] Found VCE firmware/feedback version 50.0.1 / 17!
[    3.017654] [drm] GART: num cpu pages 524288, num gpu pages 524288
[    3.034353] [drm] probing gen 2 caps for device aaa1:bed1 = 18cc41/0
[    3.093668] [drm] PCIE GART of 2048M enabled (table at 0x00000000002E8000).
[    3.101048] radeon 0000:81:00.0: WB enabled
[    3.105281] radeon 0000:81:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xee503c00
[    3.115406] radeon 0000:81:00.0: fence driver on ring 1 use gpu addr 0x0000000040000c04 and cpu addr 0xee503c04
[    3.125527] radeon 0000:81:00.0: fence driver on ring 2 use gpu addr 0x0000000040000c08 and cpu addr 0xee503c08
[    3.135649] radeon 0000:81:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xee503c0c
[    3.145770] radeon 0000:81:00.0: fence driver on ring 4 use gpu addr 0x0000000040000c10 and cpu addr 0xee503c10
[    3.186010] radeon 0000:81:00.0: fence driver on ring 5 use gpu addr 0x0000000000075a18 and cpu addr 0xf5135a18
[    5.264438] Unable to handle kernel paging request for data at address 0xf000001c
[    5.271975] Faulting instruction address: 0xc03f0718
[    5.276964] Vector: 300 (Data Access) at [ea84db60]
[    5.281853]     pc: c03f0718: vce_v1_0_load_fw+0x90/0x158
[    5.287321]     lr: c03eed04: radeon_vce_resume+0xe4/0x198
[    5.292860]     sp: ea84dc10
[    5.295750]    msr: 29000
[    5.298380]    dar: f000001c
[    5.301272]  dsisr: 0
[    5.303554]   current = 0xea848000
[    5.306968]     pid   = 1, comm = swapper
[    5.311005] enter ? for help
[    5.313900] [ea84dc30] c03eed04 radeon_vce_resume+0xe4/0x198
[    5.319614] [ea84dc60] c039b64c si_startup+0x1e74/0x246c
[    5.324978] [ea84dcc0] c039e228 si_init+0x9d8/0xa84
[    5.329910] [ea84dd10] c030ff0c radeon_device_init+0x99c/0xb7c
[    5.335804] [ea84dd40] c0311d1c radeon_driver_load_kms+0xa4/0x134
[    5.341949] [ea84dd60] c02ede60 drm_dev_register+0x84/0xc8
[    5.347496] [ea84dd80] c02efd24 drm_get_pci_dev+0xf0/0x18c
[    5.353034] [ea84dda0] c028a264 pci_device_probe+0x78/0xcc
[    5.358581] [ea84ddc0] c03fa014 driver_probe_device+0x11c/0x264
[    5.364562] [ea84ddf0] c03fa1d4 __driver_attach+0x78/0xa0
[    5.370013] [ea84de10] c03f8598 bus_for_each_dev+0x8c/0x9c
[    5.375551] [ea84de40] c03f974c bus_add_driver+0xe0/0x1f0
[    5.381003] [ea84de60] c03fa8cc driver_register+0xb4/0xf8
[    5.386454] [ea84de80] c00016f4 do_one_initcall+0x118/0x1a0
[    5.392088] [ea84def0] c09aeaac kernel_init_freeable+0x130/0x1cc
[    5.398156] [ea84df30] c0001cf8 kernel_init+0x14/0xf4
[    5.403260] [ea84df40] c000ad90 ret_from_kernel_thread+0x5c/0x64
[    5.409336] mon>  <no input ...>
[    7.412634] Oops: Kernel access of bad area, sig: 11 [#1]
[    7.418050] PREEMPT Canyonlands
[    7.421210] Modules linked in:
[    7.424289] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-rc7-Sam460ex #5
[    7.431092] task: ea848000 ti: ea84c000 task.ti: ea84c000
[    7.436506] NIP: c03f0718 LR: c03eed04 CTR: c03f06f0
[    7.441481] REGS: ea84db60 TRAP: 0300   Not tainted  (4.4.0-rc7-Sam460ex)
[    7.448284] MSR: 00029000 <CE,EE,ME>  CR: 48000048  XER: 20000000
[    7.454492] DEAR: f000001c ESR: 00000000
GPR00: c03eed04 ea84dc10 ea848000 eeb24000 f5e00000 00000000 f5e70ffc f0000010
GPR08: 05000000 03cfad35 01000015 ea84dc30 88000024 00000000 c0001ce4 00000000
GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 c09ae260 00028350
GPR24: 00000003 00000002 00000001 00000002 eeb24000 c0731058 f5e00000 013052cb
[    7.487276] NIP [c03f0718] vce_v1_0_load_fw+0x90/0x158
[    7.492429] LR [c03eed04] radeon_vce_resume+0xe4/0x198
[    7.497581] Call Trace:
[    7.500041] [ea84dc10] [20000000] 0x20000000 (unreliable)
[    7.505485] [ea84dc30] [c03eed04] radeon_vce_resume+0xe4/0x198
[    7.511342] [ea84dc60] [c039b64c] si_startup+0x1e74/0x246c
[    7.516855] [ea84dcc0] [c039e228] si_init+0x9d8/0xa84
[    7.521934] [ea84dd10] [c030ff0c] radeon_device_init+0x99c/0xb7c
[    7.527966] [ea84dd40] [c0311d1c] radeon_driver_load_kms+0xa4/0x134
[    7.534260] [ea84dd60] [c02ede60] drm_dev_register+0x84/0xc8
[    7.539946] [ea84dd80] [c02efd24] drm_get_pci_dev+0xf0/0x18c
[    7.545632] [ea84dda0] [c028a264] pci_device_probe+0x78/0xcc
[    7.551318] [ea84ddc0] [c03fa014] driver_probe_device+0x11c/0x264
[    7.557437] [ea84ddf0] [c03fa1d4] __driver_attach+0x78/0xa0
[    7.563036] [ea84de10] [c03f8598] bus_for_each_dev+0x8c/0x9c
[    7.568722] [ea84de40] [c03f974c] bus_add_driver+0xe0/0x1f0
[    7.574321] [ea84de60] [c03fa8cc] driver_register+0xb4/0xf8
[    7.579919] [ea84de80] [c00016f4] do_one_initcall+0x118/0x1a0
[    7.585692] [ea84def0] [c09aeaac] kernel_init_freeable+0x130/0x1cc
[    7.591899] [ea84df30] [c0001cf8] kernel_init+0x14/0xf4
[    7.597151] [ea84df40] [c000ad90] ret_from_kernel_thread+0x5c/0x64
[    7.603353] Instruction dump:
[    7.606341] 614a0017 48000008 614a0015 811d0008 3be00000 2f880000 39280001 40bc0024
[    7.614222] 39200001 4800001c 1cff0028 7cfd3a14 <80e7000c> 7f075000 419a0014 3bff0001
[    7.622306] ---[ end trace fcdb15e53089034a ]---
[    7.626939]
[    8.628614] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    8.628614]
[    8.637786] Rebooting in 180 seconds..

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


More information about the dri-devel mailing list