Skip to contentSkip to conversation

tg3 driver does not support S4 mode?

DISCUSSION John Knottenbelt 2 participants 2 messages Dec 26, 2003 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi

I'm running Linux 2.6.0:

On entering S4 I get:

tg3: eth0: Invalid power state (4) requested.

Relevant kernel messages follow below. How hard do you think it would be to add S4 support for tg3. What does S4 support involve?

Many thanks

John

=Stopping tasks:
===========================================================================| Freeing memory: .....................................|
hdc: start_power_step(step: 0)
hdc: completing PM request, suspend
hdb: start_power_step(step: 0)
hdb: completing PM request, suspend
hda: start_power_step(step: 0)
hda: completing PM request, suspend
tg3: eth0: Invalid power state (4) requested.
hda: Wakeup request inited, waiting for !BSY...
hda: start_power_step(step: 1000)
blk: queue dfd39a00, I/O limit 4095Mb (mask 0xffffffff)
hda: completing PM request, resume
hdb: Wakeup request inited, waiting for !BSY...
hdb: start_power_step(step: 1000)
blk: queue dfd39600, I/O limit 4095Mb (mask 0xffffffff)
hdb: completing PM request, resume
hdc: Wakeup request inited, waiting for !BSY...
hdc: start_power_step(step: 1000)
hdc: completing PM request, resume
Restarting tasks... done
atkbd.c: Unknown key released (translated set 2, code 0x6e, data 0xff, on isa0060/serio0).

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click

#2 lore raw
In reply to a message not in the archive

Hi!

Quoted 9 lines

I'm running Linux 2.6.0:

On entering S4 I get:

tg3: eth0: Invalid power state (4) requested.

Relevant kernel messages follow below. How hard
do you think it would be to add S4 support for
tg3. What does S4 support involve?

Maybe we should be calling device_suspend(*3*) from swsusp.c, because we want devices to enter D3 state (and they dont care about us entering S*4*)...

[Patrick, could you comment on that? It is not obvious from quick scan of documentation].
Pavel

Signature · 9 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click