Search Linux Wireless

2.6.29 linus tree: iwlagn Failed to register hw (error -2) on first try. Success on unload and retry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Some recent commits (in last 2 days I guess) broke iwlagn driver.
Using Linus tree as of aeeae86859f4319de0a4946b44771d9926eeed54

[    5.431753] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[    5.431755] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[    5.431836] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    5.431863] iwlagn 0000:03:00.0: setting latency timer to 64
[    5.431965] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5350AGN REV=0x24
[    5.451117] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    5.451202] iwlagn 0000:03:00.0: irq 30 for MSI/MSI-X
[    5.451591] phy0: Selected rate control algorithm 'iwl-agn-rs'
[    5.458313] phy0: Failed to initialize wep: -2
[    5.489134] iwlagn 0000:03:00.0: Failed to register hw (error -2)
[    5.489214] iwlagn 0000:03:00.0: PCI INT A disabled
[    5.489221] iwlagn: probe of 0000:03:00.0 failed with error -2

but later I can rmmod iwlagn, modprobe iwlagnt and it starts working

[ 6081.289816] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 6081.289823] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 6081.289961] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6081.289980] iwlagn 0000:03:00.0: setting latency timer to 64
[ 6081.290048] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5350AGN REV=0x24
[ 6081.311015] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 6081.311135] iwlagn 0000:03:00.0: irq 31 for MSI/MSI-X
[ 6081.315120] phy1: Selected rate control algorithm 'iwl-agn-rs'
[ 6081.352904] udev: renamed network interface wlan0 to eth1
[ 6081.412073] lo: Disabled Privacy Extensions
[ 6081.456266] e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
[ 6081.512131] e1000e 0000:00:19.0: irq 29 for MSI/MSI-X
[ 6081.512781] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6087.465024] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
[ 6087.508361] iwlagn 0000:03:00.0: loaded firmware version 5.4.1.16
[ 6087.663653] Registered led device: iwl-phy1::radio
[ 6087.663709] Registered led device: iwl-phy1::assoc
[ 6087.663760] Registered led device: iwl-phy1::RX
[ 6087.663812] Registered led device: iwl-phy1::TX
[ 6087.684486] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 6088.796677] eth1: authenticate with AP 00:11:22:33:44:57
[ 6088.798752] eth1: authenticated
[ 6088.798758] eth1: associate with AP 00:11:22:33:44:57
[ 6088.801710] eth1: RX AssocResp from 00:11:22:33:44:57 (capab=0x411 status=0 aid=1)
[ 6088.801745] eth1: associated
[ 6088.809628] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 6088.810615] eth1: authenticate with AP 00:11:22:33:44:57
[ 6088.817482] eth1: authenticated
[ 6088.817488] eth1: associate with AP 00:11:22:33:44:57
[ 6088.820115] eth1: RX ReassocResp from 00:11:22:33:44:57 (capab=0x411 status=0 aid=1)
[ 6088.820121] eth1: associated

relevant /proc/interrupts
 30:      40965          0   PCI-MSI-edge      i915
 31:       7515       7589   PCI-MSI-edge      iwlagn

but i915 was registering later

[arekm@t400 /usr/src/linux-git]$ dmesg|grep -E "(iwl|i915)"
[    5.431753] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[    5.431755] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[    5.431836] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    5.431863] iwlagn 0000:03:00.0: setting latency timer to 64
[    5.431965] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5350AGN REV=0x24
[    5.451117] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[    5.451202] iwlagn 0000:03:00.0: irq 30 for MSI/MSI-X
[    5.451591] phy0: Selected rate control algorithm 'iwl-agn-rs'
[    5.489134] iwlagn 0000:03:00.0: Failed to register hw (error -2)
[    5.489214] iwlagn 0000:03:00.0: PCI INT A disabled
[    5.489221] iwlagn: probe of 0000:03:00.0 failed with error -2
[   36.476810] i915 0000:00:02.0: power state changed by ACPI to D0
[   36.476828] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   36.476837] i915 0000:00:02.0: setting latency timer to 64
[   36.519222] i915 0000:00:02.0: irq 30 for MSI/MSI-X
[   37.572136] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
[ 6081.289816] iwlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
[ 6081.289823] iwlagn: Copyright(c) 2003-2009 Intel Corporation
[ 6081.289961] iwlagn 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 6081.289980] iwlagn 0000:03:00.0: setting latency timer to 64
[ 6081.290048] iwlagn 0000:03:00.0: Detected Intel Wireless WiFi Link 5350AGN REV=0x24
[ 6081.311015] iwlagn 0000:03:00.0: Tunable channels: 13 802.11bg, 24 802.11a channels
[ 6081.311135] iwlagn 0000:03:00.0: irq 31 for MSI/MSI-X
[ 6081.315120] phy1: Selected rate control algorithm 'iwl-agn-rs'
[ 6087.465024] iwlagn 0000:03:00.0: firmware: requesting iwlwifi-5000-1.ucode
[ 6087.508361] iwlagn 0000:03:00.0: loaded firmware version 5.4.1.16
[ 6087.663653] Registered led device: iwl-phy1::radio
[ 6087.663709] Registered led device: iwl-phy1::assoc
[ 6087.663760] Registered led device: iwl-phy1::RX
[ 6087.663812] Registered led device: iwl-phy1::TX

CONFIG_IWLWIFI=m
CONFIG_IWLWIFI_LEDS=y
CONFIG_IWLWIFI_RFKILL=y
CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT=y
# CONFIG_IWLWIFI_DEBUG is not set
CONFIG_IWLAGN=m
# CONFIG_IWL4965 is not set
CONFIG_IWL5000=y
# CONFIG_IWL3945 is not set

03:00.0 Network controller: Intel Corporation PRO/Wireless 5350 AGN [Echo Peak] Network Connection

-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/

--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux