netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* m68k 8390 breakage (was: Re: linux-next: Tree for December 3)
       [not found] <20081203183602.c06f8c39.sfr@canb.auug.org.au>
@ 2008-12-03 19:49 ` Geert Uytterhoeven
  2008-12-03 19:56   ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2008-12-03 19:49 UTC (permalink / raw)
  To: Stephen Hemminger, David S. Miller
  Cc: Stephen Rothwell, netdev, linux-next, LKML

On Wed, 3 Dec 2008, Stephen Rothwell wrote:
> Status of my local build tests will be at
> http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
> advice about cross compilers/configs that work, we are always open to add
> more builds.

Since a few days, m68k defconfig and allmodconfig give:

| drivers/net/lib8390.c:1014: undefined reference to `ei_start_xmit'
| drivers/net/lib8390.c:1015: undefined reference to `ei_get_stats'
| drivers/net/lib8390.c:1016: undefined reference to `ei_set_multicast_list'

(cfr. e.g. http://kisskb.ellerman.id.au/kisskb/buildresult/58795/)

git bisect run on "make ARCH=m68k mac_defconfig vmlinux" tells me:

8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab is first bad commit
commit 8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab
Author: Stephen Hemminger <shemminger@vyatta.com>
Date:   Tue Nov 25 18:12:49 2008 -0800

    8390: add common net_device ops

    Fix the defactoring of ei_XXX functions in 8390 and 8390p.
    Remove the tx_timeout hack since no driver including the 3c503
    overrides tx_timeout at this time, looks like a legacy thing.

    Also, since several drivers all have same hooks, provide common
    netdev_ops.

    Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: m68k 8390 breakage (was: Re: linux-next: Tree for December 3)
  2008-12-03 19:49 ` m68k 8390 breakage (was: Re: linux-next: Tree for December 3) Geert Uytterhoeven
@ 2008-12-03 19:56   ` Stephen Hemminger
  2008-12-03 20:38     ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2008-12-03 19:56 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: David S. Miller, Stephen Rothwell, netdev, linux-next, LKML

On Wed, 3 Dec 2008 20:49:39 +0100 (CET)
Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> On Wed, 3 Dec 2008, Stephen Rothwell wrote:
> > Status of my local build tests will be at
> > http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
> > advice about cross compilers/configs that work, we are always open to add
> > more builds.
> 
> Since a few days, m68k defconfig and allmodconfig give:
> 
> | drivers/net/lib8390.c:1014: undefined reference to `ei_start_xmit'
> | drivers/net/lib8390.c:1015: undefined reference to `ei_get_stats'
> | drivers/net/lib8390.c:1016: undefined reference to `ei_set_multicast_list'
> 
> (cfr. e.g. http://kisskb.ellerman.id.au/kisskb/buildresult/58795/)
> 
> git bisect run on "make ARCH=m68k mac_defconfig vmlinux" tells me:
> 
> 8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab is first bad commit
> commit 8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab
> Author: Stephen Hemminger <shemminger@vyatta.com>
> Date:   Tue Nov 25 18:12:49 2008 -0800
> 
>     8390: add common net_device ops
> 
>     Fix the defactoring of ei_XXX functions in 8390 and 8390p.
>     Remove the tx_timeout hack since no driver including the 3c503
>     overrides tx_timeout at this time, looks like a legacy thing.
> 
>     Also, since several drivers all have same hooks, provide common
>     netdev_ops.
> 
>     Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
>     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
	

Which driver is having problem

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: m68k 8390 breakage (was: Re: linux-next: Tree for December 3)
  2008-12-03 19:56   ` Stephen Hemminger
@ 2008-12-03 20:38     ` Geert Uytterhoeven
  2008-12-04  6:18       ` m68k 8390 breakage David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2008-12-03 20:38 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: David S. Miller, Stephen Rothwell, netdev, linux-next, LKML

On Wed, 3 Dec 2008, Stephen Hemminger wrote:
> On Wed, 3 Dec 2008 20:49:39 +0100 (CET)
> Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> 
> > On Wed, 3 Dec 2008, Stephen Rothwell wrote:
> > > Status of my local build tests will be at
> > > http://kisskb.ellerman.id.au/linux-next .  If maintainers want to give
> > > advice about cross compilers/configs that work, we are always open to add
> > > more builds.
> > 
> > Since a few days, m68k defconfig and allmodconfig give:
> > 
> > | drivers/net/lib8390.c:1014: undefined reference to `ei_start_xmit'
> > | drivers/net/lib8390.c:1015: undefined reference to `ei_get_stats'
> > | drivers/net/lib8390.c:1016: undefined reference to `ei_set_multicast_list'
> > 
> > (cfr. e.g. http://kisskb.ellerman.id.au/kisskb/buildresult/58795/)
> > 
> > git bisect run on "make ARCH=m68k mac_defconfig vmlinux" tells me:
> > 
> > 8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab is first bad commit
> > commit 8884c092e5e4f9a1b6e44f2e02a3eb5481af87ab
> > Author: Stephen Hemminger <shemminger@vyatta.com>
> > Date:   Tue Nov 25 18:12:49 2008 -0800
> > 
> >     8390: add common net_device ops
> > 
> >     Fix the defactoring of ei_XXX functions in 8390 and 8390p.
> >     Remove the tx_timeout hack since no driver including the 3c503
> >     overrides tx_timeout at this time, looks like a legacy thing.
> > 
> >     Also, since several drivers all have same hooks, provide common
> >     netdev_ops.
> > 
> >     Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> >     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> Which driver is having problem

Oops, the log above is from allmodconfig and indeed doesn't show it.

mac_defconfig (which has CONFIG_MAC8390=y) shows more info:

| drivers/net/lib8390.c:303: warning: '__ei_start_xmit' defined but not used
| drivers/net/lib8390.c:881: warning: '__ei_get_stats' defined but not used
| drivers/net/lib8390.c:990: warning: '__ei_set_multicast_list' defined but not
| ...
| drivers/built-in.o: In function `ethdev_setup':
| mac8390.c:(.text+0x29684): undefined reference to `ei_start_xmit'
| mac8390.c:(.text+0x2968c): undefined reference to `ei_get_stats'
| mac8390.c:(.text+0x29694): undefined reference to `ei_set_multicast_list'

defconfig log at http://kisskb.ellerman.id.au/kisskb/buildresult/58646/

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: m68k 8390 breakage
  2008-12-03 20:38     ` Geert Uytterhoeven
@ 2008-12-04  6:18       ` David Miller
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2008-12-04  6:18 UTC (permalink / raw)
  To: geert; +Cc: shemminger, sfr, netdev, linux-next, linux-kernel

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: Wed, 3 Dec 2008 21:38:41 +0100 (CET)

> Oops, the log above is from allmodconfig and indeed doesn't show it.
> 
> mac_defconfig (which has CONFIG_MAC8390=y) shows more info:
> 
> | drivers/net/lib8390.c:303: warning: '__ei_start_xmit' defined but not used
> | drivers/net/lib8390.c:881: warning: '__ei_get_stats' defined but not used
> | drivers/net/lib8390.c:990: warning: '__ei_set_multicast_list' defined but not
> | ...
> | drivers/built-in.o: In function `ethdev_setup':
> | mac8390.c:(.text+0x29684): undefined reference to `ei_start_xmit'
> | mac8390.c:(.text+0x2968c): undefined reference to `ei_get_stats'
> | mac8390.c:(.text+0x29694): undefined reference to `ei_set_multicast_list'
> 
> defconfig log at http://kisskb.ellerman.id.au/kisskb/buildresult/58646/

This mac8390 driver uses the lib8390.c/8390.[ch] mechanism a little
bit oddly, but of course we should not have broken it :-)

Stephen please take a look, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-04  6:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20081203183602.c06f8c39.sfr@canb.auug.org.au>
2008-12-03 19:49 ` m68k 8390 breakage (was: Re: linux-next: Tree for December 3) Geert Uytterhoeven
2008-12-03 19:56   ` Stephen Hemminger
2008-12-03 20:38     ` Geert Uytterhoeven
2008-12-04  6:18       ` m68k 8390 breakage David Miller

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).