[3.14 regression] kernel oops with dpm enabled on TURKS
Giancarlo Formicuccia
giancarlo.formicuccia at gmail.com
Mon Apr 14 03:57:55 PDT 2014
Greetings,
I'm facing a dpm regression in 3.14 on my radeon TURKS (pci id 1002:6840).
Upon loading the radeon module with dpm enabled, the screen goes black and the
computer locks up.
The problem first appeared at 6c7bccea390853bdec5b76fe31fc50f3b36f75d5
drm/radeon/pm: move pm handling into the asic specific code
and is still present in 3.15-rc1.
Loading the radeon module with dpm disabled works.
I captured the relevant kernel messages using a netconsole (attached); there
is an oops in radeon_ring_write presumibly during the test of ring #5.
Thanks,
Giancarlo
-------------- next part --------------
[ 1210.992907] [drm] Initialized drm 1.1.0 20060810
[ 1211.084938] [drm] radeon kernel modesetting enabled.
[ 1211.114952] fb: switching to radeondrmfb from VESA VGA
[ 1211.143161] Console: switching to colour dummy device 80x25
[ 1211.143897] [drm] initializing kernel modesetting (TURKS 0x1002:0x6840 0x1179:0xFB81).
[ 1211.143943] [drm] register mmio base: 0xC0000000
[ 1211.143948] [drm] register mmio size: 131072
[ 1211.144072] ATOM BIOS: Toshiba/Quanta
[ 1211.144175] radeon 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF (2048M used)
[ 1211.144184] radeon 0000:01:00.0: GTT: 1024M 0x0000000080000000 - 0x00000000BFFFFFFF
[ 1211.144191] [drm] Detected VRAM RAM=2048M, BAR=256M
[ 1211.144196] [drm] RAM width 128bits DDR
[ 1211.144400] [TTM] Zone kernel: Available graphics memory: 4075516 kiB
[ 1211.144413] [TTM] Zone dma32: Available graphics memory: 2097152 kiB
[ 1211.144418] [TTM] Initializing pool allocator
[ 1211.144429] [TTM] Initializing DMA pool allocator
[ 1211.144459] [drm] radeon: 2048M of VRAM memory ready
[ 1211.144465] [drm] radeon: 1024M of GTT memory ready.
[ 1211.144491] [drm] Loading TURKS Microcode
[ 1211.231998] [drm] Internal thermal controller with fan control
[ 1211.232150] == power state 0 ==
[ 1211.232161] ui class: none
[ 1211.232170] internal class: boot
[ 1211.232179] caps:
[ 1211.232185] uvd vclk: 0 dclk: 0
[ 1211.232191] power level 0 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232197] power level 1 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232202] power level 2 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232207] status: c r b
[ 1211.232219] == power state 1 ==
[ 1211.232223] ui class: performance
[ 1211.232228] internal class: none
[ 1211.232236] caps:
[ 1211.232241] uvd vclk: 0 dclk: 0
[ 1211.232246] power level 0 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232252] power level 1 sclk: 50000 mclk: 90000 vddc: 1000 vddci: 0
[ 1211.232258] power level 2 sclk: 60000 mclk: 90000 vddc: 1000 vddci: 0
[ 1211.232263] status:
[ 1211.232268] == power state 2 ==
[ 1211.232272] ui class: none
[ 1211.232277] internal class: uvd
[ 1211.232284] caps: video
[ 1211.232292] uvd vclk: 70000 dclk: 56000
[ 1211.232297] power level 0 sclk: 50000 mclk: 90000 vddc: 1000 vddci: 0
[ 1211.232303] power level 1 sclk: 50000 mclk: 90000 vddc: 1000 vddci: 0
[ 1211.232309] power level 2 sclk: 60000 mclk: 90000 vddc: 1000 vddci: 0
[ 1211.232314] status:
[ 1211.232319] == power state 3 ==
[ 1211.232323] ui class: battery
[ 1211.232328] internal class: none
[ 1211.232335] caps:
[ 1211.232341] uvd vclk: 0 dclk: 0
[ 1211.232346] power level 0 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232352] power level 1 sclk: 30000 mclk: 15000 vddc: 900 vddci: 0
[ 1211.232358] power level 2 sclk: 40000 mclk: 40000 vddc: 900 vddci: 0
[ 1211.232363] status:
[ 1211.232369] == power state 4 ==
[ 1211.232373] ui class: battery
[ 1211.232378] internal class: uvd_hd
[ 1211.232385] caps: video
[ 1211.232393] uvd vclk: 40000 dclk: 30000
[ 1211.232398] power level 0 sclk: 40000 mclk: 40000 vddc: 900 vddci: 0
[ 1211.232403] power level 1 sclk: 40000 mclk: 40000 vddc: 900 vddci: 0
[ 1211.232409] power level 2 sclk: 40000 mclk: 40000 vddc: 900 vddci: 0
[ 1211.232414] status:
[ 1211.232420] == power state 5 ==
[ 1211.232424] ui class: none
[ 1211.232429] internal class: ulv
[ 1211.232437] caps:
[ 1211.232442] uvd vclk: 0 dclk: 0
[ 1211.232446] power level 0 sclk: 30000 mclk: 15000 vddc: 875 vddci: 0
[ 1211.232452] power level 1 sclk: 30000 mclk: 15000 vddc: 875 vddci: 0
[ 1211.232458] power level 2 sclk: 30000 mclk: 15000 vddc: 875 vddci: 0
[ 1211.232463] status:
[ 1211.236599] [drm] radeon: dpm initialized
[ 1211.249516] [drm] GART: num cpu pages 262144, num gpu pages 262144
[ 1211.250989] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
[ 1211.255602] [drm] PCIE GART of 1024M enabled (table at 0x0000000000273000).
[ 1211.255745] radeon 0000:01:00.0: WB enabled
[ 1211.255755] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0xffff880241baac00
[ 1211.255765] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0xffff880241baac0c
[ 1211.256541] radeon 0000:01:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc90011e32118
[ 1211.256550] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1211.256557] [drm] Driver supports precise vblank timestamp query.
[ 1211.256618] radeon 0000:01:00.0: radeon: using MSI.
[ 1211.256661] [drm] radeon: irq initialized.
[ 1211.273550] [drm] ring test on 0 succeeded in 1 usecs
[ 1211.273617] [drm] ring test on 3 succeeded in 1 usecs
[ 1211.475123] BUG: unable to handle kernel paging request at ffff88063f4ceffc
[ 1211.475128] IP: [<ffffffffa04bc15a>] radeon_ring_write+0x2a/0x60 [radeon]
[ 1211.475154] PGD 1b2d067 PUD 0
[ 1211.475158] Oops: 0002 [#1] PREEMPT SMP
[ 1211.475162] Modules linked in: radeon(+) ttm drm_kms_helper drm hwmon i2c_algo_bit i2c_core loop netconsole iptable_filter ip_tables x_tables atl1c ext4 crc16 mbcache jbd2 hid_generic usbhid hid sd_mod sr_mod crc_t10dif cdrom crct10dif_common atkbd libps2 ahci libahci libata ehci_pci xhci_hcd scsi_mod ehci_hcd usbcore usb_common i8042 serio [last unloaded: loop]
[ 1211.475222] CPU: 2 PID: 281 Comm: modprobe Not tainted 3.15.0-rc1-ARCH #21
[ 1211.475225] Hardware name: TOSHIBA Satellite M840/Type2 - Board Product Name1, BIOS 1.20 03/01/2012
[ 1211.475228] task: ffff880241e446e0 ti: ffff8802425da000 task.ti: ffff8802425da000
[ 1211.475231] RIP: 0010:[<ffffffffa04bc15a>] [<ffffffffa04bc15a>] radeon_ring_write+0x2a/0x60 [radeon]
[ 1211.475250] RSP: 0018:ffff8802425db9b0 EFLAGS: 00010202
[ 1211.475253] RAX: ffff88063f4ceffc RBX: ffff8802418b5358 RCX: 0000000000000000
[ 1211.475256] RDX: ffff88023f4cf000 RSI: 0000000000003dbd RDI: ffff8802418b5358
[ 1211.475259] RBP: ffff8802425db9c0 R08: 000000000003d090 R09: 0000000000000008
[ 1211.475261] R10: 0000000000002f12 R11: 0000000000000000 R12: 0000000000003dbd
[ 1211.475264] R13: ffff8802418b5358 R14: 0000000000000000 R15: ffff8802418b5358
[ 1211.475266] FS: 00007fb400d30700(0000) GS:ffff88024ec80000(0000) knlGS:0000000000000000
[ 1211.475269] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1211.475271] CR2: ffff88063f4ceffc CR3: 0000000241e8b000 CR4: 00000000001407e0
[ 1211.475274] Stack:
[ 1211.475276] ffff8802418b4000 ffff8802418b4000 ffff8802425db9f8 ffffffffa055e191
[ 1211.475281] ffff8802418b4000 0000000000000000 ffff8802418b5358 00000000000000e3
[ 1211.475286] 0000000000001010 ffff8802425dba20 ffffffffa055df2d ffff8802418b4000
[ 1211.475291] Call Trace:
[ 1211.475313] [<ffffffffa055e191>] uvd_v1_0_ring_test+0x51/0x140 [radeon]
[ 1211.475331] [<ffffffffa055df2d>] uvd_v1_0_init+0x7d/0x180 [radeon]
[ 1211.475352] [<ffffffffa04f6428>] evergreen_startup+0x18d8/0x18f0 [radeon]
[ 1211.475370] [<ffffffffa04f66c0>] evergreen_init+0x1e0/0x3a0 [radeon]
[ 1211.475387] [<ffffffffa048cccc>] radeon_device_init+0x66c/0x910 [radeon]
[ 1211.475403] [<ffffffffa048f1f6>] radeon_driver_load_kms+0x86/0x210 [radeon]
[ 1211.475409] [<ffffffffa040f67d>] drm_dev_register+0xad/0x100 [drm]
[ 1211.475415] [<ffffffffa0412144>] drm_get_pci_dev+0xd4/0x210 [drm]
[ 1211.475431] [<ffffffffa048b44a>] radeon_pci_probe+0xaa/0xd0 [radeon]
[ 1211.475436] [<ffffffff812af0a5>] local_pci_probe+0x45/0xa0
[ 1211.475440] [<ffffffff812ae815>] ? pci_match_device+0xc5/0xd0
[ 1211.475443] [<ffffffff812af1d9>] pci_device_probe+0xd9/0x130
[ 1211.475447] [<ffffffff81368645>] driver_probe_device+0x125/0x3b0
[ 1211.475450] [<ffffffff813689a3>] __driver_attach+0x93/0xa0
[ 1211.475453] [<ffffffff81368910>] ? __device_attach+0x40/0x40
[ 1211.475456] [<ffffffff81366593>] bus_for_each_dev+0x63/0xa0
[ 1211.475459] [<ffffffff81367ffe>] driver_attach+0x1e/0x20
[ 1211.475462] [<ffffffff81367be0>] bus_add_driver+0x180/0x250
[ 1211.475465] [<ffffffffa05d1000>] ? 0xffffffffa05d0fff
[ 1211.475468] [<ffffffff81369024>] driver_register+0x64/0xf0
[ 1211.475472] [<ffffffffa05d1000>] ? 0xffffffffa05d0fff
[ 1211.475475] [<ffffffff812ae97b>] __pci_register_driver+0x4b/0x50
[ 1211.475480] [<ffffffffa041238a>] drm_pci_init+0x10a/0x140 [drm]
[ 1211.475483] [<ffffffffa05d1000>] ? 0xffffffffa05d0fff
[ 1211.475496] [<ffffffffa05d109c>] radeon_init+0x9c/0xba [radeon]
[ 1211.475500] [<ffffffff8100216a>] do_one_initcall+0xfa/0x1b0
[ 1211.475504] [<ffffffff81088b28>] ? __blocking_notifier_call_chain+0x58/0x70
[ 1211.475509] [<ffffffff810dcc3b>] load_module+0x1c6b/0x2580
[ 1211.475512] [<ffffffff810d9630>] ? store_uevent+0x40/0x40
[ 1211.475516] [<ffffffff810dd6c6>] SyS_finit_module+0x86/0xb0
[ 1211.475520] [<ffffffff814e16a9>] system_call_fastpath+0x16/0x1b
[ 1211.475523] Code: 00 0f 1f 44 00 00 55 48 89 e5 41 54 41 89 f4 53 8b 47 38 48 89 fb 85 c0 7e 27 8b 43 28 48 8b 53 08 8d 48 01 48 8d 04 82 89 4b 28 <44> 89 20 8b 43 54 83 6b 38 01 21 43 28 83 6b 34 01 5b 41 5c 5d
[ 1211.475573] RIP [<ffffffffa04bc15a>] radeon_ring_write+0x2a/0x60 [radeon]
[ 1211.475592] RSP <ffff8802425db9b0>
[ 1211.475593] CR2: ffff88063f4ceffc
[ 1211.475597] ---[ end trace e735e256cc25fd02 ]---
More information about the dri-devel
mailing list