Re: 2.6.9-rc2-mm4 drm and XFree oopses

From: Borislav Petkov
Date: Wed Sep 29 2004 - 16:23:45 EST


On Wednesday 29 September 2004 20:56, Lee Revell wrote:
> 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.
> >
I wonder _who_ is the user of smp_processor_id() in this case?
> > > > 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

However, the above error concerning drm disappears after compiling in AGP.
What remains is the oops...

Regards,
Boris.
-
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/