2.6.16 backtrace at boot (Ibook G4) (related to "PowerBook5,4 -- no sound?")
Benjamin Herrenschmidt
benh at kernel.crashing.org
Fri Apr 21 06:48:05 EST 2006
On Thu, 2006-04-20 at 15:51 +0200, Michael Schmitz wrote:
> > > arch/powerpc/platforms/powermac/setup.c:721: error: 'mach_powermac' undeclared here (not in a function)
> > > arch/powerpc/platforms/powermac/setup.c:721: warning: type defaults to 'int' in declaration of 'mach_powermac'
> > > make[2]: *** [arch/powerpc/platforms/powermac/setup.o] Error 1
> > > make[1]: *** [arch/powerpc/platforms/powermac] Error 2
> > > make: *** [arch/powerpc/platforms] Error 2
>
> That's how far I got on my own (didn't try Bens patch yet but machine_id
> is in fact still OK in the module, so exporting the necessary bits should
> fix it.
>
> Commenting out the -ENODEV return gives me working sound; didn't I mention
> that?
There is a proper patch in paulus tree.. it's basically the patch I
posted with an extern declaration at the beginning of the macro before
the EXPORT_SYMBOL.
> > > However, I tried adding "EXPORT_SYMBOL(mach_powermac);" after the
> > > define_machine(powermac) and now sound works for me with my original
> > > I2C_POWERMAC=y SND_POWERMAC=m configuration.
> >
> > Yup, Paul has a working patch already, will be in 2.6.17 soonish.
>
> I'll pull the current tree as soon as I'm back at the lab.
Patch isn't in yet it seems.
Ben
More information about the Linuxppc-dev
mailing list