Re: modular intel-agp does not work on my box

From: Andrew Morton
Date: Sat Feb 23 2008 - 03:22:30 EST


On Thu, 21 Feb 2008 23:19:21 -0500 Dave Jones <davej@xxxxxxxxxxxxxxxxx> wrote:

> On Fri, Feb 22, 2008 at 04:27:33AM +0100, Gabriel C wrote:
> > Gabriel C wrote:
> > > Dave Airlie wrote:
> > >>> Hi,
> > >>>
> > >>> When building agp* modular ( CONFIG_AGP=y/m and CONFIG_AGP_INTEL=m ) intel-agp does nothing on my box
> > >>> ( Dell Precision WorkStation 530 MT ) chipset is not being detected.
> > >>>
> > >>> Building both Y fixes that and agpgart works and also detects my chipset.
> > >> Have you got EDAC modules built as well? they might be taking ownership
> > >> when they shouldn't..
> > >>
> > >
> > > Yes I have EDAC built modular. I will build latest git without EDAC and agp modular
> > > and let you know if that fixes ( workarounds ;) ) the problem.
> >
> > You are right without EDAC built , agp modular does work fine. I'm on 2.6.25-rc2-00477-g1a4c6be right now.
> >
> > So it is an EDAC bug ?
>
> No, it's a failing of the pci driver model. It currently doesn't
> allow more than one driver to be bound to a single PCI device.
> For multi-function devices like bridges, this means we see problems
> like the one you mention.
>

Well that sounds pretty bad. What will distros do about this?

Is there something short-term-and-sleazy we can do to "fix" it?
--
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/