[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120417193908.GG19507@zod.bos.redhat.com>
Date: Tue, 17 Apr 2012 15:39:09 -0400
From: Josh Boyer <jwboyer@...hat.com>
To: Matt Carlson <mcarlson@...adcom.com>
Cc: Michael Chan <mchan@...adcom.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: tg3 'No PHY devices' loading issue
On Tue, Apr 17, 2012 at 11:50:07AM -0700, Matt Carlson wrote:
> On Tue, Apr 17, 2012 at 10:18:57AM -0400, Josh Boyer wrote:
> > It has worked on some of the older kernels without the need for the
> > manual rmmod/modprobe step, so it seems to be somewhat timing related.
> > I'm not sure if there is a module load ordering issue, but that doesn't
> > seem to be the case. I can't explain why a later modprobe would work
> > just fine though.
> >
> > Do you have any thoughts on how to go about debugging/fixing this? I'd
> > be happy to test and provide whatever information you need.
>
> The 57788 uses the broadcom phylib module. For some reason, it isn't
> available the first module load attempt. A while ago, code was added to
> phylib to request modules from userspace if the particular phy support
> code wasn't already loaded. It looks like this mechanism isn't working
> too well the first time through.
>
> Can you reproduce the problem if you run 'rmmod broadcom' and then
> reload tg3?
I'll give it a shot, but that sounds like a quite plausible scenario to
me. Oddly, even after the manual modprobe, the broadcom phy module
doesn't show an increased use count. There's also no dependency on
'broadcom' listed for tg3 by modinfo.
josh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists