LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* e1000 doesn't resume properly from standby (2.6.23-rc2)
@ 2007-08-05  8:52 Simon Arlott
  2007-08-06  3:01 ` Kok, Auke
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Arlott @ 2007-08-05  8:52 UTC (permalink / raw)
  To: linux-pm; +Cc: Linux Kernel Mailing List, netdev

00:0a.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
        Subsystem: Intel Corp.: Unknown device 1012
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
        Memory at e3020000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at b000 [size=64]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

00:0a.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
        Subsystem: Intel Corp.: Unknown device 1012
        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 12
        Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at b400 [size=64]
        Capabilities: [dc] Power Management version 2
        Capabilities: [e4] PCI-X non-bridge device.
        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

[  950.132046] Stopping tasks ... done.
[  950.459794] Suspending console(s)
[  951.776277] pnp: Device 00:0c disabled.
[  951.776673] pnp: Device 00:0a disabled.
[  951.776984] pnp: Device 00:09 disabled.
[  951.777306] pnp: Device 00:08 disabled.
[  951.777786] ACPI: PCI interrupt for device 0000:00:11.5 disabled
[  951.995359] ACPI: PCI interrupt for device 0000:00:11.3 disabled
[  952.006094] ACPI: PCI interrupt for device 0000:00:11.2 disabled
[  952.022243] ACPI handle has no context!
[  952.033068] ACPI: PCI interrupt for device 0000:00:0c.2 disabled
[  952.044086] ACPI: PCI interrupt for device 0000:00:0c.1 disabled
[  952.055083] ACPI: PCI interrupt for device 0000:00:0c.0 disabled
[  952.282211] ACPI: PCI interrupt for device 0000:00:0a.1 disabled
[  952.282221] ACPI handle has no context!
[  952.537474] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
[  952.537495] ACPI handle has no context!

[  956.857085] Back to C!
[  957.295035] ACPI: Unable to turn cooling device [b18d0e00] 'off'
[  957.521400] PCI: Setting latency timer of device 0000:00:01.0 to 64
[  957.521478] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[  957.532256] PM: Writing back config space on device 0000:00:0a.0 at offset f (was ff0100, writing ff0105)
[  957.532277] PM: Writing back config space on device 0000:00:0a.0 at offset 8 (was 1, writing b001)
[  957.532291] PM: Writing back config space on device 0000:00:0a.0 at offset 4 (was 4, writing e3020004)
[  957.532299] PM: Writing back config space on device 0000:00:0a.0 at offset 3 (was 800000, writing 802008)
[  957.532309] PM: Writing back config space on device 0000:00:0a.0 at offset 1 (was 2300000, writing 2300007)
[  957.532339] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
[  957.567251] PM: Writing back config space on device 0000:00:0a.1 at offset f (was ff0200, writing ff020c)
[  957.567275] PM: Writing back config space on device 0000:00:0a.1 at offset 8 (was 1, writing b401)
[  957.567290] PM: Writing back config space on device 0000:00:0a.1 at offset 4 (was 4, writing e3000004)
[  957.567298] PM: Writing back config space on device 0000:00:0a.1 at offset 3 (was 800000, writing 802008)
[  957.567308] PM: Writing back config space on device 0000:00:0a.1 at offset 1 (was 2300000, writing 2300007)
[  957.567346] ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
[  957.589975] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
[  957.600217] ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[  957.611230] ACPI: PCI Interrupt 0000:00:0c.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
[  957.838282] ACPI: PCI Interrupt 0000:00:0c.2[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
[  957.902166] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]  MMIO=[e3046000-e30467ff]  Max Packet=[512]  IR/IT contexts=[4/8]
[  957.911656] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[  957.911666] PCI: VIA VLink IRQ fixup for 0000:00:11.1, from 255 to 11
[  957.922034] ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
[  957.933028] ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
[  957.944076] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
[  957.944091] PCI: Setting latency timer of device 0000:00:11.5 to 64
[  957.946061] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[  957.947464] pnp: Device 00:08 activated.
[  957.948724] pnp: Device 00:09 activated.
[  957.950635] pnp: Device 00:0a activated.
[  957.950664] pnp: Failed to activate device 00:0b.
[  957.951942] pnp: Device 00:0c activated.
[  959.883939] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[  961.866287] hde: selected mode 0x45
[  965.310493] hdg: selected mode 0x45
[  965.316152] hdh: selected mode 0x42
[  969.135523] hda: selected mode 0x46
[  973.454631] hdb: selected mode 0x45
[  973.457179] hdc: selected mode 0x44
[  973.459550] hdd: selected mode 0x42
[  973.950474] Restarting tasks ... done.
[  974.261357] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
[  974.262099] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
[  974.262620] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[  974.262894] [drm] Loading R200 Microcode


eth0 now doesn't receive anything - it's transmitting ok because 
I can receive its packets on another host. It's also still getting 
interrupts.

If I then ifconfig eth0 down and up, or change the MTU (since 
that resets the link on e1000), it starts working again:

[  993.926603] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX


There's a link up at 959.883939 too...

-- 
Simon Arlott

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: e1000 doesn't resume properly from standby (2.6.23-rc2)
  2007-08-05  8:52 e1000 doesn't resume properly from standby (2.6.23-rc2) Simon Arlott
@ 2007-08-06  3:01 ` Kok, Auke
  2007-08-06  6:25   ` Simon Arlott
  2007-08-06 10:44   ` Pavel Machek
  0 siblings, 2 replies; 5+ messages in thread
From: Kok, Auke @ 2007-08-06  3:01 UTC (permalink / raw)
  To: Simon Arlott; +Cc: linux-pm, Linux Kernel Mailing List, netdev

Simon Arlott wrote:
> 00:0a.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
>         Subsystem: Intel Corp.: Unknown device 1012
>         Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
>         Memory at e3020000 (64-bit, non-prefetchable) [size=128K]
>         I/O ports at b000 [size=64]
>         Capabilities: [dc] Power Management version 2
>         Capabilities: [e4] PCI-X non-bridge device.
>         Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
> 
> 00:0a.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
>         Subsystem: Intel Corp.: Unknown device 1012
>         Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 12
>         Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
>         I/O ports at b400 [size=64]
>         Capabilities: [dc] Power Management version 2
>         Capabilities: [e4] PCI-X non-bridge device.
>         Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
> 
> [  950.132046] Stopping tasks ... done.
> [  950.459794] Suspending console(s)
> [  951.776277] pnp: Device 00:0c disabled.
> [  951.776673] pnp: Device 00:0a disabled.
> [  951.776984] pnp: Device 00:09 disabled.
> [  951.777306] pnp: Device 00:08 disabled.
> [  951.777786] ACPI: PCI interrupt for device 0000:00:11.5 disabled
> [  951.995359] ACPI: PCI interrupt for device 0000:00:11.3 disabled
> [  952.006094] ACPI: PCI interrupt for device 0000:00:11.2 disabled
> [  952.022243] ACPI handle has no context!
> [  952.033068] ACPI: PCI interrupt for device 0000:00:0c.2 disabled
> [  952.044086] ACPI: PCI interrupt for device 0000:00:0c.1 disabled
> [  952.055083] ACPI: PCI interrupt for device 0000:00:0c.0 disabled
> [  952.282211] ACPI: PCI interrupt for device 0000:00:0a.1 disabled
> [  952.282221] ACPI handle has no context!
> [  952.537474] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
> [  952.537495] ACPI handle has no context!
> 
> [  956.857085] Back to C!
> [  957.295035] ACPI: Unable to turn cooling device [b18d0e00] 'off'
> [  957.521400] PCI: Setting latency timer of device 0000:00:01.0 to 64
> [  957.521478] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
> [  957.532256] PM: Writing back config space on device 0000:00:0a.0 at offset f (was ff0100, writing ff0105)
> [  957.532277] PM: Writing back config space on device 0000:00:0a.0 at offset 8 (was 1, writing b001)
> [  957.532291] PM: Writing back config space on device 0000:00:0a.0 at offset 4 (was 4, writing e3020004)
> [  957.532299] PM: Writing back config space on device 0000:00:0a.0 at offset 3 (was 800000, writing 802008)
> [  957.532309] PM: Writing back config space on device 0000:00:0a.0 at offset 1 (was 2300000, writing 2300007)
> [  957.532339] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
> [  957.567251] PM: Writing back config space on device 0000:00:0a.1 at offset f (was ff0200, writing ff020c)
> [  957.567275] PM: Writing back config space on device 0000:00:0a.1 at offset 8 (was 1, writing b401)
> [  957.567290] PM: Writing back config space on device 0000:00:0a.1 at offset 4 (was 4, writing e3000004)
> [  957.567298] PM: Writing back config space on device 0000:00:0a.1 at offset 3 (was 800000, writing 802008)
> [  957.567308] PM: Writing back config space on device 0000:00:0a.1 at offset 1 (was 2300000, writing 2300007)
> [  957.567346] ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
> [  957.589975] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
> [  957.600217] ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
> [  957.611230] ACPI: PCI Interrupt 0000:00:0c.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
> [  957.838282] ACPI: PCI Interrupt 0000:00:0c.2[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
> [  957.902166] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11]  MMIO=[e3046000-e30467ff]  Max Packet=[512]  IR/IT contexts=[4/8]
> [  957.911656] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
> [  957.911666] PCI: VIA VLink IRQ fixup for 0000:00:11.1, from 255 to 11
> [  957.922034] ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
> [  957.933028] ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] -> GSI 12 (level, low) -> IRQ 12
> [  957.944076] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
> [  957.944091] PCI: Setting latency timer of device 0000:00:11.5 to 64
> [  957.946061] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
> [  957.947464] pnp: Device 00:08 activated.
> [  957.948724] pnp: Device 00:09 activated.
> [  957.950635] pnp: Device 00:0a activated.
> [  957.950664] pnp: Failed to activate device 00:0b.
> [  957.951942] pnp: Device 00:0c activated.
> [  959.883939] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
> [  961.866287] hde: selected mode 0x45
> [  965.310493] hdg: selected mode 0x45
> [  965.316152] hdh: selected mode 0x42
> [  969.135523] hda: selected mode 0x46
> [  973.454631] hdb: selected mode 0x45
> [  973.457179] hdc: selected mode 0x44
> [  973.459550] hdd: selected mode 0x42
> [  973.950474] Restarting tasks ... done.
> [  974.261357] agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
> [  974.262099] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
> [  974.262620] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
> [  974.262894] [drm] Loading R200 Microcode
> 
> 
> eth0 now doesn't receive anything - it's transmitting ok because 
> I can receive its packets on another host. It's also still getting 
> interrupts.
> 
> If I then ifconfig eth0 down and up, or change the MTU (since 
> that resets the link on e1000), it starts working again:
> 
> [  993.926603] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
> 
> 
> There's a link up at 959.883939 too...


OK, I'll try to look into this coming week.

Can you run `ethtool -d ethX` immediately after resuming and post that output? 
it might help to know that upfront.

Thanks,

Auke

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: e1000 doesn't resume properly from standby (2.6.23-rc2)
  2007-08-06  3:01 ` Kok, Auke
@ 2007-08-06  6:25   ` Simon Arlott
  2007-08-06 10:44   ` Pavel Machek
  1 sibling, 0 replies; 5+ messages in thread
From: Simon Arlott @ 2007-08-06  6:25 UTC (permalink / raw)
  To: Kok, Auke; +Cc: linux-pm, Linux Kernel Mailing List, netdev

On 06/08/07 04:01, Kok, Auke wrote:
> Simon Arlott wrote:
>> 00:0a.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet
>> Controller (Copper) (rev 01)
>>         Subsystem: Intel Corp.: Unknown device 1012
>>         Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
>>         Memory at e3020000 (64-bit, non-prefetchable) [size=128K]
>>         I/O ports at b000 [size=64]
>>         Capabilities: [dc] Power Management version 2
>>         Capabilities: [e4] PCI-X non-bridge device.
>>         Capabilities: [f0] Message Signalled Interrupts: 64bit+
>> Queue=0/0 Enable-
>>
>> 00:0a.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet
>> Controller (Copper) (rev 01)
>>         Subsystem: Intel Corp.: Unknown device 1012
>>         Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 12
>>         Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
>>         I/O ports at b400 [size=64]
>>         Capabilities: [dc] Power Management version 2
>>         Capabilities: [e4] PCI-X non-bridge device.
>>         Capabilities: [f0] Message Signalled Interrupts: 64bit+
>> Queue=0/0 Enable-
>>
>> [  950.132046] Stopping tasks ... done.
>> [  950.459794] Suspending console(s)
>> [  951.776277] pnp: Device 00:0c disabled.
>> [  951.776673] pnp: Device 00:0a disabled.
>> [  951.776984] pnp: Device 00:09 disabled.
>> [  951.777306] pnp: Device 00:08 disabled.
>> [  951.777786] ACPI: PCI interrupt for device 0000:00:11.5 disabled
>> [  951.995359] ACPI: PCI interrupt for device 0000:00:11.3 disabled
>> [  952.006094] ACPI: PCI interrupt for device 0000:00:11.2 disabled
>> [  952.022243] ACPI handle has no context!
>> [  952.033068] ACPI: PCI interrupt for device 0000:00:0c.2 disabled
>> [  952.044086] ACPI: PCI interrupt for device 0000:00:0c.1 disabled
>> [  952.055083] ACPI: PCI interrupt for device 0000:00:0c.0 disabled
>> [  952.282211] ACPI: PCI interrupt for device 0000:00:0a.1 disabled
>> [  952.282221] ACPI handle has no context!
>> [  952.537474] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
>> [  952.537495] ACPI handle has no context!
>>
>> [  956.857085] Back to C!
>> [  957.295035] ACPI: Unable to turn cooling device [b18d0e00] 'off'
>> [  957.521400] PCI: Setting latency timer of device 0000:00:01.0 to 64
>> [  957.521478] ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKB] ->
>> GSI 11 (level, low) -> IRQ 11
>> [  957.532256] PM: Writing back config space on device 0000:00:0a.0 at
>> offset f (was ff0100, writing ff0105)
>> [  957.532277] PM: Writing back config space on device 0000:00:0a.0 at
>> offset 8 (was 1, writing b001)
>> [  957.532291] PM: Writing back config space on device 0000:00:0a.0 at
>> offset 4 (was 4, writing e3020004)
>> [  957.532299] PM: Writing back config space on device 0000:00:0a.0 at
>> offset 3 (was 800000, writing 802008)
>> [  957.532309] PM: Writing back config space on device 0000:00:0a.0 at
>> offset 1 (was 2300000, writing 2300007)
>> [  957.532339] ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] ->
>> GSI 5 (level, low) -> IRQ 5
>> [  957.567251] PM: Writing back config space on device 0000:00:0a.1 at
>> offset f (was ff0200, writing ff020c)
>> [  957.567275] PM: Writing back config space on device 0000:00:0a.1 at
>> offset 8 (was 1, writing b401)
>> [  957.567290] PM: Writing back config space on device 0000:00:0a.1 at
>> offset 4 (was 4, writing e3000004)
>> [  957.567298] PM: Writing back config space on device 0000:00:0a.1 at
>> offset 3 (was 800000, writing 802008)
>> [  957.567308] PM: Writing back config space on device 0000:00:0a.1 at
>> offset 1 (was 2300000, writing 2300007)
>> [  957.567346] ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] ->
>> GSI 12 (level, low) -> IRQ 12
>> [  957.589975] ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] ->
>> GSI 12 (level, low) -> IRQ 12
>> [  957.600217] ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] ->
>> GSI 11 (level, low) -> IRQ 11
>> [  957.611230] ACPI: PCI Interrupt 0000:00:0c.1[B] -> Link [LNKB] ->
>> GSI 11 (level, low) -> IRQ 11
>> [  957.838282] ACPI: PCI Interrupt 0000:00:0c.2[C] -> Link [LNKC] ->
>> GSI 5 (level, low) -> IRQ 5
>> [  957.902166] ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11] 
>> MMIO=[e3046000-e30467ff]  Max Packet=[512]  IR/IT contexts=[4/8]
>> [  957.911656] ACPI: PCI Interrupt 0000:00:11.1[A] -> Link [LNKA] ->
>> GSI 11 (level, low) -> IRQ 11
>> [  957.911666] PCI: VIA VLink IRQ fixup for 0000:00:11.1, from 255 to 11
>> [  957.922034] ACPI: PCI Interrupt 0000:00:11.2[D] -> Link [LNKD] ->
>> GSI 12 (level, low) -> IRQ 12
>> [  957.933028] ACPI: PCI Interrupt 0000:00:11.3[D] -> Link [LNKD] ->
>> GSI 12 (level, low) -> IRQ 12
>> [  957.944076] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [LNKC] ->
>> GSI 5 (level, low) -> IRQ 5
>> [  957.944091] PCI: Setting latency timer of device 0000:00:11.5 to 64
>> [  957.946061] ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] ->
>> GSI 11 (level, low) -> IRQ 11
>> [  957.947464] pnp: Device 00:08 activated.
>> [  957.948724] pnp: Device 00:09 activated.
>> [  957.950635] pnp: Device 00:0a activated.
>> [  957.950664] pnp: Failed to activate device 00:0b.
>> [  957.951942] pnp: Device 00:0c activated.
>> [  959.883939] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps
>> Full Duplex, Flow Control: RX/TX
>> [  961.866287] hde: selected mode 0x45
>> [  965.310493] hdg: selected mode 0x45
>> [  965.316152] hdh: selected mode 0x42
>> [  969.135523] hda: selected mode 0x46
>> [  973.454631] hdb: selected mode 0x45
>> [  973.457179] hdc: selected mode 0x44
>> [  973.459550] hdd: selected mode 0x42
>> [  973.950474] Restarting tasks ... done.
>> [  974.261357] agpgart: Found an AGP 2.0 compliant device at
>> 0000:00:00.0.
>> [  974.262099] agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x
>> mode
>> [  974.262620] agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x
>> mode
>> [  974.262894] [drm] Loading R200 Microcode
>>
>>
>> eth0 now doesn't receive anything - it's transmitting ok because I can
>> receive its packets on another host. It's also still getting interrupts.
>>
>> If I then ifconfig eth0 down and up, or change the MTU (since that
>> resets the link on e1000), it starts working again:
>>
>> [  993.926603] e1000: eth0: e1000_watchdog: NIC Link is Up 1000 Mbps
>> Full Duplex, Flow Control: RX/TX
>>
>>
>> There's a link up at 959.883939 too...
> 
> 
> OK, I'll try to look into this coming week.
> 
> Can you run `ethtool -d ethX` immediately after resuming and post that
> output? it might help to know that upfront.

MAC Registers
-------------
0x00000: CTRL (Device control register)  0x18F00249
      Endian mode (buffers):             little
      Link reset:                        reset
      Set link up:                       1
      Invert Loss-Of-Signal:             no
      Receive flow control:              enabled
      Transmit flow control:             enabled
      VLAN mode:                         disabled
      Auto speed detect:                 disabled
      Speed select:                      1000Mb/s
      Force speed:                       no
      Force duplex:                      no
0x00008: STATUS (Device status register) 0x0000C383
      Duplex:                            full
      Link up:                           link config
      TBI mode:                          disabled
      Link speed:                        1000Mb/s
      Bus type:                          PCI
      Bus speed:                         33MHz
      Bus width:                         32-bit
0x00100: RCTL (Receive control register) 0x02018022
      Receiver:                          enabled
      Store bad packets:                 disabled
      Unicast promiscuous:               disabled
      Multicast promiscuous:             disabled
      Long packet:                       enabled
      Descriptor minimum threshold size: 1/2
      Broadcast accept mode:             accept
      VLAN filter:                       disabled
      Cononical form indicator:          disabled
      Discard pause frames:              filtered
      Pass MAC control frames:           don't pass
      Receive buffer size:               16384
0x02808: RDLEN (Receive desc length)     0x00001000
0x02810: RDH   (Receive desc head)       0x00000000
0x02818: RDT   (Receive desc tail)       0x00000000
0x02820: RDTR  (Receive delay timer)     0x00000000
0x00400: TCTL (Transmit ctrl register)   0x0103F0FA
      Transmitter:                       enabled
      Pad short packets:                 enabled
      Software XOFF Transmission:        disabled
      Re-transmit on late collision:     enabled
0x03808: TDLEN (Transmit desc length)    0x00001000
0x03810: TDH   (Transmit desc head)      0x0000005C
0x03818: TDT   (Transmit desc tail)      0x0000005C
0x03820: TIDV  (Transmit delay timer)    0x00000008
PHY type:                                M88

-- 
Simon Arlott

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: e1000 doesn't resume properly from standby (2.6.23-rc2)
  2007-08-06  3:01 ` Kok, Auke
  2007-08-06  6:25   ` Simon Arlott
@ 2007-08-06 10:44   ` Pavel Machek
  2007-08-06 11:37     ` Simon Arlott
  1 sibling, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2007-08-06 10:44 UTC (permalink / raw)
  To: Kok, Auke; +Cc: Simon Arlott, linux-pm, Linux Kernel Mailing List, netdev

Hi!

> >00:0a.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet 
> >Controller (Copper) (rev 01)
> >        Subsystem: Intel Corp.: Unknown device 1012
> >        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
> >        Memory at e3020000 (64-bit, non-prefetchable) [size=128K]
> >        I/O ports at b000 [size=64]
> >        Capabilities: [dc] Power Management version 2
> >        Capabilities: [e4] PCI-X non-bridge device.
> >        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 
> >        Enable-
> >
> >00:0a.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet 
> >Controller (Copper) (rev 01)
> >        Subsystem: Intel Corp.: Unknown device 1012
> >        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 12
> >        Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
> >        I/O ports at b400 [size=64]
> >        Capabilities: [dc] Power Management version 2
> >        Capabilities: [e4] PCI-X non-bridge device.
> >        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 
> >        Enable-
> >
> >[  950.132046] Stopping tasks ... done.
> >[  950.459794] Suspending console(s)
> >[  951.776277] pnp: Device 00:0c disabled.
> >[  951.776673] pnp: Device 00:0a disabled.
> >[  951.776984] pnp: Device 00:09 disabled.
> >[  951.777306] pnp: Device 00:08 disabled.
> >[  951.777786] ACPI: PCI interrupt for device 0000:00:11.5 disabled
> >[  951.995359] ACPI: PCI interrupt for device 0000:00:11.3 disabled
> >[  952.006094] ACPI: PCI interrupt for device 0000:00:11.2 disabled
> >[  952.022243] ACPI handle has no context!
> >[  952.033068] ACPI: PCI interrupt for device 0000:00:0c.2 disabled
> >[  952.044086] ACPI: PCI interrupt for device 0000:00:0c.1 disabled
> >[  952.055083] ACPI: PCI interrupt for device 0000:00:0c.0 disabled
> >[  952.282211] ACPI: PCI interrupt for device 0000:00:0a.1 disabled
> >[  952.282221] ACPI handle has no context!
> >[  952.537474] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
> >[  952.537495] ACPI handle has no context!
> >
> >[  956.857085] Back to C!

Are you sure that is standby? Looks like suspend-to-RAM to me.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: e1000 doesn't resume properly from standby (2.6.23-rc2)
  2007-08-06 10:44   ` Pavel Machek
@ 2007-08-06 11:37     ` Simon Arlott
  0 siblings, 0 replies; 5+ messages in thread
From: Simon Arlott @ 2007-08-06 11:37 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Kok, Auke, linux-pm, Linux Kernel Mailing List, netdev

On Mon, August 6, 2007 11:44, Pavel Machek wrote:
> Hi!
>
>> >00:0a.0 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet
>> >Controller (Copper) (rev 01)
>> >        Subsystem: Intel Corp.: Unknown device 1012
>> >        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 5
>> >        Memory at e3020000 (64-bit, non-prefetchable) [size=128K]
>> >        I/O ports at b000 [size=64]
>> >        Capabilities: [dc] Power Management version 2
>> >        Capabilities: [e4] PCI-X non-bridge device.
>> >        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0
>> >        Enable-
>> >
>> >00:0a.1 Ethernet controller: Intel Corp. 82546EB Gigabit Ethernet
>> >Controller (Copper) (rev 01)
>> >        Subsystem: Intel Corp.: Unknown device 1012
>> >        Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 12
>> >        Memory at e3000000 (64-bit, non-prefetchable) [size=128K]
>> >        I/O ports at b400 [size=64]
>> >        Capabilities: [dc] Power Management version 2
>> >        Capabilities: [e4] PCI-X non-bridge device.
>> >        Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0
>> >        Enable-
>> >
>> >[  950.132046] Stopping tasks ... done.
>> >[  950.459794] Suspending console(s)
>> >[  951.776277] pnp: Device 00:0c disabled.
>> >[  951.776673] pnp: Device 00:0a disabled.
>> >[  951.776984] pnp: Device 00:09 disabled.
>> >[  951.777306] pnp: Device 00:08 disabled.
>> >[  951.777786] ACPI: PCI interrupt for device 0000:00:11.5 disabled
>> >[  951.995359] ACPI: PCI interrupt for device 0000:00:11.3 disabled
>> >[  952.006094] ACPI: PCI interrupt for device 0000:00:11.2 disabled
>> >[  952.022243] ACPI handle has no context!
>> >[  952.033068] ACPI: PCI interrupt for device 0000:00:0c.2 disabled
>> >[  952.044086] ACPI: PCI interrupt for device 0000:00:0c.1 disabled
>> >[  952.055083] ACPI: PCI interrupt for device 0000:00:0c.0 disabled
>> >[  952.282211] ACPI: PCI interrupt for device 0000:00:0a.1 disabled
>> >[  952.282221] ACPI handle has no context!
>> >[  952.537474] ACPI: PCI interrupt for device 0000:00:0a.0 disabled
>> >[  952.537495] ACPI handle has no context!
>> >
>> >[  956.857085] Back to C!
>
> Are you sure that is standby? Looks like suspend-to-RAM to me.

It's S1 (power-on suspend/standby), my BIOS/motherboard doesn't support S2 or S3.

-- 
Simon Arlott

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-06 11:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-05  8:52 e1000 doesn't resume properly from standby (2.6.23-rc2) Simon Arlott
2007-08-06  3:01 ` Kok, Auke
2007-08-06  6:25   ` Simon Arlott
2007-08-06 10:44   ` Pavel Machek
2007-08-06 11:37     ` Simon Arlott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).