[REGRESSION 2.6.27] i2c-mpc not probing on linkstation (was Re: [PATCH] powerpc: enable heap randomization for linkstations)
Guennadi Liakhovetski
g.liakhovetski at gmx.de
Tue Oct 21 17:42:36 EST 2008
On Mon, 20 Oct 2008, Jon Smirl wrote:
> On Mon, Oct 20, 2008 at 1:55 AM, Guennadi Liakhovetski
> <g.liakhovetski at gmx.de> wrote:
> > On Sun, 19 Oct 2008, Jon Smirl wrote:
> >
> >> Is i2c-mpc built into your kernel? It's not going to module auto-load
> >> because the names don't match - fsl-i2c and i2c-mpc.
> >
> > It is built into the kernel.
>
> Put a printk in it's init function to make sure it is initializing.
I don't need that, I see it here:
/sys/bus/of_platform/drivers/mpc-i2c
> Next thing I do is put printks over in arch/powerpc/.. to tell me
> which strings from the device tree are being looked for.
>
> You can also look in /proc/device_tree and make sure fsl-i2c is in there.
>
> When you find the problem is will probably be something simple like a
> mismatch between _ and -. I have been down this path before and spent
> a day figuring out why a module wouldn't load and it was a simple
> typo.
Thanks, I know, that I can find the reason and, probably, a fix after a
day of printk debugging. The thing is - I don't have this day, and I am
sure there are people on this list, who can spot and fix the problem
within minutes, that's why I posted it here after I realised, that 2 hours
of me searching for the problem didn't bring any result.
Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
More information about the Linuxppc-dev
mailing list