Created attachment 54942 [details] kernel log System: Lenovo ThinkPad T500 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) 01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3650 using vgaswitcheroo Trying to load radeon (as a module or in kernel) with modeset not explicitly disabled causes a kernel NULL pointer dereference if i915 has initialised the fb console already. That behaviour did not occur in 2.6.38, only after upgrading to 2.6.38.3 (haven't had the time to bisect yet). If I disable switching in the BIOS and move to the radeon card as exclusive adapter, everything works fine. with dual graphics stack
Created attachment 54952 [details] lspci output
*** Bug 34022 has been marked as a duplicate of this bug. ***
don't suppose anyone can bisect this? you'd only have to bisect drivers/gpu I can probably try and reproduce it next week.
Created attachment 56052 [details] attempted fix. please test this.
It seems to be working fine.
I confirm that Dave's patch resolves the issue. Thanks a lot!
*** Bug 33422 has been marked as a duplicate of this bug. ***
Handled-By : Dave Airlie <airlied@linux.ie> Patch : https://bugzilla.kernel.org/attachment.cgi?id=56052
I get this frequently on rc3, but have run more recent builds or with this patch yet.
Hi Dave, can we expect this patch in 2.6.38.6?
Fixed by http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=eaa4f5e1d0b816291a59a47917e569c0384f2b6f @Johannes: The commit has been annotated as "Cc: stable@kernel.org", so the answer is yes, you can.