You are not logged in.

#1 2011-04-14 09:34:45

mekh
Member
Registered: 2011-01-31
Posts: 11

Wi-Fi - too slow after suspend.

Hello,
After normal boot download speed is about 70Mbit/s. But after suspend it decreases to 4Mbit/s. This happens with all last kernels and compat-wireless snapshots.
I don't use network-manager or wicd.

Corresponding dmesg output:

EXT4-fs (sda3): re-mounted. Opts: commit=0
EXT4-fs (sda4): re-mounted. Opts: commit=0
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
sd 0:0:0:0: [sda] Synchronizing SCSI cache
sd 0:0:0:0: [sda] Stopping disk
sdhci-pci 0000:07:00.0: PCI INT B disabled
ehci_hcd 0000:00:1a.0: PCI INT A disabled
ehci_hcd 0000:00:1d.0: PCI INT A disabled
HDA Intel 0000:00:1b.0: PCI INT A disabled
PM: suspend of devices complete after 679.536 msecs
PM: late suspend of devices complete after 39.966 msecs
ACPI: Preparing to enter system sleep state S3
PM: Saving platform NVS memory
Disabling non-boot CPUs ...
CPU 1 is now offline
CPU 2 is now offline
CPU 3 is now offline
Extended CMOS year: 2000
Back to C!
PM: Restoring platform NVS memory
Extended CMOS year: 2000
Enabling non-boot CPUs ...
Booting Node 0 Processor 1 APIC 0x4
Switched to NOHz mode on CPU #1
NMI watchdog enabled, takes one hw-pmu counter.
CPU1 is up
Booting Node 0 Processor 2 APIC 0x1
Switched to NOHz mode on CPU #2
NMI watchdog enabled, takes one hw-pmu counter.
CPU2 is up
Booting Node 0 Processor 3 APIC 0x5
Switched to NOHz mode on CPU #3
NMI watchdog enabled, takes one hw-pmu counter.
CPU3 is up
ACPI: Waking up from system sleep state S3
pcieport 0000:00:01.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
pcieport 0000:00:01.0: restoring config space at offset 0x3 (was 0x10000, writing 0x10010)
pcieport 0000:00:01.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100407)
i915 0000:00:02.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
i915 0000:00:02.0: restoring config space at offset 0x1 (was 0x900007, writing 0x900407)
pci 0000:00:16.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
pci 0000:00:16.0: restoring config space at offset 0x4 (was 0x4, writing 0xf7c0a004)
pci 0000:00:16.0: restoring config space at offset 0x1 (was 0x180000, writing 0x100006)
ehci_hcd 0000:00:1a.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
ehci_hcd 0000:00:1a.0: restoring config space at offset 0x4 (was 0x0, writing 0xf7c08000)
ehci_hcd 0000:00:1a.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
HDA Intel 0000:00:1b.0: restoring config space at offset 0xf (was 0x100, writing 0x105)
HDA Intel 0000:00:1b.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
HDA Intel 0000:00:1b.0: restoring config space at offset 0x1 (was 0x100006, writing 0x100002)
pcieport 0000:00:1c.0: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
pcieport 0000:00:1c.0: restoring config space at offset 0x9 (was 0x1fff1, writing 0xf7e1f7d1)
pcieport 0000:00:1c.0: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pcieport 0000:00:1c.1: restoring config space at offset 0xf (was 0x200, writing 0x100203)
pcieport 0000:00:1c.1: restoring config space at offset 0x9 (was 0x1fff1, writing 0xfc11fc01)
pcieport 0000:00:1c.1: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.1: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pcieport 0000:00:1c.2: restoring config space at offset 0xf (was 0x300, writing 0x100304)
pcieport 0000:00:1c.2: restoring config space at offset 0x9 (was 0x1fff1, writing 0xfc31fc21)
pcieport 0000:00:1c.2: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.2: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pcieport 0000:00:1c.3: restoring config space at offset 0xf (was 0x400, writing 0x10040a)
pcieport 0000:00:1c.3: restoring config space at offset 0x9 (was 0x1fff1, writing 0xfc51fc41)
pcieport 0000:00:1c.3: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.3: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pcieport 0000:00:1c.4: restoring config space at offset 0xf (was 0x100, writing 0x10010b)
pcieport 0000:00:1c.4: restoring config space at offset 0x9 (was 0x1fff1, writing 0xfc71fc61)
pcieport 0000:00:1c.4: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.4: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pcieport 0000:00:1c.5: restoring config space at offset 0xf (was 0x200, writing 0x100203)
pcieport 0000:00:1c.5: restoring config space at offset 0x9 (was 0x1fff1, writing 0xfc91fc81)
pcieport 0000:00:1c.5: restoring config space at offset 0x3 (was 0x810000, writing 0x810010)
pcieport 0000:00:1c.5: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
ehci_hcd 0000:00:1d.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
ehci_hcd 0000:00:1d.0: restoring config space at offset 0x4 (was 0x0, writing 0xf7c07000)
ehci_hcd 0000:00:1d.0: restoring config space at offset 0x1 (was 0x2900000, writing 0x2900002)
pci 0000:00:1e.0: restoring config space at offset 0xf (was 0x0, writing 0x100000)
ahci 0000:00:1f.2: restoring config space at offset 0x1 (was 0x2b00007, writing 0x2b00407)
i801_smbus 0000:00:1f.3: restoring config space at offset 0x1 (was 0x2800001, writing 0x2800003)
intel ips 0000:00:1f.6: restoring config space at offset 0x1 (was 0x100000, writing 0x100006)
ath9k 0000:03:00.0: restoring config space at offset 0xf (was 0x1ff, writing 0x103)
ath9k 0000:03:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf5400004)
ath9k 0000:03:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
ath9k 0000:03:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
sdhci-pci 0000:07:00.0: restoring config space at offset 0xf (was 0x2ff, writing 0x204)
sdhci-pci 0000:07:00.0: restoring config space at offset 0x4 (was 0x0, writing 0xf0405000)
sdhci-pci 0000:07:00.0: restoring config space at offset 0x3 (was 0x800000, writing 0x800010)
sdhci-pci 0000:07:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
pci 0000:07:00.2: restoring config space at offset 0xf (was 0x2ff, writing 0x204)
pci 0000:07:00.2: restoring config space at offset 0x4 (was 0x0, writing 0xf0404000)
pci 0000:07:00.2: restoring config space at offset 0x3 (was 0x800000, writing 0x800010)
pci 0000:07:00.2: restoring config space at offset 0x1 (was 0x100000, writing 0x100003)
jme 0000:07:00.5: restoring config space at offset 0xf (was 0x100, writing 0x103)
jme 0000:07:00.5: restoring config space at offset 0x7 (was 0x1, writing 0x8001)
jme 0000:07:00.5: restoring config space at offset 0x6 (was 0x1, writing 0x8101)
jme 0000:07:00.5: restoring config space at offset 0x4 (was 0x0, writing 0xf0400000)
jme 0000:07:00.5: restoring config space at offset 0x3 (was 0x800000, writing 0x800010)
jme 0000:07:00.5: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
PM: early resume of devices complete after 1.555 msecs
i915 0000:00:02.0: setting latency timer to 64
ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
ehci_hcd 0000:00:1a.0: setting latency timer to 64
HDA Intel 0000:00:1b.0: setting latency timer to 64
ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) -> IRQ 23
HDA Intel 0000:00:1b.0: irq 42 for MSI/MSI-X
ehci_hcd 0000:00:1d.0: setting latency timer to 64
pci 0000:00:1e.0: setting latency timer to 64
ahci 0000:00:1f.2: setting latency timer to 64
sd 0:0:0:0: [sda] Starting disk
sdhci-pci 0000:07:00.0: PCI INT B -> GSI 18 (level, low) -> IRQ 18
sdhci-pci 0000:07:00.0: setting latency timer to 64
usb 1-1.5: reset full speed USB device using ehci_hcd and address 4
ata5: SATA link down (SStatus 0 SControl 300)
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata2.00: configured for UDMA/100
btusb 1-1.5:1.0: no reset_resume for driver btusb?
btusb 1-1.5:1.1: no reset_resume for driver btusb?
ata6: SATA link down (SStatus 0 SControl 300)
usb 1-1.2: reset high speed USB device using ehci_hcd and address 3
irq 17: nobody cared (try booting with the "irqpoll" option)
Pid: 0, comm: swapper Not tainted 2.6.38-ARCH #1
Call Trace:
<IRQ>  [<ffffffff813aa802>] ? __report_bad_irq.isra.3+0x33/0x81
 [<ffffffff810b86ce>] ? note_interrupt+0x18e/0x1d0
 [<ffffffff810b9415>] ? handle_fasteoi_irq+0xc5/0xf0
 [<ffffffff8100decd>] ? handle_irq+0x1d/0x30
 [<ffffffff8100db55>] ? do_IRQ+0x55/0xd0
 [<ffffffff813b25d3>] ? ret_from_intr+0x0/0x15
 <EOI>  [<ffffffff812ddf12>] ? poll_idle+0x32/0x70
 [<ffffffff812ddeee>] ? poll_idle+0xe/0x70
 [<ffffffff812df5b3>] ? menu_select+0xb3/0x330
 [<ffffffff812ddfe8>] ? cpuidle_idle_call+0x98/0x350
 [<ffffffff81009226>] ? cpu_idle+0xb6/0x100
 [<ffffffff81392f2d>] ? rest_init+0x91/0xa4
 [<ffffffff8160ccbd>] ? start_kernel+0x401/0x40e
 [<ffffffff8160c347>] ? x86_64_start_reservations+0x132/0x136
 [<ffffffff8160c140>] ? early_idt_handler+0x0/0x71
 [<ffffffff8160c44d>] ? x86_64_start_kernel+0x102/0x111
handlers:
[<ffffffffa03ced30>] (ath_isr+0x0/0x250 [ath9k])
Disabling IRQ #17
intel ips 0000:00:1f.6: MCP limit exceeded: Avg temp 10286, limit 9000
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/133
PM: resume of devices complete after 2059.580 msecs
PM: Finishing wakeup.
Restarting tasks ... done.
video LNXVIDEO:00: Restoring backlight state
wlan0: deauthenticated from 00:23:69:c2:67:04 (Reason: 6)
cfg80211: Calling CRDA for country: RU
wlan0: authenticate with 00:23:69:c2:67:04 (try 1)
wlan0: authenticated
wlan0: associate with 00:23:69:c2:67:04 (try 1)
wlan0: RX AssocResp from 00:23:69:c2:67:04 (capab=0x431 status=0 aid=1)
wlan0: associated
EXT4-fs (sda3): re-mounted. Opts: commit=0
EXT4-fs (sda4): re-mounted. Opts: commit=0

System information:

$uname -a

Linux arch 2.6.38-ARCH #1 SMP PREEMPT Wed Mar 30 08:47:36 CEST 2011 x86_64 Intel(R) Core(TM) i3 CPU M 350 @ 2.27GHz GenuineIntel GNU/Linux

$lspci

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 12)
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12)
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06)
00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4 (rev 06)
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 06)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 06)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
03:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
07:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
07:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80)
07:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)

$iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:"mech"  
          Mode:Managed  Frequency:2.417 GHz  Access Point: 00:23:69:C2:67:04   
          Bit Rate=150 Mb/s   Tx-Power=17 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=46/70  Signal level=-64 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:21  Invalid misc:42   Missed beacon:0

I would be grateful for any help.

--
Best regards, Alexandr V.Mekh

Offline

#2 2011-04-14 11:22:23

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Wi-Fi - too slow after suspend.

I have the same problem occasionally, but not with an Atheros but a Broadcom card.


ᶘ ᵒᴥᵒᶅ

Offline

#3 2011-04-14 12:06:14

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Wi-Fi - too slow after suspend.

I was having trouble getting my card to resume after a suspend, and this provided a solution for me.  You can try it and see if it doesn't help your situation:
https://bugs.launchpad.net/ubuntu/+sour … bug/324213


I laugh, yet the joke is on me

Offline

#4 2011-04-14 15:45:39

mekh
Member
Registered: 2011-01-31
Posts: 11

Re: Wi-Fi - too slow after suspend.

the sad clown
Unfortunately it's not in my case. I've tried to unload/load module manually before and it wasn't helpful. Even it gets worst - dhcpcd continuously loses connection.
The only one solution is to reboot the whole system.

Still in search of any solutions.

Offline

#5 2011-04-15 01:25:53

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Wi-Fi - too slow after suspend.

Have a look at this thread and see if it doesn't help:
https://bbs.archlinux.org/viewtopic.php?id=116955


I laugh, yet the joke is on me

Offline

Board footer

Powered by FluxBB