After applying the patch make comes up with: # make ./scripts/gen-compat-autoconf.sh /root/compat-wireless-3.4-rc1-2/.config /root/compat-wireless-3.4-rc1-2/config.mk > include/linux/compat_autoconf.h make -C /lib/modules/2.6.32.12-0.7.1/build M=/root/compat-wireless-3.4-rc1-2 modules make[1]: Entering directory `/mnt/src/redhat/BUILD/kernel-2.6.32.120.7.1' CC [M] /root/compat-wireless-3.4-rc1-2/compat/main.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.33.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.35.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.36.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/kfifo.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.37.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.38.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-2.6.39.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/kstrtox.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-3.0.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-3.2.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-3.3.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat-3.5.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/cordic.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/crc8.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat_atomic.o LD [M] /root/compat-wireless-3.4-rc1-2/compat/compat.o CC [M] /root/compat-wireless-3.4-rc1-2/compat/compat_firmware_class.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-rs.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-mac80211.o /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-mac80211.c: In function »iwlagn_mac_resume«: /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-mac80211.c:440: Warnung: Variable »img« wird nicht verwendet CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-ucode.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-tx.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-debug.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-lib.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-calib.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-io.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-tt.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-sta.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-rx.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-core.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-eeprom.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-power.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-scan.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-led.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-agn-rxon.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-5000.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-6000.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-1000.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-2000.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-pci.o CC [M] /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-drv.o /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-drv.c: In function »iwl_request_firmware«: /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-drv.c:183: Fehler: »struct iwl_drv« hat kein Element namens »dev« /root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-drv.c:183: Fehler: »struct iwl_drv« hat kein Element namens »dev« make[4]: *** [/root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi/iwl-drv.o] Fehler 1 make[3]: *** [/root/compat-wireless-3.4-rc1-2/drivers/net/wireless/iwlwifi] Fehler 2 make[2]: *** [/root/compat-wireless-3.4-rc1-2/drivers/net/wireless] Fehler 2 make[1]: *** [_module_/root/compat-wireless-3.4-rc1-2] Fehler 2 make[1]: Leaving directory `/mnt/src/redhat/BUILD/kernel-2.6.32.120.7.1' make: *** [modules] Fehler 2 the geman text means: struct iwl_drv has no element with name dev Am 19.04.2012 um 18:19 schrieb Emmanuel Grumbach: > On Thu, Apr 19, 2012 at 18:08, Dominik Feser > <dominik.feser@xxxxxxxxxxxxxx> wrote: >> May it be that the fact that Centos 5 doesnt have hotplug causes the issue? >> > > Don't think so. > Can it be a problem in the backport of request_firwamre_no_wait ? > Did I see somewhere that you run 2.6.38 ? > Can you check again after having applied the patch attached ? > > from the main dir of compat: > patch -p1 < print.patch > > Thanks > >> Am 19.04.2012 um 16:20 schrieb Johannes Berg: >> >>> On 4/19/2012 7:09 AM, Dominik Feser wrote: >>>> Finally, here is the output of dmesg after recompiling: >>>> >>>> iwlwifi 0000:02:00.0: edd19e18 >>>> iwlwifi 0000:02:00.0: d55c1e18 >>>> iwlwifi 0000:02:00.0: d55c1ddc >>>> iwlwifi 0000:02:00.0: PCI INT A disabled >>>> Intel(R) Wireless WiFi Link AGN driver for Linux, in-tree:d >>>> Copyright(c) 2003-2012 Intel Corporation >>>> iwlwifi 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 >>>> iwlwifi 0000:02:00.0: setting latency timer to 64 >>>> iwlwifi 0000:02:00.0: pci_resource_len = 0x00002000 >>>> iwlwifi 0000:02:00.0: pci_resource_base = f447c000 >>>> iwlwifi 0000:02:00.0: HW Revision ID = 0x34 >>>> iwlwifi 0000:02:00.0: irq 1277 (277) for MSI/MSI-X >>>> iwlwifi 0000:02:00.0: U iwl_request_firmware d5b37d70 >>>> iwlwifi 0000:02:00.0: U iwl_request_firmware e09ebdd4 >>>> iwlwifi 0000:02:00.0: ee2afe18 >>>> iwlwifi 0000:02:00.0: U iwl_request_firmware ee2afdd4 >>>> iwlwifi 0000:02:00.0: cc93fe18 >>>> iwlwifi 0000:02:00.0: cc93fddc >>> >>> Still pretty useless since you get %pV printed as a pointer rather than a message. Does anyone know how to fix that in compat? But the iwl_request_firmware 3 times probably means it failed? >>> >>> johannes >> > <print.patch> -- 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