On Mon, Dec 13, 2010 at 11:50 AM, Bringfried Stecklum <stecklum@xxxxxxxxxxxxxxxxx> wrote: > Luis R. Rodriguez wrote: >> >> On Sun, Dec 12, 2010 at 8:11 AM, Bringfried Stecklum >> <stecklum@xxxxxxxxxxxxxxxxx> wrote: >>> >>> Dear Luis, >>> >>> I tried to install compat-wireless-2010-12-07 a few days ago but failed. >>> The >>> reason is that iwlcore does not get build and installed in the update >>> modules folder which, of course, leads unresolved symbols >>> >>> stecklum@extragalactix:~/System/src/compat-wireless-2.6.37-rc5-2-s$ sudo >>> modprobe -v iwlagn >>> insmod /lib/modules/2.6.36-1-generic/updates/compat/compat.ko >>> insmod /lib/modules/2.6.36-1-generic/updates/net/wireless/cfg80211.ko >>> insmod /lib/modules/2.6.36-1-generic/updates/net/mac80211/mac80211.ko >>> insmod >>> >>> /lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko >>> WARNING: Error inserting iwlcore >>> >>> (/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko): >>> Invalid argument >>> insmod >>> >>> /lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko >>> FATAL: Error inserting iwlagn >>> >>> (/lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko): >>> Unknown symbol in module, or unknown parameter (see >>> Âdmesg) >>> >>> It seems I missed a change. In the past (e.g. compat-wireless-2010-05-22 >>> Âand kernel 2.6.31), iwlcore.ko was build and installed >>> >>> stecklum@extragalactix:~/System$ locate iwlcore.ko >>> >>> /lib/modules/2.6.31-22-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko >>> >>> /lib/modules/2.6.31-22-generic/updates/drivers/net/wireless/iwlwifi/iwlcore.ko >>> >>> /lib/modules/2.6.36-1-generic/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko >> >> Instead of CONFIG_IWLWIFI we use CONFIG_COMPAT_IWLWIFI, and we changed >> that the Makefile and config.mk >> >> mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep >> _IWLWIFI drivers/net/wireless/iwlwifi/Makefile >> obj-$(CONFIG_COMPAT_IWLWIFI) Â Â+= iwlcore.o >> iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o >> iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o >> iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o >> iwl3945-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-3945-debugfs.o >> >> mcgrof@tux ~/devel/compat-wireless-2.6 (git::linux-2.6.36.y)$ grep >> CONFIG_COMPAT_IWLWIFI config.mk >> CONFIG_COMPAT_IWLWIFI=m >> >> Can grep like this: >> >> mcgrof@tux ~/tmp/compat-wireless-2.6.37-rc5-4-sn $ grep >> CONFIG_COMPAT_IWLWIFI include/linux/compat_autoconf.h >> #ifndef CONFIG_COMPAT_IWLWIFI >> #define CONFIG_COMPAT_IWLWIFI 1 >> #endif /* CONFIG_COMPAT_IWLWIFI * >> >> ÂLuis >> > > This is all fine and iwlcore.o gets build but at MODPOST stage 2 > iwlcore.ko does _not_ get build, and thus still lacks in update. Hmm, odd. So you usee iwlcore.ko built? Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html