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/module/snd_hda_intel/initstate Modules linked in: rfcomm binfmt_misc sco bnep l2cap joydev snd_hda_codec_realtek snd_hda_intel(+) snd_hda_codec snd_hwdep snd_pcm snd_seq_midi radeon(+) snd_rawmidi i915 snd_seq_midi_event snd_seq snd_timer ttm snd_seq_device btusb lib80211_crypt_tkip drm_kms_helper bluetooth wl(P) psmouse drm snd ideapad_laptop serio_raw sparse_keymap lib80211 soundcore snd_page_alloc video i2c_algo_bit lp parport ahci libahci r8169 [last unloaded: videodev] Pid: 1282, comm: rc.local Tainted: P D 2.6.38-7-generic #39-Ubuntu LENOVO 20032 /NIUR1 EIP: 0060:[] EFLAGS: 00010293 CPU: 0 EIP is at radeon_suspend_kms+0x78/0x1e0 [radeon] EAX: f0f9c2a0 EBX: fffffea8 ECX: c1737ba8 EDX: 00000002 ESI: f0f9c2a0 EDI: f0f9c000 EBP: ef729ed0 ESP: ef729ea8 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 Process rc.local (pid: 1282, ti=ef728000 task=ef726500 task.ti=ef728000) Stack: fffbaac8 f6760cec 7ca0645d f0f9c000 00000000 00000002 f0b06000 f0f9c000 00000000 ffffffea ef729ee4 f8737b3b f87cd75f 00000004 00000020 ef729f64 c132f010 fffff000 ef72a084 ef88b600 f1213e68 ef6ed780 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 b1 d3 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:ef729ea8 CR2: 0000000000000000 ---[ end trace c3198dced312a3b5 ]---