Re: 2.6.9-rc2-mm4 drm and XFree oopses

From: Lee Revell
Date: Wed Sep 29 2004 - 14:07:50 EST


On Wed, 2004-09-29 at 14:43, Denis Vlasenko wrote:
> On Wednesday 29 September 2004 15:28, Dave Airlie wrote:
> > It might help if you enabled AGP for your chipset, you have no agp
> > compiled in for your Intel motherboard, you need intel agp chipset
> > support..
>
> However kernel shouldn't use using smp_processor_id() in preemptible
> regions, with or without Intel AGP support compuled in.
>
> > > Sep 29 12:03:07 zmei kernel: [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> > > Sep 29 12:03:07 zmei kernel: [drm:radeon_unlock] *ERROR* Process 2807 using kernel context 0
> > > Sep 29 12:03:07 zmei kernel: using smp_processor_id() in preemptible code: XFree86/2807

It looks like that code that uses smp_processor_id assumes that it has
the DRM lock, but for whatever reason you don't have it.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/