Compilation error with latest wireless-dev
Compiling wireless-dev (commit d2f859f56c9f00f093f943cf810a863a5aa2e10f) results in the following error when building modules:
WARNING: "tcf_destroy_chain" [net/mac80211/mac80211.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
In my configuration, net/sched/sch_api.c where tcf_destroy_chain is defined is not compiled. The network-related configuration parameters are:
#
# Networking
#CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=mCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not setCONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not setCONFIG_IP_FIB_HASH=yCONFIG_IP_MULTIPLE_TABLES=yCONFIG_IP_ROUTE_MULTIPATH=y
# CONFIG_IP_ROUTE_MULTIPATH_CACHED is not setCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=yCONFIG_IP_PNP_BOOTP=yCONFIG_IP_PNP_RARP=yCONFIG_NET_IPIP=mCONFIG_NET_IPGRE=mCONFIG_NET_IPGRE_BROADCAST=yCONFIG_IP_MROUTE=yCONFIG_IP_PIMSM_V1=yCONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=yCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_XFRM_MODE_TRANSPORT=mCONFIG_INET_XFRM_MODE_TUNNEL=mCONFIG_INET_XFRM_MODE_BEET=yCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
#
# Wireless
#CONFIG_CFG80211=mCONFIG_NL80211=yCONFIG_WIRELESS_EXT=yCONFIG_MAC80211=mCONFIG_MAC80211_DEBUGFS=yCONFIG_MAC80211_DEBUG=y
# CONFIG_MAC80211_VERBOSE_DEBUG is not set
# CONFIG_MAC80211_LOWTX_FRAME_DUMP is not set
# CONFIG_TKIP_DEBUG is not set
# CONFIG_MAC80211_DEBUG_COUNTERS is not set
# CONFIG_HOSTAPD_WPA_TESTING is not set
# CONFIG_MAC80211_IBSS_DEBUG is not set
# CONFIG_MAC80211_VERBOSE_PS_DEBUG is not set
# CONFIG_IEEE80211 is not set
Larry
Quoting Larry Finger <[email protected]>:
Quoted 11 lines
Compiling wireless-dev (commit
d2f859f56c9f00f093f943cf810a863a5aa2e10f) results in the following
error when building modules:WARNING: "
tcf_destroy_chain" [net/mac80211/mac80211.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2In my configuration,
net/sched/sch_api.cwheretcf_destroy_chainis defined is not compiled. The
network-related configuration parameters are:
Same problem here. CONFIG_NET_SCH_FIFO was enabled, apparently by net/mac80211/Kconfig, but CONFIG_NET_SCHED. Selecting the later (but none of the schedulers) fixed the compile error.
However, the is something weird with the new kernel. DNS has stopped working. Under the new kernel, DNS requests get "port unreachable" ICMP responses seen in Wireshark (sorry, I would have to reboot to get the exact message). The DNS server is in a different subnet. I can ping it and even telnet (over TCP) to the DNS port 53.
Under the old kernel, the DNS requests are answered properly.
There is no way netdev folks can be unaware of it, so it's just a word of caution, not a bugreport.
--
Regards,
Pavel Roskin
I have had the same experience. pretty frustrating to see the dns queries being answered. But all the kernel does is send an "ICMP port unreachable" back to the dns server.
The only thing I can think of that could cause this is "netpoll" trapping the rx
But I only say that because there were some recent changes to that code, and the name sounds suspicious ;)
The compile error went away when I selected NET_SCHED which was the "QoS/and fair queing" entry in menuconfig.
cheers Ian.
Quoted 37 lines · Pavel Roskin
Quoting Larry Finger <[email protected]>:
Quoted 11 lines
Compiling wireless-dev (commit
d2f859f56c9f00f093f943cf810a863a5aa2e10f) results in the following
error when building modules:WARNING: "
tcf_destroy_chain" [net/mac80211/mac80211.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2In my configuration,
net/sched/sch_api.cwheretcf_destroy_chainis defined is not compiled. The
network-related configuration parameters are:Same problem here.
CONFIG_NET_SCH_FIFOwas enabled, apparently bynet/mac80211/Kconfig, butCONFIG_NET_SCHED. Selecting the later (but none of the schedulers) fixed the compile error.However, the is something weird with the new kernel. DNS has stopped working. Under the new kernel, DNS requests get "port unreachable" ICMP responses seen in Wireshark (sorry, I would have to reboot to get the exact message). The DNS
server is in a different subnet. I can ping it and even telnet (over TCP) to
the DNS port 53.Under the old kernel, the DNS requests are answered properly.
There is no way netdev folks can be unaware of it, so it's just a word of caution, not a bugreport.
--
Regards,
Pavel Roskin
-
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 10 lines · Pavel Roskin
Quoting Larry Finger <[email protected]>:
Quoted 8 lines
Compiling wireless-dev (commit
d2f859f56c9f00f093f943cf810a863a5aa2e10f) results in the following
error when building modules:WARNING: "
tcf_destroy_chain" [net/mac80211/mac80211.ko] undefined! make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
Quoted 7 lines
Quoted 3 lines
In my configuration,
net/sched/sch_api.cwheretcf_destroy_chainis defined is not compiled. The
network-related configuration parameters are:Same problem here.
CONFIG_NET_SCH_FIFOwas enabled, apparently bynet/mac80211/Kconfig, butCONFIG_NET_SCHED. Selecting the later (but none of the schedulers) fixed the compile error.
So, should net/mac80211/Kconfig select NET_SCHED instead? Or should NET_SCH_FIFO select it?
If the latter, will that cause any circular problems given that NET_SCHED already selects NET_SCH_FIFO?
Any Kconfig experts have an opinion?
John
Signature · 2 lines
John W. Linville [email protected]