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

Andrew Morton
2008-02-23T08:22:29Z

On Thu, 21 Feb 2008 23:19:21 -0500 Dave Jones <davej@codemonkey.org.uk> 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?