David Wolfskill
2006-Jul-16 15:36 UTC
Looks like new 802.11 devices need to be pruned from PAE configs
Looks as if some recent wireless changes are in some conflict with PAE. Trying to build a kernel but slightly tweaked (added SMP & IPFIREWALL) from PAE, I see (with sources updated as of Sun Jul 16 03:37:02 PDT 2006): ...>>> stage 4.4: building everything... touch hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh PAE-GENERIC cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/sr c/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADE RS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings - mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror vers.c linking kernel.debug sample.o(.text+0x15cf): In function `ath_rate_newstate': /usr/src/sys/dev/ath/ath_rate/sample/sample.c:765: undefined reference to `ieee80211_iterate_nodes' if_ath.o(.text+0x4f5): In function `ath_attach': /usr/src/sys/dev/ath/if_ath.c:429: undefined reference to `ieee80211_wme_acnames' if_ath.o(.text+0x9b3):/usr/src/sys/dev/ath/if_ath.c:593: undefined reference to `ieee80211_ifattach' if_ath.o(.text+0xa5c):/usr/src/sys/dev/ath/if_ath.c:611: undefined reference to `ieee80211_media_status' if_ath.o(.text+0xa67):/usr/src/sys/dev/ath/if_ath.c:611: undefined reference to `ieee80211_media_init' if_ath.o(.text+0xa87):/usr/src/sys/dev/ath/if_ath.c:621: undefined reference to `ieee80211_announce' if_ath.o(.text+0xb02): In function `ath_detach': /usr/src/sys/dev/ath/if_ath.c:658: undefined reference to `ieee80211_ifdetach' if_ath.o(.text+0xeab): In function `ath_bmiss_proc': /usr/src/sys/dev/ath/if_ath.c:871: undefined reference to `ieee80211_beacon_miss' ... /usr/src/sys/net80211/ieee80211_crypto_wep.c:444: undefined reference to `ieee80211_note' ieee80211_crypto_wep.o(.text+0x889): In function `wep_modevent': /usr/src/sys/net80211/ieee80211_crypto_wep.c:487: undefined reference to `ieee80211_crypto_register' ieee80211_crypto_wep.o(.text+0x8bf):/usr/src/sys/net80211/ieee80211_crypto_wep.c:497: undefined reference to `ieee80211_crypto_unregister' *** Error code 1 Stop in /usr/obj/usr/src/sys/SMP_PAE. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I've resolved it locally by the "big hammer" approach of adding the following to my kernel config: nodevice wlan # 802.11 support nodevice wlan_wep # 802.11 WEP support nodevice wlan_ccmp # 802.11 CCMP support nodevice wlan_tkip # 802.11 TKIP support nodevice an # Aironet 4500/4800 802.11 wireless NICs. nodevice ath # Atheros pci/cardbus NIC's nodevice ath_hal # Atheros HAL (Hardware Access Layer) nodevice ath_rate_sample # SampleRate tx rate control for ath nodevice awi # BayStack 660 and others nodevice ral # Ralink Technology RT2500 wireless NICs. nodevice wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. But perhaps the PAE kernel config, which currently has: nodevice wlan nodevice an nodevice awi nodevice ral nodevice wi could use some of what I had added? At a guess: nodevice wlan_wep nodevice wlan_ccmp nodevice wlan_tkip nodevice ath nodevice ath_hal nodevice ath_rate_sample Peace, david -- David H. Wolfskill david@catwhisker.org Doing business with spammers only encourages them. Please boycott spammers. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060716/a287f18d/attachment.pgp