2007/10/29, Frank de Lange <[EMAIL PROTECTED]>: > On Sat, Oct 27, 2007 at 03:01:22PM +0200, Evgeni Golov wrote: > > So I decided to test ath5k, got wireles-2.6 git, fetched "everything" > > and compiled the kernel. After a reboot the ath5k module gets loaded > > and says: > > phy1: Selected rate control algorithm 'simple' > > ath5k_pci 0000:03:00.0: AR5212 chip found: mac 5.6 phy 4.1 > > Everything looks okay, and I get two new devices, wlan0 and wmaster0. > > However, I can't bring it up. ifconfig wlan0 up and ip link set wlan0 > > up comlain: "SIOCSIFFLAGS: Invalid argument" > > And in dmesg I can see: > > unable to reset hardware: -22 > > Same here but with different card (Askey AR5BMB5 , based on AR2413A): > > # lspci -s 02:02.0 -vvv > 02:02.0 Class 8002: Atheros Communications, Inc. AR2413 802.11bg NIC (rev 01) > Subsystem: Askey Computer Corp. Unknown device 7094 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- > Stepping- SERR+ FastB2B- > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- > Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes > Interrupt: pin A routed to IRQ 11 > Region 0: Memory at c0200000 (32-bit, non-prefetchable) [size=64K] > Capabilities: [44] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA > PME(D0-,D1-,D2-,D3hot-,D3cold-) > Status: D0 PME-Enable- DSel=0 DScale=2 PME- > > > # ath_info 0xc0200000 > -==Device Information==- > MAC Version: 5213A(0x70) > MAC Revision: 5213A(0x78) > PHY Revision: 2112a(0x56) > -==EEPROM Information==- > EEPROM Version: 5.2 > EEPROM Size: 16K > Regulatory Domain: 0x0 > -==== Capabilities ====- > | 802.11a Support: no | > | 802.11b Support: yes | > | 802.11g Support: yes | > | RFKill Support: yes | > | 32KHz Crystal: no | > ======================== > GPIO registers: CR 00000000 DO 00000000 DI 00000017 > > module from last git loads, devices are created but any attempt to bring > the interface up results in a -22 error: > > [ 521.365874] ath5k_attach: devid 0x1a > [ 521.366144] ath5k_desc_alloc: DMA map: c4880000 (10648) -> 4880000 > [ 521.375110] phy2: Selected rate control algorithm 'simple' > [ 521.379291] ath5k_pci 0000:02:02.0: AR5212 chip found: mac 7.8 phy > 4.5 > [ 521.429472] unable to reset hardware: -22 > > # ifconfig wlan0 up > SIOCSIFFLAGS: Invalid argument > > (+ more ' unable to reset hardware: -22' messages in log) > > What does -22 mean? Where to start debugging this? > > The same card works with madwifi but the sensitivity is quite low, hence > my attempt to get it working with ath5k which might offer more > possibilities to get the sensitivity up where it belongs... > > Cheers//Frank
ACK ppl i'm working on a patch for this, i'll let you know asap so you can try it ;-) -- GPG ID: 0xD21DB2DB As you read this post global entropy rises. Have Fun ;-) Nick _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel