From: Randy Dunlap <rdunlap@xenotime.net>
To: Mikael Pettersson <mikpe@it.uu.se>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
linux-i2c@vger.kernel.org
Subject: Re: [BUG 2.6.36-rc5] of_i2c.ko <-> i2c-core.ko dependency loop
Date: Thu, 23 Sep 2010 15:05:59 -0700 [thread overview]
Message-ID: <20100923150559.9c67da11.rdunlap@xenotime.net> (raw)
In-Reply-To: <19611.46496.782340.466509@pilspetsen.it.uu.se>
On Thu, 23 Sep 2010 22:16:32 +0200 Mikael Pettersson wrote:
> Randy Dunlap writes:
> > On Thu, 23 Sep 2010 13:53:18 +0200 Mikael Pettersson wrote:
> >
> > > Running modules_install from a newly built 2.6.36-rc5 kernel
> > > on my 32-bit PowerMac results in:
> > >
> > > WARNING: Module /lib/modules/2.6.36-rc5/kernel/drivers/i2c/busses/i2c-powermac.ko ignored, due to loop
> > > WARNING: Loop detected: /lib/modules/2.6.36-rc5/kernel/drivers/i2c/i2c-core.ko needs of_i2c.ko which needs i2c-core.ko again!
> > > WARNING: Module /lib/modules/2.6.36-rc5/kernel/drivers/i2c/i2c-core.ko ignored, due to loop
> > > WARNING: Module /lib/modules/2.6.36-rc5/kernel/drivers/i2c/i2c-dev.ko ignored, due to loop
> > > WARNING: Module /lib/modules/2.6.36-rc5/kernel/drivers/of/of_i2c.ko ignored, due to loop
> > > WARNING: Module /lib/modules/2.6.36-rc5/kernel/sound/ppc/snd-powermac.ko ignored, due to loop
> > >
> > > > grep '.*I2C.*=' .config
> > > CONFIG_OF_I2C=m
> > > CONFIG_I2C=m
> > > CONFIG_I2C_BOARDINFO=y
> > > CONFIG_I2C_CHARDEV=m
> > > CONFIG_I2C_POWERMAC=m
> > >
> > > I can't say exactly when this started, haven't built kernels on this
> > > box in a while.
> >
> >
> > No kconfig warnings?
>
> Not that I recall. I can check tomorrow if necessary.
No kconfig warnings. I checked with your .config file.
> > Please post your full .config file.
Just a matter of module i2c-core calls of_ functions and module of_i2c calls
i2c_ functions. Hmph. Something for Grant, Jean, and Ben to work out.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
next prev parent reply other threads:[~2010-09-23 22:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-23 11:53 [BUG 2.6.36-rc5] of_i2c.ko <-> i2c-core.ko dependency loop Mikael Pettersson
2010-09-23 18:38 ` Randy Dunlap
2010-09-23 20:16 ` Mikael Pettersson
2010-09-23 22:05 ` Randy Dunlap [this message]
2010-09-24 9:12 ` Jean Delvare
2010-09-24 10:50 ` Mikael Pettersson
2010-09-24 11:39 ` Jean Delvare
2010-09-24 13:48 ` Grant Likely
2010-09-24 22:14 ` Grant Likely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100923150559.9c67da11.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikpe@it.uu.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).