ath9k - 168c:002a - how to add (enable?) Iconnect

Plugging in devices such as LAN adapters, Wi-Fi cards, printers, etc. to Arch Linux ARM.

ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Mon Jun 25, 2012 1:40 pm

$this->bbcode_second_pass_code('', '[root@alarm ~]# lspci
00:00.0 Class 0580: Device 11ab:6281 (rev 02)
00:01.0 Class 0280: Device 168c:002a (rev 01)
[root@alarm ~]# lspci -vv
00:00.0 Class 0580: Device 11ab:6281 (rev 02)
Subsystem: Device 11ab:11ab
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: Memory at <ignored> (64-bit, prefetchable)
Capabilities: [40] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [60] Express (v1) Root Port (Slot-), MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, L1 <1us
ExtTag- RBE+ FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 unlimited
ClockPM+ Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
RootCtl: ErrCorrectable- ErrNon-Fatal- ErrFatal- PMEIntEna- CRSVisible-
RootCap: CRSVisible-
RootSta: PME ReqID 0000, PMEStatus- PMEPending-
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
AERCap: First Error Pointer: 00, GenCap- CGenEn- ChkCap- ChkEn-

00:01.0 Class 0280: Device 168c:002a (rev 01)
Subsystem: Device 168c:0200
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 32 bytes
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e0000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Address: 00000000 Data: 0000
Capabilities: [60] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 <64us
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L1, Latency L0 <512ns, L1 <64us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [90] MSI-X: Enable- Count=1 Masked-
Vector table: BAR=0 offset=00000000
PBA: BAR=0 offset=00000000
Capabilities: [100 v1] Advanced Error Reporting
UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UEMsk: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
UESvrt: DLP+ SDES- TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
CESta: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
CEMsk: RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr-
AERCap: First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
Capabilities: [140 v1] Virtual Channel
Caps: LPEVC=0 RefClk=100ns PATEntryBits=1
Arb: Fixed- WRR32- WRR64- WRR128-
Ctrl: ArbSelect=Fixed
Status: InProgress-
VC0: Caps: PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
Arb: Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
Ctrl: Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
Status: NegoPending- InProgress-
Capabilities: [160 v1] Device Serial Number 00-00-00-00-00-00-00-00

[root@alarm ~]# lsmod
Module Size Used by
ath9k 69622 0
ath9k_common 1528 1 ath9k
ath9k_hw 299058 2 ath9k_common,ath9k
ath 13242 2 ath9k_hw,ath9k
mac80211 170595 1 ath9k
cfg80211 143659 3 mac80211,ath,ath9k
rfkill 14400 1 cfg80211
lm63 5257 0
hwmon 1187 1 lm63
i2c_mv64xxx 4121 0
i2c_core 15344 2 i2c_mv64xxx,lm63
ipv6 259702 14
rmd160 7210 0
sha1_generic 1677 884
hmac 2383 0
blowfish 8378 0
cryptodev 30636 4
nfs 277924 0
lockd 66145 1 nfs
auth_rpcgss 34590 1 nfs
mv_cesa 9120 884
sunrpc 177891 3 auth_rpcgss,lockd,nfs
[root@alarm ~]# [root@alarm ~]# modinfo ath9k_hw
filename: /lib/modules/3.1.10-11-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko.gz
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
depends: ath
vermagic: 3.1.10-11-ARCH preempt mod_unload modversions ARMv5
parm: force_new_ani:Force new ANI for AR5008, AR9001, AR9002 (int)
[root@alarm ~]# modinfo ath9k
filename: /lib/modules/3.1.10-11-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko.gz
license: Dual BSD/GPL
description: Support for Atheros 802.11n wireless LAN cards.
author: Atheros Communications
depends: ath9k_hw,mac80211,ath9k_common,ath,cfg80211
vermagic: 3.1.10-11-ARCH preempt mod_unload modversions ARMv5
parm: debug:Debugging mask (uint)
parm: nohwcrypt:Disable hardware encryption (int)
parm: blink:Enable LED blink on activity (int)
parm: btcoex_enable:Enable wifi-BT coexistence (int)
[root@alarm ~]#
')

how to ?...rebuild/patch kernel ?
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby WarheadsSE » Mon Jun 25, 2012 1:44 pm

Are you up to date? have you rebooted since updating the kernel? Have your tried modprobing the driver?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Mon Jun 25, 2012 1:49 pm

i'am manualy modprobe...not working...iwlist scan and iwconfig...0...not wlan0

modprobe manual...
depmod -a...add rc.conf...MODULES=(cryptodev ath9k)
reboot...

and

$this->bbcode_second_pass_code('', '
[root@alarm ~]# iwlist scan
lo Interface doesn't support scanning.

eth0 Interface doesn't support scanning.

[root@alarm ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

root@alarm ~]# ifconfig up wlan0
SIOCSIFADDR: No such device
up: ERROR while getting interface flags: No such device
[root@alarm ~]# dmesg
...
...
...
[ 65.905275] eth0: no IPv6 routers present
[ 572.638385] cfg80211: Calling CRDA to update world regulatory domain
[ 572.702181] cfg80211: World regulatory domain updated:
[ 572.702202] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 572.702220] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 572.702235] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 572.702250] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 572.702266] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 572.702281] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 572.825390] cfg80211: Calling CRDA for country: PL
[ 572.841352] cfg80211: Regulatory domain changed to country: PL
[ 572.841370] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 572.841388] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 572.841402] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 572.841416] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 572.841431] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 2302.927436] ath9k: Driver unloaded
[ 2389.385762] cfg80211: Calling CRDA to update world regulatory domain
[ 2389.447063] cfg80211: World regulatory domain updated:
[ 2389.447083] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2389.447100] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 2389.447116] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 2389.447131] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 2389.447146] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 2389.447161] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 2389.615360] cfg80211: Calling CRDA for country: PL
[ 2389.630975] cfg80211: Regulatory domain changed to country: PL
[ 2389.630993] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 2389.631010] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2389.631024] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2389.631038] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 2389.631052] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[root@alarm ~]#


')

this card based to miniPCIE for Iconnect...not usb...remove realtek...installed atheros

Image
product: http://jucom24.istore.pl/pl/karta-sieci ... -half.html
vikidev: http://www.wikidevi.com/wiki/Dell_Wirel ... _Mini-Card
linuxwireless: http://linuxwireless.org/en/users/Drivers/ath9k (is supported for archlinuxarm kernel or not supported ?)

how to enable this card ? recompile kernel ?...add driver ath9k_pci ?...
any ideas ?

kernel .config
$this->bbcode_second_pass_quote('', '
')#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.1.10 Kernel Configuration
#
...
...
...
# CONFIG_ADM8211 is not set
# CONFIG_MAC80211_HWSIM is not set
CONFIG_MWL8K=m
CONFIG_ATH_COMMON=m
# CONFIG_ATH_DEBUG is not set
CONFIG_ATH5K=m
# CONFIG_ATH5K_DEBUG is not set
# CONFIG_ATH5K_TRACER is not set
CONFIG_ATH5K_PCI=y
CONFIG_ATH9K_HW=m
CONFIG_ATH9K_COMMON=m
CONFIG_ATH9K=m
# CONFIG_ATH9K_PCI is not set ????????????????
# CONFIG_ATH9K_AHB is not set
# CONFIG_ATH9K_DEBUGFS is not set
CONFIG_ATH9K_RATE_CONTROL=y
CONFIG_ATH9K_HTC=m
...
...
...



hehe...next reboot and:

$this->bbcode_second_pass_code('', '
...
...
...
> REBOOTING
[ 163.063606] Restarting system.

__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__|
** MARVELL BOARD: RD-88F6281A LE

U-Boot 1.1.4 (Feb 2 2010 - 10:13:16) Marvell version: 3.4.25

Mapower version: iConnect 2.1 (512MB) (2010/02/02)

U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CFB00

Soc: 88F6281 A0 (DDR2)
CPU running @ 1000Mhz L2 running @ 333Mhz
SysClock = 333Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM Total size 256MB 16bit width
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Flash: 0 kB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is TDM

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
(Re)start USB...
USB: scanning bus for devices... 4 USB Device(s) found
Waiting for storage device(s) to settle before scanning...
2 Storage Device(s) found
....
.....................................................................................................................................................

2951564 bytes read
## Booting image at 00800000 ...
Image Name: Linux-3.1.10-11-ARCH
Created: 2012-05-21 6:00:00 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2951500 Bytes = 2.8 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 18.839290] sd 1:0:0:0: [sda] Asking for cache data failed
[ 18.844812] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 18.853892] sd 1:0:0:0: [sda] Asking for cache data failed
[ 18.859485] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 18.870415] sd 0:0:0:0: [sdb] No Caching mode page present
[ 18.875933] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[ 18.884527] sd 1:0:0:0: [sda] Asking for cache data failed
[ 18.890131] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 18.897643] sd 0:0:0:0: [sdb] No Caching mode page present
[ 18.903157] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[ 18.913146] sd 0:0:0:0: [sdb] No Caching mode page present
[ 18.918695] sd 0:0:0:0: [sdb] Assuming drive cache: write through
[ 26.806655] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[ 26.814990] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c03f0f48>] (panic+0x58/0x198)
[ 26.823253] [<c03f0f48>] (panic+0x58/0x198) from [<c055dc2c>] (mount_block_root+0x230/0x280)
[ 26.831800] [<c055dc2c>] (mount_block_root+0x230/0x280) from [<c055df3c>] (prepare_namespace+0x160/0x1c0)
[ 26.841447] [<c055df3c>] (prepare_namespace+0x160/0x1c0) from [<c055d8c8>] (kernel_init+0x11c/0x14c)
[ 26.850654] [<c055d8c8>] (kernel_init+0x11c/0x14c) from [<c000945c>] (kernel_thread_exit+0x0/0x8)
')
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby WarheadsSE » Mon Jun 25, 2012 4:51 pm

$this->bbcode_second_pass_code('', '
# CONFIG_ATH9K_PCI is not set
')

Looks like the problem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Mon Jun 25, 2012 4:52 pm

lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby WarheadsSE » Mon Jun 25, 2012 4:56 pm

GitHub issue time.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Mon Jun 25, 2012 5:14 pm

$this->bbcode_second_pass_code('', '
[root@alarm instrukcje]# pacman -Syyfu
:: Synchronizowanie baz danych z pakietami...
core 37,7 KiB 95,0K/s 00:00 [####################################################] 100%
extra 426,5 KiB 526K/s 00:01 [####################################################] 100%
community 403,2 KiB 946K/s 00:00 [####################################################] 100%
alarm 3,4 KiB 3,91M/s 00:00 [####################################################] 100%
aur 10,5 KiB 7,69M/s 00:00 [####################################################] 100%
:: Rozpoczynanie pełnej aktualizacji systemu...
rozwiązywanie zależności...
szukanie konfliktów międzypakietowych...

Cele (4): dbus-1.6.0-1 dbus-core-1.6.0-4 hwids-20120611-1 libtiff-4.0.2-1

Całkowity rozmiar do pobrania: 1,39 MiB
Całkowity rozmiar po instalacji: 6,28 MiB
Rozmiar netto aktualizacji: 0,07 MiB

Kontynuować instalację? [T/n]
:: Pobieranie pakietów z core...
dbus-core-1.6.0-4-arm 354,2 KiB 321K/s 00:01 [####################################################] 100%
hwids-20120611-1-any 272,3 KiB 1029K/s 00:00 [####################################################] 100%
:: Pobieranie pakietów z extra...
dbus-1.6.0-1-arm 21,4 KiB 9,93M/s 00:00 [####################################################] 100%
libtiff-4.0.2-1-arm 773,2 KiB 1217K/s 00:01 [####################################################] 100%
(4/4) sprawdzanie spójności pakietów [####################################################] 100%
(4/4) wczytywanie plików pakietu [####################################################] 100%
(4/4) sprawdzanie dostępnego miejsca na dysku [####################################################] 100%
(1/4) aktualizowanie dbus-core [####################################################] 100%
(2/4) aktualizowanie dbus [####################################################] 100%
(3/4) aktualizowanie hwids [####################################################] 100%
(4/4) aktualizowanie libtiff [####################################################] 100%

...
[root@alarm ~]# lspci
00:00.0 Memory controller: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC (rev 02)
00:01.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
')

...and more info for this driver...hehe :D
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Tue Jun 26, 2012 1:36 am

recompile kernel for use this fix for .config :
$this->bbcode_second_pass_code('', '
CONFIG_ATH9K_PCI=y
')

and...sukces...modules load and working:

$this->bbcode_second_pass_code('', '
[root@alarm ~]# lspci
00:00.0 Memory controller: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC (rev 02)
00:01.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
[root@alarm ~]# lspci -v
00:00.0 Memory controller: Marvell Technology Group Ltd. 88F6281 [Kirkwood] ARM SoC (rev 02)
Subsystem: Marvell Technology Group Ltd. Device 11ab
Flags: bus master, fast devsel, latency 0, IRQ 9
Memory at <ignored> (64-bit, prefetchable)
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [60] Express Root Port (Slot-), MSI 00
Capabilities: [100] Advanced Error Reporting

00:01.0 Network controller: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Atheros Communications Inc. Device 0200
Flags: bus master, fast devsel, latency 0, IRQ 9
Memory at e0000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Count=1 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k

[root@alarm ~]# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 IEEE 802.11abgn ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on

[root@alarm ~]# ifconfig wlan0 up
[root@alarm ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.248 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 xxxx::xxxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link>
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 1217 bytes 160827 (157.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1628 bytes 190055 (185.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 11

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 metric 1
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

')
:D

hmm...
$this->bbcode_second_pass_code('', '
...
...
...
[ 32.130432] Modules linked in: ath9k(+) ath9k_common ath9k_hw cryptodev nfs ath mac80211 cfg80211 lockd mv_cesa auth_rpcgss rfkill sunrpc
[ 32.130912] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c001e0f4>] (warn_slowpath_common+0x4c/0x64)
[ 32.130939] [<c001e0f4>] (warn_slowpath_common+0x4c/0x64) from [<c001e124>] (warn_slowpath_null+0x18/0x1c)
[ 32.131324] [<c001e124>] (warn_slowpath_null+0x18/0x1c) from [<bf1c03e0>] (ath_pci_aspm_init+0x38/0x98 [ath9k])
[ 32.131442] [<bf1c03e0>] (ath_pci_aspm_init+0x38/0x98 [ath9k]) from [<bf1513b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw])
[ 32.131535] [<bf1513b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw]) from [<bf1b5eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k])
[ 32.131623] [<bf1b5eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k]) from [<bf1c06e0>] (ath_pci_probe+0x208/0x2e4 [ath9k])
[ 32.131688] [<bf1c06e0>] (ath_pci_probe+0x208/0x2e4 [ath9k]) from [<c025c3d8>] (pci_device_probe+0x88/0x118)
[ 32.135650] [<c025c3d8>] (pci_device_probe+0x88/0x118) from [<c028b390>] (driver_probe_device+0xc4/0x1a8)
[ 32.135680] [<c028b390>] (driver_probe_device+0xc4/0x1a8) from [<c028b4dc>] (__driver_attach+0x68/0x8c)
[ 32.135704] [<c028b4dc>] (__driver_attach+0x68/0x8c) from [<c028a36c>] (bus_for_each_dev+0x48/0x8c)
[ 32.135728] [<c028a36c>] (bus_for_each_dev+0x48/0x8c) from [<c028aca4>] (bus_add_driver+0xdc/0x244)
[ 32.135752] [<c028aca4>] (bus_add_driver+0xdc/0x244) from [<c028b7e0>] (driver_register+0xa8/0x130)
[ 32.135776] [<c028b7e0>] (driver_register+0xa8/0x130) from [<c025c604>] (__pci_register_driver+0x38/0xb4)
[ 32.135841] [<c025c604>] (__pci_register_driver+0x38/0xb4) from [<bf1c7024>] (ath9k_init+0x24/0x4c [ath9k])
[ 32.135898] [<bf1c7024>] (ath9k_init+0x24/0x4c [ath9k]) from [<c0008584>] (do_one_initcall+0x90/0x168)
[ 32.135926] [<c0008584>] (do_one_initcall+0x90/0x168) from [<c005428c>] (sys_init_module+0x1740/0x18fc)
[ 32.135951] [<c005428c>] (sys_init_module+0x1740/0x18fc) from [<c0008b40>] (ret_fast_syscall+0x0/0x2c)
[ 32.135967] ---[ end trace 41e9641a60bd52c1 ]---
[ 32.377746] cfg80211: World regulatory domain updated:
[ 32.377765] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 32.377783] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 32.377798] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 32.377813] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 32.377828] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 32.377843] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 32.586662] cfg80211: Calling CRDA for country: PL
[ 32.610441] cfg80211: Regulatory domain changed to country: PL
[ 32.610459] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 32.610476] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 32.610491] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 32.610505] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 32.610519] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 32.860098] ath: EEPROM regdomain: 0x60
[ 32.860112] ath: EEPROM indicates we should expect a direct regpair map
[ 32.860130] ath: Country alpha2 being used: 00
[ 32.860139] ath: Regpair used: 0x60
[ 32.870248] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 32.872040] Registered led device: ath9k-phy0
[ 32.872098] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xd0ae0000, irq=9
...
...
...
')

relly working ok ?...
what is wrong ?
:?
$this->bbcode_second_pass_code('', '
[ 1947.690244] wlan0: authenticate with 20:4e:7f:5a:d3:7d (try 1)
[ 1947.691713] wlan0: authenticated
[ 1947.691803] wlan0: associate with 20:4e:7f:5a:d3:7d (try 1)
[ 1947.694521] wlan0: RX AssocResp from 20:4e:7f:5a:d3:7d (capab=0x11 status=0 aid=1)
[ 1947.694537] wlan0: associated
[ 1947.703719] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1947.704520] cfg80211: Calling CRDA for country: PL
[ 1947.790267] cfg80211: Regulatory domain changed to country: PL
[ 1947.790285] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 1947.790303] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1947.790318] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1947.790332] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 1947.790346] cfg80211: (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[ 1953.837888] eth0: no IPv6 routers present
[ 1957.737883] wlan0: no IPv6 routers present

[root@alarm ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet6 xxxx::xxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link>
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 13785 bytes 1227655 (1.1 MiB)
RX errors 0 dropped 4 overruns 0 frame 0
TX packets 14759 bytes 7084248 (6.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 11

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 16436 metric 1
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 metric 1
inet 192.168.1.213 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 xxxx::xxx:xxxx:xxxx:xxxx prefixlen 64 scopeid 0x20<link>
ether xx:xx:xx:xx:xx:xx txqueuelen 1000 (Ethernet)
RX packets 668 bytes 117145 (114.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 60 bytes 10547 (10.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@alarm ~]# iwconfig wlan0
wlan0 IEEE 802.11abgn ESSID:"lulo-ap-5.0"
Mode:Managed Frequency:5.2 GHz Access Point: xx:xx:xx:xx:xx:xx
Bit Rate=108 Mb/s Tx-Power=15 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=69/70 Signal level=-41 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:58 Missed beacon:0
')

working...and only for rs-232-ttl-3v3 is connect...from terminal ssh disconnect...maybe dhcp and config is bad...maybe pcie consuption big power....hmmm...not sure...router is present and managed properly (?)
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ath9k - 168c:002a - how to add (enable?) Iconnect

Postby lulo » Fri Jun 29, 2012 11:42 am

fragment dmesg:
$this->bbcode_second_pass_code('', '
...
...
...
[ 32.130432] Modules linked in: ath9k(+) ath9k_common ath9k_hw cryptodev nfs ath mac80211 cfg80211 lockd mv_cesa auth_rpcgss rfkill sunrpc
[ 32.130912] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c001e0f4>] (warn_slowpath_common+0x4c/0x64)
[ 32.130939] [<c001e0f4>] (warn_slowpath_common+0x4c/0x64) from [<c001e124>] (warn_slowpath_null+0x18/0x1c)
[ 32.131324] [<c001e124>] (warn_slowpath_null+0x18/0x1c) from [<bf1c03e0>] (ath_pci_aspm_init+0x38/0x98 [ath9k])
[ 32.131442] [<bf1c03e0>] (ath_pci_aspm_init+0x38/0x98 [ath9k]) from [<bf1513b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw])
[ 32.131535] [<bf1513b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw]) from [<bf1b5eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k])
[ 32.131623] [<bf1b5eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k]) from [<bf1c06e0>] (ath_pci_probe+0x208/0x2e4 [ath9k])
[ 32.131688] [<bf1c06e0>] (ath_pci_probe+0x208/0x2e4 [ath9k]) from [<c025c3d8>] (pci_device_probe+0x88/0x118)
[ 32.135650] [<c025c3d8>] (pci_device_probe+0x88/0x118) from [<c028b390>] (driver_probe_device+0xc4/0x1a8)
[ 32.135680] [<c028b390>] (driver_probe_device+0xc4/0x1a8) from [<c028b4dc>] (__driver_attach+0x68/0x8c)
[ 32.135704] [<c028b4dc>] (__driver_attach+0x68/0x8c) from [<c028a36c>] (bus_for_each_dev+0x48/0x8c)
[ 32.135728] [<c028a36c>] (bus_for_each_dev+0x48/0x8c) from [<c028aca4>] (bus_add_driver+0xdc/0x244)
[ 32.135752] [<c028aca4>] (bus_add_driver+0xdc/0x244) from [<c028b7e0>] (driver_register+0xa8/0x130)
[ 32.135776] [<c028b7e0>] (driver_register+0xa8/0x130) from [<c025c604>] (__pci_register_driver+0x38/0xb4)
[ 32.135841] [<c025c604>] (__pci_register_driver+0x38/0xb4) from [<bf1c7024>] (ath9k_init+0x24/0x4c [ath9k])
[ 32.135898] [<bf1c7024>] (ath9k_init+0x24/0x4c [ath9k]) from [<c0008584>] (do_one_initcall+0x90/0x168)
[ 32.135926] [<c0008584>] (do_one_initcall+0x90/0x168) from [<c005428c>] (sys_init_module+0x1740/0x18fc)
[ 32.135951] [<c005428c>] (sys_init_module+0x1740/0x18fc) from [<c0008b40>] (ret_fast_syscall+0x0/0x2c)
[ 32.135967] ---[ end trace 41e9641a60bd52c1 ]---
...
...
...
')

maybe this erros insted only if not use flag "-Wl" to makepkg.conf = can use...kernel not builds...never => any ideas ?


P.S. Generaly ... this module and wifi "dell dw1515" working...fast and stability
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am


Return to Hardware

Who is online

Users browsing this forum: No registered users and 13 guests