Hello,
according to http://www.kernel.org/pub/linux/docs/lkml/reporting-bugs.html
[1.] One line summary of the problem:
[2.6.26-rc5] iwlwifi 4965 not working - last on 2.6.23[2.] Full description of the problem/report:
linux: gentoo
kernel vanilla-sources-2-6-26-rc5
laptop: Asus S96S
WiFi: intel 4695
WiFi not working.
In the same config, but with gentoo-sources-2.6.23 WiFi working well.dmesg - 2.6.23
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.2.25ds
iwl4965: Copyright(c) 2003-2007 Intel Corporation
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 21
PCI: Setting latency timer of device 0000:04:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
wmaster0: Selected rate control algorithm 'iwl-4965-rs'
...
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 21
PM: Writing back config space on device 0000:04:00.0 at offset 1 (was 100102,
writing 100106)
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
ADDRCONF(NETDEV_UP): wlan0: link is not ready
r8169: eth0: link up
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:01:e3:06:00:35
wlan0: RX authentication from 00:01:e3:06:00:35 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:01:e3:06:00:35
wlan0: authentication frame received from 00:01:e3:06:00:35, but not in
authenticate state - ignored
wlan0: RX AssocResp from 00:01:e3:06:00:35 (capab=0x11 status=0 aid=2)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers presentdmesg 2.6.26
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 1.2.26kds
iwl4965: Copyright(c) 2003-2008 Intel Corporation
ACPI: PCI Interrupt 0000:04:00.0[A] -> GSI 17 (level, low) -> IRQ 17
PCI: Setting latency timer of device 0000:04:00.0 to 64
iwl4965: Detected Intel Wireless WiFi Link 4965AGN
iwl4965: Tunable channels: 13 802.11bg, 19 802.11a channels
phy0: Selected rate control algorithm 'iwl-4965-rs'
ACPI: PCI i...
(cc linux-wireless)
--
Looks like a rfkill related problem. Can you please try this patch?
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1673Thanks,
-yi--
Hi,
laptok ~ # modprobe -rv iwl4965
laptok ~ # modprobe -v iwl4965 debug=0x20002
laptok ~ # dmesg >dmesg-`uname -r`_`date +%F`.txt
laptok iwlwifi # ls -1
dmesg-2.6.23-gentoo-r2_2008-06-13.txt
dmesg-2.6.24.7_2008-06-13.txt
dmesg-2.6.25-gentoo-r4_2008-06-13.txt
dmesg-2.6.26-rc5_2008-06-13.txtresults:
http://michal.kudla.googlepages.com/dmesg-debug0x20002.tar.gz--
iwl4965: U iwl4965_radio_kill_sw Manual SW RF KILL set to: RADIO OFF
iwl4965: I iwl4965_rx_card_state_notif Card state received: HW:On
SW:Kill
iwl4965: U iwl4965_mac_config leave - radio disabled
iwl4965: Error sending REPLY_TX_PWR_TABLE_CMD: enqueue_hcmd failed: -5
iwl4965: U iwl4965_bg_rf_kill Can not turn radio back on - disabled by
SW switch
iwl4965: Error sending REPLY_WEPKEY: enqueue_hcmd failed: -5Your radio is disabled by the software rf_kill switch. Please do a
$ echo 0 > /sys/bus/pci/drivers/iwl4965/<dev id>/rfkill\:rfkill0/state
I wonder if you (or some application) did something like a `iwconfig
wlan0 txpower off` so that the radio is disabled. Maybe you can try
`iwconfig wlan0 txpower on`?Thanks,
-yi--
mac80211 in those (old) kernels doesn't indicate to switch the SW
rf_kill on with user sets txpower off.Thanks,
-yi--
Hi,
I installed new version - 2.6.26-rc7.Still don't work
If my distro (Gentoo) is conflicted, please point to proper distro
My dmesg
http://michal.kudla.googlepages.com/dmesg-2.6.26-rc7_2008-06-23.txtMy console log
Password:
Last login: Mon Jun 23 04:58:21 CEST 2008 on tty1
laptok ~ # modprobe -rv iwl4965
rmmod /lib/modules/2.6.26-rc7/kernel/drivers/net/wireless/iwlwifi/iwl4965.ko
rmmod /lib/modules/2.6.26-rc7/kernel/drivers/net/wireless/iwlwifi/iwlcore.ko
rmmod /lib/modules/2.6.26-rc7/kernel/net/mac80211/mac80211.ko
laptok ~ # modprobe -v iwl4965 debug=3D0x20002
insmod /lib/modules/2.6.26-rc7/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/2.6.26-rc7/kernel/drivers/net/wireless/iwlwifi/iwlcore.=
ko
insmod /lib/modules/2.6.26-rc7/kernel/drivers/net/wireless/iwlwifi/iwl4965.=
ko=20
debug=3D0x20002
laptok ~ # iwconfig wlan0 txpower on
laptok ~ # /etc/init.d/net.wlan0 restart
* Service net.wlan0 starting
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
SIOCSIFFLAGS: No such device
Failed to configure wireless for wlan0 =20
[ !! ] * ERROR: net.wlan0 failed to start
laptok ~ # dmesg >dmesg-`uname -r`_`date +%F`.txt
laptok ~ # cat /sys/bus/pci/drivers/iwl4965/0000\:04\:00.0/[TAB key]
antenna ieee80211:phy1/ resource0
broken_parity_status input:input5/ retry_rate
bus/ irq rfkill:rfkill1/
channels local_cpulist rs_window
class local_cpus statistics
config measurement status
device modalias subsystem/
driver/ msi_bus subsystem_device
dump_errors net:wlan0/ subsystem_vendor
dump_events net:wmaster0/ temperature
enable power/ tx_power
filter_flags power_level uevent
flags resource vendor
laptok ~ #=20
cat /sys/bu...
Oops, you should echo 1 instead.
Thanks,
-yi--
Hi,
With "0" and "1" result the same - failed.--
Hi,
If I reload kernel module, I get rfkill[n] with new [n].
rfkill0
rfkill1
rfkill2
After reloading I always get 0 int state
/sys/bus/pci/drivers/iwl4965/0000\:04\:00.0/rfkill\:rfkill2/state
0I attached files form console log and dmesg
console-rfkill-0.txt
dmesg-2.6.26-rc7_2008-06-23-rfkill-0.txt
console-rfkill-1.txt
dmesg-2.6.26-rc7_2008-06-23-rfkill-1.txt
On Mon, 2008-06-23 at 21:03 +0200, Micha
Hi,
ok, i pached.
Results (failed) in attached files:
console-rfkill-1.patch.txt
dmesg-2.6.26-rc7_2008-06-24-rfkill-1.patch.txt
Looks like the wireless config scripts in your distro did something
(probably txpower off) to disable the SW radio. Can you try the
following commands after wlan0 restart?$ cat /sys/bus/pci/drivers/iwl4965/0000\:04\:00.0/rfkill\:rfkill1/state
$ echo 1 > /sys/bus/pci/drivers/iwl4965/0000\:04\:00.0/rfkill
\:rfkill1/state
$ ifconfig wlan0 upThanks,
-yi--
Hi,
with new build -rc9 iwl4965 still don't work.
I don't know, witch distro I should use to check, that current kernel and my
WiFi is OK.I returned to good 2.6.24-gentoo-r8
--
don't see any other report on this. Could you please file a bug on
bughost.org so we can track it there?Thanks,
-yi--
Hi,
my WiFi still don't wokrk
Now, I have new kernel 2.6.26-rc8.Should I patch again this kernel?
Is good patch for rc7 for rc8?--
Hi,
I do
ifconfig wlan0 upresults in files:
console-frkill-1-iwconfig.txt
dmesg-2.6.26-rc7_2008-06-24-rfkill-1-ifconfig.txt
net - script config
net.lo - run scriptHow to run my wifi?
Hi,
Still don't work.
I have tested this patch with and without RFKILL kernel settings
Compressed result files:
config-2.6.26-rc5-no-rfkill.txt
config-2.6.26-rc5-rfkill.txt
dmesg-2.6.26-rc5-no-rfkill.txt
dmesg-2.6.26-rc5-rfkill.txt
are in
http://michal.kudla.googlepages.com/iwlwifi-problem-with-patch-Zhu-Yi.ta...--
Can you please load the module with "debug=0x20002" and attached the
dmesg?Thanks,
-yi--
I checked:
- vanilla-sources-2.6.24.7 (works),
- gentoo-sources-2.6.25-r4 (don't work)I uploaded files:
.config-2.6.23
.config.2.6.24.7
.config.2.6.25-gentoo-r4
.config-2.6.26
dmesg-2.6.23
dmesg-2.6.24.txt
dmesg-2.6.25.txt
dmesg-2.6.26
http://michal.kudla.googlepages.com/iwlwifi-problem-2.bz2more infos about 2.6.25 anf iwlwifi:
http://www.intellinuxwireless.org/bugzilla/show_bug.cgi?id=1657
http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=218565
--
[Added some CCs.]
--
"Premature optimization is the root of all evil." - Donald Knuth
--
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: fallocate-implementation-on-i86-x86_64-and-powerpc.patch |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Natalie Protasevich | [BUG] New Kernel Bugs |
