Skip to contentSkip to conversation

D600 resume from RAM with black screen, ethernet tg3 is buggy

DISCUSSION Petr Olivka 2 participants 4 messages Sep 20, 2003 – Sep 29, 2003 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi!

Here is some of my result with D600:

2.4.22 + swsuspend
suspend to disk seems to work with small problems, but not tested
hardly and is not much faster then reboot.

2.6.0-test5 + test5-pm2.diff - kernel without modules, static

- suspend "standby" do not switch off lcd. Is it ok?

-suspend to ram work, but after resume is display black. Without
test5-pm2 do not resume back and hang with black screen.

-suspend to disk hang after hdc and hda suspended (hda is used for
resume, why is suspended?). result:

....
hda: start_power_step(step: 0)
hda: start_power_step(step: 1)
hda: complete_power_step(step: 1, stat: 50:, err: 0)
hda: completing PM request, suspend
PM: Attempting to suspend to disk.

... and hang

I unable to use tg3 ethernet driver, because kernel fail somewhere in tg3 driver everytime I try suspend (backtrace list is too long on screen and I unable to scroll back).

Where are problems? How can I help to solve them?

thanks
poli

p.s.

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf

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

#2 lore raw

Hi!

Quoted 3 lines

2.6.0-test5 + test5-pm2.diff - kernel without modules, static

- suspend "standby" do not switch off lcd. Is it ok?

+/- yes.

Quoted 2 lines

-suspend to ram work, but after resume is display black. Without
test5-pm2 do not resume back and hang with black screen.

So with -test5-pm2 machine resumes okay, you can type commands etc, but can't see anything? Try passing cmd line option acpi_sleep=s3_mode (or how is it called)...

Quoted 2 lines

-suspend to disk hang after hdc and hda suspended (hda is used for resume, why is suspended?). result:

Thats okay, we want to suspend hda, save its state, resume hda, save state to hda, suspend hda, powerdown.

Quoted 1 line

Where are problems? How can I help to solve them?

Can you mail me diff between vanilla and -test5-pm2?
Can you try suspending with echo 4 > /proc/acpi/sleep?
(that should call old working code... provided it propagates down correctly).
Pavel

Signature · 9 lines
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): 20030925132427.GJ11901-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org

#4 lore raw

thanks for answer,

Quoted 7 lines
Quoted 2 lines

-suspend to ram work, but after resume is display black. Without
test5-pm2 do not resume back and hang with black screen.

So with -test5-pm2 machine resumes okay, you can type commands etc, but can't see anything? Try passing cmd line option acpi_sleep=s3_mode (or how is it called)...

hm, s3_mode and s3_bios reboot computer, when I did try resume. I did test "echo 3 > /proc/acpi/sleep" and "echo -n "mem" > /sys/power/state".

Quoted 5 lines
Quoted 1 line

Where are problems? How can I help to solve them?

Can you mail me diff between vanilla and -test5-pm2?
Can you try suspending with echo 4 > /proc/acpi/sleep?
(that should call old working code... provided it propagates down correctly).

I am using 2.6.0-test5 with patch recomended in acpi devel list "test5-pm2", not vanilla.

"echo 4 > /proc/acpi/sleep" do nothing.

poli

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.30.0309291142280.26307-100000-Rd/[email protected]

#6 lore raw

Hi!

Quoted 14 lines
Quoted 7 lines
Quoted 2 lines

-suspend to ram work, but after resume is display black. Without
test5-pm2 do not resume back and hang with black screen.

So with -test5-pm2 machine resumes okay, you can type commands etc, but can't see anything? Try passing cmd line option acpi_sleep=s3_mode (or how is it called)...

hm, s3_mode and s3_bios reboot computer, when I did try resume. I did test "echo 3 > /proc/acpi/sleep" and "echo -n "mem" > /sys/power/state".

Quoted 2 lines
Quoted 1 line

Where are problems? How can I help to solve them?

Quoted 8 lines
Quoted 3 lines

Can you mail me diff between vanilla and -test5-pm2?
Can you try suspending with echo 4 > /proc/acpi/sleep?
(that should call old working code... provided it propagates down correctly).

I am using 2.6.0-test5 with patch recomended in acpi devel list "test5-pm2", not vanilla.

"echo 4 > /proc/acpi/sleep" do nothing.

Try -test6 with echo -n mem, that seem works here. If both s3_mode and s3_bios reboot computer, tough. That means that you either need to find out another ugly hack (like s3_mode and s3_bios), or get specs for your video card and write proper resume support (get the specs is the hard part here).
Pavel

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


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf