All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julian Margetson <runaway@candw.ms>
To: Alex Deucher <alexdeucher@gmail.com>
Cc: Maling list - DRI developers <dri-devel@lists.freedesktop.org>
Subject: [BUG] Radeon TAHITI_vce.bin firmware casuses oops on Acube Sam460ex amcc 460ex power board
Date: Mon, 28 Dec 2015 11:58:07 -0400	[thread overview]
Message-ID: <56815C0F.4010207@candw.ms> (raw)
In-Reply-To: <CADnq5_NNn3ozwe7B+TUxgAEvPTs5wwibaewme0uxGgcwrNf8dg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 11129 bytes --]

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..


[-- Attachment #1.2: Type: text/html, Size: 11682 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2015-12-28 16:09 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-17 23:20 [BUG/REGRESSION] Radeon HDMI casuses oops on Acube Sam460ex amcc 460ex power board Julian Margetson
2015-05-18 16:08 ` Alex Deucher
2015-05-18 17:48   ` Julian Margetson
2015-05-18 20:59     ` Alex Deucher
2015-05-18 22:41       ` Julian Margetson
2015-05-18 23:00         ` Alex Deucher
2015-05-19  0:43           ` Julian Margetson
2015-05-22 11:57           ` Julian Margetson
2015-05-31 11:48             ` Julian Margetson
2015-12-28 15:58       ` Julian Margetson [this message]
2016-01-22  0:12         ` [BUG] Radeon TAHITI_vce.bin firmware casuses oops on Acube Sam460ex amcc 460ex and other Power PC motherboards Julian Margetson
2016-01-22  5:15           ` Alex Deucher
2016-01-22  8:17             ` Christian König
2016-01-22 11:06               ` Julian Margetson
2016-01-25 12:46               ` [BUG/REGRESSION] Kernel 4.5-rc1 on Acube Sam460ex AMCC 460ex " Julian Margetson
2016-01-25 19:20                 ` Dan Williams
2016-01-25 20:35                   ` Julian Margetson
2016-01-27  1:43                     ` Dan Williams
2016-01-27 10:18                       ` Julian Margetson
2016-01-27 19:34                         ` Dan Williams
2016-01-28 10:41                           ` Julian Margetson
2016-01-28 15:47                             ` Dan Williams
2016-01-28 18:21                               ` Julian Margetson
2016-01-28 18:42                                 ` Dan Williams
     [not found]           ` <56A173FA.2090405-zqC88Q5qmK4@public.gmane.org>
2019-01-01 15:03             ` ATI FirePro 2260 doesn't work after the update 'drm-next-2018-12-14' Christian Zigotzky
     [not found]               ` <845b2222-7014-0211-3246-55d1acc7686b-KCoaydhb8eAb1SvskN2V4Q@public.gmane.org>
2019-01-03 11:03                 ` Michel Dänzer
     [not found]                   ` <d62eb7a9-5dd7-8052-6010-63898c51fd05-otUistvHUpPR7s880joybQ@public.gmane.org>
2019-01-03 19:30                     ` Christian Zigotzky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56815C0F.4010207@candw.ms \
    --to=runaway@candw.ms \
    --cc=alexdeucher@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.