2011-06-03 06:43:18

by Matt Chen

[permalink] [raw]
Subject: master-2011-06-01 git tree can't recognize my AR9285 chip.

Hi all,
I git pull the latest version of wireless-testing tree and built whole
the kernel and related driver. I found my AR9285 (10ec:002b) can't be
recognized, and the ath9k is not loaded automatically. I tried the
kernel 2.6.39, it is working right.

Some info as below :
1) linux:/home/linux/git/wireless-testing # git describe
master-2011-06-01
2) linux:/home/linux/git/wireless-testing # lspci -nnk
....
09:00.0 Network controller [0280]: Atheros Communications Inc.
AR9285 Wireless Network Adapter
(PCI-Express) [168c:002b] (rev 01)
ff:00.0 Host bridge [0600]: Intel Corporation Core Processor
QuickPath Architecture Generic Non-core Registers
[8086:2c62] (rev 02)
.....


--
Thanks ~
Matt Chen


2011-06-03 08:54:47

by Matt Chen

[permalink] [raw]
Subject: Re: master-2011-06-01 git tree can't recognize my AR9285 chip.

Hi Mohammed,

2011/6/3 Mohammed Shafi <[email protected]>:
> On Fri, Jun 3, 2011 at 12:13 PM, Matt Chen <[email protected]> wrote:
>> Hi all,
>> I git pull the latest version of wireless-testing tree and built whole
>> the kernel and related driver. I found my AR9285 (10ec:002b) can't be
>> recognized, and the ath9k is not loaded automatically. I tried the
>> kernel 2.6.39, it is working right.
>
> i am compiling the latest tree, i will try out. any debug messages?
> sudo modprobe -r ath9k
> sudo modprobe -v ath9k debug=0xffffffff(you should have enabled
> ATH_DEBUG and ATH9K_DEBUGFS while compiling the kernel).
OK, already enabled both and recompiled.
When load ath9k with debug parameter, it only showed :

linux:/home/linux # modprobe -v ath9k debug=0xfffffffff
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/drivers/net/wireless/ath/ath.ko
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/drivers/net/wireless/ath/ath9k/ath9k_hw.ko
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/drivers/net/wireless/ath/ath9k/ath9k_common.ko
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/3.0.0-rc1-wl-0.2.2.2598.1.PTF-pae/kernel/drivers/net/wireless/ath/ath9k/ath9k.ko
debug=0xfffffffff


/var/log/messages:
Jun 3 16:52:12 linux kernel: [ 600.472000] cfg80211: Calling CRDA to
update world regulatory domain

>>
>> Some info as below :
>> 1) linux:/home/linux/git/wireless-testing # git describe
>> ? ?master-2011-06-01
>> 2) linux:/home/linux/git/wireless-testing # lspci -nnk
>> ? ? ....
>> ? ? 09:00.0 Network controller [0280]: Atheros Communications Inc.
>> AR9285 Wireless Network Adapter
>> ? ? (PCI-Express) [168c:002b] (rev 01)
>> ? ? ff:00.0 Host bridge [0600]: Intel Corporation Core Processor
>> QuickPath Architecture Generic Non-core Registers
>> ? ? [8086:2c62] (rev 02)
>> ? ? .....
>> --
>> Thanks ~
>> Matt Chen
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>>
>
>
>
> --
> shafi
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
Thanks ~
Matt Chen

2011-06-03 07:52:57

by Mohammed Shafi

[permalink] [raw]
Subject: Re: master-2011-06-01 git tree can't recognize my AR9285 chip.

On Fri, Jun 3, 2011 at 12:13 PM, Matt Chen <[email protected]> wrote:
> Hi all,
> I git pull the latest version of wireless-testing tree and built whole
> the kernel and related driver. I found my AR9285 (10ec:002b) can't be
> recognized, and the ath9k is not loaded automatically. I tried the
> kernel 2.6.39, it is working right.

i am compiling the latest tree, i will try out. any debug messages?
sudo modprobe -r ath9k
sudo modprobe -v ath9k debug=0xffffffff(you should have enabled
ATH_DEBUG and ATH9K_DEBUGFS while compiling the kernel).


>
> Some info as below :
> 1) linux:/home/linux/git/wireless-testing # git describe
> ? ?master-2011-06-01
> 2) linux:/home/linux/git/wireless-testing # lspci -nnk
> ? ? ....
> ? ? 09:00.0 Network controller [0280]: Atheros Communications Inc.
> AR9285 Wireless Network Adapter
> ? ? (PCI-Express) [168c:002b] (rev 01)
> ? ? ff:00.0 Host bridge [0600]: Intel Corporation Core Processor
> QuickPath Architecture Generic Non-core Registers
> ? ? [8086:2c62] (rev 02)
> ? ? .....
>
>
> --
> Thanks ~
> Matt Chen
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
shafi

2011-06-03 14:22:34

by Mohammed Shafi

[permalink] [raw]
Subject: Re: master-2011-06-01 git tree can't recognize my AR9285 chip.

On Fri, Jun 3, 2011 at 12:13 PM, Matt Chen <[email protected]> wrote:
> Hi all,

Hi Matt

> I git pull the latest version of wireless-testing tree and built whole
> the kernel and related driver. I found my AR9285 (10ec:002b) can't be
> recognized, and the ath9k is not loaded automatically. I tried the
> kernel 2.6.39, it is working right.

just now tested with the latest wt-tree my card is up and running,
**attached my sample kernel config for your help
also your message with full debug enabled is not complete.
please let me know if you have any problems

04:00.0 Network controller [0280]: Atheros Communications Inc. AR9285
Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: Atheros Communications Inc. Device [168c:30a1]
Kernel driver in use: ath9k
Kernel modules: ath9k


>
> Some info as below :
> 1) linux:/home/linux/git/wireless-testing # git describe
> ? ?master-2011-06-01
> 2) linux:/home/linux/git/wireless-testing # lspci -nnk
> ? ? ....
> ? ? 09:00.0 Network controller [0280]: Atheros Communications Inc.
> AR9285 Wireless Network Adapter
> ? ? (PCI-Express) [168c:002b] (rev 01)
> ? ? ff:00.0 Host bridge [0600]: Intel Corporation Core Processor
> QuickPath Architecture Generic Non-core Registers
> ? ? [8086:2c62] (rev 02)
> ? ? .....
>
>
> --
> Thanks ~
> Matt Chen
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
shafi


Attachments:
kernel-config (136.51 kB)