Re: 2.4.13-acX: NM256 hangs at boot

Jeff Garzik (jgarzik@mandrakesoft.com)
Mon, 29 Oct 2001 06:16:23 -0500


Alan Cox wrote:
> > NM256 is PCI-based, so I checked whether CONFIG_HOTPLUG_PCI would have
> > any effect. It didn't.
> >
> > Exactly the same thing happens with 2.4.13-ac4.
> >
> > If I compile the kernel without sound-support, everything works just
> > fine.
>
> Jeff Garzik updated the neomagic driver to use the generic ac97 codec. It
> looks like he didnt quite get it right firs ttime around. I'll take a look
> and its then a case of either fixing it or reverting Jeff's change

If you don't see something right off, go ahead and revert it.

IIRC now, nm256 had trouble with completely locking the PCI bus if you
touched the wrong AC97 registers. The solution was to create
ac97_codec_{read,write} that filtered register numbers depending on a
codec-specific mask, thus avoiding those registers on nm256 and using
them on other chips. This change isn't in anybody's ac97_codec (except
an old CVS of mine), and it was never fully debugged when I had a hands
on a laptop with [supposed] ac97 codec nm256 on it.

So, I am hoping it's a stupid error like "using ac97 mixer when I
shouldn't", otherwise it's likely too much trouble to bother with.

-- 
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno

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