BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] radeon_suspend_kms+0x78/0x1e0 [radeon] *pde = 00000000 Oops: 0000 [#2] SMP last sysfs file: /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/enable Modules linked in: rfcomm binfmt_misc sco bnep l2cap joydev snd_hda_codec_realtek snd_hda_intel(+) snd_hda_codec snd_hwdep radeon(+) snd_pcm snd_seq_midi snd_rawmidi i915 snd_seq_midi_event snd_seq snd_timer snd_seq_device ttm btusb lib80211_crypt_tkip uvcvideo wl(P) drm_kms_helper psmouse drm bluetooth ideapad_laptop snd videodev sparse_keymap serio_raw soundcore video lib80211 i2c_algo_bit snd_page_alloc lp parport ahci libahci r8169 Pid: 1294, comm: rc.local Tainted: P D 2.6.38-8-generic #41-Ubuntu LENOVO 20032 /NIUR1 EIP: 0060:[] EFLAGS: 00010293 CPU: 0 EIP is at radeon_suspend_kms+0x78/0x1e0 [radeon] EAX: f17c26a0 EBX: fffffea8 ECX: c1739ba8 EDX: 00000002 ESI: f17c26a0 EDI: f17c2400 EBP: ef4a3ed0 ESP: ef4a3ea8 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process rc.local (pid: 1294, ti=ef4a2000 task=f1308ca0 task.ti=ef4a2000) Stack: fffbaadc f675ee4c 00f29abc f17c2400 00000000 00000002 f1319000 f17c2400 00000000 ffffffea ef4a3ee4 f8b85b3b f8c1b75f 00000004 00000020 ef4a3f64 c132f280 fffff000 efb7a094 f08cdc00 efb7e198 ef486300 00000002 00000001 Call Trace: [] radeon_switcheroo_set_state+0x4b/0xa0 [radeon] [] vga_switcheroo_debugfs_write+0x140/0x370 [] ? apparmor_file_permission+0x16/0x20 [] ? rw_verify_area+0x6c/0x130 [] vfs_write+0xa2/0x170 [] ? vga_switcheroo_debugfs_write+0x0/0x370 [] sys_write+0x42/0x70 [] syscall_call+0x7/0xb Code: 00 89 7d f0 89 f7 89 c6 81 eb 58 01 00 00 eb 1b 8d 76 00 89 d8 ba 03 00 00 00 e8 d4 d1 8c ff 8b 9b 58 01 00 00 81 eb 58 01 00 00 <8b> 83 58 01 00 00 0f 18 00 90 8d 83 58 01 00 00 39 f0 75 d4 89 EIP: [] radeon_suspend_kms+0x78/0x1e0 [radeon] SS:ESP 0068:ef4a3ea8 CR2: 0000000000000000 ---[ end trace 838d10b467e73e05 ]---