Bug 828776 - FTBFS: ERROR: "clk_enable" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
FTBFS: ERROR: "clk_enable" [drivers/net/ethernet/marvell/mv643xx_eth.ko] unde...
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
powerpc Linux
medium Severity high
: ---
: ---
Assigned To: Kernel Maintainer List
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2012-06-05 07:04 EDT by Karsten Hopp
Modified: 2012-08-10 11:17 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-08-10 11:17:03 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2012-06-05 07:04:35 EDT
Description of problem:
kernel-3.5.0-0.rc1.git0.1.fc18 fails to build on PPC:

ERROR: "clk_enable" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
ERROR: "clk_disable" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
ERROR: "clk_put" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
ERROR: "clk_get_rate" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
ERROR: "clk_get" [drivers/net/ethernet/marvell/mv643xx_eth.ko] undefined!
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Steps to Reproduce:
1. pp-koji build --scratch f18 kernel-3.5.0-0.rc1.git0.1.fc18.src.rpm

Actual results:

Additional info:
Last kernel that built on PPC was kernel-3.5.0-0.rc0.git7.1.fc18
Comment 1 Dave Jones 2012-06-05 09:52:41 EDT
That's due to the arm clkdev stuff the Linaro guys merged upstream.
Someone is going to have to fix up ppc/mips/whatever to use all this new stuff I guess. (Or somehow make it no-op on !arm)
Comment 2 Josh Boyer 2012-06-05 14:52:55 EDT
Fixing it.  Grumble.
Comment 3 Josh Boyer 2012-06-05 15:35:43 EDT
Actually, disabling it.  Either the Linaro change needs to be reverted upstream, or someone needs to implement the clkdev API for ppc32 and I'm sure as, uh, poo not going to do that myself.
Comment 4 Josh Boyer 2012-06-05 15:48:26 EDT
Fixed in git.  Will be in rawhide whenever the next build is done.

Note You need to log in before you can comment on or make changes to this bug.