FS#22720 - RT2860 - AP mode not work on kernel 2.6.37-5 but works on kernel 2.6.37-1

Attached to Project: Arch Linux
Opened by Klerik (klerik) - Wednesday, 02 February 2011, 17:01 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 03 February 2011, 20:41 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I have PCI card linksys WMP600N and on kernel 2.6.37-1 this card works great on AP mode. But after i upgrade to stable kernel 2.6.37-5 ant try "/etc/rc.d/hostapd start" hostapd not runnig. I try it with command "hostapd /etc/hostapd/hostapd.conf" and console give me this:

nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloop_data=0xe46410 user_data=0xe46b40 handler=0x42dad0
ELOOP: remaining socket: sock=6 eloop_data=0xe49140 user_data=(nil) handler=0x436c00

and dmesg say if i try hostapd:

RX DESC ffff880036d18000 size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
1. Phy Mode = 0
2. Phy Mode = 0
3. Phy Mode = 0
MCS Set = 00 00 00 00 00
<==== rt28xx_init, Status=0
0x1300 = 000a4200

lsmod | grep -i rt ... on kernel 2.6.37-1:

exportfs 3482 1 nfsd
rt2860sta 526851 0
rt2800pci 8235 0
rt2800lib 29907 1 rt2800pci
crc_ccitt 1347 2 rt2860sta,rt2800lib
rt2x00pci 4670 1 rt2800pci
rt2x00lib 28214 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 199564 3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211 139317 2 rt2x00lib,mac80211
parport_pc 31800 1
eeprom_93cx6 1360 1 rt2800pci
parport 30087 3 ppdev,parport_pc,lp

lsmod | grep -i rt ... on kernel 2.6.37-5:

exportfs 3482 1 nfsd
rt2800pci 8235 0
rt2800lib 29907 1 rt2800pci
rt2x00pci 4670 1 rt2800pci
rt2x00lib 28214 3 rt2800pci,rt2800lib,rt2x00pci
mac80211 199564 3 rt2800lib,rt2x00pci,rt2x00lib
cfg80211 139317 2 rt2x00lib,mac80211
eeprom_93cx6 1360 1 rt2800pci
rt2860sta 526851 1
parport_pc 31800 1
parport 30087 3 ppdev,lp,parport_pc
crc_ccitt 1347 2 rt2800lib,rt2860sta

On both kernels I dont have any extra modules configuration (not blacklisted any other rt2xx0 module). On kernel 2.6.37-5 i try blacklist "rt2800pci rt61pci rt2x00pci rt2800usb rt2800lib rt2x00usb rt2x00lib" but with the same results.

dmesg on kernel 2.6.37-1 (AP mode working) is:

phy0 -> rt2800pci_mcu_status: Error - MCU request failed, no response from hardware
device wlan0 entered promiscuous mode


My mashine is runnig non-stop, so if anyone need some testing about this problem, i can give him SSH access.

This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 03 February 2011, 20:41 GMT
Reason for closing:  Fixed
Comment by Martin Schmidt (Blind) - Thursday, 03 February 2011, 19:14 GMT
Shouldn't you blacklist the sta module when you are using the rt2x00 modules, and vice versa? Both are still present in your lsmod.

Also, I don't know if you will get a lot of help with regard to the sta module, because it will never be included in mainline and has to be regarded as 'unmaintained', I think. The ones you *should be* trying are the rt2x00 ones. I have the same chipset (EeePC 901), and the rt2x00 works just fine there. So you might want to try to blacklist the sta module and go with the Open Source, supported by Linux, rt2x00 modules.
Comment by Klerik (klerik) - Thursday, 03 February 2011, 20:22 GMT
Martin, u have right, blacklist rt2860sta help me. On kernel 2.6.37-1 this works without blacklisting rt2860. Thanks.

Loading...