* tg3 ethernet not coming back properly after S3 suspend on Dell M70
@ 2005-06-08 21:26 Vladimir Vukicevic
0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Vukicevic @ 2005-06-08 21:26 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
I've been trying to get S3 suspend working on my Dell Precision M70
without much success for the past few weeks. This is all now with
2.6.12-rc6, with Jens Axboe's patch for SATA suspend (as the machine
has a SATA interface and uses ata_piix).
I tried Shaohua's S3 "test tool" and gave it a shot -- with it I'm
able to go through a suspend/resume cycle with no problems. Without
it, the machine locks up after unsuspend (after we're back in kernel
code) with the nvidia driver loaded, and is otherwise unstable without
the nvidia driver loaded. In particular, the ethernet device is
completely screwed after coming out of unsuspend. lspci shows (after
unsuspend):
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
Gigabit Ethernet PCI Express (rev ff) (prog-if ff)
!!! Unknown header type 7f
and lspci -x reports the entire config space coming back as 0xff.
This does not happen with the fake-S3 test patch. The device tree, as
reported by lspci -t for this device looks like:
-[0000:00]-+-1c.0-[0000:02]----00.0
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) PCI Express Port 1 (rev 03)
The other device that's not coming up right is the video hardware, and
it's on the "PCI Express Root Port". All the PCI (not PCI Express)
devices going through a PCI bridge seem to come back through fine, as
do USB and other bits. Just the two devices on the PCI Express bus
seem screwed up post-resume, though lspci is able to read the nvidia
device's config space post-resume.
Any ideas where to start looking for a cause? I figure fixing the tg3
issue should help track down the overall problem.
Thanks,
- Vlad
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: tg3 ethernet not coming back properly after S3 suspend on Dell M70
@ 2005-06-09 2:17 Li, Shaohua
[not found] ` <16A54BF5D6E14E4D916CE26C9AD305750239C2EB-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Li, Shaohua @ 2005-06-09 2:17 UTC (permalink / raw)
To: Vladimir Vukicevic, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>
>I've been trying to get S3 suspend working on my Dell Precision M70
>without much success for the past few weeks. This is all now with
>2.6.12-rc6, with Jens Axboe's patch for SATA suspend (as the machine
>has a SATA interface and uses ata_piix).
>
>I tried Shaohua's S3 "test tool" and gave it a shot -- with it I'm
>able to go through a suspend/resume cycle with no problems. Without
>it, the machine locks up after unsuspend (after we're back in kernel
>code) with the nvidia driver loaded, and is otherwise unstable without
>the nvidia driver loaded. In particular, the ethernet device is
>completely screwed after coming out of unsuspend. lspci shows (after
>unsuspend):
>
>02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751
>Gigabit Ethernet PCI Express (rev ff) (prog-if ff)
> !!! Unknown header type 7f
>
>and lspci -x reports the entire config space coming back as 0xff.
>
>This does not happen with the fake-S3 test patch. The device tree, as
>reported by lspci -t for this device looks like:
>
>-[0000:00]-+-1c.0-[0000:02]----00.0
>
>00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
>Family) PCI Express Port 1 (rev 03)
>
>The other device that's not coming up right is the video hardware, and
>it's on the "PCI Express Root Port". All the PCI (not PCI Express)
>devices going through a PCI bridge seem to come back through fine, as
>do USB and other bits. Just the two devices on the PCI Express bus
>seem screwed up post-resume, though lspci is able to read the nvidia
>device's config space post-resume.
>
>Any ideas where to start looking for a cause? I figure fixing the tg3
>issue should help track down the overall problem.
>
Is the PCI express bridge's config space ok? Particularly, the bus
number registers. And can you track down if the tg3 resume routine
returns ok?
Thanks,
Shaohua
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tg3 ethernet not coming back properly after S3 suspend on Dell M70
[not found] ` <16A54BF5D6E14E4D916CE26C9AD305750239C2EB-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2005-06-09 8:46 ` Vladimir Vukicevic
0 siblings, 0 replies; 8+ messages in thread
From: Vladimir Vukicevic @ 2005-06-09 8:46 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 2309 bytes --]
Hi,
On 6/8/05, Li, Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> >
> >I've been trying to get S3 suspend working on my Dell Precision M70
> >without much success for the past few weeks. This is all now with
> >2.6.12-rc6, with Jens Axboe's patch for SATA suspend (as the machine
> >has a SATA interface and uses ata_piix).
> > [ ... ]
> >Any ideas where to start looking for a cause? I figure fixing the tg3
> >issue should help track down the overall problem.
> >
> Is the PCI express bridge's config space ok? Particularly, the bus
> number registers. And can you track down if the tg3 resume routine
> returns ok?
Hmm.. the config space doesn't look ok to me at all; I've attached the
before and after suspend lspci -vv output for diffing, because I could
easily be drawing the wrong conclusions here. Some things I noticed:
Before suspend:
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: dcf00000-dcffffff
After resume, we lose the BusMaster flag (not just on this device, but
on a few others), and the bus numbers and memory ranges change:
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- (lost BusMaster flag?)
Bus: primary=00, secondary=00, subordinate=00, sec-latency=0
I/O behind bridge: 00000000-00000fff
Memory behind bridge: 00000000-000fffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
The root PCIE port on which the nvidia sits goes through similar
lossage... no memory range behind the bridge is reported after resume,
and MSI's are reported as disabled where they were enabled before.
I haven't been able to track down if the tg3 resume function completes
as of yet; it's hit and miss whether the display gets restored after a
resume (dpms/vbetool sometimes help, sometimes they don't), and with
the tg3 module loaded I can only send commands through in bursts...
will give it another few tries.
Thanks,
- Vlad
[-- Attachment #2: pre-lspci --]
[-- Type: application/octet-stream, Size: 14895 bytes --]
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Capabilities: [e0] Vendor Specific Information
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 10
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Memory behind bridge: dd000000-dfefffff
Prefetchable memory behind bridge: c0000000-cfffffff
Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA+ MAbort- >Reset- FastB2B-
Capabilities: [88] #0d [0000]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Address: fee01004 Data: 40b9
Capabilities: [a0] Express Root Port (Slot+) IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s L1, Port 2
Link: Latency L0s <256ns, L1 <4us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x16
Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug- Surpise-
Slot: Number 1, PowerLimit 75.000000
Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
Slot: AttnInd Off, PwrInd On, Power-
Root: Correctable- Non-Fatal- Fatal- PME-
Capabilities: [100] Virtual Channel
Capabilities: [140] Unknown (5)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 10
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: dcf00000-dcffffff
Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
Device: Latency L0s unlimited, L1 unlimited
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 1
Link: Latency L0s <256ns, L1 <4us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+
Slot: Number 2, PowerLimit 6.500000
Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
Slot: AttnInd Unknown, PwrInd Unknown, Power-
Root: Correctable- Non-Fatal- Fatal- PME-
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Address: fee01004 Data: 40c1
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 169
Region 4: I/O ports at bf80 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 201
Region 4: I/O ports at bf60 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 209
Region 4: I/O ports at bf40 [size=32]
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 217
Region 4: I/O ports at bf20 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 169
Region 0: Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=03, subordinate=04, sec-latency=32
Memory behind bridge: dce00000-dcefffff
Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [50] #0d [0000]
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 169
Region 0: I/O ports at ed00 [size=256]
Region 1: I/O ports at ec40 [size=64]
Region 2: Memory at dffffe00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at dffffd00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
Subsystem: Conexant: Unknown device 5423
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at ee00 [size=256]
Region 1: I/O ports at ec80 [size=128]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at bfa0 [size=16]
Capabilities: [70] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 10c0 [size=32]
01:00.0 VGA compatible controller: nVidia Corporation NV41 [Quadro FX Go1400] (rev a2) (prog-if 00 [VGA])
Subsystem: Dell: Unknown device 019b
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 10
Interrupt: pin A routed to IRQ 11
Region 0: Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at de000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at dfe00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <512ns, L1 <4us
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s, Port 0
Link: Latency L0s <256ns, L1 <16us
Link: ASPM Disabled RCB 128 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x16
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 10
Interrupt: pin A routed to IRQ 169
Region 0: Memory at dcff0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Address: f73df7ffefbfffd8 Data: b7ff
Capabilities: [d0] Express Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
Device: Latency L0s <4us, L1 unlimited
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 4096 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s, Port 0
Link: Latency L0s <2us, L1 <64us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
03:01.0 CardBus bridge: Texas Instruments: Unknown device 8036
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size 20
Interrupt: pin A routed to IRQ 217
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
Memory window 0: 80400000-807ff000 (prefetchable)
Memory window 1: 80800000-80bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
03:01.5 Communication controller: Texas Instruments: Unknown device 8038
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: Memory at dcefd000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at dcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
Subsystem: Intel Corporation: Unknown device 2721
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (750ns min, 6000ns max), Cache Line Size 10
Interrupt: pin A routed to IRQ 201
Region 0: Memory at dceff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
[-- Attachment #3: post-lspci --]
[-- Type: application/octet-stream, Size: 13463 bytes --]
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0
Capabilities: [e0] Vendor Specific Information
00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [88] #0d [0000]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [a0] Express Root Port (Slot+) IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <64ns, L1 <1us
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s L1, Port 2
Link: Latency L0s <256ns, L1 <4us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x16
Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug- Surpise-
Slot: Number 1, PowerLimit 75.000000
Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
Slot: AttnInd Off, PwrInd On, Power-
Root: Correctable- Non-Fatal- Fatal- PME-
Capabilities: [100] Virtual Channel
Capabilities: [140] Unknown (5)
00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Bus: primary=00, secondary=00, subordinate=00, sec-latency=0
I/O behind bridge: 00000000-00000fff
Memory behind bridge: 00000000-000fffff
Prefetchable memory behind bridge: 0000000000000000-0000000000000000
Secondary status: 66Mhz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag+
Device: Latency L0s unlimited, L1 unlimited
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop-
Device: MaxPayload 128 bytes, MaxReadReq 128 bytes
Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 1
Link: Latency L0s <256ns, L1 <4us
Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x1
Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+
Slot: Number 2, PowerLimit 6.500000
Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq-
Slot: AttnInd Unknown, PwrInd Unknown, Power-
Root: Correctable- Non-Fatal- Fatal- PME-
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Address: 00000000 Data: 0000
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 4: I/O ports at bf80 [size=32]
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 201
Region 4: I/O ports at bf60 [size=32]
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin C routed to IRQ 209
Region 4: I/O ports at bf40 [size=32]
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin D routed to IRQ 217
Region 4: I/O ports at bf20 [size=32]
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 0: Memory at ffa80800 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] Debug port
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) (prog-if 01 [Subtractive decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=03, subordinate=04, sec-latency=32
Memory behind bridge: dce00000-dcefffff
Secondary status: 66Mhz- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR+ NoISA- VGA- MAbort- >Reset- FastB2B-
Capabilities: [50] #0d [0000]
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 169
Region 0: I/O ports at ed00 [size=256]
Region 1: I/O ports at ec40 [size=64]
Region 2: Memory at dffffe00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at dffffd00 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03) (prog-if 00 [Generic])
Subsystem: Conexant: Unknown device 5423
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at ee00 [size=256]
Region 1: I/O ports at ec80 [size=128]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 03) (prog-if 80 [Master])
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 201
Region 0: I/O ports at <ignored>
Region 1: I/O ports at <ignored>
Region 2: I/O ports at <ignored>
Region 3: I/O ports at <ignored>
Region 4: I/O ports at bfa0 [size=16]
Capabilities: [70] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 10c0 [size=32]
01:00.0 VGA compatible controller: nVidia Corporation NV41 [Quadro FX Go1400] (rev a2) (prog-if 00 [VGA])
Subsystem: Dell: Unknown device 019b
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0, Cache Line Size 10
Interrupt: pin A routed to IRQ 11
Region 0: Memory at dd000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at c0000000 (64-bit, prefetchable) [size=256M]
Region 3: Memory at de000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at dfe00000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [68] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000
Capabilities: [78] Express Endpoint IRQ 0
Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag-
Device: Latency L0s <512ns, L1 <4us
Device: AtnBtn- AtnInd- PwrInd-
Device: Errors: Correctable- Non-Fatal- Fatal- Unsupported-
Device: RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
Device: MaxPayload 128 bytes, MaxReadReq 512 bytes
Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s, Port 0
Link: Latency L0s <256ns, L1 <16us
Link: ASPM Disabled RCB 128 bytes CommClk+ ExtSynch-
Link: Speed 2.5Gb/s, Width x16
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev ff) (prog-if ff)
!!! Unknown header type 7f
03:01.0 CardBus bridge: Texas Instruments: Unknown device 8036
Subsystem: Dell: Unknown device 0187
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 168, Cache Line Size 20
Interrupt: pin A routed to IRQ 217
Region 0: Memory at 80000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
Memory window 0: 80400000-807ff000 (prefetchable)
Memory window 1: 80800000-80bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite+
16-bit legacy interface ports at 0001
03:01.5 Communication controller: Texas Instruments: Unknown device 8038
Subsystem: Dell: Unknown device 0187
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 5
Region 0: Memory at dcefd000 (32-bit, non-prefetchable) [size=4K]
Region 1: Memory at dcefe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
03:03.0 Network controller: Intel Corporation PRO/Wireless 2200BG (rev 05)
Subsystem: Intel Corporation: Unknown device 2721
Control: I/O- Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 201
Region 0: Memory at dceff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: tg3 ethernet not coming back properly after S3 suspend on Dell M70
@ 2005-06-09 11:10 Li, Shaohua
[not found] ` <16A54BF5D6E14E4D916CE26C9AD30575023E30BC-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Li, Shaohua @ 2005-06-09 11:10 UTC (permalink / raw)
To: Vladimir Vukicevic; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi,
>> >
>> >I've been trying to get S3 suspend working on my Dell Precision M70
>> >without much success for the past few weeks. This is all now with
>> >2.6.12-rc6, with Jens Axboe's patch for SATA suspend (as the machine
>> >has a SATA interface and uses ata_piix).
>> > [ ... ]
>> >Any ideas where to start looking for a cause? I figure fixing the
tg3
>> >issue should help track down the overall problem.
>> >
>> Is the PCI express bridge's config space ok? Particularly, the bus
>> number registers. And can you track down if the tg3 resume routine
>> returns ok?
>
>Hmm.. the config space doesn't look ok to me at all; I've attached the
>before and after suspend lspci -vv output for diffing, because I could
>easily be drawing the wrong conclusions here. Some things I noticed:
>
>Before suspend:
>
>00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
>Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
>ParErr- Stepping- SERR- FastB2B-
> Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
> Memory behind bridge: dcf00000-dcffffff
>
>After resume, we lose the BusMaster flag (not just on this device, but
>on a few others), and the bus numbers and memory ranges change:
> Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
>ParErr- Stepping- SERR- FastB2B- (lost BusMaster flag?)
> Bus: primary=00, secondary=00, subordinate=00, sec-latency=0
> I/O behind bridge: 00000000-00000fff
> Memory behind bridge: 00000000-000fffff
> Prefetchable memory behind bridge: 0000000000000000-
>0000000000000000
>
>The root PCIE port on which the nvidia sits goes through similar
>lossage... no memory range behind the bridge is reported after resume,
>and MSI's are reported as disabled where they were enabled before.
>
>I haven't been able to track down if the tg3 resume function completes
>as of yet; it's hit and miss whether the display gets restored after a
>resume (dpms/vbetool sometimes help, sometimes they don't), and with
>the tg3 module loaded I can only send commands through in bursts...
>will give it another few tries.
Not required testing tg3 driver now. If the bridge is broken, all
devices under it will be broken. Did you enable the PCIE port driver? I
suspect it's the cause, since default PCI resume routine can restore PCI
bridge's config space.
Thanks,
Shaohua
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tg3 ethernet not coming back properly after S3 suspend on Dell M70
[not found] ` <16A54BF5D6E14E4D916CE26C9AD30575023E30BC-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2005-06-09 18:06 ` Vladimir Vukicevic
[not found] ` <9540d0105060911066a4d4867-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Vukicevic @ 2005-06-09 18:06 UTC (permalink / raw)
To: Li, Shaohua; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
On 6/9/05, Li, Shaohua <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> >> >I've been trying to get S3 suspend working on my Dell Precision M70
> >> >without much success for the past few weeks. This is all now with
> >> >2.6.12-rc6, with Jens Axboe's patch for SATA suspend (as the machine
> >> >has a SATA interface and uses ata_piix).
> >> > [ ... ]
> >> >Any ideas where to start looking for a cause? I figure fixing the
> tg3
> >> >issue should help track down the overall problem.
> >> >
> >> Is the PCI express bridge's config space ok? Particularly, the bus
> >> number registers. And can you track down if the tg3 resume routine
> >> returns ok?
> >
> >Hmm.. the config space doesn't look ok to me at all; I've attached the
> >before and after suspend lspci -vv output for diffing, because I could
> >easily be drawing the wrong conclusions here. Some things I noticed:
> >
> >Before suspend:
> >
> >00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6
> >Family) PCI Express Port 1 (rev 03) (prog-if 00 [Normal decode])
> > Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> >ParErr- Stepping- SERR- FastB2B-
> > Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
> > Memory behind bridge: dcf00000-dcffffff
> >
> >After resume, we lose the BusMaster flag (not just on this device, but
> >on a few others), and the bus numbers and memory ranges change:
> > Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> >ParErr- Stepping- SERR- FastB2B- (lost BusMaster flag?)
> > Bus: primary=00, secondary=00, subordinate=00, sec-latency=0
> > I/O behind bridge: 00000000-00000fff
> > Memory behind bridge: 00000000-000fffff
> > Prefetchable memory behind bridge: 0000000000000000-
> >0000000000000000
> >
> >The root PCIE port on which the nvidia sits goes through similar
> >lossage... no memory range behind the bridge is reported after resume,
> >and MSI's are reported as disabled where they were enabled before.
> >
> >I haven't been able to track down if the tg3 resume function completes
> >as of yet; it's hit and miss whether the display gets restored after a
> >resume (dpms/vbetool sometimes help, sometimes they don't), and with
> >the tg3 module loaded I can only send commands through in bursts...
> >will give it another few tries.
>
> Not required testing tg3 driver now. If the bridge is broken, all
> devices under it will be broken. Did you enable the PCIE port driver? I
> suspect it's the cause, since default PCI resume routine can restore PCI
> bridge's config space.
I did have CONFIG_PCIEBUSPORT enabled; disabling itseems to have made
either had no change, or made matters worse.. I can't even get the
system back to a usable state post-resume enough to save the output of
some commands to a file. (The screen is still refusing to come on,
but usually even simple things like caps lock aren't working. I
haven't tracked down what variation causes the display to work after
suspend; none of the s3_suspend video modes help.) One cycle the
system seemed to come back to the same broken-tg3 state; hitting caps
lock would toggle the LED, but only after a 3-5 second delay.
(Or did I misunderstand your suggestion to disable the port driver?)
- Vlad
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tg3 ethernet not coming back properly after S3 suspend on Dell M70
[not found] ` <9540d0105060911066a4d4867-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2005-06-10 1:59 ` Shaohua Li
[not found] ` <1118368773.3860.3.camel-ECwVeV2eNyQD0+JXs3kMbRL4W9x8LtSr@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Shaohua Li @ 2005-06-10 1:59 UTC (permalink / raw)
To: Vladimir Vukicevic, tom.l.nguyen-ral2JQCrhuEAvxtiuMwx3w; +Cc: acpi-dev
On Thu, 2005-06-09 at 11:06 -0700, Vladimir Vukicevic wrote:
> > >
> > >The root PCIE port on which the nvidia sits goes through similar
> > >lossage... no memory range behind the bridge is reported after resume,
> > >and MSI's are reported as disabled where they were enabled before.
> > >
> > >I haven't been able to track down if the tg3 resume function completes
> > >as of yet; it's hit and miss whether the display gets restored after a
> > >resume (dpms/vbetool sometimes help, sometimes they don't), and with
> > >the tg3 module loaded I can only send commands through in bursts...
> > >will give it another few tries.
> >
> > Not required testing tg3 driver now. If the bridge is broken, all
> > devices under it will be broken. Did you enable the PCIE port driver? I
> > suspect it's the cause, since default PCI resume routine can restore PCI
> > bridge's config space.
>
> I did have CONFIG_PCIEBUSPORT enabled; disabling itseems to have made
> either had no change, or made matters worse.. I can't even get the
> system back to a usable state post-resume enough to save the output of
> some commands to a file. (The screen is still refusing to come on,
> but usually even simple things like caps lock aren't working. I
> haven't tracked down what variation causes the display to work after
> suspend; none of the s3_suspend video modes help.) One cycle the
> system seemed to come back to the same broken-tg3 state; hitting caps
> lock would toggle the LED, but only after a 3-5 second delay.
Please try below patch.
Long, is this patch ok to you? PCIE bridge itself requires to
save/restore config space.
Thanks,
Shaohua
--- a/drivers/pci/pcie/portdrv_pci.c 2005-06-08 10:36:05.000000000 +0800
+++ b/drivers/pci/pcie/portdrv_pci.c 2005-06-10 09:34:55.760496584 +0800
@@ -69,11 +69,16 @@ static void pcie_portdrv_remove (struct
#ifdef CONFIG_PM
static int pcie_portdrv_suspend (struct pci_dev *dev, pm_message_t state)
{
- return pcie_port_device_suspend(dev, state);
+ int ret = pcie_port_device_suspend(dev, state);
+ pci_save_state(dev);
+ return ret;
}
static int pcie_portdrv_resume (struct pci_dev *dev)
{
+ pci_restore_state(dev);
+ pci_enable_device(dev);
+ pci_set_master(dev);
return pcie_port_device_resume(dev);
}
#endif
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tg3 ethernet not coming back properly after S3 suspend on Dell M70
[not found] ` <1118368773.3860.3.camel-ECwVeV2eNyQD0+JXs3kMbRL4W9x8LtSr@public.gmane.org>
@ 2005-06-10 2:28 ` Vladimir Vukicevic
[not found] ` <9540d0105060919283b48a35b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Vukicevic @ 2005-06-10 2:28 UTC (permalink / raw)
To: Shaohua Li; +Cc: tom.l.nguyen-ral2JQCrhuEAvxtiuMwx3w, acpi-dev
On 6/9/05, Shaohua Li <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> Please try below patch.
>
> Long, is this patch ok to you? PCIE bridge itself requires to
> save/restore config space.
>
> Thanks,
> Shaohua
>
>
> --- a/drivers/pci/pcie/portdrv_pci.c 2005-06-08 10:36:05.000000000 +0800
> +++ b/drivers/pci/pcie/portdrv_pci.c 2005-06-10 09:34:55.760496584 +0800
> @@ -69,11 +69,16 @@ static void pcie_portdrv_remove (struct
> #ifdef CONFIG_PM
> static int pcie_portdrv_suspend (struct pci_dev *dev, pm_message_t state)
> {
> - return pcie_port_device_suspend(dev, state);
> + int ret = pcie_port_device_suspend(dev, state);
> + pci_save_state(dev);
> + return ret;
> }
>
> static int pcie_portdrv_resume (struct pci_dev *dev)
> {
> + pci_restore_state(dev);
> + pci_enable_device(dev);
> + pci_set_master(dev);
> return pcie_port_device_resume(dev);
> }
> #endif
That patch did the trick! All the devices seem to come back with
their config space identical to before the suspend. I noticed that
pci_save_state/pci_restore_state only save 64 bytes of state -- I did
a separate patch before I saw your mail that saved the full size of
the config space (based on dev->cfg_size) that also fixed things...
should the full config space size be saved, or is that not necessary?
Even with the patches (either one or both), I'm unable to suspend the
nvidia, but that's for them to fix most likely...
- Vlad
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: tg3 ethernet not coming back properly after S3 suspend on Dell M70
[not found] ` <9540d0105060919283b48a35b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2005-06-10 2:45 ` Shaohua Li
0 siblings, 0 replies; 8+ messages in thread
From: Shaohua Li @ 2005-06-10 2:45 UTC (permalink / raw)
To: Vladimir Vukicevic; +Cc: tom.l.nguyen-ral2JQCrhuEAvxtiuMwx3w, acpi-dev
On Thu, 2005-06-09 at 19:28 -0700, Vladimir Vukicevic wrote:
> On 6/9/05, Shaohua Li <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
> > Please try below patch.
> >
> > Long, is this patch ok to you? PCIE bridge itself requires to
> > save/restore config space.
> >
> > Thanks,
> > Shaohua
> >
> >
> > --- a/drivers/pci/pcie/portdrv_pci.c 2005-06-08 10:36:05.000000000 +0800
> > +++ b/drivers/pci/pcie/portdrv_pci.c 2005-06-10 09:34:55.760496584 +0800
> > @@ -69,11 +69,16 @@ static void pcie_portdrv_remove (struct
> > #ifdef CONFIG_PM
> > static int pcie_portdrv_suspend (struct pci_dev *dev, pm_message_t state)
> > {
> > - return pcie_port_device_suspend(dev, state);
> > + int ret = pcie_port_device_suspend(dev, state);
> > + pci_save_state(dev);
> > + return ret;
> > }
> >
> > static int pcie_portdrv_resume (struct pci_dev *dev)
> > {
> > + pci_restore_state(dev);
> > + pci_enable_device(dev);
> > + pci_set_master(dev);
> > return pcie_port_device_resume(dev);
> > }
> > #endif
>
> That patch did the trick! All the devices seem to come back with
> their config space identical to before the suspend. I noticed that
> pci_save_state/pci_restore_state only save 64 bytes of state -- I did
> a separate patch before I saw your mail that saved the full size of
> the config space (based on dev->cfg_size) that also fixed things...
> should the full config space size be saved, or is that not necessary?
Great! It's ideal to save/restore full size config, but there is no
standard way to save full size config. Some config spaces can't be
accessed in many cards, like a LPC bridge. They don't follow PCI
standard.
Thanks,
Shaohua
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-06-10 2:45 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-09 11:10 tg3 ethernet not coming back properly after S3 suspend on Dell M70 Li, Shaohua
[not found] ` <16A54BF5D6E14E4D916CE26C9AD30575023E30BC-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-06-09 18:06 ` Vladimir Vukicevic
[not found] ` <9540d0105060911066a4d4867-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-06-10 1:59 ` Shaohua Li
[not found] ` <1118368773.3860.3.camel-ECwVeV2eNyQD0+JXs3kMbRL4W9x8LtSr@public.gmane.org>
2005-06-10 2:28 ` Vladimir Vukicevic
[not found] ` <9540d0105060919283b48a35b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-06-10 2:45 ` Shaohua Li
-- strict thread matches above, loose matches on Subject: below --
2005-06-09 2:17 Li, Shaohua
[not found] ` <16A54BF5D6E14E4D916CE26C9AD305750239C2EB-4yWAQGcml66iAffOGbnezLfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2005-06-09 8:46 ` Vladimir Vukicevic
2005-06-08 21:26 Vladimir Vukicevic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox