Skip to contentSkip to conversation

2.6.0-test6 APM/IDE double-suspend weirdness

DISCUSSION Mikael Pettersson 2 participants 3 messages Sep 29, 2003 – Oct 7, 2003

lore
Share & tools
lore
#0 lore raw

In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.

The kernel log contains:
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

Apart from this, both APM suspend and resume work fine.

(ACPI is not an option on this machine, even if I wanted to use it (I don't). APM has worked near-perfectly for years.)

/Mikael

#1 lore raw

Hi!

Quoted 5 lines

In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.

Quoted 7 lines

The kernel log contains:
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

Apart from this, both APM suspend and resume work fine.

Try removing pm_send_all from apm.c

Signature · 2 lines
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...
#2 lore raw
Quoted 13 lines · Pavel Machek

Hi!

Quoted 11 lines

In test6 (and test5 and possibly earlier), when suspending my aging Latitude with APM, the machine turns off, only to turn itself on again one second later with the disk spinning up. Then it turns itself off again a second later.

The kernel log contains:
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

Quoted 3 lines
Quoted 1 line

Apart from this, both APM suspend and resume work fine.

Try removing pm_send_all from apm.c

Ok I tried removing all pm_send_all from apm.c.
I made no difference at all. I suspect the driver
model stuff or the IDE layer is at fault here.

/Mikael