Date: Sun, 16 Jul 2006 08:36:39 -0700 From: David Wolfskill <david@catwhisker.org> To: stable@freebsd.org Subject: Looks like new 802.11 devices need to be pruned from PAE configs Message-ID: <20060716153639.GU41150@bunrab.catwhisker.org>
next in thread | raw e-mail | index | archive | help
--WTbgq2twYBxfsYA6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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): =2E.. >>> stage 4.4: building everything =2E.. touch hack.c cc -shared -nostdlib hack.c -o hack.So rm -f hack.c MAKE=3D/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-prototype= s -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-ext ensions -std=3Dc99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/cont= rib/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=3D8000 --param inline-u= nit-growth=3D100 --param large-function-growth=3D1000 -mno-align-long-stri= ngs - mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffre= estanding -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_ac= names' if_ath.o(.text+0x9b3):/usr/src/sys/dev/ath/if_ath.c:593: undefined referenc= e to `ieee80211_ifattach' if_ath.o(.text+0xa5c):/usr/src/sys/dev/ath/if_ath.c:611: undefined referenc= e to `ieee80211_media_status' if_ath.o(.text+0xa67):/usr/src/sys/dev/ath/if_ath.c:611: undefined referenc= e to `ieee80211_media_init' if_ath.o(.text+0xa87):/usr/src/sys/dev/ath/if_ath.c:621: undefined referenc= e 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_ifdeta= ch' 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' =2E.. /usr/src/sys/net80211/ieee80211_crypto_wep.c:444: undefined reference to `i= eee80211_note' ieee80211_crypto_wep.o(.text+0x889): In function `wep_modevent': /usr/src/sys/net80211/ieee80211_crypto_wep.c:487: undefined reference to `i= eee80211_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 N= ICs. 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 --=20 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. --WTbgq2twYBxfsYA6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkS6XQUACgkQmprOCmdXAD0KJwCfWUMb2ZqoXlHeaDTHAv7zDWGC Yd0An2vmEa96ywA+/Ic9EtIHjcB+OL6m =kejh -----END PGP SIGNATURE----- --WTbgq2twYBxfsYA6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060716153639.GU41150>