Skip to contentSkip to conversation

Build error

DISCUSSION Benjamin Herrenschmidt 5 participants 8 messages Mar 30, 2009 – Mar 31, 2009 Network drivers

lore
Share & tools
lore
#0 lore raw

My next branch (after merging from you):

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Cheers,
Ben.

#1 lore raw
Quoted 8 lines · Benjamin Herrenschmidt

My next branch (after merging from you):

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Cheers,
Ben.

I believe this is fixed in net-next (and possible linus has already pulled that in.)

- k

#2 lore raw
Quoted 8 lines · Kumar Gala
Quoted 5 lines · Benjamin Herrenschmidt

My next branch (after merging from you):

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

Quoted 7 lines
Quoted 4 lines

I'll ask Linus to pull anyway though.

Cheers,
Ben.

I believe this is fixed in net-next (and possible linus has already pulled that in.)

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Signature · 3 lines
Anton Vorontsov
email: [email protected]
irc://irc.freenode.net/bd2
#3 lore raw
Quoted 11 lines · Anton Vorontsov
Quoted 10 lines · Kumar Gala
Quoted 7 lines · Benjamin Herrenschmidt

My next branch (after merging from you):

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Cheers,
Ben.

I believe this is fixed in net-next (and possible linus has already pulled that in.)

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Ah .. .weird :-)

Oh well, I'll see if it still happens after I pull back from Linus (who merged all our stuff) and if it does, I'll send you my .config.

Cheers,
Ben.

#4 lore raw
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Cheers,
Ben.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

I believe this is fixed in net-next (and possible linus has already pulled that in.)

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Ah .. .weird :-)

I had this happen a few days ago already, on Linus' tree. I also told you about it (on IRC), but you were too busy or something :-)

A simple ppc6xx_defconfig is enough to reproduce, fwiw.

Here's the patch I used, sorry if my mailer wraps it, it's a one-liner, you can handle it I'm sure :-)

Segher

Author: Segher Boessenkool <[email protected]>
Date:   Fri Mar 27 21:10:59 2009 +0100

powerpc: EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name)

drivers/net/fsl_pq_mdio.c +1 -0
index b3079a5..a108332 100644
@@ -204,6 +204,7 @@ void fsl_pq_mdio_bus_name(char *name, struct device_node *np
        snprintf(name, MII_BUS_ID_SIZE, "%s@%llx", np->name,
                (unsigned long long)taddr);
 }
+EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name);
 
 /* Scan the bus in reverse, looking for an empty spot */
 static int fsl_pq_mdio_find_free(struct mii_bus *new_bus)
Acked-by
#5 lore raw
Quoted 14 lines · Segher Boessenkool
Quoted 10 lines
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I believe this is fixed in net-next (and possible linus has already pulled that in.)

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Ah .. .weird :-)

I had this happen a few days ago already, on Linus' tree. =A0I also told you about it (on IRC), but you were too busy or something :-)

Quoted 6 lines

A simple ppc6xx_defconfig is enough to reproduce, fwiw.

Here's the patch I used, sorry if my mailer wraps it, it's a one-liner, you can handle it I'm sure :-)

Heh, you beat me to it Segher.

g.

drivers/net/fsl_pq_mdio.c void fsl_pq_mdio_bus_name(char *name, struct device_n=

Quoted 12 lines

Author: Segher Boessenkool <[email protected]>
Date: =A0 Fri Mar 27 21:10:59 2009 +0100

=A0 =A0powerpc: EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name)

drivers/net/fsl_pq_mdio.c +0 -0
index b3079a5..a108332 100644
@@ -204,6 +204,7 @@ void fsl_pq_mdio_bus_name(char *name, struct device_n=

ode

Quoted 9 lines
drivers/net/fsl_pq_mdio.c +1 -0
 *np
 =A0 =A0 =A0 =A0snprintf(name, MII_BUS_ID_SIZE, "%s@%llx", np->name,
 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(unsigned long long)taddr);
 =A0}
+EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name);
 

=A0/* Scan the bus in reverse, looking for an empty spot */ =A0static int fsl_pq_mdio_find_free(struct mii_bus *new_bus)

Quoted 5 lines

_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.

#6 lore raw
In reply to Segher Boessenkool
Quoted 16 lines · Segher Boessenkool
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Cheers,
Ben.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

I believe this is fixed in net-next (and possible linus has already pulled that in.)

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Ah .. .weird :-)

Quoted 7 lines

I had this happen a few days ago already, on Linus' tree. I also told you about it (on IRC), but you were too busy or something :-)

A simple ppc6xx_defconfig is enough to reproduce, fwiw.

Here's the patch I used, sorry if my mailer wraps it, it's a one-liner, you can handle it I'm sure :-)

Ah, the modular build. Yeah, I didn't try it, but should have... :-(

Thanks!

Quoted 25 lines

Segher

Author: Segher Boessenkool <[email protected]>
Date:   Fri Mar 27 21:10:59 2009 +0100

powerpc: EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name)

drivers/net/fsl_pq_mdio.c +0 -0
index b3079a5..a108332 100644
@@ -204,6 +204,7 @@ void fsl_pq_mdio_bus_name(char *name, struct  

device_node *np

        snprintf(name, MII_BUS_ID_SIZE, "%s@%llx", np->name,
                (unsigned long long)taddr);

}
+EXPORT_SYMBOL_GPL(fsl_pq_mdio_bus_name);

/* Scan the bus in reverse, looking for an empty spot */ static int fsl_pq_mdio_find_free(struct mii_bus *new_bus)

Signature · 3 lines
Anton Vorontsov
email: [email protected]
irc://irc.freenode.net/bd2
#7 lore raw
In reply to Benjamin Herrenschmidt
Quoted 18 lines · Benjamin Herrenschmidt
Quoted 17 lines · Anton Vorontsov
Quoted 15 lines · Kumar Gala
Quoted 9 lines · Benjamin Herrenschmidt

My next branch (after merging from you):

ERROR: "fsl_pq_mdio_bus_name" [drivers/net/gianfar_driver.ko] undefined!

I'll ask Linus to pull anyway though.

Cheers,
Ben.

I believe this is fixed in net-next (and possible linus has already pulled that in.)

Quoted 7 lines
Quoted 2 lines

FWIW, I can't reproduce the issue neither in benh/powerpc.git next' branch nor in merge' branch...

Ah .. .weird :-)

Oh well, I'll see if it still happens after I pull back from Linus (who merged all our stuff) and if it does, I'll send you my .config.

It is triggered when the driver is built as a module. I'm going to post the fix right now.

g.

Signature · 2 lines
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.