Bug 15851
Summary: | Switcheroo: Intel card not working after passing OFF to discrete card | ||
---|---|---|---|
Product: | Drivers | Reporter: | Michał Witkowski (neuro) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | CLOSED OBSOLETE | ||
Severity: | low | CC: | alan, chris, jbarnes, mail |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.34-rc4 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | switcheroo rc.d script |
This problem unfortunately still persists. Procedure start > "DDIS" > "DINT" works, but start > "OFF" doesn't, although the framebuffer is using the intel card to display the console. is there anything in the xorg log file? I've noticed a race condition in the code, the branch in http://git.kernel.org/?p=linux/kernel/git/airlied/drm-testing.git;a=shortlog;h=refs/heads/drm-nvidia-switch may fix this. I've tried that, but it doesn't seme to fix the issue. I also get some errors when doing the OFF with an init.d script: Dec 12 10:25:11 tricky kernel: [ 35.696705] ATOM BIOS: Acer Dec 12 10:25:11 tricky kernel: [ 35.696741] radeon 0000:01:00.0: limiting VRAM Dec 12 10:25:11 tricky kernel: [ 35.696747] radeon 0000:01:00.0: VRAM: 3584M 0x00000000 - 0xDFFFFFFF (3584M used) Dec 12 10:25:11 tricky kernel: [ 35.696754] radeon 0000:01:00.0: GTT: 512M 0xE0000000 - 0xFFFFFFFF Dec 12 10:25:11 tricky kernel: [ 35.696762] mtrr: no more MTRRs available Dec 12 10:25:11 tricky kernel: [ 35.696764] [drm] Detected VRAM RAM=3584M, BAR=128M Dec 12 10:25:11 tricky kernel: [ 35.696765] [drm] RAM width 128bits DDR Dec 12 10:25:11 tricky kernel: [ 35.696968] [TTM] Zone kernel: Available graphics memory: 1795484 kiB. Dec 12 10:25:11 tricky kernel: [ 35.696972] [TTM] Initializing pool allocator. Dec 12 10:25:11 tricky kernel: [ 35.697003] [drm] radeon: 3584M of VRAM memory ready Dec 12 10:25:11 tricky kernel: [ 35.697007] [drm] radeon: 512M of GTT memory ready. Dec 12 10:25:11 tricky kernel: [ 35.697086] radeon 0000:01:00.0: irq 44 for MSI/MSI-X Dec 12 10:25:11 tricky kernel: [ 35.697096] radeon 0000:01:00.0: radeon: using MSI. Dec 12 10:25:11 tricky kernel: [ 35.697110] radeon 0000:01:00.0: IH ring buffer overflow (0xFFFFFFFF, 0, 15) Dec 12 10:25:11 tricky kernel: [ 35.697141] [drm] radeon: irq initialized. Dec 12 10:25:11 tricky kernel: [ 35.697144] [drm] GART: num cpu pages 131072, num gpu pages 131072 Dec 12 10:25:11 tricky kernel: [ 35.697834] [drm] Loading REDWOOD Microcode Dec 12 10:25:11 tricky kernel: [ 35.856381] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) Dec 12 10:25:11 tricky kernel: [ 35.860909] ata1.00: configured for UDMA/133 Dec 12 10:25:11 tricky kernel: [ 35.860918] ata1: EH complete Dec 12 10:25:12 tricky kernel: [ 36.378133] radeon 0000:01:00.0: Wait for MC idle timedout ! Dec 12 10:25:12 tricky kernel: [ 36.565922] radeon 0000:01:00.0: Wait for MC idle timedout ! Dec 12 10:25:12 tricky kernel: [ 36.567978] radeon 0000:01:00.0: WB enabled Dec 12 10:25:12 tricky kernel: [ 36.584574] BUG: unable to handle kernel paging request at ffffc90409781ffc Dec 12 10:25:12 tricky kernel: [ 36.584620] IP: [<ffffffffa0351b11>] evergreen_cp_start+0x51/0xac0 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.584686] PGD 133c0f067 PUD 0 Dec 12 10:25:12 tricky kernel: [ 36.584717] Oops: 0002 [#1] SMP Dec 12 10:25:12 tricky kernel: [ 36.584748] last sysfs file: /sys/module/snd_hda_intel/initstate Dec 12 10:25:12 tricky kernel: [ 36.584778] CPU 2 Dec 12 10:25:12 tricky kernel: [ 36.584790] Modules linked in: binfmt_misc vboxnetadp vboxnetflt vboxdrv snd_hda_codec_realtek joydev arc4 ath9k snd_hda_intel(+) snd_hda_codec snd_seq_midi radeon(+) mac80211 snd_hwdep snd_rawmidi snd_pcm ath9k_common i915 snd_seq_midi_event snd_seq ath9k_hw ath ttm snd_timer cfg80211 snd_seq_device uvcvideo psmouse intel_ips drm_kms_helper serio_raw videodev v4l1_compat v4l2_compat_ioctl32 snd drm video soundcore i2c_algo_bit snd_page_alloc output shpchp lp parport usb_storage uas ahci libahci atl1c lzo Dec 12 10:25:12 tricky kernel: [ 36.585261] Dec 12 10:25:12 tricky kernel: [ 36.585276] Pid: 389, comm: modprobe Not tainted 2.6.37-8-generic #21~3v1ubuntu1 ZQ1B/Aspire 4820TG Dec 12 10:25:12 tricky kernel: [ 36.585316] RIP: 0010:[<ffffffffa0351b11>] [<ffffffffa0351b11>] evergreen_cp_start+0x51/0xac0 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.585377] RSP: 0018:ffff88011a9bbae8 EFLAGS: 00010286 Dec 12 10:25:12 tricky kernel: [ 36.585403] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 Dec 12 10:25:12 tricky kernel: [ 36.585435] RDX: ffffc90409781ffc RSI: 0000000000000007 RDI: ffff880118c54000 Dec 12 10:25:12 tricky kernel: [ 36.585467] RBP: ffff88011a9bbb08 R08: 0000000000000000 R09: 0000000000000001 Dec 12 10:25:12 tricky kernel: [ 36.585498] R10: 0000000000000010 R11: 0000000000000001 R12: ffff880118c54000 Dec 12 10:25:12 tricky kernel: [ 36.585531] R13: 0000000000000911 R14: 00000000fffffff4 R15: ffff88012bfa5000 Dec 12 10:25:12 tricky kernel: [ 36.585563] FS: 00007fdde3ec6700(0000) GS:ffff8800b3480000(0000) knlGS:0000000000000000 Dec 12 10:25:12 tricky kernel: [ 36.585599] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Dec 12 10:25:12 tricky kernel: [ 36.585626] CR2: ffffc90409781ffc CR3: 000000011a966000 CR4: 00000000000006e0 Dec 12 10:25:12 tricky kernel: [ 36.585658] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Dec 12 10:25:12 tricky kernel: [ 36.585690] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Dec 12 10:25:12 tricky kernel: [ 36.585722] Process modprobe (pid: 389, threadinfo ffff88011a9ba000, task ffff88011a92db00) Dec 12 10:25:12 tricky kernel: [ 36.585759] Stack: Dec 12 10:25:12 tricky kernel: [ 36.585772] ffff880118c54000 0000000000000011 0000000000000911 00000000fffffff4 Dec 12 10:25:12 tricky kernel: [ 36.585824] ffff88011a9bbb38 ffffffffa0352920 ffff88011a9bbb38 ffff880118c54000 Dec 12 10:25:12 tricky kernel: [ 36.585875] 0000000000000000 ffff880118c54000 ffff88011a9bbb68 ffffffffa0352c87 Dec 12 10:25:12 tricky kernel: [ 36.585927] Call Trace: Dec 12 10:25:12 tricky kernel: [ 36.585960] [<ffffffffa0352920>] evergreen_cp_resume+0x3a0/0x630 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586008] [<ffffffffa0352c87>] evergreen_startup+0xd7/0x190 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586056] [<ffffffffa032a5a0>] ? r600_pcie_gart_init+0x60/0x70 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586103] [<ffffffffa0352f4a>] evergreen_init+0x20a/0x480 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586147] [<ffffffffa02d1482>] radeon_device_init+0x352/0x4b0 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586193] [<ffffffffa02d3422>] radeon_driver_load_kms+0xc2/0x1f0 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586236] [<ffffffffa00bbd6c>] drm_get_pci_dev+0x19c/0x350 [drm] Dec 12 10:25:12 tricky kernel: [ 36.586270] [<ffffffff81038589>] ? default_spin_lock_flags+0x9/0x10 Dec 12 10:25:12 tricky kernel: [ 36.586316] [<ffffffffa035c451>] radeon_pci_probe+0x15/0x269 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.586349] [<ffffffff81314def>] local_pci_probe+0x5f/0xd0 Dec 12 10:25:12 tricky kernel: [ 36.586376] [<ffffffff81314f49>] __pci_device_probe+0xe9/0xf0 Dec 12 10:25:12 tricky kernel: [ 36.586405] [<ffffffff812f507a>] ? kobject_get+0x1a/0x30 Dec 12 10:25:12 tricky kernel: [ 36.586434] [<ffffffff813c48f9>] ? get_device+0x19/0x20 Dec 12 10:25:12 tricky kernel: [ 36.586461] [<ffffffff8131603a>] pci_device_probe+0x3a/0x60 Dec 12 10:25:12 tricky kernel: [ 36.586489] [<ffffffff813c8c98>] really_probe+0x68/0x190 Dec 12 10:25:12 tricky kernel: [ 36.586516] [<ffffffff813c8e05>] driver_probe_device+0x45/0x70 Dec 12 10:25:12 tricky kernel: [ 36.587977] [<ffffffff813c8ecb>] __driver_attach+0x9b/0xa0 Dec 12 10:25:12 tricky kernel: [ 36.589411] [<ffffffff813c8e30>] ? __driver_attach+0x0/0xa0 Dec 12 10:25:12 tricky kernel: [ 36.590826] [<ffffffff813c80a8>] bus_for_each_dev+0x68/0x90 Dec 12 10:25:12 tricky kernel: [ 36.592235] [<ffffffff813c8aee>] driver_attach+0x1e/0x20 Dec 12 10:25:12 tricky kernel: [ 36.593632] [<ffffffff813c83a9>] bus_add_driver+0xe9/0x290 Dec 12 10:25:12 tricky kernel: [ 36.595050] [<ffffffffa039e000>] ? radeon_init+0x0/0xc6 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.596449] [<ffffffff813c9210>] driver_register+0x80/0x150 Dec 12 10:25:12 tricky kernel: [ 36.597855] [<ffffffffa039e000>] ? radeon_init+0x0/0xc6 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.599211] [<ffffffff813162c6>] __pci_register_driver+0x56/0xd0 Dec 12 10:25:12 tricky kernel: [ 36.600543] [<ffffffffa00bc004>] drm_pci_init+0xe4/0xf0 [drm] Dec 12 10:25:12 tricky udevd-work[363]: '/sbin/modprobe -bv pci:v00001002d000068C1sv00001025sd00000359bc03sc00i00' unexpected exit with status 0x0009 Dec 12 10:25:12 tricky kernel: [ 36.601839] [<ffffffff815d11de>] ? mutex_lock+0x1e/0x50 Dec 12 10:25:12 tricky kernel: [ 36.603096] [<ffffffffa039e000>] ? radeon_init+0x0/0xc6 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.604369] [<ffffffffa00b3448>] drm_init+0x58/0x70 [drm] Dec 12 10:25:12 tricky kernel: [ 36.605622] [<ffffffffa039e0c4>] radeon_init+0xc4/0xc6 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.606863] [<ffffffff81002053>] do_one_initcall+0x43/0x190 Dec 12 10:25:12 tricky kernel: [ 36.608086] [<ffffffff810a301b>] sys_init_module+0xbb/0x200 Dec 12 10:25:12 tricky kernel: [ 36.609302] [<ffffffff8100c102>] system_call_fastpath+0x16/0x1b Dec 12 10:25:12 tricky kernel: [ 36.610512] Code: 00 45 8b 94 24 14 09 00 00 45 85 d2 0f 8e 9d 08 00 00 41 8b 84 24 04 09 00 00 89 c2 83 c0 01 48 c1 e2 02 49 03 94 24 f8 08 00 00 <c7> 02 00 44 05 c0 41 8b 94 24 14 09 00 00 41 23 84 24 24 09 00 Dec 12 10:25:12 tricky kernel: [ 36.613639] RIP [<ffffffffa0351b11>] evergreen_cp_start+0x51/0xac0 [radeon] Dec 12 10:25:12 tricky kernel: [ 36.615066] RSP <ffff88011a9bbae8> Dec 12 10:25:12 tricky kernel: [ 36.616459] CR2: ffffc90409781ffc Dec 12 10:25:12 tricky kernel: [ 36.617846] ---[ end trace 93b40505f78e4263 ]--- Issue still present with 2.6.38-rc4: Feb 15 14:26:17 tricky kernel: [ 33.740730] ATOM BIOS: Acer Feb 15 14:26:17 tricky kernel: [ 33.740743] radeon 0000:01:00.0: GPU softreset Feb 15 14:26:17 tricky kernel: [ 33.740746] radeon 0000:01:00.0: GRBM_STATUS=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.740748] radeon 0000:01:00.0: GRBM_STATUS_SE0=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.740750] radeon 0000:01:00.0: GRBM_STATUS_SE1=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.740752] radeon 0000:01:00.0: SRBM_STATUS=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.885171] radeon 0000:01:00.0: Wait for MC idle timedout ! Feb 15 14:26:17 tricky kernel: [ 33.885174] radeon 0000:01:00.0: GRBM_SOFT_RESET=0x00007F6B Feb 15 14:26:17 tricky kernel: [ 33.885277] radeon 0000:01:00.0: GRBM_STATUS=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.885279] radeon 0000:01:00.0: GRBM_STATUS_SE0=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.885281] radeon 0000:01:00.0: GRBM_STATUS_SE1=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.885283] radeon 0000:01:00.0: SRBM_STATUS=0xFFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.886314] radeon 0000:01:00.0: limiting VRAM Feb 15 14:26:17 tricky kernel: [ 33.886317] radeon 0000:01:00.0: VRAM: 3584M 0x0000000000000000 - 0x00000000DFFFFFFF (3584M used) Feb 15 14:26:17 tricky kernel: [ 33.886319] radeon 0000:01:00.0: GTT: 512M 0x00000000E0000000 - 0x00000000FFFFFFFF Feb 15 14:26:17 tricky kernel: [ 33.886327] mtrr: no more MTRRs available Feb 15 14:26:17 tricky kernel: [ 33.886328] [drm] Detected VRAM RAM=3584M, BAR=128M Feb 15 14:26:17 tricky kernel: [ 33.886330] [drm] RAM width 128bits DDR Feb 15 14:26:17 tricky kernel: [ 33.886530] [TTM] Zone kernel: Available graphics memory: 1795444 kiB. Feb 15 14:26:17 tricky kernel: [ 33.886534] [TTM] Initializing pool allocator. Feb 15 14:26:17 tricky kernel: [ 33.886562] [drm] radeon: 3584M of VRAM memory ready Feb 15 14:26:17 tricky kernel: [ 33.886566] [drm] radeon: 512M of GTT memory ready. Feb 15 14:26:17 tricky kernel: [ 33.886585] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). Feb 15 14:26:17 tricky kernel: [ 33.886588] [drm] Driver supports precise vblank timestamp query. Feb 15 14:26:17 tricky kernel: [ 33.886666] radeon 0000:01:00.0: irq 45 for MSI/MSI-X Feb 15 14:26:17 tricky kernel: [ 33.886676] radeon 0000:01:00.0: radeon: using MSI. Feb 15 14:26:17 tricky kernel: [ 33.886696] radeon 0000:01:00.0: IH ring buffer overflow (0xFFFFFFFF, 0, 15) Feb 15 14:26:17 tricky kernel: [ 33.886726] [drm] radeon: irq initialized. Feb 15 14:26:17 tricky kernel: [ 33.886729] [drm] GART: num cpu pages 131072, num gpu pages 131072 Feb 15 14:26:17 tricky kernel: [ 33.887569] [drm] Loading REDWOOD Microcode Feb 15 14:26:18 tricky kernel: [ 34.220217] radeon 0000:01:00.0: Wait for MC idle timedout ! Feb 15 14:26:18 tricky kernel: [ 34.365962] radeon 0000:01:00.0: Wait for MC idle timedout ! Feb 15 14:26:18 tricky kernel: [ 34.368019] radeon 0000:01:00.0: WB enabled Feb 15 14:26:18 tricky kernel: [ 34.384619] BUG: unable to handle kernel paging request at ffffc9041b711ffc Feb 15 14:26:18 tricky kernel: [ 34.384666] IP: [<ffffffffa03502f1>] evergreen_cp_start+0x51/0xc70 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.384733] PGD 133c0f067 PUD 0 Feb 15 14:26:18 tricky kernel: [ 34.384765] Oops: 0002 [#1] SMP Feb 15 14:26:18 tricky kernel: [ 34.384796] last sysfs file: /sys/module/snd_hda_intel/initstate Feb 15 14:26:18 tricky kernel: [ 34.384826] CPU 1 Feb 15 14:26:18 tricky kernel: [ 34.384838] Modules linked in: binfmt_misc snd_hda_codec_realtek snd_seq_midi snd_hda_intel(+) snd_rawmidi snd_hda_codec snd_seq_midi_event snd_hwdep snd_seq snd_pcm snd_timer snd_seq_device snd soundcore uvcvideo joydev arc4 videodev snd_page_alloc v4l2_compat_ioctl32 radeon(+) ath9k i915 mac80211 ath9k_common ath9k_hw ath ttm cfg80211 video acer_wmi psmouse serio_raw drm_kms_helper drm lp i2c_algo_bit parport intel_ips sparse_keymap usbhid hid usb_storage uas ahci atl1c libahci lzo Feb 15 14:26:18 tricky kernel: [ 34.385284] Feb 15 14:26:18 tricky kernel: [ 34.385297] Pid: 330, comm: modprobe Not tainted 2.6.38-3-generic #30 ZQ1B/Aspire 4820TG Feb 15 14:26:18 tricky kernel: [ 34.385334] RIP: 0010:[<ffffffffa03502f1>] [<ffffffffa03502f1>] evergreen_cp_start+0x51/0xc70 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.385397] RSP: 0018:ffff88011885fad8 EFLAGS: 00010286 Feb 15 14:26:18 tricky kernel: [ 34.385423] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 000000007da8a8fe Feb 15 14:26:18 tricky kernel: [ 34.385455] RDX: ffffc9041b711ffc RSI: 0000000000000007 RDI: ffff8801288ee000 Feb 15 14:26:18 tricky kernel: [ 34.385487] RBP: ffff88011885faf8 R08: 0000000000000000 R09: 00000000000115fd Feb 15 14:26:18 tricky kernel: [ 34.385519] R10: ffffc90000000000 R11: 0000000000000010 R12: ffff8801288ee000 Feb 15 14:26:18 tricky kernel: [ 34.385551] R13: 0000000000000911 R14: 00000000fffffff4 R15: ffff88012bcd7000 Feb 15 14:26:18 tricky kernel: [ 34.385584] FS: 00007f11876c5700(0000) GS:ffff8800b3440000(0000) knlGS:0000000000000000 Feb 15 14:26:18 tricky kernel: [ 34.385620] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Feb 15 14:26:18 tricky kernel: [ 34.385647] CR2: ffffc9041b711ffc CR3: 000000011884f000 CR4: 00000000000006e0 Feb 15 14:26:18 tricky kernel: [ 34.385679] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Feb 15 14:26:18 tricky kernel: [ 34.385711] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Feb 15 14:26:18 tricky kernel: [ 34.385743] Process modprobe (pid: 330, threadinfo ffff88011885e000, task ffff88012b9116c0) Feb 15 14:26:18 tricky kernel: [ 34.385779] Stack: Feb 15 14:26:18 tricky kernel: [ 34.385793] ffff8801288ee000 0000000000000011 0000000000000911 00000000fffffff4 Feb 15 14:26:18 tricky kernel: [ 34.385845] ffff88011885fb28 ffffffffa03512b0 ffff88011885fb28 ffff8801288ee000 Feb 15 14:26:18 tricky kernel: [ 34.385896] 0000000000000000 0000000000410028 ffff88011885fb58 ffffffffa035169c Feb 15 14:26:18 tricky kernel: [ 34.385948] Call Trace: Feb 15 14:26:18 tricky kernel: [ 34.385982] [<ffffffffa03512b0>] evergreen_cp_resume+0x3a0/0x630 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386032] [<ffffffffa035169c>] evergreen_startup+0x15c/0x260 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386081] [<ffffffffa0327010>] ? r600_pcie_gart_init+0x60/0x70 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386131] [<ffffffffa0351954>] evergreen_init+0x1b4/0x2e0 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386176] [<ffffffffa02cb2e3>] radeon_device_init+0x3d3/0x480 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386222] [<ffffffffa02cd303>] radeon_driver_load_kms+0xb3/0x1a0 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386264] [<ffffffffa009ecb0>] drm_get_pci_dev+0x190/0x2f0 [drm] Feb 15 14:26:18 tricky kernel: [ 34.386297] [<ffffffff81152b25>] ? kmem_cache_alloc_trace+0xd5/0x130 Feb 15 14:26:18 tricky kernel: [ 34.386344] [<ffffffffa035c4fb>] radeon_pci_probe+0xaf/0xbb4 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.386377] [<ffffffff812fc1df>] local_pci_probe+0x5f/0xd0 Feb 15 14:26:18 tricky kernel: [ 34.386405] [<ffffffff812fc339>] __pci_device_probe+0xe9/0xf0 Feb 15 14:26:18 tricky kernel: [ 34.386434] [<ffffffff812d904a>] ? kobject_get+0x1a/0x30 Feb 15 14:26:18 tricky kernel: [ 34.386462] [<ffffffff813abe29>] ? get_device+0x19/0x20 Feb 15 14:26:18 tricky kernel: [ 34.386489] [<ffffffff812fd42a>] pci_device_probe+0x3a/0x60 Feb 15 14:26:18 tricky kernel: [ 34.386517] [<ffffffff813b0108>] really_probe+0x68/0x190 Feb 15 14:26:18 tricky kernel: [ 34.386544] [<ffffffff813b0275>] driver_probe_device+0x45/0x70 Feb 15 14:26:18 tricky kernel: [ 34.386573] [<ffffffff813b033b>] __driver_attach+0x9b/0xa0 Feb 15 14:26:18 tricky kernel: [ 34.388022] [<ffffffff813b02a0>] ? __driver_attach+0x0/0xa0 Feb 15 14:26:18 tricky kernel: [ 34.389454] [<ffffffff813af558>] bus_for_each_dev+0x68/0x90 Feb 15 14:26:18 tricky kernel: [ 34.390874] [<ffffffff813aff5e>] driver_attach+0x1e/0x20 Feb 15 14:26:18 tricky kernel: [ 34.392278] [<ffffffff813af83d>] bus_add_driver+0xcd/0x270 Feb 15 14:26:18 tricky kernel: [ 34.393689] [<ffffffffa03a2000>] ? radeon_init+0x0/0x1000 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.395092] [<ffffffff813b0680>] driver_register+0x80/0x150 Feb 15 14:26:18 tricky kernel: [ 34.396501] [<ffffffffa03a2000>] ? radeon_init+0x0/0x1000 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.397900] [<ffffffff812fd6b6>] __pci_register_driver+0x56/0xd0 Feb 15 14:26:18 tricky kernel: [ 34.399276] [<ffffffffa009eef4>] drm_pci_init+0xe4/0xf0 [drm] Feb 15 14:26:18 tricky kernel: [ 34.400610] [<ffffffff815b647e>] ? mutex_lock+0x1e/0x50 Feb 15 14:26:18 tricky kernel: [ 34.401922] [<ffffffffa03a2000>] ? radeon_init+0x0/0x1000 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.403194] [<ffffffffa0096698>] drm_init+0x58/0x70 [drm] Feb 15 14:26:18 tricky kernel: [ 34.404445] [<ffffffffa03a20c4>] radeon_init+0xc4/0x1000 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.405676] [<ffffffff81002053>] do_one_initcall+0x43/0x190 Feb 15 14:26:18 tricky kernel: [ 34.406887] [<ffffffff810a22fb>] sys_init_module+0xfb/0x250 Feb 15 14:26:18 tricky kernel: [ 34.408096] [<ffffffff8100c082>] system_call_fastpath+0x16/0x1b Feb 15 14:26:18 tricky kernel: [ 34.409301] Code: 00 45 8b 9c 24 e4 0a 00 00 45 85 db 0f 8e c5 09 00 00 41 8b 84 24 d4 0a 00 00 89 c2 83 c0 01 48 c1 e2 02 49 03 94 24 c8 0a 00 00 <c7> 02 00 44 05 c0 41 8b 94 24 e4 0a 00 00 41 23 84 24 f4 0a 00 Feb 15 14:26:18 tricky kernel: [ 34.412461] RIP [<ffffffffa03502f1>] evergreen_cp_start+0x51/0xc70 [radeon] Feb 15 14:26:18 tricky kernel: [ 34.413917] RSP <ffff88011885fad8> Feb 15 14:26:18 tricky kernel: [ 34.415335] CR2: ffffc9041b711ffc Feb 15 14:26:18 tricky kernel: [ 34.416749] ---[ end trace 9605806296de8f42 ]--- Can you verify that oops on a recent kernel? |
Created attachment 26140 [details] switcheroo rc.d script System: Lenovo Ideapad U330 with Radeon 3450 and Intel 4500MHD Arch Linux current with kernel 2.6.34-rc4 (+switchable graphics). Problem: X freezes upon start whenever I try to turn off the discrete card (radeon) using either "DIGD" or "OFF" switcheroo states. The switcheroo states that the discrete card is turned off, and the integrated (intel) card is on, but X freezes upon start. Notes: Not using an xorg.conf file. If I don't try to turn off the discrete card at all it works ok. It works ok also when I do "DDIS" (switch to discrete only) followed by "DIGD" (switch back to integrated only). Please see attached rc.d file which switches modes based on kernel command line. Modules are loaded in the following order: i915, radeon, fbcon. The provided setting works as expected (can switch between X/console, between cards etc).