linux-next: build warning after merge of the net tree
Subsystems (9)
Hi all,
After merging the net tree, today's linux-next build (powerpc ppc64_defconfig) produced these warnings:
warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selects IBM_EMAC_ZMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selects IBM_EMAC_RGMII which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && 440GX && 460EX && 460SX && APM821xx) selects IBM_EMAC_TAH which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE && AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selects IBM_EMAC_EMAC4 which has unmet direct dependencies (NETDEVICES && ETHERNET && NET_VENDOR_IBM)
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:
Quoted 9 lines
warning: (
PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
I have looked into these and don't see why there is a problem. Any help would be appreciated.
Signature · 1 line
~Randy
Quoted 16 lines · Randy Dunlap
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:Quoted 9 lines
warning: (
PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
Quoted 2 lines
I have looked into these and don't see why there is a problem. Any help would be appreciated.
This is a side effect of 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET"). Previously, SCSI_FC_ATTRS would select SCSI_NETLINK which would select CONFIG_NET. The above warnings are just a tip of the iceberg, the more serious issue is that ppc64_defconfig is lacking networking support. This is the downside of savedefconfig, because the 'select' implications can disappear over time. Looks like more defconfigs are affected by this:
$ grep -rL CONFIG_NET= arch/*/configs/ | xargs grep -l CONFIG_SCSI_FC_ATTRS= arch/ia64/configs/generic_defconfig arch/ia64/configs/gensparse_defconfig arch/mips/configs/ip27_defconfig arch/mips/configs/malta_defconfig arch/mips/configs/rm200_defconfig arch/mips/configs/malta_kvm_guest_defconfig arch/mips/configs/gpr_defconfig arch/mips/configs/jazz_defconfig arch/mips/configs/mtx1_defconfig arch/mips/configs/malta_kvm_defconfig arch/mips/configs/loongson3_defconfig arch/parisc/configs/c8000_defconfig arch/powerpc/configs/pseries_defconfig arch/powerpc/configs/pseries_le_defconfig arch/powerpc/configs/ppc64e_defconfig arch/powerpc/configs/ppc64_defconfig arch/powerpc/configs/pmac32_defconfig arch/sh/configs/sh2007_defconfig arch/sh/configs/sdk7780_defconfig arch/sparc/configs/sparc64_defconfig
Michal
PATCH 1/5 mips: Set CONFIG_NET=y in defconfigs
Commit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.
--- arch/mips/configs/gpr_defconfig | 1 + arch/mips/configs/ip27_defconfig | 1 + arch/mips/configs/jazz_defconfig | 1 + arch/mips/configs/loongson3_defconfig | 1 + arch/mips/configs/malta_defconfig | 1 + arch/mips/configs/malta_kvm_defconfig | 1 + arch/mips/configs/malta_kvm_guest_defconfig | 1 + arch/mips/configs/mtx1_defconfig | 1 + arch/mips/configs/rm200_defconfig | 1 + 9 files changed, 9 insertions(+)
arch/mips/configs/gpr_defconfig +1 -0
@@ -19,6 +19,7 @@ CONFIG_MODULE_UNLOAD=y # CONFIG_BLK_DEV_BSG is not set CONFIG_PCI=y CONFIG_BINFMT_MISC=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y
arch/mips/configs/ip27_defconfig +1 -0
@@ -28,6 +28,7 @@ CONFIG_MIPS32_COMPAT=y CONFIG_MIPS32_O32=y CONFIG_MIPS32_N32=y CONFIG_PM=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/mips/configs/jazz_defconfig +1 -0
@@ -18,6 +18,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_BINFMT_MISC=m CONFIG_PM=y +CONFIG_NET=y CONFIG_PACKET=m CONFIG_UNIX=y CONFIG_NET_KEY=m
arch/mips/configs/loongson3_defconfig +1 -0
@@ -59,6 +59,7 @@ CONFIG_MIPS32_COMPAT=y CONFIG_MIPS32_O32=y CONFIG_MIPS32_N32=y CONFIG_PM_RUNTIME=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=y
arch/mips/configs/malta_defconfig +1 -0
@@ -19,6 +19,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_PCI=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/mips/configs/malta_kvm_defconfig +1 -0
@@ -20,6 +20,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_PCI=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/mips/configs/malta_kvm_guest_defconfig +1 -0
@@ -19,6 +19,7 @@ CONFIG_MODULE_UNLOAD=y CONFIG_MODVERSIONS=y CONFIG_MODULE_SRCVERSION_ALL=y CONFIG_PCI=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/mips/configs/mtx1_defconfig +1 -0
@@ -27,6 +27,7 @@ CONFIG_PD6729=m CONFIG_I82092=m CONFIG_BINFMT_MISC=m CONFIG_PM=y +CONFIG_NET=y CONFIG_PACKET=m CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/mips/configs/rm200_defconfig +1 -0
@@ -20,6 +20,7 @@ CONFIG_MODVERSIONS=y CONFIG_PCI=y CONFIG_BINFMT_MISC=m CONFIG_PM=y +CONFIG_NET=y CONFIG_PACKET=m CONFIG_UNIX=y CONFIG_NET_KEY=m
Signature · 1 line
1.8.4.5
PATCH 2/5 parisc: Set CONFIG_NET=y in defconfigs
Commit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.
--- arch/parisc/configs/c8000_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/parisc/configs/c8000_defconfig +1 -0
@@ -33,6 +33,7 @@ CONFIG_PCI_LBA=y # CONFIG_PDC_CHASSIS_WARN is not set # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set CONFIG_BINFMT_MISC=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
Signature · 1 line
1.8.4.5
PATCH 3/5 powerpc: Set CONFIG_NET=y in defconfigs
In reply to Michal MarekCommit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.
--- arch/powerpc/configs/pmac32_defconfig | 1 + arch/powerpc/configs/ppc64_defconfig | 1 + arch/powerpc/configs/ppc64e_defconfig | 1 + arch/powerpc/configs/pseries_defconfig | 1 + arch/powerpc/configs/pseries_le_defconfig | 1 + 5 files changed, 5 insertions(+)
arch/powerpc/configs/pmac32_defconfig +1 -0
@@ -31,6 +31,7 @@ CONFIG_HIBERNATION=y CONFIG_APM_EMULATION=y CONFIG_PCCARD=m CONFIG_YENTA=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=y
arch/powerpc/configs/ppc64_defconfig +1 -0
@@ -58,6 +58,7 @@ CONFIG_ELECTRA_CF=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_RPA=m CONFIG_HOTPLUG_PCI_RPA_DLPAR=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/powerpc/configs/ppc64e_defconfig +1 -0
@@ -33,6 +33,7 @@ CONFIG_SPARSEMEM_MANUAL=y CONFIG_PCI_MSI=y CONFIG_PCCARD=y CONFIG_HOTPLUG_PCI=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/powerpc/configs/pseries_defconfig +1 -0
@@ -53,6 +53,7 @@ CONFIG_SCHED_SMT=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_RPA=m CONFIG_HOTPLUG_PCI_RPA_DLPAR=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
arch/powerpc/configs/pseries_le_defconfig +1 -0
@@ -55,6 +55,7 @@ CONFIG_SCHED_SMT=y CONFIG_HOTPLUG_PCI=y CONFIG_HOTPLUG_PCI_RPA=m CONFIG_HOTPLUG_PCI_RPA_DLPAR=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
Signature · 6 lines
1.8.4.5 _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
PATCH 4/5 sh: Set CONFIG_NET=y in defconfigs
In reply to Michal MarekCommit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.
--- arch/sh/configs/sdk7780_defconfig | 1 + arch/sh/configs/sh2007_defconfig | 1 + 2 files changed, 2 insertions(+)
arch/sh/configs/sdk7780_defconfig +1 -0
@@ -30,6 +30,7 @@ CONFIG_PCI_DEBUG=y CONFIG_PCCARD=y CONFIG_YENTA=y CONFIG_HOTPLUG_PCI=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_INET=y
arch/sh/configs/sh2007_defconfig +1 -0
@@ -25,6 +25,7 @@ CONFIG_CMDLINE_OVERWRITE=y CONFIG_CMDLINE="console=ttySC1,115200 ip=dhcp root=/dev/nfs rw nfsroot=/nfs/rootfs,rsize=1024,wsize=1024 earlyprintk=sh-sci.1" CONFIG_PCCARD=y CONFIG_BINFMT_MISC=y +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=y
Signature · 1 line
1.8.4.5
PATCH 5/5 sparc: Set CONFIG_NET=y in defconfigs
In reply to Michal MarekCommit 5d6be6a5 ("scsi_netlink : Make SCSI_NETLINK dependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.
--- arch/sparc/configs/sparc64_defconfig | 1 + 1 file changed, 1 insertion(+)
arch/sparc/configs/sparc64_defconfig +1 -0
@@ -29,6 +29,7 @@ CONFIG_PCI=y CONFIG_PCI_MSI=y CONFIG_SUN_OPENPROMFS=m CONFIG_BINFMT_MISC=m +CONFIG_NET=y CONFIG_PACKET=y CONFIG_UNIX=y CONFIG_XFRM_USER=m
Signature · 1 line
1.8.4.5
David Miller
maintainerRe: [PATCH 1/5] mips: Set CONFIG_NET=y in defconfigs
In reply to Michal MarekFrom: Michal Marek <[email protected]>
Date: Tue, 23 Sep 2014 17:44:00 +0200
Quoted 8 lines
Commit
5d6be6a5("scsi_netlink: MakeSCSI_NETLINKdependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.Reported-by Stephen Rothwell <[email protected]>Signed-off-by Michal Marek <[email protected]>
On the contrary, since NET was being selected for them indirectly previously, weren't they depending instead upon NET being enabled?
Likewise for SCSI_NETLINK, SCSI_FC_ATTRS, and whatever was triggering the select upon them?
I'll remember this as yet another why 'select' is to be avoided at just about all costs.
Re: [PATCH 1/5] mips: Set CONFIG_NET=y in defconfigs
Quoted 12 lines · David Miller
From: Michal Marek <[email protected]>
Date: Tue, 23 Sep 2014 17:44:00 +0200Quoted 8 lines
Commit
5d6be6a5("scsi_netlink: MakeSCSI_NETLINKdependent on NET instead of selecting NET") removed what happened to be the only instance of 'select NET'. Defconfigs that were relying on the select now lack networking support.Reported-by Stephen Rothwell <[email protected]>Signed-off-by Michal Marek <[email protected]>
Quoted 5 lines
On the contrary, since NET was being selected for them indirectly previously, weren't they depending instead upon NET being enabled?
Likewise for
SCSI_NETLINK,SCSI_FC_ATTRS, and whatever was triggering the select upon them?
They have SCSI_FC_ATTRS=y/m and were relying on the select statements turning this into SCSI_NETLINK=y and CONFIG_NET=y.
Michal
Hi all,
Quoted 21 lines · On Tue, 23 Sep 2014 16:59:59 +0200 Michal Marek <[email protected]> wrote:
Quoted 16 lines · Randy Dunlap
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:Quoted 9 lines
warning: (
PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)Quoted 2 lines
I have looked into these and don't see why there is a problem. Any help would be appreciated.
Quoted 7 lines
This is a side effect of
5d6be6a5("scsi_netlink: MakeSCSI_NETLINKdependent on NET instead of selecting NET"). Previously,SCSI_FC_ATTRSwould selectSCSI_NETLINKwhich would selectCONFIG_NET. The above warnings are just a tip of the iceberg, the more serious issue is thatppc64_defconfigis lacking networking support. This is the downside of savedefconfig, because the 'select' implications can disappear over time. Looks like more defconfigs are affected by this:
And since 5d6be6a5 is now in Linus' tree, we need Michal's 5 patches (at least) to be sent to Linus ASAP ...
So it appears that using select can get us into the same sort of trouble that not including all needed header files can. Unfortunately, savedconfig makes that much worse :-(. So anyone changing a "select X" to "depends on X" needs to regenerate a lot of defconfigs to make sure that there are no unforeseen consequences.
Dave, this is a bit slack of you since I reported that problem a week ago in the net tree and yet it has not been completely fixed before you asked Linus to pull your tree :-(
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
Hi all,
Quoted 31 lines · On Wed, 24 Sep 2014 07:23:06 +1000 Stephen Rothwell <[email protected]>…
Quoted 21 lines · On Tue, 23 Sep 2014 16:59:59 +0200 Michal Marek <[email protected]> wrote:
Quoted 16 lines · Randy Dunlap
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the net tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:Quoted 9 lines
warning: (
PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& CANYONLANDS && GLACIER && 440EP && 440EPX && 440GRX && 440GP && 440GX && 460SX && 405GP) selectsIBM_EMAC_ZMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& BLUESTONE && CANYONLANDS && GLACIER && EIGER && 440EPX && 440GRX && 440GX && 460SX && 405EX) selectsIBM_EMAC_RGMIIwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& 440GX && 460EX && 460SX && APM821xx) selectsIBM_EMAC_TAHwhich has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)
warning: (PPC_CELL_NATIVE&& AKEBONO && 440EPX && 440GRX && 440GX && 440SPe && 460EX && 460SX && APM821xx && 405EX) selectsIBM_EMAC_EMAC4which has unmet direct dependencies (NETDEVICES && ETHERNET &&NET_VENDOR_IBM)Quoted 2 lines
I have looked into these and don't see why there is a problem. Any help would be appreciated.
Quoted 7 lines
This is a side effect of
5d6be6a5("scsi_netlink: MakeSCSI_NETLINKdependent on NET instead of selecting NET"). Previously,SCSI_FC_ATTRSwould selectSCSI_NETLINKwhich would selectCONFIG_NET. The above warnings are just a tip of the iceberg, the more serious issue is thatppc64_defconfigis lacking networking support. This is the downside of savedefconfig, because the 'select' implications can disappear over time. Looks like more defconfigs are affected by this:
Quoted 2 lines
And since
5d6be6a5is now in Linus' tree, we need Michal's 5 patches (at least) to be sent to Linus ASAP ...
I have put those 5 patches in my fixes tree for today ...
Signature · 2 lines
Cheers, Stephen Rothwell [email protected]
David Miller
maintainerFrom: Stephen Rothwell <[email protected]>
Date: Wed, 24 Sep 2014 07:23:06 +1000
Quoted 3 lines
Dave, this is a bit slack of you since I reported that problem a week ago in the net tree and yet it has not been completely fixed before you asked Linus to pull your tree :-(
There were build failures I saw due to some misbalanced select/depends issues which I fixed in:
commit df568d8e5250bf24e38c69ad4374baf0f8d279ba
Author: David S. Miller <[email protected]> Date: Mon Sep 22 13:14:33 2014 -0400
scsi: Use 'depends' with LIBFC instead of 'select'.
which went in yesterday. I thought that would resolve all of your problems.
Believe me, it is a tragic surprise that several defconfigs absolutely depended upon this broken usage of select in the scsi layer, to of all things make CONFIG_NET=y implicit.
I'll do my best to sort this out, but I hope that this short term pain is worth it in the end.
Thanks for your understanding.