Skip to contentSkip to conversation

New: sky2 won't work after suspend/resume cycle

Bugme-new Andrew Morton 2 participants 3 messages Dec 7, 2009 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 23 lines · On Fri, 4 Dec 2009 09:02:21 GMT [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=14730

Summary: sky2 won't work after suspend/resume cycle
Product: Power Management
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Hibernation/Suspend
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it works for me) and in all versions after that I tried it stops working after suspend/resume cycle (I use powersave daemon, but I also tried without it - effect is the same).

Quoted 7 lines

After resume what I see in dmesg is this:

sky2 driver version 1.23
sky2 0000:04:00.0: enabling device (0000 -> 0003) sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 sky2 0000:04:00.0: setting latency timer to 64
sky2 0000:04:00.0: unsupported chip type 0xff

It looks like reads from the device are returning all-ones.

Quoted 9 lines

sky2 0000:04:00.0: PCI INT A disabled
sky2: probe of 0000:04:00.0 failed with error -95

So it looks like something is probably not restored correctly after resume or some initializations are not executed.

I use Gentoo sources, but I also tried it on vanilla kernels - 2.6.31 and 2.6.32-rc8 and it doesn't work in any version past 2.6.31-rc3.

Help. Do we think this regression is likely to be a sky2 thing, an ACPI thing, an x86 arch thing or...?

Thanks.

#2 lore raw
Quoted 32 lines · On Mon, 7 Dec 2009 11:50:57 -0800 Andrew Morton <[email protected]>…

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 25 lines · On Fri, 4 Dec 2009 09:02:21 GMT [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=14730

Summary: sky2 won't work after suspend/resume cycle
Product: Power Management
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Hibernation/Suspend
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it works for me) and in all versions after that I tried it stops working after suspend/resume cycle (I use powersave daemon, but I also tried without it - effect is the same).

After resume what I see in dmesg is this:

Quoted 8 lines
Quoted 5 lines

sky2 driver version 1.23
sky2 0000:04:00.0: enabling device (0000 -> 0003) sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 sky2 0000:04:00.0: setting latency timer to 64
sky2 0000:04:00.0: unsupported chip type 0xff

It looks like reads from the device are returning all-ones.

That means something in PM didn't turn on the bus, so driver is out of luck. Most of these problems have been traced back to generic PCI power management, nothing in driver runs before this.

#3 lore raw

(cc linux-pci and Rafael)

Quoted 41 lines · On Mon, 7 Dec 2009 11:59:57 -0800 Stephen Hemminger…
Quoted 38 lines · On Mon, 7 Dec 2009 11:50:57 -0800 Andrew Morton <[email protected]>…

(switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface).

Quoted 30 lines · On Fri, 4 Dec 2009 09:02:21 GMT [email protected] wrote:

http://bugzilla.kernel.org/show_bug.cgi?id=14730

Summary: sky2 won't work after suspend/resume cycle
Product: Power Management
Version: 2.5
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: high
Priority: P1
Component: Hibernation/Suspend
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

I use sky2 network adapter in my Fujitsu Siemens Esprimo Mobile U9200. It worked fine up until 2.6.31-rc3 (or at least that's the last one I tried it works for me) and in all versions after that I tried it stops working after suspend/resume cycle (I use powersave daemon, but I also tried without it - effect is the same).

After resume what I see in dmesg is this:

sky2 driver version 1.23
sky2 0000:04:00.0: enabling device (0000 -> 0003) sky2 0000:04:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 sky2 0000:04:00.0: setting latency timer to 64
sky2 0000:04:00.0: unsupported chip type 0xff

Quoted 6 lines
Quoted 2 lines

It looks like reads from the device are returning all-ones.

That means something in PM didn't turn on the bus, so driver is out of luck. Most of these problems have been traced back to generic PCI power management, nothing in driver runs before this.

OK, thanks - I cast the Cc net a bit wider. Hopefully a suitable fish will swim into it.