Please add support for kernel: CONFIG_ATH9K_PCI

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

Please add support for kernel: CONFIG_ATH9K_PCI

Postby lulo » Thu Aug 23, 2012 5:18 pm

CONFIG_ATH9K_PCI=y

Please add support for kernel: viewtopic.php?f=6&t=3135
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby WarheadsSE » Thu Aug 23, 2012 5:39 pm

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

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby lulo » Sat Aug 25, 2012 8:47 pm

last kernel/new kernel/next kernel...generaly from this build http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby WarheadsSE » Sat Aug 25, 2012 9:06 pm

Kirkwood's
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby lulo » Sun Aug 26, 2012 6:57 am

Yes - Kirkwood's - eq. Iconnect
:D
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby lulo » Sat Nov 24, 2012 11:54 pm

2 months...2 upgrades kernel ... actual release for Kirkwood = 3.1.10-14 and...hmmm...its the same .config (ath9k)...not any changes for ath9k:

$this->bbcode_second_pass_quote('', '
')#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.1.10-13 Kernel Configuration
#
...
...
...
# CONFIG_ATH9K_PCI is not set
...
...
...


..."perfect"...hehe..."thanks" developers...
;)
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby WarheadsSE » Sun Nov 25, 2012 1:20 am

*taps screen*
Did you put in a GitHub issue? Have you tried linux-kirkwood 3.6.4+?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby moonman » Thu Nov 29, 2012 11:49 am

Just compile one yourself, it's not that hard but may take several hours. Make sure to have enough swap and space in /home:

$this->bbcode_second_pass_code('', 'pacman -Sy base-devel xmlto docbook-xsl uboot-mkimage')

I already modified this PKGCONFIG to download all patches and the right config. This is k. 3.1.10-14 version
$this->bbcode_second_pass_code('', 'mkdir ~/linuxarm
cd ~/linuxarm
wget https://raw.github.com/archlinuxarm/PKGBUILDs/master/core/linux/linux.install
wget http://music4dance.mine.nu/Downloads/ArchLinuxArm/kernelath9/PKGBUILD
makepkg --asroot --skipinteg')

or if you are absolutely sure your device's u-boot supports kernel versions > 3.2, jump here
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby moonman » Fri Nov 30, 2012 10:07 am

$this->bbcode_second_pass_code('', 'pacman -U http://music4dance.mine.nu/Downloads/ArchLinuxArm/linux-3.1.10-14-arm.pkg.tar.xz http://music4dance.mine.nu/Downloads/ArchLinuxArm/linux-headers-3.1.10-14-arm.pkg.tar.xz')
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3387
Joined: Sat Jan 15, 2011 3:36 am

Re: Please add support for kernel: CONFIG_ATH9K_PCI

Postby lulo » Sat Dec 01, 2012 1:54 am

Th'x. moonman for help me to my probloms to ath9k for my iconnect . Install yor compile the last kernel form armv5te (kirkwoods) viewtopic.php?p=24593#p24593 and probably it's the same bug, identicaly problems, like this viewtopic.php?f=6&t=3135 (my compile for previously kernel).
Can install yor kernel and boot dmesg:
$this->bbcode_second_pass_code('', '
...
...
...
[ 32.087267] cfg80211: Calling CRDA to update world regulatory domain
[ 32.603602] ------------[ cut here ]------------
[ 32.603678] WARNING: at drivers/net/wireless/ath/ath9k/pci.c:132 ath_pci_aspm_init+0x38/0x98 [ath9k]()
[ 32.603691] Modules linked in: ath9k(+) ath9k_common ath9k_hw ath mac80211 cfg80211 cryptodev rfkill mv_cesa
[ 32.603760] [<c000d290>] (unwind_backtrace+0x0/0xe0) from [<c001e0dc>] (warn_slowpath_common+0x4c/0x64)
[ 32.603787] [<c001e0dc>] (warn_slowpath_common+0x4c/0x64) from [<c001e10c>] (warn_slowpath_null+0x18/0x1c)
[ 32.603852] [<c001e10c>] (warn_slowpath_null+0x18/0x1c) from [<bf0fb3d0>] (ath_pci_aspm_init+0x38/0x98 [ath9k])
[ 32.603970] [<bf0fb3d0>] (ath_pci_aspm_init+0x38/0x98 [ath9k]) from [<bf0983b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw])
[ 32.604063] [<bf0983b0>] (ath9k_hw_init+0x544/0x9ec [ath9k_hw]) from [<bf0f0eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k])
[ 32.604151] [<bf0f0eac>] (ath9k_init_device+0x1b0/0x6fc [ath9k]) from [<bf0fb6d0>] (ath_pci_probe+0x208/0x2e4 [ath9k])
[ 32.604217] [<bf0fb6d0>] (ath_pci_probe+0x208/0x2e4 [ath9k]) from [<c0231590>] (pci_device_probe+0x88/0x118)
[ 32.604246] [<c0231590>] (pci_device_probe+0x88/0x118) from [<c0260558>] (driver_probe_device+0xc4/0x1a8)
[ 32.604271] [<c0260558>] (driver_probe_device+0xc4/0x1a8) from [<c02606a4>] (__driver_attach+0x68/0x8c)
[ 32.604295] [<c02606a4>] (__driver_attach+0x68/0x8c) from [<c025f534>] (bus_for_each_dev+0x48/0x8c)
[ 32.604318] [<c025f534>] (bus_for_each_dev+0x48/0x8c) from [<c025fe6c>] (bus_add_driver+0xdc/0x244)
[ 32.604341] [<c025fe6c>] (bus_add_driver+0xdc/0x244) from [<c02609a8>] (driver_register+0xa8/0x130)
[ 32.604366] [<c02609a8>] (driver_register+0xa8/0x130) from [<c02317bc>] (__pci_register_driver+0x38/0xb4)
[ 32.604419] [<c02317bc>] (__pci_register_driver+0x38/0xb4) from [<bf102024>] (ath9k_init+0x24/0x4c [ath9k])
[ 32.604471] [<bf102024>] (ath9k_init+0x24/0x4c [ath9k]) from [<c0008584>] (do_one_initcall+0x90/0x168)
[ 32.604500] [<c0008584>] (do_one_initcall+0x90/0x168) from [<c005421c>] (sys_init_module+0x1740/0x18fc)
[ 32.604525] [<c005421c>] (sys_init_module+0x1740/0x18fc) from [<c0008b40>] (ret_fast_syscall+0x0/0x2c)
[ 32.604541] ---[ end trace 5219c4c756d554f4 ]---
[ 33.096567] ath: EEPROM regdomain: 0x60
[ 33.096581] ath: EEPROM indicates we should expect a direct regpair map
[ 33.096600] ath: Country alpha2 being used: 00
[ 33.096609] ath: Regpair used: 0x60
[ 33.106753] ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 33.108539] Registered led device: ath9k-phy0
[ 33.108600] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xd09c0000, irq=9
...
...
...
')

and other info:

$this->bbcode_second_pass_code('', '
[lulo@alarm-iconnect ~]$ 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
Power Management:on

[lulo@alarm-iconnect ~]$ iw phy0 info
Wiphy phy0
Band 1:
Capabilities: 0x11ce
HT20/HT40
SM Power Save disabled
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 2412 MHz [1] (16.0 dBm)
* 2417 MHz [2] (16.0 dBm)
* 2422 MHz [3] (16.0 dBm)
* 2427 MHz [4] (16.0 dBm)
* 2432 MHz [5] (16.0 dBm)
* 2437 MHz [6] (16.0 dBm)
* 2442 MHz [7] (16.0 dBm)
* 2447 MHz [8] (16.0 dBm)
* 2452 MHz [9] (16.0 dBm)
* 2457 MHz [10] (16.0 dBm)
* 2462 MHz [11] (16.0 dBm)
* 2467 MHz [12] (16.0 dBm) (passive scanning)
* 2472 MHz [13] (16.0 dBm) (passive scanning)
* 2484 MHz [14] (20.0 dBm) (passive scanning)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Capabilities: 0x11ce
HT20/HT40
SM Power Save disabled
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT TX/RX MCS rate indexes supported: 0-15
Frequencies:
* 5180 MHz [36] (15.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (15.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (15.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (15.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (14.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (14.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (14.0 dBm) (passive scanning, no IBSS, radar detection)
* 5500 MHz [100] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5520 MHz [104] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5540 MHz [108] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5560 MHz [112] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5580 MHz [116] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5600 MHz [120] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5620 MHz [124] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5640 MHz [128] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5660 MHz [132] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5680 MHz [136] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5700 MHz [140] (17.0 dBm) (passive scanning, no IBSS, radar detection)
* 5745 MHz [149] (17.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (17.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (17.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (17.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (17.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
max scan IEs length: 2257 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* WDS
* monitor
* P2P-client
* P2P-GO
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* connect
* disconnect
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
Device supports RSN-IBSS.
[lulo@alarm-iconnect ~]$ iw wlan0 info
Interface wlan0
ifindex 3
type managed
wiphy 0
[lulo@alarm-iconnect ~]$ sudo lspci -v
[sudo] password for lulo:
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

[lulo@alarm-iconnect ~]$ sudo ifconfig wlan0 up
SIOCSIFFLAGS: Input/output error
[lulo@alarm-iconnect ~]$ lsmod
Module Size Used by
ipv6 259694 12
rmd160 7210 0
sha1_generic 1677 1924
hmac 2383 0
blowfish 8378 0
ath9k 73072 0
ath9k_common 1528 1 ath9k
ath9k_hw 299058 2 ath9k_common,ath9k
ath 13242 2 ath9k_hw,ath9k
mac80211 170543 1 ath9k
cfg80211 143659 3 mac80211,ath,ath9k
cryptodev 30652 4
rfkill 14400 1 cfg80211
mv_cesa 9128 1924
[lulo@alarm-iconnect ~]$ sudo modinfo ath9k
filename: /lib/modules/3.1.10-14-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
srcversion: 3D29708722DBACEEAD3CB9B
alias: pci:v0000168Cd00000032sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000030sv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Esv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Dsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Csv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Bsv*sd*bc*sc*i*
alias: pci:v0000168Cd0000002Asv*sd*bc*sc*i*
alias: pci:v0000168Cd00000029sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000027sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000024sv*sd*bc*sc*i*
alias: pci:v0000168Cd00000023sv*sd*bc*sc*i*
depends: ath9k_hw,mac80211,ath9k_common,ath,cfg80211
vermagic: 3.1.10-14-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)
[lulo@alarm-iconnect ~]$ dmesg
#(after can "sudo ifconfig wlan0 up")
...
...
[ 231.314696] ath: Unable to reset hardware; reset status -5 (freq 2412 MHz)
')

Whot is wrong and how to fix the identical bug (probably for only compile drivers and boot this driver) ?
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 8 guests