Re: 2.6.19-rc6-mm2: uli526x only works after reload

From: Greg KH
Date: Thu Nov 30 2006 - 20:28:31 EST


On Fri, Dec 01, 2006 at 02:08:28AM +0100, Rafael J. Wysocki wrote:
> On Thursday, 30 November 2006 22:32, Rafael J. Wysocki wrote:
> > [Trimmed the Cc list a bit.]
> >
> > On Thursday, 30 November 2006 22:12, Andrew Morton wrote:
> > > On Thu, 30 Nov 2006 21:21:27 +0100
> > > "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
> > >
> > > > On Thursday, 30 November 2006 02:04, Rafael J. Wysocki wrote:
> > > > > On Thursday, 30 November 2006 00:26, Andrew Morton wrote:
> > > > > > On Thu, 30 Nov 2006 00:08:21 +0100
> > > > > > "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
> > > > > >
> > > > > > > On Wednesday, 29 November 2006 22:31, Rafael J. Wysocki wrote:
> > > > > > > > On Wednesday, 29 November 2006 22:30, Andrew Morton wrote:
> > > > > > > > > On Wed, 29 Nov 2006 21:08:00 +0100
> > > > > > > > > "Rafael J. Wysocki" <rjw@xxxxxxx> wrote:
> > > > > > > > >
> > > > > > > > > > On Wednesday, 29 November 2006 20:54, Rafael J. Wysocki wrote:
> > > > > > > > > > > On Tuesday, 28 November 2006 11:02, Andrew Morton wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Temporarily at
> > > > > > > > > > > >
> > > > > > > > > > > > http://userweb.kernel.org/~akpm/2.6.19-rc6-mm2/
> > > > > > > > > > > >
> > > > > > > > > > > > Will appear eventually at
> > > > > > > > > > > >
> > > > > > > > > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.19-rc6/2.6.19-rc6-mm2/
> > > > > > > > > > >
> > > > > > > > > > > A minor issue: on one of my (x86-64) test boxes the uli526x driver doesn't
> > > > > > > > > > > work when it's first loaded. I have to rmmod and modprobe it to make it work.
> > > > > > > > >
> > > > > > > > > That isn't a minor issue.
> > > > > > > > >
> > > > > > > > > > > It worked just fine on -mm1, so something must have happened to it recently.
> > > > > > > > > >
> > > > > > > > > > Sorry, I was wrong. The driver doesn't work at all, even after reload.
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > tulip-dmfe-carrier-detection-fix.patch was added in rc6-mm2. But you're
> > > > > > > > > not using that (corrent?)
> > > > > > > > >
> > > > > > > > > git-netdev-all changes drivers/net/tulip/de2104x.c, but you're not using
> > > > > > > > > that either.
> > > > > > > > >
> > > > > > > > > git-powerpc(!) alters drivers/net/tulip/de4x5.c, but you're not using that.
> > > > > > > > >
> > > > > > > > > Beats me, sorry. Perhaps it's due to changes in networking core. It's
> > > > > > > > > presumably a showstopper for statically-linked-uli526x users. If you could
> > > > > > > > > bisect it, please? I'd start with git-netdev-all, then tulip-*.
> > > > > > > >
> > > > > > > > OK, but it'll take some time.
> > > > > > >
> > > > > > > OK, done.
> > > > > > >
> > > > > > > It's one of these (the first one alone doesn't compile):
> > > > > > >
> > > > > > > git-netdev-all.patch
> > > > > > > git-netdev-all-fixup.patch
> > > > > > > libphy-dont-do-that.patch
> > > >
> > > > Hm, all of these patches are the same as in -mm1 which hasn't caused any
> > > > problems to appear on this box.
> > > >
> > > > So, it seems there's another change between -mm1 and -mm2 that causes this
> > > > to happen.
> > > >
> > >
> > > It would be nice to eliminate libphy-dont-do-that.patch if poss - that was
> > > a rogue akpm patch aimed at some incomprehensible gobbledigook in the
> > > netdev tree (and to fix the current_is_keventd-not-exported-to-modules
> > > bug).
> >
> > Unfortunately the kernel doesn't compile without it ...
> >
> > Well, I think I'll try to find the patch that contains the change which has
> > triggered this.
>
> It looks like the winner is:
>
> gregkh-driver-driver-core-fixes-sysfs_create_link-retval-checks-in-core.c.patch
>
> Without this patch there are no problems, with this patch applied the problems
> (with uli526x, when it's the second interface and the first one is not used)
> occur, almost 100% of the time.

Hm, that's odd. Let me look at this closer and see if we are somehow
now failing something that previously we were not (this has happened
before...)

Cornelia, this is your patch, can you see anything obvious that would
cause this issue?

thanks,

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