Bug 886946 - iwl3945 doesn't work in hotspot mode
Summary: iwl3945 doesn't work in hotspot mode
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stanislaw Gruszka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-13 16:17 UTC by Jaroslav Škarvada
Modified: 2013-01-24 22:39 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-18 20:43:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
dmesg (67.39 KB, text/plain)
2012-12-13 16:31 UTC, Jaroslav Škarvada
no flags Details
dmidecode (13.84 KB, text/plain)
2012-12-13 16:32 UTC, Jaroslav Škarvada
no flags Details
lspci -vvv (27.42 KB, text/plain)
2012-12-13 16:33 UTC, Jaroslav Škarvada
no flags Details
0001-iwlegacy-fix-IBSS-cleanup.patch (3.04 KB, text/plain)
2013-01-16 10:48 UTC, Stanislaw Gruszka
no flags Details

Description Jaroslav Škarvada 2012-12-13 16:17:44 UTC
Description of problem:
iwl3945 doesn't work in NetworkManager's hotspot mode.

Version-Release number of selected component (if applicable):
kernel-3.6.10-4.fc18.i686

How reproducible:
Always

Steps to Reproduce:
1. Enable NetworkManager's hotspot
2. Try to use the hotspot from another machine
  
Actual results:
The hotspot desn't work, OS has very slow response.

Expected results:
Normal work.

Additional info:
Spotted during Network test week.

Dec 13 17:12:29 localhost kernel: [ 1249.038522] iwl3945 0000:0c:00.0: Error Reply type 0x00000447 cmd C_RXON (0x10) seq 0x0401 ser 0x000C0000
Dec 13 17:12:29 localhost kernel: [ 1249.038537] iwl3945 0000:0c:00.0: Command C_RXON failed: FW Error
Dec 13 17:12:29 localhost kernel: [ 1249.038543] iwl3945 0000:0c:00.0: Error setting new configuration (-5).
Dec 13 17:12:29 localhost kernel: [ 1249.039189] iwl3945 0000:0c:00.0: Can't stop Rx DMA.
Dec 13 17:12:29 localhost kernel: [ 1249.040671] ieee80211 phy0: Hardware restart was requested
Dec 13 17:12:29 localhost kernel: [ 1249.040682] iwl3945 0000:0c:00.0: Try to add interface when device not ready
Dec 13 17:12:29 localhost kernel: [ 1249.102219] iwl3945 0000:0c:00.0: Microcode SW error detected. Restarting 0x82000008.
Dec 13 17:12:29 localhost kernel: [ 1249.102228] iwl3945 0000:0c:00.0: Loaded firmware version: 15.32.2.9
Dec 13 17:12:29 localhost kernel: [ 1249.102262] iwl3945 0000:0c:00.0: Start IWL Error Log Dump:
Dec 13 17:12:29 localhost kernel: [ 1249.102268] iwl3945 0000:0c:00.0: Status: 0x000202E4, count: 1
Dec 13 17:12:29 localhost kernel: [ 1249.102273] iwl3945 0000:0c:00.0: Desc       Time       asrtPC  blink2 ilink1  nmiPC   Line
Dec 13 17:12:29 localhost kernel: [ 1249.102489] iwl3945 0000:0c:00.0: SYSASSERT     (0x5) 0000029214 0x008B6 0x13BE0 0x0031C 0x00000 1095

Comment 1 Jaroslav Škarvada 2012-12-13 16:31:58 UTC
Created attachment 663045 [details]
dmesg

Comment 2 Jaroslav Škarvada 2012-12-13 16:32:58 UTC
Created attachment 663046 [details]
dmidecode

Comment 3 Jaroslav Škarvada 2012-12-13 16:33:23 UTC
Created attachment 663047 [details]
lspci -vvv

Comment 4 Stanislaw Gruszka 2012-12-22 14:15:15 UTC
(In reply to comment #0)
> Version-Release number of selected component (if applicable):
> kernel-3.6.10-4.fc18.i686

I was able to reproduce this on 3.6.6-4.fc18, but not on updated 3.6.10-4.fc18, (which include fix for very similar bug 883414). Are you sure you run test on new kernel?

Comment 5 Jaroslav Škarvada 2013-01-04 16:06:03 UTC
I retested with updated system (kernel-3.6.11-3.fc18). The only change I noticed the nm hotspot mode now use adhoc network mode (I think it previously used infrastructure, but I am not sure). In adhoc mode with kernel-3.6.11-3 everything worked as expected. When switched to infrastracture the same problem appear.

Comment 6 Stanislaw Gruszka 2013-01-16 10:46:39 UTC
It's yet another problem, we do not correctly change interface type when switching back from IBSS to STA mode.

Comment 7 Stanislaw Gruszka 2013-01-16 10:48:11 UTC
Created attachment 679466 [details]
0001-iwlegacy-fix-IBSS-cleanup.patch

Fix for this problem, tested by myself.

Comment 8 Stanislaw Gruszka 2013-01-16 10:49:23 UTC
Josh, please apply above patch as fix for this bug. I just posted it upstream and cc -stable too.

Comment 9 Josh Boyer 2013-01-16 13:32:43 UTC
Applied on all branches.  Thanks!

Comment 10 Fedora Update System 2013-01-16 18:38:32 UTC
kernel-3.7.2-204.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/kernel-3.7.2-204.fc18

Comment 11 Fedora Update System 2013-01-16 23:11:36 UTC
kernel-3.6.11-8.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.6.11-8.fc17

Comment 12 Fedora Update System 2013-01-18 19:02:25 UTC
kernel-3.7.3-101.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/kernel-3.7.3-101.fc17

Comment 13 Fedora Update System 2013-01-18 20:43:23 UTC
kernel-3.7.2-204.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2013-01-24 22:39:06 UTC
kernel-3.7.3-101.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.