2013-04-22 12:37:00

by Gerry Gavigan

[permalink] [raw]
Subject: ath9k problems on openSUSE 12.3

After some discussion :

https://forums.opensuse.org/english/get-technical-help-here/wireless/484686-advanced-atheros-issue-12-3-ath9k-64bit-frequent-random-de-auths-2.html

I have been advised to seek help here as the phase lock loop is not
working.

In case it's relevant:

- the wifi was working if possibly slightly unstable until I upgraded
to 3.8.7
(to cure suspend and resume on a gma500 in an AAO)

- Downgrading didn't work

lspci -nn returns

02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
Wireless Network Adapter [168c:0032] (rev 01)

dmesg reports

[ 24.800514] ------------[ cut here ]------------
[ 24.800563] WARNING: at
/home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/drivers/net/wireless/ath/ath9k/hw.c:794
ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]()
[ 24.800567] Hardware name: AOD270
[ 24.800571] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
ip6_tables x_tables cpufreq_conservative cpufreq_userspace
cpufreq_powersave acpi_cpufreq mperf coretemp iTCO_wdt
iTCO_vendor_support acer_wmi sparse_keymap snd_hda_codec_realtek
snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq
microcode serio_raw pcspkr i2c_i801 snd_timer snd_seq_device uvcvideo
videobuf2_core sg videodev videobuf2_vmalloc videobuf2_memops lpc_ich
mfd_core arc4 joydev snd ath9k rts_pstor(C) mac80211 ath9k_common
ath9k_hw ath cfg80211 rfkill r8169 soundcore snd_page_alloc wmi ac
battery button autofs4 gma500_gfx drm_kms_helper drm i2c_algo_bit video
thermal processor thermal_sys scsi_dh_rdac scsi_dh_emc scsi_dh_alua
scsi_dh_hp_sw scsi_dh
[ 24.800687] Pid: 64, comm: kworker/u:3 Tainted: G C 3.7.10-1.1-desktop
#1
[ 24.800690] Call Trace:
[ 24.800713] [<c0205779>] try_stack_unwind+0x199/0x1b0
[ 24.800729] [<c0204487>] dump_trace+0x47/0xf0
[ 24.800740] [<c02057db>] show_trace_log_lvl+0x4b/0x60
[ 24.800749] [<c0205808>] show_trace+0x18/0x20
[ 24.800760] [<c06fbeeb>] dump_stack+0x6d/0x72
[ 24.800812] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
[ 24.800855] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
[ 24.800897] [<f7c84448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]
[ 24.800941] [<f7b2d2b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
[ 24.801012] [<c02527dc>] process_one_work+0x10c/0x400
[ 24.801038] [<c0253e89>] worker_thread+0x119/0x3b0
[ 24.801055] [<c02584f2>] kthread+0x92/0xa0
[ 24.801076] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
[ 24.801093] [<c0258460>] kthread_create_on_node+0xd0/0xd0
[ 24.808339] DWARF2 unwinder stuck at kthread+0x0/0xa0
[ 24.808346]
[ 24.808350] Leftover inexact backtrace:
[ 24.808350]
[ 24.808361] ---[ end trace 33960a031f166c71 ]---




2013-04-22 23:35:45

by Gerry Gavigan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Thank you for replying

Unfortunately while I understood every word I don't understand what to do

For example by "once-only" do you mean that once written that's it forever or
do you mean once during install

For example I'm fairly sure everything was reasonably fine with 3.7.10 but when
I ugraded to 3.8.7 for better gma500 graphics chip compatibility things went
wrong for wifi but a revert has achieved nothing

Should I remove the battery from the netbook then do an fresh install of
openSUSE 12.3 with 3.7.10?

or something else?

Sorry to take up your time

Gerry


On Monday 22 Apr 2013 10:31:02 Adrian Chadd wrote:
> .. and make sure you do a full hardware reset (power off, wait, power
> on) when you downgrade or upgrade.
>
> Some of the register settings may be once-only and require a power
> cycle to change.


>
>
>
> adrian
>
> On 22 April 2013 10:30, Adrian Chadd <[email protected]> wrote:
> > Wasn't there a recent change to ath9k which reverted an initval
> > change? Specifically for the AR9485?
> >
> > The problem was an unstable PLL that shows up when you do aggressive
> > PCIe PHY power save.
> >
> > The change was to go back to the previous PCIe initval array.
> >
> >
> >
> > Adrian
> >
> > On 22 April 2013 05:30, Gerry Gavigan <[email protected]> wrote:
> >> After some discussion :
> >>
> >> https://forums.opensuse.org/english/get-technical-help-here/wireless/4846
> >> 86-advanced-atheros-issue-12-3-ath9k-64bit-frequent-random-de-auths-2.htm
> >> l
> >>
> >> I have been advised to seek help here as the phase lock loop is not
> >> working.
> >>
> >> In case it's relevant:
> >>
> >> - the wifi was working if possibly slightly unstable until I upgraded to
> >> 3.8.7
> >>
> >> (to cure suspend and resume on a gma500 in an AAO)
> >>
> >> - Downgrading didn't work
> >>
> >> lspci -nn returns
> >>
> >> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
> >> Wireless Network Adapter [168c:0032] (rev 01)
> >>
> >> dmesg reports
> >>
> >> [ 24.800514] ------------[ cut here ]------------
> >> [ 24.800563] WARNING: at
> >> /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/drivers/net/w
> >> ireless/ath/ath9k/hw.c:794 ar9003_get_pll_sqsum_dvc+0xa8/0xc0
> >> [ath9k_hw]()
> >> [ 24.800567] Hardware name: AOD270
> >> [ 24.800571] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
> >> af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
> >> ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
> >> nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
> >> nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
> >> ip6_tables x_tables cpufreq_conservative cpufreq_userspace
> >> cpufreq_powersave acpi_cpufreq mperf coretemp iTCO_wdt
> >> iTCO_vendor_support acer_wmi
> >> sparse_keymap snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_intel
> >> snd_hda_codec snd_hwdep snd_pcm snd_seq microcode serio_raw pcspkr
> >> i2c_i801
> >> snd_timer snd_seq_device uvcvideo videobuf2_core sg videodev
> >> videobuf2_vmalloc videobuf2_memops lpc_ich mfd_core arc4 joydev snd ath9k
> >> rts_pstor(C) mac80211 ath9k_common ath9k_hw ath cfg80211 rfkill r8169
> >> soundcore snd_page_alloc wmi ac battery button autofs4 gma500_gfx
> >> drm_kms_helper drm i2c_algo_bit video thermal processor thermal_sys
> >> scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_dh_hp_sw scsi_dh
> >> [ 24.800687] Pid: 64, comm: kworker/u:3 Tainted: G C 3.7.10-1.1-desktop
> >> #1
> >> [ 24.800690] Call Trace:
> >> [ 24.800713] [<c0205779>] try_stack_unwind+0x199/0x1b0
> >> [ 24.800729] [<c0204487>] dump_trace+0x47/0xf0
> >> [ 24.800740] [<c02057db>] show_trace_log_lvl+0x4b/0x60
> >> [ 24.800749] [<c0205808>] show_trace+0x18/0x20
> >> [ 24.800760] [<c06fbeeb>] dump_stack+0x6d/0x72
> >> [ 24.800812] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
> >> [ 24.800855] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
> >> [ 24.800897] [<f7c84448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]
> >> [ 24.800941] [<f7b2d2b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
> >> [ 24.801012] [<c02527dc>] process_one_work+0x10c/0x400
> >> [ 24.801038] [<c0253e89>] worker_thread+0x119/0x3b0
> >> [ 24.801055] [<c02584f2>] kthread+0x92/0xa0
> >> [ 24.801076] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
> >> [ 24.801093] [<c0258460>] kthread_create_on_node+0xd0/0xd0
> >> [ 24.808339] DWARF2 unwinder stuck at kthread+0x0/0xa0
> >> [ 24.808346]
> >> [ 24.808350] Leftover inexact backtrace:
> >> [ 24.808350]
> >> [ 24.808361] ---[ end trace 33960a031f166c71 ]---
> >>
> >>
> >> --
> >> 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

2013-04-24 16:39:45

by Sujith Manoharan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Gerry Gavigan wrote:
> I can't find the kernel log file - it's not (obviously) in /var/log (and Google
> is not proving to be my friend)
>
> after
>
> modprobe ath9k debug=0x8f49
>
> dmesg only contains entries relating to power_supply BAT1

You can use the latest compat-drivers release:
https://www.kernel.org/pub/linux/kernel/projects/backports/2013/03/28/compat-drivers-2013-03-28-5.tar.bz2

See: https://backports.wiki.kernel.org/index.php/Documentation/compat-drivers

But, before compiling, uncomment and set "export CONFIG_ATH_DEBUG=y" in config.mk

Sujith

2013-04-22 17:30:13

by Adrian Chadd

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Wasn't there a recent change to ath9k which reverted an initval
change? Specifically for the AR9485?

The problem was an unstable PLL that shows up when you do aggressive
PCIe PHY power save.

The change was to go back to the previous PCIe initval array.



Adrian


On 22 April 2013 05:30, Gerry Gavigan <[email protected]> wrote:
> After some discussion :
>
> https://forums.opensuse.org/english/get-technical-help-here/wireless/484686-advanced-atheros-issue-12-3-ath9k-64bit-frequent-random-de-auths-2.html
>
> I have been advised to seek help here as the phase lock loop is not working.
>
> In case it's relevant:
>
> - the wifi was working if possibly slightly unstable until I upgraded to
> 3.8.7
> (to cure suspend and resume on a gma500 in an AAO)
>
> - Downgrading didn't work
>
> lspci -nn returns
>
> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
> Wireless Network Adapter [168c:0032] (rev 01)
>
> dmesg reports
>
> [ 24.800514] ------------[ cut here ]------------
> [ 24.800563] WARNING: at
> /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/drivers/net/wireless/ath/ath9k/hw.c:794
> ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]()
> [ 24.800567] Hardware name: AOD270
> [ 24.800571] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
> af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
> ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
> nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
> nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
> ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave
> acpi_cpufreq mperf coretemp iTCO_wdt iTCO_vendor_support acer_wmi
> sparse_keymap snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_intel
> snd_hda_codec snd_hwdep snd_pcm snd_seq microcode serio_raw pcspkr i2c_i801
> snd_timer snd_seq_device uvcvideo videobuf2_core sg videodev
> videobuf2_vmalloc videobuf2_memops lpc_ich mfd_core arc4 joydev snd ath9k
> rts_pstor(C) mac80211 ath9k_common ath9k_hw ath cfg80211 rfkill r8169
> soundcore snd_page_alloc wmi ac battery button autofs4 gma500_gfx
> drm_kms_helper drm i2c_algo_bit video thermal processor thermal_sys
> scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_dh_hp_sw scsi_dh
> [ 24.800687] Pid: 64, comm: kworker/u:3 Tainted: G C 3.7.10-1.1-desktop #1
> [ 24.800690] Call Trace:
> [ 24.800713] [<c0205779>] try_stack_unwind+0x199/0x1b0
> [ 24.800729] [<c0204487>] dump_trace+0x47/0xf0
> [ 24.800740] [<c02057db>] show_trace_log_lvl+0x4b/0x60
> [ 24.800749] [<c0205808>] show_trace+0x18/0x20
> [ 24.800760] [<c06fbeeb>] dump_stack+0x6d/0x72
> [ 24.800812] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
> [ 24.800855] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
> [ 24.800897] [<f7c84448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]
> [ 24.800941] [<f7b2d2b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
> [ 24.801012] [<c02527dc>] process_one_work+0x10c/0x400
> [ 24.801038] [<c0253e89>] worker_thread+0x119/0x3b0
> [ 24.801055] [<c02584f2>] kthread+0x92/0xa0
> [ 24.801076] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
> [ 24.801093] [<c0258460>] kthread_create_on_node+0xd0/0xd0
> [ 24.808339] DWARF2 unwinder stuck at kthread+0x0/0xa0
> [ 24.808346]
> [ 24.808350] Leftover inexact backtrace:
> [ 24.808350]
> [ 24.808361] ---[ end trace 33960a031f166c71 ]---
>
>
> --
> 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

2013-04-23 08:45:40

by Sujith Manoharan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Gerry Gavigan wrote:
> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
> Wireless Network Adapter [168c:0032] (rev 01)

As a first step, can you disable Power Save and see if the issue persists ?
("iw dev wlan# set power_save off" and verify that "iw wlan0 get power_save" shows "off").

Sujith

2013-04-22 17:31:04

by Adrian Chadd

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

.. and make sure you do a full hardware reset (power off, wait, power
on) when you downgrade or upgrade.

Some of the register settings may be once-only and require a power
cycle to change.




adrian


On 22 April 2013 10:30, Adrian Chadd <[email protected]> wrote:
> Wasn't there a recent change to ath9k which reverted an initval
> change? Specifically for the AR9485?
>
> The problem was an unstable PLL that shows up when you do aggressive
> PCIe PHY power save.
>
> The change was to go back to the previous PCIe initval array.
>
>
>
> Adrian
>
>
> On 22 April 2013 05:30, Gerry Gavigan <[email protected]> wrote:
>> After some discussion :
>>
>> https://forums.opensuse.org/english/get-technical-help-here/wireless/484686-advanced-atheros-issue-12-3-ath9k-64bit-frequent-random-de-auths-2.html
>>
>> I have been advised to seek help here as the phase lock loop is not working.
>>
>> In case it's relevant:
>>
>> - the wifi was working if possibly slightly unstable until I upgraded to
>> 3.8.7
>> (to cure suspend and resume on a gma500 in an AAO)
>>
>> - Downgrading didn't work
>>
>> lspci -nn returns
>>
>> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
>> Wireless Network Adapter [168c:0032] (rev 01)
>>
>> dmesg reports
>>
>> [ 24.800514] ------------[ cut here ]------------
>> [ 24.800563] WARNING: at
>> /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/drivers/net/wireless/ath/ath9k/hw.c:794
>> ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]()
>> [ 24.800567] Hardware name: AOD270
>> [ 24.800571] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
>> af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
>> ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
>> nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
>> nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
>> ip6_tables x_tables cpufreq_conservative cpufreq_userspace cpufreq_powersave
>> acpi_cpufreq mperf coretemp iTCO_wdt iTCO_vendor_support acer_wmi
>> sparse_keymap snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_intel
>> snd_hda_codec snd_hwdep snd_pcm snd_seq microcode serio_raw pcspkr i2c_i801
>> snd_timer snd_seq_device uvcvideo videobuf2_core sg videodev
>> videobuf2_vmalloc videobuf2_memops lpc_ich mfd_core arc4 joydev snd ath9k
>> rts_pstor(C) mac80211 ath9k_common ath9k_hw ath cfg80211 rfkill r8169
>> soundcore snd_page_alloc wmi ac battery button autofs4 gma500_gfx
>> drm_kms_helper drm i2c_algo_bit video thermal processor thermal_sys
>> scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_dh_hp_sw scsi_dh
>> [ 24.800687] Pid: 64, comm: kworker/u:3 Tainted: G C 3.7.10-1.1-desktop #1
>> [ 24.800690] Call Trace:
>> [ 24.800713] [<c0205779>] try_stack_unwind+0x199/0x1b0
>> [ 24.800729] [<c0204487>] dump_trace+0x47/0xf0
>> [ 24.800740] [<c02057db>] show_trace_log_lvl+0x4b/0x60
>> [ 24.800749] [<c0205808>] show_trace+0x18/0x20
>> [ 24.800760] [<c06fbeeb>] dump_stack+0x6d/0x72
>> [ 24.800812] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
>> [ 24.800855] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
>> [ 24.800897] [<f7c84448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]
>> [ 24.800941] [<f7b2d2b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
>> [ 24.801012] [<c02527dc>] process_one_work+0x10c/0x400
>> [ 24.801038] [<c0253e89>] worker_thread+0x119/0x3b0
>> [ 24.801055] [<c02584f2>] kthread+0x92/0xa0
>> [ 24.801076] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
>> [ 24.801093] [<c0258460>] kthread_create_on_node+0xd0/0xd0
>> [ 24.808339] DWARF2 unwinder stuck at kthread+0x0/0xa0
>> [ 24.808346]
>> [ 24.808350] Leftover inexact backtrace:
>> [ 24.808350]
>> [ 24.808361] ---[ end trace 33960a031f166c71 ]---
>>
>>
>> --
>> 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

2013-04-23 09:58:47

by Sujith Manoharan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Gerry Gavigan wrote:
> - turned power save off
> - confirmed
> - shut down
> - restarted
> - power save is on
>
> problem persists

Ok.

Can you load the driver with more debugging options and post the kernel log ?
Please use the mask debug=0x8f49.

See http://wireless.kernel.org/en/users/Drivers/ath9k/debug

Sujith

2013-04-24 09:50:18

by Gerry Gavigan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

On Tuesday 23 Apr 2013 15:26:37 Sujith Manoharan wrote:

> Can you load the driver with more debugging options and post the kernel log
> ? Please use the mask debug=0x8f49.
>
> See http://wireless.kernel.org/en/users/Drivers/ath9k/debug

Sorry for delay, I had to find debugfs (easy when you realise there's a kernel
with it preinstalled)

I can't find the kernel log file - it's not (obviously) in /var/log (and Google
is not proving to be my friend)

after

modprobe ath9k debug=0x8f49

dmesg only contains entries relating to power_supply BAT1

Gerry





2013-04-23 00:56:45

by Adrian Chadd

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

Some register values can only be written to once. Writing to them
again without a power cycle doesn't change anything. You need a power
cycle.

If any of these registers were adjusted when you were testing
different kernels, you may end up having that old setting affect the
new (or old) kernel.

You'd have to physically power off the laptop between reboots.




Adrian

On 22 April 2013 16:35, Gerry Gavigan <[email protected]> wrote:
> Thank you for replying
>
> Unfortunately while I understood every word I don't understand what to do
>
> For example by "once-only" do you mean that once written that's it forever or
> do you mean once during install
>
> For example I'm fairly sure everything was reasonably fine with 3.7.10 but when
> I ugraded to 3.8.7 for better gma500 graphics chip compatibility things went
> wrong for wifi but a revert has achieved nothing
>
> Should I remove the battery from the netbook then do an fresh install of
> openSUSE 12.3 with 3.7.10?
>
> or something else?
>
> Sorry to take up your time
>
> Gerry
>
>
> On Monday 22 Apr 2013 10:31:02 Adrian Chadd wrote:
>> .. and make sure you do a full hardware reset (power off, wait, power
>> on) when you downgrade or upgrade.
>>
>> Some of the register settings may be once-only and require a power
>> cycle to change.
>
>
>>
>>
>>
>> adrian
>>
>> On 22 April 2013 10:30, Adrian Chadd <[email protected]> wrote:
>> > Wasn't there a recent change to ath9k which reverted an initval
>> > change? Specifically for the AR9485?
>> >
>> > The problem was an unstable PLL that shows up when you do aggressive
>> > PCIe PHY power save.
>> >
>> > The change was to go back to the previous PCIe initval array.
>> >
>> >
>> >
>> > Adrian
>> >
>> > On 22 April 2013 05:30, Gerry Gavigan <[email protected]> wrote:
>> >> After some discussion :
>> >>
>> >> https://forums.opensuse.org/english/get-technical-help-here/wireless/4846
>> >> 86-advanced-atheros-issue-12-3-ath9k-64bit-frequent-random-de-auths-2.htm
>> >> l
>> >>
>> >> I have been advised to seek help here as the phase lock loop is not
>> >> working.
>> >>
>> >> In case it's relevant:
>> >>
>> >> - the wifi was working if possibly slightly unstable until I upgraded to
>> >> 3.8.7
>> >>
>> >> (to cure suspend and resume on a gma500 in an AAO)
>> >>
>> >> - Downgrading didn't work
>> >>
>> >> lspci -nn returns
>> >>
>> >> 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
>> >> Wireless Network Adapter [168c:0032] (rev 01)
>> >>
>> >> dmesg reports
>> >>
>> >> [ 24.800514] ------------[ cut here ]------------
>> >> [ 24.800563] WARNING: at
>> >> /home/abuild/rpmbuild/BUILD/kernel-desktop-3.7.10/linux-3.7/drivers/net/w
>> >> ireless/ath/ath9k/hw.c:794 ar9003_get_pll_sqsum_dvc+0xa8/0xc0
>> >> [ath9k_hw]()
>> >> [ 24.800567] Hardware name: AOD270
>> >> [ 24.800571] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
>> >> af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
>> >> ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
>> >> nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
>> >> nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
>> >> ip6_tables x_tables cpufreq_conservative cpufreq_userspace
>> >> cpufreq_powersave acpi_cpufreq mperf coretemp iTCO_wdt
>> >> iTCO_vendor_support acer_wmi
>> >> sparse_keymap snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_intel
>> >> snd_hda_codec snd_hwdep snd_pcm snd_seq microcode serio_raw pcspkr
>> >> i2c_i801
>> >> snd_timer snd_seq_device uvcvideo videobuf2_core sg videodev
>> >> videobuf2_vmalloc videobuf2_memops lpc_ich mfd_core arc4 joydev snd ath9k
>> >> rts_pstor(C) mac80211 ath9k_common ath9k_hw ath cfg80211 rfkill r8169
>> >> soundcore snd_page_alloc wmi ac battery button autofs4 gma500_gfx
>> >> drm_kms_helper drm i2c_algo_bit video thermal processor thermal_sys
>> >> scsi_dh_rdac scsi_dh_emc scsi_dh_alua scsi_dh_hp_sw scsi_dh
>> >> [ 24.800687] Pid: 64, comm: kworker/u:3 Tainted: G C 3.7.10-1.1-desktop
>> >> #1
>> >> [ 24.800690] Call Trace:
>> >> [ 24.800713] [<c0205779>] try_stack_unwind+0x199/0x1b0
>> >> [ 24.800729] [<c0204487>] dump_trace+0x47/0xf0
>> >> [ 24.800740] [<c02057db>] show_trace_log_lvl+0x4b/0x60
>> >> [ 24.800749] [<c0205808>] show_trace+0x18/0x20
>> >> [ 24.800760] [<c06fbeeb>] dump_stack+0x6d/0x72
>> >> [ 24.800812] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
>> >> [ 24.800855] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
>> >> [ 24.800897] [<f7c84448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]
>> >> [ 24.800941] [<f7b2d2b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
>> >> [ 24.801012] [<c02527dc>] process_one_work+0x10c/0x400
>> >> [ 24.801038] [<c0253e89>] worker_thread+0x119/0x3b0
>> >> [ 24.801055] [<c02584f2>] kthread+0x92/0xa0
>> >> [ 24.801076] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
>> >> [ 24.801093] [<c0258460>] kthread_create_on_node+0xd0/0xd0
>> >> [ 24.808339] DWARF2 unwinder stuck at kthread+0x0/0xa0
>> >> [ 24.808346]
>> >> [ 24.808350] Leftover inexact backtrace:
>> >> [ 24.808350]
>> >> [ 24.808361] ---[ end trace 33960a031f166c71 ]---
>> >>
>> >>
>> >> --
>> >> 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
> --
> 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

2013-04-23 09:34:36

by Gerry Gavigan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

On Tuesday 23 Apr 2013 14:13:30 Sujith Manoharan wrote:
> Gerry Gavigan wrote:
> > 02:00.0 Network controller [0280]: Atheros Communications Inc. AR9485
> > Wireless Network Adapter [168c:0032] (rev 01)
>
> As a first step, can you disable Power Save and see if the issue persists ?
> ("iw dev wlan# set power_save off" and verify that "iw wlan0 get power_save"
> shows "off").

Thank you

- turned power save off
- confirmed
- shut down
- restarted
- power save is on

problem persists

dmesg trace

[ 15.610198] wlan0: direct probe to 00:1f:33:7a:cf:b4 (try 3/3)
[ 15.811020] wlan0: authentication with 00:1f:33:7a:cf:b4 timed out
[ 15.931895] ------------[ cut here ]------------
[ 15.931944] WARNING: at
/home/abuild/rpmbuild/BUILD/kernel-
desktop-3.7.10/linux-3.7/drivers/net/wireless/ath/ath9k/hw.c:794
ar9003_get_pll_sqsum_dvc+0xa8/0xc0 [ath9k_hw]()
[ 15.931948] Hardware name: AOD270
[ 15.931952] Modules linked in: xt_tcpudp xt_pkttype xt_LOG xt_limit
af_packet bnep bluetooth ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6
ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle
nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4
nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter
ip6_tables x_tables cpufreq_conservative cpufreq_userspace
cpufreq_powersave acpi_cpufreq mperf coretemp iTCO_wdt
iTCO_vendor_support acer_wmi sparse_keymap snd_hda_codec_realtek
snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hwdep snd_pcm
microcode snd_seq pcspkr uvcvideo serio_raw videobuf2_core videodev
videobuf2_vmalloc videobuf2_memops joydev i2c_i801 snd_timer sg
snd_seq_device lpc_ich mfd_core arc4 snd ath9k mac80211 ath9k_common
ath9k_hw rts_pstor(C) ath cfg80211 rfkill r8169 soundcore snd_page_alloc
ac wmi battery button autofs4 gma500_gfx drm_kms_helper drm i2c_algo_bit
thermal video processor thermal_sys scsi_dh_rdac scsi_dh_emc
scsi_dh_alua scsi_dh_hp_sw scsi_dh
[ 15.932067] Pid: 63, comm: kworker/u:2 Tainted: G C
3.7.10-1.1-desktop #1
[ 15.932071] Call Trace:
[ 15.932093] [<c0205779>] try_stack_unwind+0x199/0x1b0
[ 15.932110] [<c0204487>] dump_trace+0x47/0xf0
[ 15.932121] [<c02057db>] show_trace_log_lvl+0x4b/0x60
[ 15.932130] [<c0205808>] show_trace+0x18/0x20
[ 15.932141] [<c06fbeeb>] dump_stack+0x6d/0x72
[ 15.932151] [<c0238cb8>] warn_slowpath_common+0x78/0xb0
[ 15.932162] [<c0238d0b>] warn_slowpath_null+0x1b/0x20
[ 15.932185] [<f7c78448>] ar9003_get_pll_sqsum_dvc+0xa8/0xc0
[ath9k_hw]
[ 15.932215] [<f7b712b8>] ath_hw_pll_work+0x48/0xc0 [ath9k]
[ 15.932261] [<c02527dc>] process_one_work+0x10c/0x400
[ 15.932272] [<c0253e89>] worker_thread+0x119/0x3b0
[ 15.932282] [<c02584f2>] kthread+0x92/0xa0
[ 15.932294] [<c070dc67>] ret_from_kernel_thread+0x1b/0x28
[ 15.932304] [<c0258460>] kthread_create_on_node+0xd0/0xd0
[ 15.939555] DWARF2 unwinder stuck at kthread+0x0/0xa0
[ 15.939561]
[ 15.939565] Leftover inexact backtrace:
[ 15.939565]
[ 15.939577] ---[ end trace bf86f678b93882b1 ]---

should I

- turn power save off
- reinstall 3.7.10 (start again with openSUSE 12.3)?

Grateful people are helping, sorry if I'm being stupid

Gerry

2013-05-01 15:55:22

by Gerry Gavigan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

On 01.05.2013 16:38, Adrian Chadd wrote:
> .. what was the problem?

I had connected a wifi network extender which borked (at the same time
that I upgraded the kernel for better gma500 support)

I removed the wifi extender but subsequently had all the problems.

However the source was a tick box in my Netgear router that I don't
remember setting (or it gets set by using an extender, I've not explored
that)

This provided wirelss isolation limited to the extender and prevented
authentication directly with the router. (This might be how extenders
work but that seems strange to me)

I identified it after I dug out a slow but known working AAO with an
Intel wifi card and which mysteriously failed to authenticate, so from
then I knew I was looking in the wrong place.

2013-05-01 08:35:15

by Gerry Gavigan

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

On Tuesday 23 Apr 2013 15:26:37 Sujith Manoharan wrote:
> Gerry Gavigan wrote:
> > - turned power save off
> > - confirmed
> > - shut down
> > - restarted
> > - power save is on
> >
> > problem persists
>
> Ok.
>
> Can you load the driver with more debugging options and post the kernel log
> ? Please use the mask debug=0x8f49.

I managed to identify what turned out to be the real problem. It was nothing
to do with the ath9k and everything to do with my router.

I apologise for wasting your time but I am grateful that you bothered

Gerry







2013-05-01 15:38:31

by Adrian Chadd

[permalink] [raw]
Subject: Re: ath9k problems on openSUSE 12.3

.. what was the problem?




adrian

On 1 May 2013 01:35, Gerry Gavigan <[email protected]> wrote:
> On Tuesday 23 Apr 2013 15:26:37 Sujith Manoharan wrote:
>> Gerry Gavigan wrote:
>> > - turned power save off
>> > - confirmed
>> > - shut down
>> > - restarted
>> > - power save is on
>> >
>> > problem persists
>>
>> Ok.
>>
>> Can you load the driver with more debugging options and post the kernel log
>> ? Please use the mask debug=0x8f49.
>
> I managed to identify what turned out to be the real problem. It was nothing
> to do with the ath9k and everything to do with my router.
>
> I apologise for wasting your time but I am grateful that you bothered
>
> Gerry
>
>
>
>
>
>
> --
> 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