[Bug 55311] Since 3.7.1-17.1 radeon has no backlight when using vgaswitcheroo (regression)

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Aug 5 10:43:57 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=55311

--- Comment #59 from Aximab <laurent.debian at gmail.com> ---
After I read the last messages of Sebastien, I try to reproduce multiple switch
(because the test I did was only one switch) to see if I Have the same problem.
To my surprise at the very first attempt to sswitch my all system freeze/crash
with the need for an Hard reboot... 

Here is the log I found in the Kernel about it : 

Aug  5 11:57:16 laurent-debian kernel: [ 2603.122196] radeon: switched on
Aug  5 11:57:16 laurent-debian kernel: [ 2603.122876] radeon 0000:01:00.0:
power state changed by ACPI to D0
Aug  5 11:57:16 laurent-debian kernel: [ 2603.162185] [drm] PCIE GART of 512M
enabled (table at 0x000000000025D000).
Aug  5 11:57:16 laurent-debian kernel: [ 2603.162385] radeon 0000:01:00.0: WB
enabled
Aug  5 11:57:16 laurent-debian kernel: [ 2603.162392] radeon 0000:01:00.0:
fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr
0xffff88014f8abc00
Aug  5 11:57:16 laurent-debian kernel: [ 2603.162397] radeon 0000:01:00.0:
fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr
0xffff88014f8abc0c
Aug  5 11:57:16 laurent-debian kernel: [ 2603.164030] radeon 0000:01:00.0:
fence driver on ring 5 use gpu addr 0x000000000005c418 and cpu addr
0xffffc90008c1c418
Aug  5 11:57:16 laurent-debian kernel: [ 2603.180866] [drm] ring test on 0
succeeded in 2 usecs
Aug  5 11:57:16 laurent-debian kernel: [ 2603.180937] [drm] ring test on 3
succeeded in 1 usecs
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365570] BUG: unable to handle
kernel paging request at ffff88014f946000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365598] IP: [<ffffffffa0577d4f>]
radeon_ring_write+0x33/0x44 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365601] PGD 1873067 PUD 1876067
PMD 14aca7063 PTE 800000014f946161
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365603] Oops: 0003 [#1] SMP 
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365645] Modules linked in:
usb_storage hid_generic usbhid hid parport_pc ppdev lp parport bnep rfcomm
cpufreq_conservative cpufreq_userspace cpufreq_powersave cpufreq_stats
binfmt_misc uinput nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache
sunrpc loop fuse arc4 brcmsmac cordic brcmutil b43 radeon mac80211
snd_hda_codec_hdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec cfg80211
snd_hwdep snd_pcm i915 btusb bluetooth ssb snd_page_alloc ttm joydev mmc_core
rng_core pcmcia uvcvideo pcmcia_core snd_seq drm_kms_helper acpi_cpufreq
videobuf2_vmalloc videobuf2_memops snd_seq_device snd_timer drm videobuf2_core
videodev hp_accel media mei_me mei lis3lv02d mperf input_polldev snd bcma
coretemp psmouse i2c_i801 i2c_algo_bit iTCO_wdt i2c_core microcode hp_wmi
sparse_keymap processor soundcore rfkill iTCO_vendor_support pcspkr serio_raw
evdev ac button video intel_ips battery lpc_ich mfd_core wmi ext4 crc16 jbd2
mbcache sg sd_mod crc_t10dif sr_mod cdrom ahci libahci 
libata ehci_pci ehci_hcd usbcore scsi_mod thermal thermal_sys r8169 mii
usb_common
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365664] CPU: 0 PID: 6140 Comm:
bash Not tainted 3.11.0-rc3+ #5
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365665] Hardware name:
Hewlett-Packard HP Pavilion dv6 Notebook PC/144A, BIOS F.23 10/21/2010
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365667] task: ffff88006e315080
ti: ffff880135b8c000 task.ti: ffff880135b8c000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365686] RIP:
0010:[<ffffffffa0577d4f>]  [<ffffffffa0577d4f>] radeon_ring_write+0x33/0x44
[radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365687] RSP:
0018:ffff880135b8dd38  EFLAGS: 00010202
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365688] RAX: ffff88014f946000
RBX: ffff88014ff41618 RCX: 0000000000020001
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365689] RDX: ffff88014f8c6000
RSI: 0000000000003dbd RDI: ffff88014ff41618
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365690] RBP: 0000000000003dbd
R08: ffff880135b8c000 R09: 0000000000000000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365691] R10: 000000000000b4dc
R11: ffff880157c0ea10 R12: 0000000000000000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365692] R13: 0000000000000000
R14: 0000000000001010 R15: 00000000002a002a
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365694] FS: 
00007f01f2d07700(0000) GS:ffff880157c00000(0000) knlGS:0000000000000000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365695] CS:  0010 DS: 0000 ES:
0000 CR0: 0000000080050033
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365696] CR2: ffff88014f946000
CR3: 000000014ac03000 CR4: 00000000000007f0
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365696] Stack:
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365699]  ffff88014ff41618
ffff88014ff40000 ffffffffa058dc6b ffff88014ff40000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365701]  ffff88014ff41618
0000000040000a00 0000000000000000 0000000000001010
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365703]  ffffffffa058d4ca
ffff88014ff40000 000000000000000a 0000000000000063
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365703] Call Trace:
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365726]  [<ffffffffa058dc6b>] ?
r600_uvd_ring_test+0x65/0xfc [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365747]  [<ffffffffa058d4ca>] ?
r600_uvd_rbc_start+0x128/0x204 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365767]  [<ffffffffa058d917>] ?
r600_uvd_init+0x353/0x384 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365787]  [<ffffffffa05a6dfd>] ?
evergreen_startup+0x177a/0x17e5 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365807]  [<ffffffffa05a6eaf>] ?
evergreen_resume+0x47/0x6e [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365818]  [<ffffffffa0555725>] ?
radeon_resume_kms+0x75/0x165 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365829]  [<ffffffffa055588d>] ?
radeon_switcheroo_set_state+0x78/0xd7 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365833]  [<ffffffff8127d191>] ?
vga_switchon+0x2c/0x37
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365835]  [<ffffffff8127d363>] ?
vga_switchto_stage1+0x1c/0x28
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365837]  [<ffffffff8127da38>] ?
vga_switcheroo_debugfs_write+0x25f/0x307
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365841]  [<ffffffff81114dcf>] ?
__sb_start_write+0xae/0xde
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365842]  [<ffffffff811147a0>] ?
fput+0xe/0x8d
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365844]  [<ffffffff81113235>] ?
vfs_write+0xa7/0x10b
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365846]  [<ffffffff81113873>] ?
SyS_write+0x41/0x75
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365849]  [<ffffffff8138f4e9>] ?
system_call_fastpath+0x16/0x1b
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365865] Code: 48 89 fb 7f 15 48
c7 c6 f3 30 61 a0 48 c7 c7 b0 a5 5e a0 31 c0 e8 40 2e d4 ff 8b 43 30 48 8b 53
08 8d 48 01 48 8d 04 82 89 4b 30 <89> 28 8b 43 64 ff 4b 44 21 43 30 ff 4b 40 5b
5d c3 83 7e 78 02 
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365882] RIP  [<ffffffffa0577d4f>]
radeon_ring_write+0x33/0x44 [radeon]
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365882]  RSP <ffff880135b8dd38>
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365883] CR2: ffff88014f946000
Aug  5 11:57:16 laurent-debian kernel: [ 2603.365885] ---[ end trace
4186fc62f66daeb3 ]---


However This is likely to be unrelated to this bug (Just the fact that the
recent radeon driver doesn't in that state with my spec ... which is kind of an
even bigger problem but unrelated.n Because I get this message at boot


[   27.805974] [drm:r600_uvd_ring_test] *ERROR* radeon: ring 5 test failed
(0xCAFEDEAD)
[   27.806081] [drm:evergreen_startup] *ERROR* radeon: error initializing UVD
(-22).



As I said this is likely to be noise and unrelated to the bug .... 
Regards,
Laurent

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the intel-gfx-bugs mailing list