linux-next: build failure after merge of the net tree
Subsystems (3)
Hi all,
After merging the net tree, today's linux-next build (arm multi_v7_defconfig) failed like this:
ERROR: "kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
Caused by commit
2399d6143f85 ("net: dsa: bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
I used the version of the net tree from next-20161020 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:
Quoted 7 lines
ERROR: "
kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!Caused by commit
2399d6143f85("net: dsa:bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")I used the version of the net tree from next-20161020 for today.
OK, seems like we need an ifdef CONFIG_KEXEC_CORE, let me fix that. Thanks Stephen!
Signature · 1 line
Florian
Quoted 8 lines · Florian Fainelli
Quoted 7 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:ERROR: "
kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!
Quoted 8 lines
Quoted 5 lines
Caused by commit
2399d6143f85("net: dsa:bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")I used the version of the net tree from next-20161020 for today.
OK, seems like we need an ifdef
CONFIG_KEXEC_CORE, let me fix that. Thanks Stephen!
Stephen, can you send me the .config file? I could not reproduce it with next-20161020 and doing a make multi_v7_defconfig:
fainelli@fainelli-desktop:[~/../linux]$ ls -l drivers/net/dsa/*.ko -rw-rw-r-- 1 fainelli fainelli 17K Oct 20 17:30 drivers/net/dsa/bcm_sf2.ko
Thanks
Signature · 1 line
Florian
Hi Florian,
Quoted 13 lines · On Thu, 20 Oct 2016 17:30:33 -0700 Florian Fainelli <[email protected]>…
Quoted 11 lines · Florian Fainelli
Quoted 10 lines · Stephen Rothwell
After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:ERROR: "
kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!Caused by commit
2399d6143f85("net: dsa:bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
I used the version of the net tree from next-20161020 for today.
OK, seems like we need an ifdef
CONFIG_KEXEC_CORE, let me fix that. Thanks Stephen!Stephen, can you send me the .config file? I could not reproduce it with next-20161020 and doing a make
multi_v7_defconfig:
This only started with the net tree as of today (HEAD a681574c99be). The problem is simply that kexec_in_progress is not exported to modules.
Sorry, getting the actual .config file is a pain at this point since my builds have moved on.
It probably had (the current .config has):
CONFIG_NET_DSA_BCM_SF2=mCONFIG_KEXEC_CORE=y
If CONFIG_KEXEC_CORE is not set, then kexec_in_progress is defined to false.
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 18 lines · Stephen Rothwell
Hi Florian,
Quoted 15 lines · On Thu, 20 Oct 2016 17:30:33 -0700 Florian Fainelli <[email protected]>…
Quoted 13 lines · Florian Fainelli
Quoted 11 lines · Stephen Rothwell
After merging the net tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:ERROR: "
kexec_in_progress" [drivers/net/dsa/bcm_sf2.ko] undefined!Caused by commit
2399d6143f85("net: dsa:bcm_sf2: Prevent GPHY shutdown for kexec'd kernels")I used the version of the net tree from next-20161020 for today.
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
OK, seems like we need an ifdef
CONFIG_KEXEC_CORE, let me fix that. Thanks Stephen!Stephen, can you send me the .config file? I could not reproduce it with next-20161020 and doing a make
multi_v7_defconfig:This only started with the net tree as of today (HEAD
a681574c99be). The problem is simply thatkexec_in_progressis not exported to modules.
Realized that right after sending you the email.
Quoted 10 lines
Sorry, getting the actual .config file is a pain at this point since my builds have moved on.
It probably had (the current .config has):
CONFIG_NET_DSA_BCM_SF2=mCONFIG_KEXEC_CORE=yIf
CONFIG_KEXEC_COREis not set, thenkexec_in_progressis defined to false.
Yes indeed, I have a fix ready, thanks!
Signature · 1 line
Florian