[Bugme-new] [Bug 32632] New: device resume from standby fails

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Mon Apr 4 07:25:47 PDT 2011


https://bugzilla.kernel.org/show_bug.cgi?id=32632

           Summary: device resume from standby fails
           Product: Drivers
           Version: 2.5
    Kernel Version: at least 2.6.37 to 2.6.39-rc1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Network
        AssignedTo: drivers_network at kernel-bugs.osdl.org
        ReportedBy: daniel.blueman at gmail.com
                CC: romieu at fr.zoreil.com
        Regression: No


When enabling auto power management for all devices in my laptop (including PCI
and USB), when I resume from suspend, my r8169 ethernet device is the only one
which fails to work. Replugging the ethernet cable doesn't help either.

Out of resume and after the ethernet cable was replugged, we still see wakeup
enabled, but the device is suspended:

root at exige:/sys/bus/pci/devices/0000:0b:00.0/power# grep . *
grep: autosuspend_delay_ms: Input/output error
control:auto
runtime_active_time:38415680
runtime_status:suspended
runtime_suspended_time:575490
wakeup:enabled
wakeup_active:0
wakeup_active_count:0
wakeup_count:0
wakeup_hit_count:0
wakeup_last_time_ms:0
wakeup_max_time_ms:0
wakeup_total_time_ms:0

dmesg is:

[    2.742430] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    2.742520] r8169 0000:0b:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    2.742683] r8169 0000:0b:00.0: setting latency timer to 64
[    2.742844] r8169 0000:0b:00.0: irq 46 for MSI/MSI-X
[    2.743541] r8169 0000:0b:00.0: eth0: RTL8168d/8111d at 0xffffc90000c76000,
00:26:b9:0c:62:51, XID 081000c0 IRQ 46
[    5.959232] r8169 0000:0b:00.0: eth0: link down
[    5.959249] r8169 0000:0b:00.0: eth0: link down
[    7.770072] r8169 0000:0b:00.0: eth0: link up

<enable power management via: echo auto
>/sys/bus/pci/devices/0000\:0b:00.0/power/control>
<initiate suspend>
[38374.470521] r8169 0000:0b:00.0: PME# enabled
<initiate resume>
[38378.394827] r8169 0000:0b:00.0: restoring config space at offset 0x1 (was
0x40100507, writing 0x100507)
[38378.394910] r8169 0000:0b:00.0: PME# disabled
[38379.603837] r8169 0000:0b:00.0: PME# enabled
[38379.603844] r8169 0000:0b:00.0: wake-up capability enabled by ACPI
[38383.332199] r8169 0000:0b:00.0: restoring config space at offset 0xf (was
0x1ff, writing 0x10a)
[38383.332216] r8169 0000:0b:00.0: restoring config space at offset 0x8 (was
0xc, writing 0xf080000c)
[38383.332227] r8169 0000:0b:00.0: restoring config space at offset 0x6 (was
0xc, writing 0xf080400c)
[38383.332238] r8169 0000:0b:00.0: restoring config space at offset 0x4 (was
0x1, writing 0x7001)
[38383.332247] r8169 0000:0b:00.0: restoring config space at offset 0x3 (was
0x0, writing 0x10)
[38383.332257] r8169 0000:0b:00.0: restoring config space at offset 0x1 (was
0x100000, writing 0x40100507)
[38383.332776] r8169 0000:0b:00.0: wake-up capability disabled by ACPI
[38383.332824] r8169 0000:0b:00.0: PME# disabled
[38385.755502] r8169 0000:0b:00.0: PME# enabled
[38385.908690] r8169 0000:0b:00.0: PME# disabled
[38385.962841] r8169 0000:0b:00.0: eth0: link down
[38385.962860] r8169 0000:0b:00.0: eth0: link down
[38386.058738] r8169 0000:0b:00.0: PME# enabled

<force device on via: echo on
>/sys/bus/pci/devices/0000\:0b:00.0/power/control>
[38991.944548] r8169 0000:0b:00.0: restoring config space at offset 0x1 (was
0x40100507, writing 0x100507)
[38991.944753] r8169 0000:0b:00.0: PME# disabled
[38992.034252] r8169 0000:0b:00.0: eth0: link down
[38993.747932] r8169 0000:0b:00.0: eth0: link up

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Bugme-new mailing list