Skip to contentSkip to conversation

tg3 does not want to go up (config space problems).

DISCUSSION Evgeniy Polyakov 2 participants 6 messages May 14, 2007 – Jun 30, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi.

I've cought a problem with my laptop and tg3 driver. Suddenly (it was turned off quite for a while) tg3 driver does not start up.

Here is dmesg messages (copied by hand, some bits are ommitted):
acpi: ... // device enbaled in couple of words

eth0: Tigon3 [partno(BMC5705mA3) rev 3003 PHY(5705)] pci:33/32, 10/100

eth0: rxcsum[1] linkchgreg[0] miirq[0] asf[0] split[0] wirespeed[0] tsocap[1]
eth0: dma_rwctrl[763f0000] dma_mask[64 bit]

PM: writing back config space on device /* tg3 device pcix id*/ at offset b (was 165d14e4, writing 890103c)
offset 3 (was 0, writing 4010)
offset 2 (was 2000000, writing 2000003)
offset 1 (was 2b00000, writing 2b00006)
offset 0 (was 165d14e4, writing 165e14e4)

ADDRCONF(NETDEV_UP): eth0 link is not ready

This problem never happend before, but suddenly appeared after quite long suspend to disk (several month I think).
Nothing was changed in hardware.
Both 2.6.18 and 2.6.21-rc3 have the same issue.
No interrupts reported in /proc/interrupts.

I have 2.6.21-rc3 source tree in laptop, so can apply patches by hand reading them from main desktop, but can not (easily) install additional software.

Thanks.

Signature · 1 line
	Evgeniy Polyakov
#1 lore raw
Quoted 11 lines · Evgeniy Polyakov

Hi.

I've cought a problem with my laptop and tg3 driver. Suddenly (it was turned off quite for a while) tg3 driver does not start up.
PM: writing back config space on device /* tg3 device pcix id*/ at offset b (was 165d14e4, writing 890103c)
offset 3 (was 0, writing 4010)
offset 2 (was 2000000, writing 2000003)
offset 1 (was 2b00000, writing 2b00006)
offset 0 (was 165d14e4, writing 165e14e4)

This happens in tg3_chip_reset() callback in pci_restore_state().

Bits of lspci:
02:0e.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705M_2 Gigabit Ethernet (rev 03)
Subsystem: Hewlett-Packard Company NC6000 laptop
Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
Memory at 90000000 (64-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=64K]
Capabilities: [48] Power Management version 2
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-

Signature · 1 line
	Evgeniy Polyakov
#2 lore raw
In reply to Evgeniy Polyakov
Quoted 13 lines · Evgeniy Polyakov

I've cought a problem with my laptop and tg3 driver. Suddenly (it was turned off quite for a while) tg3 driver does not start up.

Here is dmesg messages (copied by hand, some bits are ommitted):
acpi: ... // device enbaled in couple of words

eth0: Tigon3 [partno(BMC5705mA3) rev 3003 PHY(5705)] pci:33/32, 10/100

eth0: rxcsum[1] linkchgreg[0] miirq[0] asf[0] split[0] wirespeed[0] tsocap[1]
eth0: dma_rwctrl[763f0000] dma_mask[64 bit]

Quoted 6 lines

PM: writing back config space on device /* tg3 device pcix id*/ at offset b (was 165d14e4, writing 890103c)
offset 3 (was 0, writing 4010)
offset 2 (was 2000000, writing 2000003)
offset 1 (was 2b00000, writing 2b00006)
offset 0 (was 165d14e4, writing 165e14e4)

These messages are harmless. The way the driver saves and restores the pci state cause these benign messages to appear.

Quoted 8 lines

ADDRCONF(NETDEV_UP): eth0 link is not ready

This problem never happend before, but suddenly appeared after quite long suspend to disk (several month I think).
Nothing was changed in hardware.
Both 2.6.18 and 2.6.21-rc3 have the same issue.
No interrupts reported in /proc/interrupts.

I'll look into this. Thanks.

Quoted 7 lines

I have 2.6.21-rc3 source tree in laptop, so can apply patches by hand reading them from main desktop, but can not (easily) install additional software.

Thanks.

#3 lore raw
Quoted 9 lines · Michael Chan
Quoted 5 lines · Evgeniy Polyakov

This problem never happend before, but suddenly appeared after quite long suspend to disk (several month I think).
Nothing was changed in hardware.
Both 2.6.18 and 2.6.21-rc3 have the same issue.
No interrupts reported in /proc/interrupts.

I'll look into this. Thanks.

Suspend/resume worked fine for me on 2.6.21.1 on a similar 5705 device. I only suspended for a few minutes to mem though. Does this problem only happen after a long suspend?

#4 lore raw
Quoted 6 lines · Michael Chan
Quoted 6 lines
Quoted 5 lines

This problem never happend before, but suddenly appeared after quite long suspend to disk (several month I think).
Nothing was changed in hardware.
Both 2.6.18 and 2.6.21-rc3 have the same issue.
No interrupts reported in /proc/interrupts.

Quoted 6 lines
Quoted 2 lines

I'll look into this. Thanks.

Suspend/resume worked fine for me on 2.6.21.1 on a similar 5705 device. I only suspended for a few minutes to mem though. Does this problem only happen after a long suspend?

It worked before too - I suspended with 2.6.18 many times. This problem happend after quite long suspend.

Signature · 1 line
	Evgeniy Polyakov
#5 lore raw
Quoted 10 lines · Evgeniy Polyakov
Quoted 9 lines · Michael Chan
Quoted 8 lines
Quoted 5 lines

This problem never happend before, but suddenly appeared after quite long suspend to disk (several month I think).
Nothing was changed in hardware.
Both 2.6.18 and 2.6.21-rc3 have the same issue.
No interrupts reported in /proc/interrupts.

I'll look into this. Thanks.

Quoted 6 lines
Quoted 3 lines

Suspend/resume worked fine for me on 2.6.21.1 on a similar 5705 device. I only suspended for a few minutes to mem though. Does this problem only happen after a long suspend?

It worked before too - I suspended with 2.6.18 many times. This problem happend after quite long suspend.

Problem with suddenly broken tg3 hardware still exists, I've managed to run ethtool and dump stats and registers. File attached. Thanks.

Quoted 2 lines
Signature · 1 line
	Evgeniy Polyakov
Signature · 1 line
	Evgeniy Polyakov

32,862 lines not shown · raw message

Part of this message is not shown here. View the raw message.